@keyframes progress{
    0% {
        width: 0vw;
    }
    100% {
        width: 45vw;
    }
}

@keyframes popInVerHero{
    0%{
        transform:translateY(100%);
        opacity:0.3;
    }
    100%{
        transform:translateY(-100%);
        opacity:1;
    }
}

#header .blog{
	display:block;
}

@keyframes popInHor{
    0%{
        opacity:0.3;
        transform:translateX(100%);
    }
    100%{
        opacity:1;
        transform:translateX(0%);
    }
}


@keyframes popInVer{
    0%{
        transform:translateY(150%);
        opacity:0.3;
    }
    100%{
        transform:translateY(0%);
        opacity:1;
    }
}





.smallPostText{
animation:popInHor 0.6s cubic-bezier(.38,.85,.33,.97) forwards;
}
.heroSwiperText{
animation:popInVerHero 0.6s cubic-bezier(.38,.85,.33,.97) forwards;
}

.post{
 animation:popInVer 0.6s cubic-bezier(.38,.85,.33,.97) forwards;
 animation-play-state: paused;
}
.swiper-slide-active .heroRowProgressBar {
    animation: progress 5.5s linear forwards;
}


.heroSwiperBGImage::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-size: 150px 150px;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='Capa_1' data-name='Capa 1' viewBox='0 0 133.55 130.06'%3E%3Ccircle cx='66.77' cy='65.03' r='44.29' style='fill:%23859b36'/%3E%3Crect x='48.06' y='43.53' width='12' height='43.01' style='fill:%23fff'/%3E%3Crect x='73.48' y='43.53' width='12' height='43.01' style='fill:%23fff'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    transition: all 0.25s ease-in-out;
    filter: blur(20px);
    opacity: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0em 0em 10em rgba(0,0,0,0.75);
    pointer-events: none;
}


.heroSwiperBGImage:has(.animationPaused)::after{
    filter:unset;
    opacity:1;
}


.swiper-slide .heroRowProgressBar {
    position: absolute;
    top: 96%;
    left: 50%;
    width: 0vw;
    height: 5px;
    border-radius: 10px;
    background-color: #859b36;
    opacity: 0.9;
    transform: translateX(-50%);
    transition: all 0.1s ease-in-out;
}

.animationPaused {
    animation: unset!important;
}

.heroRow {
    display: flex;
    flex-direction: row;
}

.bigPost {
    width: 60%;
    overflow: clip;
}


.heroRow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.heroRow {
    display: flex;
    flex-direction: row;
    height: 65vh;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.smallPost {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    transition: all 0.25s ease-in-out;
}


.heroSwiperBGImage {
    width: 100%;
    height: 100%;
    position: relative;
}
.smallPosts {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0 2%;
    background-color: #333333;
}

.heroSwiperText {
    position: absolute;
    top: 93%;
    left: 15%;
    transform: translateY(-100%);
    width: 70%;
    background-color: rgba(0,0,0,0.4);
    padding: 1.4em;
}

.heroSwiperText a svg {
    width: 50px;
    height: auto;
    transform: translateX(10px) translateY(13%);
    transition: transform ease-in-out 0.15s;
}

.heroSwiperText a {
    color: white;
    font-family: 'Bold';
    text-decoration: unset;
    font-size: 1.2em;
}



.smallPosts h1 {
    font-family: 'Bold';
    color: #859b36;
    font-size: 2.1em;
    margin-top: 0.1em;
}


.smallPostImage {
    width: auto;
    height: 140px;
    display: block;
    min-width: auto;
    aspect-ratio: 1.47/1;
}

.smallPostText {
    padding: 0 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.smallPostText h2 {
    font-size: 1.1em;
    font-family: 'Bold';
    color: white;
    display: -webkit-box;
    line-clamp:3;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 20%;
	text-align:left;
}

.smallPostText p {
    font-family: 'Bahnschrift';
    color: white;
    font-weight: 200;
    font-size: 0.9em;
}

.heroSwiperText a:hover span svg {
    transform: translateX(25px)  translateY(13%);
}

.smallPostActive {
    background-color: #859b36;
}

.smallPost a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    transition: all 0.25s ease-in-out;
}

.smallPost * {
    text-decoration: unset;
}


.postImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

div#container {
    background-color: black;
}

.postImage {
    width: 100%;
    aspect-ratio: 0.8/1;
    height: auto;
}

.allPostsContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 2%;
}

.post {
    width: 20%;
	min-height:365px;
    margin: 0 2%;
    margin-bottom: 2%;
    position: relative;
    overflow: clip;
}

.allPostsContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 2%;
    justify-content: center;
    align-items: flex-start;
}

div#noticias>h2 {
    font-family: 'Bold';
    letter-spacing: 2px;
    font-size: 1.9em;
    padding-top: 8vh;
    padding-left: 5.9%;
    padding-bottom: 0.3em;
    color: white;
}


.heroSwiperText h2 {
    font-family: 'Bold';
    color: white;
    font-size: 1.6em;
    margin: 0;
    margin-bottom: 0.7em;
    text-align: left;
}

.postText {
background-color: rgba(0,0,0,0.6);
    position: absolute;
    top: 64%;
    width: 100%;
    height: 100%;
    padding: 0 7%;
    box-sizing: border-box;
    transition: all 0.25s ease-in-out;
}

.hiddenText p {
    -webkit-line-clamp: 4;
    line-clamp:4;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}


.firstText p {
    font-family: 'Bahnschrift';
    color: white;
    font-weight: 100;
    font-size: 1em;
}

.firstText h2 {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    font-family: 'Bold';
    color: white;
    font-size: 1.1em;
}

.hiddenText p {
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    font-family: 'Bahnschrift';
    color: white;
    font-weight: 100;
    font-size: 1.1em;
}


.hiddenText a svg {
    width: 50px;
    height: auto;
    transform: translateX(10px) translateY(13%);
    transition: transform ease-in-out 0.15s;
}

.hiddenText a:hover svg {
    transform: translateX(20px) translateY(13%);
}
.hiddenText a {
    color: white;
    font-family: 'Bold';
    text-decoration: unset;
    font-size: 1.2em;
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 69%;
    left: 99%;
    transform: translate(-100%,-100%);
    width: 50%;
}
.hiddenText {
    opacity: 0;
    transition: all 0.15s ease-in-out;
}
.post:hover .hiddenText {
    opacity: 1;
}

.post:hover .postText {
    top: 25%;
    background-color: #859b36;
}

.pagination-container * {
    color: white;
    text-decoration: unset;
    font-family: 'Bold';
    background-color: #859b36;
    padding: 0.6em;
    transition: all 0.25s ease-in-out;
    margin: 0 0.1em;
}

span.page-numbers.current {
    background-color: unset;
}
a.next.page-numbers:hover, .page-numbers:hover {
    color: #859b36;
    background-color: white;
}

.pagination-container {
    width: fit-content;
    margin: 0em auto;
    padding: 2em 0;
}

body {
    overflow-y: clip;
    height: 100%;
}

@media only screen and (max-width:1600px){
.smallPostImage {
    height: 120px;
}
.smallPostText h2 {
    font-size: 0.9em;
}
.smallPostText p {
    font-size: 0.7em;
}
.heroSwiperText h2 {
    font-size: 1.3em;
}
.heroSwiperText a {
    font-size: 1em;
}
.smallPosts h1 {
    font-size: 1.3em;
}
.post{
margin:1% 1%;
	}
.firstText h2 {
    font-size: 0.9em;
    margin-top: 0.2em;
}
.firstText p {
    font-size: 0.9em;
    margin-bottom: 0em;
}

.hiddenText p {
    font-size: 0.9em;
}


.hiddenText a {
    font-size: 0.8em;
}

.hiddenText a svg {
    width: 30px;
    height: auto;
    transform: translateX(10px) translateY(13%);
    transition: transform ease-in-out 0.15s;
}

}


@media only screen and (max-width:1000px){
    .bigPost {
    width: 100%;
    height: 60%;
}
.smallPosts {
    flex-direction: row;
    width: 100%;
    height: 40%;
}
.smallPostImage{
		width:75%;
		height:150px;
}
.smallPost a {
    flex-direction: column;
}
.heroRow {
    height: 80vh;
}
.smallPosts h1 {
    display: none;
}
.smallPost {
    width: 33%;
}
.smallPostText h2{
    padding-right:unset;
	text-align:center;
}
.smallPostText p{
	text-align:center;}
.smallPosts {
    padding: unset;
}
.heroRow {
    flex-direction: column;
}
.post{
	width:28%;
}
.firstText h2 {
    font-size: 0.9em;
    margin-top: 0.2em;

}
.firstText p {
    font-size: 0.9em;
    margin-bottom: 0em;
}

.hiddenText p {
	margin-top:0.2em;
    font-size: 0.9em;
}
}

@media only screen and (max-width:850px){
	 .post{
		 width:45%;
		 margin:2% 2%;
		}

	.hiddenText p {
		margin-top:0.2em;
		font-size: 1em;
	}
		.firstText h2 {
		font-size: 1em;
		margin-top: 0.2em;

	}
	.firstText p {
		font-size: 1em;
		margin-bottom: 0em;
	}
}


@media only screen and (max-width:700px){
	.heroRow{
		height:auto;
}
 .post{
	 width:40%;
	}
	.heroSwiperText h2{
		font-size:1.2em;
	}
.bigPost {
		width: 100%;
		height: 300px;
}
.smallPosts {
		flex-direction: column;
		width: 100%;
		height: auto;
}
	.smallPostText :is(h2,p){
		text-align:left;
	}
.smallPost a, .smallPost {
	width:100%;
	height:auto;
	padding:5px;
    flex-direction: row;
	}
.smallPostImage{
	max-width:160px !important;
	min-width:160px !important;
	height:100px;
	}
}

@media only screen and (max-width:550px){
 .post{
	 width:90%;
	}
	.hiddenText p {
		margin-top:0.2em;
		font-size: 1.1em;
	}
	.heroSwiperText h2{
		font-size:1em;
	}
		.firstText h2 {
		font-size: 1.1em;
		margin-top: 0.2em;

	}
	.firstText p {
		font-size: 1.2em;
		margin-bottom: 0em;
	}
}