:root {
    --font-title: 'gotham', sans-serif;
    --font-text: 'gotham', sans serif;
    --color-title: #1F476C;
    --color-text: #404042;
}

a:hover {
    text-decoration: none !important;
}

/*===LAYOUT===*/

div#grve-main-content {
    padding-top: 0 !important;
}
#grve-main-content .grve-container {
    width: auto !important;
}
div#grve-post-area {
    width: 100% !important;
}
div#grve-post-content {
    margin: auto;
    max-width: 960px;
    padding-top: 105px;
	padding-bottom: 70px;
}
article {
    border: none !important;
}

/*===HEADER===*/

header#grve-header {
    background: transparent;
}
header#grve-header:not(.grve-header-sticky) #grve-inner-header {
    background-color: rgb(255 255 255 / 30%) !important;
}
div#grve-header-wrapper .grve-container {
    max-width: 1185px;
}
#grve-header[data-sticky-header='advanced'][data-safebutton='right'].grve-header-sticky #grve-inner-header .grve-container {
    padding-right: 0 !important;
}

/*===HERO-SECTION===*/

div#hero-section {
    margin-top: -110px;
    padding-top: 110px;
    padding-bottom: 110px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.hero-content {
    max-width: 1185px;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
}
.bg-overlay {
    width: 100%;
    position: absolute;
    top: -110px;
    background-image: linear-gradient(90deg, rgb(0 0 0 / 80%), transparent);
    opacity: 0.4;
    z-index: 0;
}
.post-date {
    font: normal 400 24px var(--font-text) !important;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}
h1.post-title {
    font: normal 500 45px/1.2em var(--font-title) !important;
    color: #fff !important;
    max-width: 720px;
}

/*===CONTENIDO===*/

article h2, .grve-related-post h2 {
    font: normal 500 28px/1.3em var(--font-title) !important;
    color: var(--color-title) !important;
    margin-bottom: 30px;
}
article h3 {
    font: normal 500 20px/1.3em var(--font-title) !important;
    color: var(--color-title) !important;
    margin-bottom: 15px;
}

article p,
div#grve-post-content li {
    font: normal 400 20px/1.5em var(--font-title) !important;
    color: var(--color-text) !important;
}
div#grve-post-content li:before {
    content:'·';
    font-weight:500;
    margin-left: -10px;
    margin-right: 5px;  
}
div#grve-post-content ul {
    list-style: none;
	margin-left: 10px;
}
div#grve-post-content img {
    margin-top: 50px;
    margin-bottom: 50px;
    max-height: 420px;
    object-fit: cover;
    aspect-ratio: 2.2 / 1;
}

/*===GALERÍA===*/

#slider-fotos {
    max-width: 960px;
    margin: 0 auto 100px;
    overflow: visible;
}
#slider-fotos .custom-carousel-arrow {
    width: 45px;
    height: 45px;
}
#slider-fotos .custom-carousel-arrow-right {
    right: -75px;
}
#slider-fotos .custom-carousel-arrow-left {
    left: -75px;
}


/*===TESTIMONIOS===*/

div#testimonios {
    padding: 90px 0;
    background-color: #F0F7FF;
}
#testimonios-carousel .carousel-inner {
    max-width: 960px;
    margin: auto;
    background-color: #fff;
    padding: 45px 60px;
    border-radius: 20px;
}
a.carousel-control-prev span, 
a.carousel-control-next span,
.custom-carousel-arrow span {
    color: var(--color-title);
    font-size: 45px;
}

div#testimonios-carousel {
    max-width: 1280px;
    margin: auto;
}

h3.nombre-test {
	margin-bottom:0 !important;
}
.text-test p {
	font: normal 400 18px/1.5em var(--font-title) !important;
    color: var(--color-text) !important;
	opacity:0.8;
}

/*===DATOS-DEPARTAMENTOS===*/

div#datos-departamento {
    max-width: 960px;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-content: stretch;
}
#datos-departamento img {
    height: 100%;
    object-fit: contain;
    background-color: #fdf7ee;
}

.tabla-dep {
    display: grid;
    align-items: stretch;
}
.tabla-dep table {
    margin-bottom: 0;
    border: none;
}
.tabla-dep table td {
    font: normal 400 16px var(--font-text) !important;
    border: none !important;
    background-color: #F7FBFF;
    color: var(--azul-fundap);
	align-content: center;
}
.tabla-dep table tr {
    border: none;
}
.tabla-dep tr:first-child td, .tabla-dep tr:last-child td {
    font-weight: 500 !important;
    font-size: 18px !important;
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: var(--azul-fundap) !important;
    color: #fff !important;
}
.tabla-dep tr:nth-child(2) td {
    padding-top:20px;
}
.tabla-dep tr:nth-last-child(2) td {
    padding-bottom:20px;
}

/*===COMPARTIR===*/

div#compartir-rrss {
    max-width: 960px;
    margin: 75px auto 65px;
    display: flex;
    gap: 40px;
    align-items: center;
}
#compartir-rrss h3 {
    margin-bottom: 0 !important;
    font-size: 22px !important;
}
.social-share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}
.social-share-buttons a {
    border: 2px solid var(--azul-fundap);
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.social-share-buttons a i {
    color: var(--azul-fundap);
}
.social-share-buttons a:hover {
    background-color: var(--azul-fundap);
}
.social-share-buttons a:hover i {
    color: #fff;
}

/*===RELACIONADOS===*/

.grve-related-post {
    max-width: 1140px;
    margin: 0 auto;
    padding-top: 80px;
	border-top: 1px solid rgb(40 96 148 / 20%) !important;
}

/*===RESPONSIVE===*/

@media all and (max-width:767px) {
    div#hero-section, .bg-overlay {
        height: 380px;
    	padding-top: 180px;
    	padding-bottom: 80px;
    }
	article > div {
		padding-right: 30px !important;
		padding-left: 30px !important;
	}
	div.bg-overlay {
		margin-left: -30px;
		margin-right: -30px;
	}
	div#grve-post-content {
		padding-top: 65px;
		padding-bottom: 35px;
	}
	div#grve-post-content img {
		margin-top: 25px;
		margin-bottom: 25px;
	}
	article p, div#grve-post-content li {
		font-size: 16px !important;
	}
	span.post-date {
		font-size: 16px !important;
	}
	div#datos-departamento {
		grid-template-columns: 1fr;
		margin-bottom: 65px;
	}
	div#slider-fotos {
		margin-bottom: 65px;
	}
	div#compartir-rrss {
		flex-direction: column;
		align-items: flex-start;
		gap: 25px;
	}
	.grve-related-post {
		padding-left: 30px;
		padding-right: 30px;
	}
}
@media all and (min-width:768px) {
    div#hero-section, .bg-overlay {
        height: 678px;
    }
}

