:root {
    --azul-fundap: #286094;
}

#grve-inner-header {
    background-color: #336699 !important;
}
.grve-header-sticky #grve-inner-header {
    background-color: #fff !important;
}


#grve-main-content .grve-container {
    padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.texto-intro p {
    font-size: 34px;
    color: #1D376A !important;
    max-width: 700px;
}
.blog-heading h2 {
    font-size: 30px;
    font-weight: 500;
    font-family:'gotham', sans-serif !important;
    font-style: normal;
    color: var(--azul-fundap) !important;
    letter-spacing: -0.03em;
}
.last-custom-posts {
    display: flex;
    gap: 30px;
}
.first-post-container {
    flex: 5;
}
.other-posts-container {
    flex: 7;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.other-posts-container .custom-post {
    display: flex;
}
.custom-post {
    box-shadow: 0px 1px 4px 0px rgb(0 0 0 / 15%);
    border-radius: 10px;
    overflow: hidden;
	flex: 1;
}
.other-posts-container .custom-post .post-thumbnail {
    flex: 4;
}
.other-posts-container .custom-post .post-content {
    flex: 3;
}
.custom-post p.post-date {
    margin-bottom: 5px;
    font-size: 18px !important;
    text-transform: uppercase;
    color: #ababab !important;
}
.post-content h3 a, .grid-container h3 {
    font: normal 500 22px/30px 'gotham', sans-serif !important;
    display: flex;
    color: #3a3a3a !important;
    letter-spacing: 0 !important;
}
.custom-post a.read-more {
    background-color: var(--azul-fundap);
    color: #fff;
    font: normal 500 18px 'gotham', sans-serif !important;
    text-transform: uppercase;
    padding: 12px 33px 11px;
    border-radius: 3px;
	display: block;
    width: fit-content;
	margin: auto auto 0 0;
}
.custom-post a.read-more:hover {
    background-color: #0B2D4D;
}
.post-content {
    padding: 30px 25px 40px 30px;
	display: flex;
    flex-direction: column;
}
.last-custom-posts .post-thumbnail img {
    height: 100%;
    object-fit: cover;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin-bottom: 40px;
}
.tab-content .tab {
    display: none;
}

.tab-content .tab.active {
    display: block;
}

ul.tabs {
    display: flex;
    gap: 45px;
    margin: 0;
    padding: 35px 0;
    border-top: 2px solid rgb(40 96 148 / 20%);
}

ul.tabs li {
    list-style: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
}

ul.tabs li a {
    font: normal 500 19px/1em 'gotham', sans serif !important;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    padding: 15px 0;
    display: flex;
    cursor: pointer;
}

ul.tabs li.active {
    opacity: 1;
}

ul.tabs li.active:after {
    content: '\e313';
    font-family: 'Material Symbols Rounded';
    display: block;
    margin-top: -10px;
    font-size: 28px;
    opacity: 0.6;
}


.grid-container .custom-post h3 {
    max-height: 60px;
    overflow: hidden;
    transition: max-height ease-out 0.5s;
}
.grid-container .custom-post:hover h3 {
    max-height: 436px;
    transition: max-height ease-in 0.5s;
}
.grid-container .custom-post {
    display: flex;
    flex-direction: column;
    max-height: 436px;
	min-height: 436px;
}
.grid-container .custom-post > a {
    display: flex;
    flex: 0 10 50%;
    overflow: hidden;
}
.grid-container .post-content {
    flex: 2 1 50%;
    height: fit-content;
	display: flex;
    flex-direction: column;
}
.grid-container .custom-post img {
    aspect-ratio: 5 / 3;
    object-fit: cover;
}

#ajax-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
}
#ajax-pagination .page-numbers {
    border: 1px solid var(--azul-fundap);
    border-radius: 50px;
    width: 50px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font: normal 500 18px/1em 'gotham', sans-serif !important;
}
#ajax-pagination .next.page-numbers,
#ajax-pagination .prev.page-numbers {
    width: fit-content;
    padding: 0 20px !important;
}
#ajax-pagination .dots.page-numbers {
    border: none;
}
#ajax-pagination .page-numbers.current {
    background-color: var(--azul-fundap);
    color: #fff;
}
#ajax-pagination .page-numbers:not(.current):not(.dots):hover {
    background-color: #0B2D4D;
    color: #fff;
}

/*RESPONSIVE*/

@media all and (max-width:767px) {
	.grid-container {
		/*grid-template-columns: 1fr;*/
		display: flex;
		flex-direction: column;
	}
	.last-custom-posts {
		flex-direction: column;
	}
	.other-posts-container .custom-post {
		flex-direction: column;
	}
	.custom-post {
		max-height: unset !important;
		min-height: unset !important;
	}
	.grid-container .custom-post h3 {
		max-height: unset !important;
	}
}