/*
Theme Name: Tema AGS Visión Inmobiliaria
Author: Paulina Jara (Agencia Böll)
Author URI: https://www.boll.cl
Description: Plantilla desarrollada para proyecto web AGS Visión Inmobiliaria. Agencia Böll
Version: 2.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: ags-vision
*/
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

body {
    background-color: #f9f9f9;
    font-family: 'Raleway', sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

.btn.btnGilli {
    background-color: #000C36;
    padding: 10px 25px;
    color: #fff;
    border-radius: 50px;
    border: 0;
    text-transform: none;
    font-weight: 500;
    font-size: 16px;
    min-width: 150px;
    transition: background-color .4s ease;
    font-family: 'Raleway', sans-serif;
}

.btn.btnGilli:hover {
    background: transparent;
    background-color: #499dc5;
    color: #fff;
}

.btn.btnGilli.btnAlt {
    background-color: transparent;
    border: 1.5px solid #000C36;
    color: #000C36;
}

.btn.btnGilli.btnAlt:hover {
    background-color: #000C36;
    color: #fff;
}

.cabecera_ppal .btn.btnGilli {
    padding: 10px 20px;
    font-size: 14px;
}

.btn.btnGilli.btnBlanco {
    background: #fff;
    color: #000C36;
    font-weight: 400;
    text-transform: uppercase;
}

/** Tarjetas (cards_ags) **/

.cards_ags_wrapper {
    max-width: 1140px;
    margin: auto;
    display: flex;
    font-family: 'Raleway', sans-serif;
}

.card_ags {
    position: relative;
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: 0.3s ease;
    overflow: hidden;
    border-right: 2px solid #fff;
}

.card_ags:last-child {
    border-right: none;
}

.card_overlay_ags {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background 0.3s ease;
    padding: 20px;
}

.card_overlay_ags h3 {
    margin: 0;
    font-size: 1.5rem;
}

.card_overlay_ags p {
    margin-top: 10px;
    font-size: 0.95rem;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.4s, max-height 0.4s;
}

/* opcional si se sigue truncando */
.card_ags:hover .card_overlay_ags p {
    max-height: 420px;
}

.card_ags:hover .card_overlay_ags {
    background: rgba(0, 0, 0, 0.7);
}

.card_ags:hover .card_overlay_ags p {
    opacity: 1;
    max-height: 300px;
}

.icon_topright_ags {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffffffee;
    color: #000;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 3;
    text-decoration: none;
}

.icon_topright_ags i {
    transform: rotate(-45deg);
}

/* Base (móvil) */
.card_overlay_ags h3 {
    font-size: 1.1rem;
}

.card_overlay_ags p {
    font-size: 0.85rem;
}

/* ≥480px */
@media (min-width: 480px) {
    .card_overlay_ags h3 {
        font-size: 1.2rem;
    }

    .card_overlay_ags p {
        font-size: 0.9rem;
    }
}

/* ≥768px */
@media (min-width: 768px) {
    .card_overlay_ags h3 {
        font-size: 1.3rem;
    }

    .card_overlay_ags p {
        font-size: 0.95rem;
    }
}

/* ≥1280px */
@media (min-width: 1280px) {
    .card_overlay_ags h3 {
        font-size: 1.45rem;
    }

    .card_overlay_ags p {
        font-size: 1.02rem;
    }
}

/* Backgrounds específicas */
.bg_img_1 {
    background-image: url('/wp-content/uploads/2026/10/ags-card-autopista.webp');
}

.bg_img_2 {
    background-image: url('/wp-content/uploads/2025/07/Captura-de-pantalla-2025-06-30-232615.png');
}

.bg_img_3 {
    background-image: url('/wp-content/uploads/2026/10/ags-card-apoquindo.webp');
}

.bg_img_4 {
    background-image: url('/wp-content/uploads/2026/10/ags-card-hospital.webp');
    /* Cambia por la imagen real */
}

.bg_img_5 {
    background-image: url('/wp-content/uploads/2026/10/ags-card-zona-sur.webp');
    /* Cambia por la imagen real */
}

.bg_img_6 {
    background-image: url('/wp-content/uploads/2026/10/ags-card-independencia.webp');
    /* Cambia por la imagen real */
}

.bg_img_7 {
    background-image: url('/wp-content/uploads/2026/10/ags-card-1000078298.webp');
    /* Cambia por la imagen real */
}

.bg_img_8 {
    background-image: url('/wp-content/uploads/2026/10/ags-card-1000078297.webp');
    /* Cambia por la imagen real */
}

.bg_img_9 {
    background-image: url('/wp-content/uploads/2026/10/ags-card-1000078295.webp');
    /* Cambia por la imagen real */
}

.bg_img_10 {
    background-image: url('/wp-content/uploads/2026/10/ags-card-nosotros.webp');
    /* Cambia por la imagen real */
}

/* --- Mobile fix --- */
@media (max-width: 768px) {
    .cards_ags_wrapper {
        width: 100%;
        flex-wrap: wrap;
        /* asegura el salto de línea */
        flex-direction: column;
        /* una bajo otra */
    }

    .card_ags {
        flex: 0 0 auto;
        /* evita que se “aplasten” */
        width: 100%;
        /* ocupa todo el ancho */
        min-height: 280px;
        /* asegura altura visible */
        height: auto;
        /* deja crecer si el contenido lo requiere */
        margin-bottom: 10px;
        border-right: none;
        /* elimina borde lateral en móvil */
        border-bottom: 2px solid #fff;
        /* opcional: separador entre tarjetas */
    }

    .card_ags:last-child {
        border-bottom: none;
        /* quita el borde al último */
    }

    .card_overlay_ags {
        padding: 20px;
    }
}

/** HEADER ***/

.cabecera_ppal {
    position: fixed;
    /*sticky*/
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 3px 0;
    transition: all .3s ease;
    padding-top: 10px;
}

.cabecera_ppal .container {
    background-color: #ffffffa6;
    border-radius: 100px;
}

.cabecera_ppal.scrolling .container {
    background-color: #fff;
}

.logo {
    display: flex;
    justify-content: center;
}

.logo_ppal {
    width: 100px;
    transition: width .3s ease;
    padding: 7px;

}

.menu_principal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
}

.menu_principal ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
}

.menu_principal .menu,
.menu_principal .htmega-megamenu {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    align-content: stretch;

    justify-content: space-evenly;
    margin: 0;
    font-size: 15px;
    font-family: 'Raleway', sans-serif;
}

/* Estado normal */
.menu_principal .menu li a,
.htmega-megamenu li>a {
    color: #212139;
    text-decoration: none;
    font-weight: 500;
    text-transform: none;
    padding: 10px 15px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

@media screen and (max-width: 1399px) and (min-width: 769px) {
    .cabecera_ppal .container {
        max-width: 100%;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.95);
        padding: 10px 20px;
    }

    .logo_ppal {
        width: 90px;
    }

    .menu_principal ul {
        gap: 20px;
        font-size: 14px;
    }

    .desktop_head .row.align-items-center>.col-sm {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .menu_principal .menu,
    .menu_principal .htmega-megamenu {
        list-style: none;
        padding: 0;
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: space-evenly;
        margin: 0;
        font-size: 13px;
        font-family: 'Raleway', sans-serif;
    }

}

/* Hover para el item padre con submenu - solo color */
.menu_principal .menu li.menu-item-has-children:hover>a,
.htmega-megamenu li.menu-item-has-children:hover>a {
    background-color: white !important;
    color: #002c5f !important;
    transition: all 0.3s ease;
    border-radius: 15px 15px 0px 0px;
}

/* Hover para los subitems */
.sub-menu li a:hover,
.htmega-megamenu li a:hover {
    color: #002c5f !important;
    transition: all 0.3s ease;
}

/** SUBMENU **/
.menu-item-has-children {
    position: relative;
    display: flex;
    align-items: center;
}

/* Estilo general del submenú */
.menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: #fff;
    color: #212139;
    padding: 0;
    list-style: none;
    height: auto;
    overflow: visible;
    border-radius: 0px 0px 15px 15px;
    transition: all .3s ease-in-out;
    z-index: 20;
}

/* Espaciado entre los ítems del submenú */
.menu-item-has-children .sub-menu li {
    margin: 0;
    /* Elimina el margen entre los ítems */
    padding: 5px 0;
    /* Ajusta el padding para reducir el espacio entre los ítems */
}

/* Ajuste para los enlaces dentro de los ítems */
.menu-item-has-children .sub-menu li a {
    display: block;
    /* Asegura que el enlace ocupe todo el alto de su ítem */
    padding: 5px 10px;
    /* Ajusta el padding interno de los enlaces */
    text-decoration: none;
    /* Evita subrayado en los enlaces */
    color: #212139;
    /* Color de texto */
}

/* Mostrar el submenú cuando se pasa el cursor */
.menu-item-has-children:hover .sub-menu {
    display: block;
    height: auto;
    /* Permite que el submenú se ajuste a su contenido */
    padding: 10px 10px 0;
}

/* Estilo para los ítems dentro del submenú */
.menu-item-has-children .sub-menu li {
    line-height: 1;
    display: block;
    /* Asegura que los ítems estén uno debajo del otro */
    padding: 7px 10px;
    margin-bottom: 5px;
    text-transform: uppercase !important;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #eaeaea29;
}

/* Estilo para los enlaces dentro de los ítems */
.menu-item-has-children .sub-menu li a {
    color: #212139;
    /* Color oscuro para el texto */
    text-decoration: none;
    /* Eliminar subrayado */
    display: block;
    /* Hace que todo el área del ítem sea clickeable */
    position: relative;
    /* Necesario para el subrayado animado */
}

/* Cambia el color del fondo cuando el cursor pasa sobre el enlace */
.menu-item-has-children .sub-menu li a:hover {
    background-color: #fff;
    /* Fondo más claro al pasar el cursor */
}

/* Añadir subrayado animado */
.menu-item-has-children .sub-menu li a::after {
    content: '';
    /* Crea un pseudo-elemento para el subrayado */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #212139;
    /* Color del subrayado */
    transition: width 0.3s ease;
    /* Animación del subrayado */
}

/* Subrayado al pasar el cursor */
.menu-item-has-children .sub-menu li a:hover::after {
    width: 100%;
    /* El subrayado se expande al 100% */
}

/* Sub-submenú (si existe un submenú dentro de un subitem) */
.menu-item-has-children .sub-menu li .sub-menu {
    top: 0;
    left: 240px;
    width: 200px;
    background: #fff;
    padding: 0;
    display: none;
    /* Ocultamos los sub-submenús inicialmente */
    z-index: 30;
    /* Asegura que el sub-submenú esté encima */
}

/* Mostrar sub-submenú cuando el subitem es hover */
.menu-item-has-children .sub-menu li:hover .sub-menu {
    display: block;
    height: auto;
}

/* Estilo para los sub-subitems */
.menu-item-has-children .sub-menu li .sub-menu li {
    font-size: 12px;
    font-weight: 300;
    padding: 5px 10px;
    text-transform: none;
    /* Mantener el texto en minúsculas */
    border-bottom: 1px solid #eaeaea29;
}

/* Cambiar el fondo y subrayado en hover en los sub-subitems */
.menu-item-has-children .sub-menu li .sub-menu li a {
    color: #212139;
    /* Color oscuro para el texto */
    text-decoration: none;
    /* Eliminar subrayado */
}

.menu-item-has-children .sub-menu li .sub-menu li a:hover {
    background-color: #fff;
    /* Fondo más claro al pasar el cursor */
}

/* Eliminar la flecha en el sub-subitem */
.menu-item-has-children .sub-menu li .sub-menu li::before {
    content: none;
    /* Eliminar la flecha */
}

/* Ajuste del sub-submenú al pasar por encima */
.menu-item-has-children .sub-menu li:hover>.sub-menu {
    left: 100%;
    top: 0;
}

.btnConocenosFinal {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    padding: 5px 4px 5px 30px;
    border-radius: 50px;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btnIconCircle {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 50px;
    transition: background-color 0.3s ease;
}

.btnIconCircle svg {
    stroke: #000c368a;
    width: 20px;
    height: 20px;
    transition: stroke 0.3s ease;
}

.btnConocenosFinal:hover {
    background-color: #ffffff !important;
    color: #000C36 !important;
}

.btnConocenosFinal:hover .btnIconCircle {
    background-color: #000C36;
}

.btnConocenosFinal:hover .btnIconCircle svg {
    stroke: #ffffff;
}

/* --- variante invertida --- */
.btnConocenosFinal--invertido {
    background-color: #000C36 !important;
    /* fondo azul */
    color: #ffffff !important;
    /* texto blanco */
    border: 2px solid #000C36 !important;
    /* borde azul */
}

/* estado base: círculo blanco + flecha azul */
.btnConocenosFinal--invertido .btnIconCircle {
    background-color: #ffffff;
    /* círculo blanco */
}

.btnConocenosFinal--invertido .btnIconCircle svg {
    stroke: #000C36 !important;
    /* flecha azul */
}

/* hover: fondo blanco, texto azul, borde 1px azul, círculo azul, flecha blanca */
.btnConocenosFinal--invertido:hover {
    background-color: #ffffff !important;
    color: #000C36 !important;
    border: 1px solid #000C36 !important;
    /* borde delgadito azul */
}

.btnConocenosFinal--invertido:hover .btnIconCircle {
    background-color: #000C36;
    /* círculo azul */
}

.btnConocenosFinal--invertido:hover .btnIconCircle svg {
    stroke: #ffffff !important;
    /* flecha blanca */
}

.btnes_head {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.rrss_head {
    display: flex;
    gap: 10px;
    margin-right: 10px;
}

.rrss_head.rrss_movil {
    margin-top: 25px;
}

/** MEGAMENU **/

.htmega_mega_menu,
.htmega-megamenu,
.desktop_head>.container>.row>.col-sm {
    max-width: 100%;
    position: unset !important;
}

/** on scroll **/
.cabecera_ppal.scrolling,
.cabecera_ppal.mm_activo {

    top: 0;

    box-shadow: 0 0 7px rgba(0, 0, 0, .2);
}

.scrolling .logo_ppal,
.mm_activo .logo_ppal {

    width: 70px;
    filter: none;
}

.scrolling .menu_principal .menu li a,
.scrolling .htmega-menu-container ul>li>a,
.scrolling .rrss_head a,
.mm_activo .menu_principal .menu li a,
.mm_activo .htmega-menu-container ul>li>a,
.mm_activo .rrss_head a {
    color: #252525;
}

/** fin on scroll **/

/* =================================================================
====================Página interna====================
============================================================== */

.wrap {
    position: relative;
    background: #fff;
}

/** form **/

.flex_form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form_row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.form-group label,
.wpcf7 label {
    color: #212139;
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
}

.content_form .form-control.form-control-lg,
.wpcf7 input.wpcf7-form-control:not([type="submit"]), .wpcf7 .wpcf7-form-control.wpcf7-textarea {
    border-radius: 4px;
    background: #2121390f;
    border: none;
    box-shadow: none;
    font-family: 'Raleway', sans-serif;
}

.wpcf7 .wpcf7-form-control.wpcf7-textarea {
	max-height:120px;
}

.wpcf7 .wpcf7-form-control {
    padding: 10px;
}

/** fin form **/

/****************************************************************
**** PAGINA BLOGs ********************************
**************************************************************** */

.primary-sidebar.widget-area {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 7px #9d9d9d0d;
}

.primary-sidebar.widget-area h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0 20px;
}

.primary-sidebar.widget-area ul li {
    margin-bottom: 10px;
    background: #0000000a;
    padding: 10px;
    border-radius: 10px;
}

.primary-sidebar.widget-area a {

    font-family: 'Raleway', sans-serif;
    color: #000;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 500;
}

/****************************************************************
**** PAGINA INTERNA BLOG ********************************
**************************************************************** */
body.single.single-post .cabecera_ppal {
    position: relative;
    background: #fff;
}

body.single.single-post .cabecera_ppal .menu_principal .menu li a {
    color: #1c1c1c;
}

.form_clipping {
	width:100%;
}

.form_clipping form.dplr_form {
	border-color: #ffffff3b;
}

.form_clipping form.dplr_form .msg-data-sending {
	color:#fff;
}

.form_clipping .dplr_form, .form_clipping .dplr_form div {
	display:flex;
	align-items:center;
	gap:20px;
}

.form_clipping .dplr_form div {
	width:80%;
}

.form_clipping form.dplr_form .input-button {
	width:20%;

}

.form_clipping form.dplr_form .input-button button, .form_clipping form.dplr_form .input-field {
	width:100%;
	margin:0;
}

.form_clipping form.dplr_form .input-button button {
	background-color: #fff;
    padding: 10px 25px;
    color: #000C36;
    border-radius: 50px;
    border: 0;
    font-weight: 500;
    font-size: 16px;
}

.form_clipping form.dplr_form .input-field input {
	border: 0;
    padding: 7px 10px;
    border-radius: 5px;
}

.form_clipping form.dplr_form .input-field label {
	display:none;
}

.form_clipping .widget-title {
	color:#fff;
	text-align:center;
}

.form_clipping form.dplr_form .input-field label {
	display:none;
}

/****************************************************************
**** MODALS ********************************
**************************************************************** */
#modalForm .modal-body,
#modalBarometro .modal-body,
#modalBrochure .modal-body,
#modalBasesoria .modal-body,
#modalBarquitectura .modal-body,
#modalBintermediacion .modal-body,
#modalClipping .modal-body {
    padding: 0;
    border-radius: 15px;
}

#modalForm .modal-body .btn-close,
#modalBarometro .modal-body .btn-close,
#modalBrochure .modal-body .btn-close,
#modalBasesoria .modal-body .btn-close,
#modalBarquitectura .modal-body .btn-close,
#modalClipping .modal-body .btn-close,
#modalBintermediacion .modal-body .btn-close {
    position: absolute;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: #ffffffa6;
    line-height: 1;
    border-radius: 50%;
    color: #000;
    right: 10px;
    top: 10px;
}

#modalForm .modal-body .row .col-sm:first-of-type,
#modalBarometro .modal-body .row .col-sm:first-of-type,
#modalBrochure .modal-body .row .col-sm:first-of-type,
#modalBasesoria .modal-body .row .col-sm:first-of-type,
#modalBarquitectura .modal-body .row .col-sm:first-of-type,
#modalClipping .modal-body .row .col-sm:first-of-type,
#modalBintermediacion .modal-body .row .col-sm:first-of-type {
    background-color: #fff;
    border-radius: 15px 0 0 15px;
}

.bg_modal_form {
    background: url('/wp-content/uploads/2026/10/ags-modal-rotonda.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    border-radius: 0 7px 7px 0;
}

.content_modal_form {
    padding: 20px;
}

.content_modal_form h4 {
    margin-bottom: 20px;
}

.content_modal_form .form_row {
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.content_modal_form .form_row:last-of-type p {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/****************************************************************
**** FOOTER OPTIMIZADO - RELOADED *******************************
****************************************************************/

footer {
    width: 100%;
    padding: 80px 0 0;
    background-color: #000c36;
    position: relative;
}

.boxes_footer {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.box_foot {
    flex: 1 1 220px;
    min-width: 220px;
}

.box_foot h3 {
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    /* Alineado regio */
}

.box_foot p,
.list_footer li a {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
    color: #fff;
    text-decoration: none;
}

.list_footer {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list_footer li {
    margin-bottom: 8px;
}

.list_footer li a:hover {
    text-decoration: underline;
    color: #ffa50d;
}

.rrss_foot {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

/* Solo enlaces dentro del footer */
footer a,
footer a:visited {
    color: inherit;
    /* usa el color del texto del footer */
    text-decoration: none;
    /* sin subrayado por defecto */
}

footer a:hover,
footer a:focus-visible {
    color: inherit;
    /* mantiene el color */
    text-decoration: underline;
    /* feedback al hover/accesible */
}

.rrss_foot a {
    text-decoration: none;
    background: #fff;
    color: #000c36;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: background 0.3s ease, color 0.3s ease;
}

.rrss_foot a:hover {
    background: #ffa50d;
    color: #fff;
}

.copy_footer {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    background: #fff;
    width: 100%;
    padding: 20px 0;
    margin-top: 60px;
}

.copy_footer p {
    margin: 0;
    color: #000c36;
    text-align: center;
}

.copy_footer p a {
    text-decoration: underline;
    color: #ffa50d;
    transition: color 0.3s ease;
}

.copy_footer p a:hover {
    color: #000c36;
}

/* RESPONSIVE FOOTER */
@media (max-width: 992px) {
    .boxes_footer {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .box_foot {
        text-align: center;
    }

    .box_foot h3 {
        text-align: center;
    }

    .rrss_foot {
        justify-content: center;
    }
}

/*** BLOG **/

.mobile_head {
    display: none;
}

@media (max-width:769px) {

    .desktop_head {
        display: none;
    }

    .mobile_head {
        display: block;
    }

    .logo_ppal {
        max-width: 100%;
        width: auto;
        max-height: 70px;
    }

    /** Menu movil **/
    .hamburger-inner,
    .hamburger-inner:after,
    .hamburger-inner:before,
    body.page-template-page-servicios .hamburger-inner,
    body.page-template-page-servicios .hamburger-inner:after,
    body.page-template-page-servicios .hamburger-inner:before {
        background-color: #fff !important;
    }

    .scrolling .hamburger-inner,
    .scrolling .hamburger-inner:after,
    .scrolling .hamburger-inner:before,
    body.single.single-post .hamburger-inner,
    body.single.single-post .hamburger-inner:after,
    body.single.single-post .hamburger-inner:before,
    body.page-template-page-blogidicam .hamburger-inner,
    body.page-template-page-blogidicam .hamburger-inner:after,
    body.page-template-page-blogidicam .hamburger-inner:before,
    body.page-template-page-servicios .scrolling .hamburger-inner,
    body.page-template-page-servicios .scrolling .hamburger-inner:after,
    body.page-template-page-servicios .scrolling .hamburger-inner:before {
        background-color: #1c1c1c !important;
    }

    .menu_movil .menu {
        list-style: none;
        padding: 0;
        font-size: 16px;
        text-transform: uppercase;
        line-height: 1.5;
        font-weight: 500;
    }

    .menu_movil .menu li {
        padding: 5px;
        border-bottom: 1px solid #f0f1f4;
    }

    .menu_movil .menu li a {
        text-decoration: none;
        color: #212139;
        font-family: 'Raleway', sans-serif;
        display: block;
        width: 100%;
        padding: 10px;
    }

    .menu-item-has-children .sub-menu {
        border: 1px solid #eaeaea;
    }

    .menu_movil .menu li .sub-menu li a {
        color: #000C36;
    }

    .btnes_head {
        justify-content: center;
    }

    /** Footer **/
    footer {
        padding-top: 20px;
    }

    .boxes_footer {
        flex-wrap: wrap;
        gap: 0;
    }

    .boxes_footer .box_foot {
        width: 100%;
        margin-bottom: 20px;
        padding: 2%;
    }

    .boxes_footer .box_foot:nth-child(2) {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .box_foot h3 {
        font-size: 16px;
        margin-bottom: 25px;
        width: 100%;
    }

    .box_foot p {
        margin-bottom: 5px;
    }

    .box_foot:first-child {
        align-items: flex-start;
    }

    .box_foot:first-child p {
        text-align: left;
    }

    .box_foot a {

        margin-bottom: 10px;
    }

    .copy_footer p {
        text-align: center;
    }

    .copy_movil p {
        font-size: 12px;
        text-align: center;
        margin: 30px 0 15px;
    }

    .form_clipping .dplr_form, .form_clipping .dplr_form div {
        flex-direction: column;
    }

    .form_clipping form.dplr_form .input-button {
        width:60%;
    }
}

/*********************************************************
  PROYECTOS – Filtro a la DERECHA alineado al título
  Usa en la sección de la galería la clase: proy-gallery
**********************************************************/
.proy-gallery {
  /* altura que “subiremos” el filtro; ajusta 40–70px */
  --filter-offset: 66px;
}

/* Asegura referencia de posicionamiento al ancho de contenido
   (no a toda la ventana) para que alinee con el título */

/* ROMPE cualquier centrado del widget y colócalo ABSOLUTO */
.proy-gallery .eael-filter-gallery-control {
  position: absolute !important;
  top: calc(var(--filter-offset) * -1) !important;  /* súbelo */
  right: 0 !important;                              /* a la DERECHA */
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;                           /* se acopla al contenedor */
  z-index: 9 !important;
  text-align: right !important;
}

/* Botonera interna: flex al extremo derecho, sin chances de centrado */
.proy-gallery .eael-filter-gallery-control ul {
  display: flex !important;
  justify-content: flex-end !important;  /* DERECHA */
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* chips/categorías */
.proy-gallery .eael-filter-gallery-control .control {
  cursor: pointer !important;
  white-space: nowrap !important;
}

/* Deja espacio arriba para que la grilla no se monte con el filtro */
.proy-gallery .eael-filter-gallery-wrapper {
  padding-top: var(--filter-offset) !important;
}

/* Si EAEL usa otro contenedor interno antes de la grilla, cúbrelo también */
.proy-gallery .eael-filter-gallery-container,
.proy-gallery .eael-filter-gallery {
  padding-top: 0 !important; /* evitamos dobles espaciados */
}

/* MÓVIL */
@media (max-width: 767.98px) {
  .proy-gallery .eael-filter-gallery-control {
    top: calc(var(--filter-offset) * -1) !important; /* puedes bajar este valor si queda muy arriba */
    right: 0 !important;
    left: auto !important;
    text-align: right !important;
  }
  .proy-gallery .eael-filter-gallery-control ul {
    justify-content: flex-end !important;
  }
  .proy-gallery .eael-filter-gallery-wrapper {
    padding-top: var(--filter-offset) !important;
  }
}

/* ====== HEADER RESPONSIVE (Bootstrap 5 breakpoints) ====== */
/* Default: MÓVIL activado, DESKTOP oculto */
.mobile_head { display: block; }
.desktop_head { display: none; }

/* Logo tamaños base */
.logo .logo_ppal {
  max-height: 56px;
  height: auto;
  width: auto;
}

/* Botones de cabecera */
.btnes_head { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; }
.btnes_head .btnGilli { padding: .55rem 1rem; font-weight: 600; border-radius: 999px; }

/* Hamburger base */
.hamburger { border: 0; background: transparent; padding: .25rem .5rem; }
.hamburger-box { display: inline-block; width: 28px; height: 20px; position: relative; }
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  content: ""; display: block; height: 2px; width: 100%;
  position: absolute; left: 0; background: #0d1b2a;
}
.hamburger-inner { top: 9px; }
.hamburger-inner::before { top: -8px; }
.hamburger-inner::after  { top: 8px; }

/* Menú desktop (cuando aplique) */
.menu_principal { width: 100%; }
.menu_principal ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; justify-content: center; }
.menu_principal a { text-decoration: none; font-weight: 600; }

/* Offcanvas ajustes */
.offcanvas { --bs-offcanvas-width: 320px; }
.offcanvas .btnGilli { width: 100%; }

/* ====== SM ≥576px ====== */
@media (min-width: 576px) {
  .logo .logo_ppal { max-height: 60px; }
}

/* ====== MD ≥768px ====== */
@media (min-width: 768px) {
  .logo .logo_ppal { max-height: 64px; }
  .offcanvas { --bs-offcanvas-width: 360px; }
}

/* ====== LG ≥992px ——— DESKTOP ON ====== */
@media (min-width: 992px) {
  .mobile_head { display: none; }
  .desktop_head { display: block; }

  /* Botón "Propiedades" visible solo en desktop */
  .btnes_head .btnAlt { display: inline-flex !important; }

  /* Logo un poco mayor en desktop */
  .logo .logo_ppal { max-height: 70px; }

  /* Menú centrado y alineado verticalmente */
  .menu_principal ul { justify-content: center; gap: 1.5rem; }
}

/* ====== XL ≥1200px ====== */
@media (min-width: 1200px) {
  .logo .logo_ppal { max-height: 76px; }
  .menu_principal ul { gap: 2rem; }
}

/* ====== XXL ≥1400px ====== */
@media (min-width: 1400px) {
  .logo .logo_ppal { max-height: 80px; }
}

/* ====== Utilidades por si el tema trae centrados heredados ====== */
.desktop_head .btnes_head { justify-content: flex-end; }
.desktop_head .menu_principal { text-align: center; }

/* ===== Ajustes previos (desktop normal) ===== */
.desktop_head .menu_principal ul{gap:1.25rem;}
.desktop_head .menu_principal a{padding:.6rem .9rem;}
.desktop_head .btnes_head .btnGilli{padding:.55rem 1rem;}
.desktop_head .logo .logo_ppal{max-height:70px;}

/* ===== Compactar entre 1200 y 1100 para estirar un poco más el desktop ===== */
@media (max-width: 1199.98px) {
  .desktop_head .menu_principal ul{gap:.85rem;}
  .desktop_head .menu_principal a{padding:.5rem .75rem; font-size:.95rem;}
  .desktop_head .btnes_head{gap:.4rem;}
  .desktop_head .btnes_head .btnGilli{padding:.45rem .8rem; font-size:.95rem;}
  .desktop_head .logo .logo_ppal{max-height:64px;}
}

/* ===== Corte personalizado: desde 1100px usamos SIEMPRE el header móvil ===== */
@media (max-width: 1100px) {
  .desktop_head{display:none !important;}
  .mobile_head{display:block !important;}
}

/* (por si tenías el cambio en 992px, lo reforzamos) */
@media (min-width: 1100.02px) {
  .desktop_head{display:block;}
  .mobile_head{display:none;}
}

/* ===== Mobile/offcanvas ajustes ===== */
.mobile_head .logo .logo_ppal{max-height:56px;}
.offcanvas{--bs-offcanvas-width: 340px;}
@media (min-width: 1100.02px){
  .btnes_head .btnAlt{display:inline-flex !important;}
}

/*********************************************************
  PROYECTOS – Filtro a la DERECHA alineado al título
  (SOLO DESKTOP ≥992px)
**********************************************************/
@media (min-width: 992px) {
  .proy-gallery { --filter-offset: 66px; }

  .proy-gallery .eael-filter-gallery-control {
    position: absolute !important;
    top: calc(var(--filter-offset) * -1) !important;
    right: 0 !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    z-index: 9 !important;
    text-align: right !important;
  }

  .proy-gallery .eael-filter-gallery-control ul {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: .75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .proy-gallery .eael-filter-gallery-control .control {
    cursor: pointer !important;
    white-space: nowrap !important;
  }

  .proy-gallery .eael-filter-gallery-wrapper {
    padding-top: var(--filter-offset) !important;
  }

  .proy-gallery .eael-filter-gallery-container,
  .proy-gallery .eael-filter-gallery {
    padding-top: 0 !important;
  }
}

.card_ag{
 background-image: url('../img/anteproyecto.jpeg');
}

.sub-menu,
.sub-menu li,
.sub-menu a {
  text-align: left !important;
}

.sub-menu a {
  display: block; /* asegura el ancho completo de cada ítem */
}

.btnes_head .btnGilli {
  font-weight: 600;
  border-radius: 999px;
  text-align: center;      /* ✅ centra el texto horizontalmente */
  display: inline-block;   /* asegura que text-align funcione bien */
  justify-content: center; /* opcional si usas display:flex */
  align-items: center;     /* opcional si usas display:flex */
}

/* Página 404 */
.ags404_hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 655px;
    padding: 160px 0 90px;
    background: #000C36 url('/wp-content/uploads/2026/10/ags-slide-concon.webp') center / cover no-repeat;
    color: #ffffff;
}

.ags404_hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 12, 54, 0.62);
}

.ags404_hero .container {
    position: relative;
}

.ags404_label {
    margin: 0 0 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.8;
}

.ags404_hero h1 {
    max-width: 720px;
    margin: 0 0 18px;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
}

.ags404_text {
    max-width: 560px;
    margin: 0 0 34px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    line-height: 1.55;
}

.ags404_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 30px;
}

.ags404_link {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ags404_link:hover {
    color: #ffffff;
    opacity: 0.8;
}

.ags404_areas {
    padding: 80px 0 100px;
    background: #ffffff;
}

.ags404_areas h2 {
    margin: 0 0 34px;
    font-family: 'Raleway', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #000C36;
}

.ags404_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ags404_card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 210px;
    padding: 28px 28px 76px;
    border: 1px solid #e9e9e9;
    border-radius: 20px;
    color: #000C36;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ags404_card h3 {
    margin: 0 0 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: inherit;
}

.ags404_card p {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #808080;
    transition: color 0.3s ease;
}

.ags404_arrow {
    position: absolute;
    left: 28px;
    bottom: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #000C36;
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.ags404_card:hover {
    background-color: #000C36;
    border-color: #000C36;
    color: #ffffff;
}

.ags404_card:hover p {
    color: #d3d3d3;
}

.ags404_card:hover .ags404_arrow {
    background-color: #ffffff;
    color: #000C36;
}

@media (max-width: 991px) {
    .ags404_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ags404_hero {
        min-height: 560px;
        padding: 130px 0 60px;
    }

    .ags404_text {
        font-size: 16px;
    }

    .ags404_areas {
        padding: 56px 0 70px;
    }

    .ags404_areas h2 {
        font-size: 28px;
    }

    .ags404_grid {
        grid-template-columns: 1fr;
    }

    .ags404_card {
        min-height: 0;
    }
}

/****************************************************************
**** ENTRADA DE BLOG (template-parts/entrada.php) ****************
**************************************************************** */
.entrada {
    background: #f9f9f9;
    padding-bottom: 90px;
    font-family: 'Raleway', sans-serif;
}

.entrada_contenedor {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.entrada_cabecera {
    background: #000C36;
    color: #fff;
    padding: 48px 0 150px;
}

.entrada_cabecera--sin-imagen {
    padding-bottom: 64px;
}

.entrada_cat {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(73, 157, 197, .18);
    color: #9fd0e8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.entrada_titulo {
    max-width: 900px;
    margin: 18px 0 16px;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.15;
}

.entrada_meta {
    display: flex;
    gap: 10px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
}

.entrada_imagen {
    max-width: 1080px;
    margin: -110px auto 0;
    padding: 0 20px;
}

.entrada_imagen img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 12, 54, .18);
}

.entrada_cuerpo {
    max-width: 760px;
    margin: 56px auto 0;
    padding: 0 20px;
    color: #2c3242;
    font-size: 18px;
    line-height: 1.75;
}

.entrada_cuerpo > p:first-of-type {
    color: #000C36;
    font-size: 20px;
    line-height: 1.65;
}

.entrada_cuerpo p {
    margin: 0 0 1.25em;
}

.entrada_cuerpo h2,
.entrada_cuerpo h3,
.entrada_cuerpo h4 {
    color: #000C36;
    font-weight: 700;
    line-height: 1.25;
}

.entrada_cuerpo h2 {
    margin: 2em 0 .6em;
    font-size: 28px;
}

.entrada_cuerpo h3 {
    margin: 1.8em 0 .5em;
    font-size: 22px;
}

.entrada_cuerpo ul,
.entrada_cuerpo ol {
    margin: 0 0 1.4em;
    padding-left: 1.3em;
}

.entrada_cuerpo li {
    margin-bottom: .45em;
}

.entrada_cuerpo li::marker {
    color: #499dc5;
}

.entrada_cuerpo a {
    color: #1f6f99;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.entrada_cuerpo a:hover {
    color: #000C36;
}

.entrada_cuerpo img {
    height: auto;
    border-radius: 12px;
}

.entrada_cuerpo blockquote {
    margin: 2em 0;
    padding: 18px 24px;
    border-left: 4px solid #499dc5;
    border-radius: 0 12px 12px 0;
    background: #fff;
    color: #000C36;
    font-size: 20px;
    font-style: italic;
}

.entrada_compartir {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid #e2e5ee;
}

.entrada_compartir_label {
    margin-right: 6px;
    color: #6b7285;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.entrada_compartir a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid #000C36;
    border-radius: 50%;
    color: #000C36;
    text-decoration: none;
    transition: background-color .3s ease, color .3s ease;
}

.entrada_compartir a:hover {
    background-color: #000C36;
    color: #fff;
}

.entrada_relacionadas,
.entrada_cta {
    max-width: 1080px;
    margin: 90px auto 0;
    padding: 0 20px;
}

.entrada_relacionadas h2 {
    margin-bottom: 28px;
    color: #000C36;
    font-size: 30px;
    font-weight: 700;
}

.entrada_grilla {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.entrada_tarjeta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 12, 54, .06);
    color: inherit;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.entrada_tarjeta:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 12, 54, .12);
}

.entrada_tarjeta_img {
    display: block;
    aspect-ratio: 16 / 10;
    background: #e8ebf2;
}

.entrada_tarjeta_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entrada_tarjeta_txt {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 24px;
}

.entrada_tarjeta_fecha {
    color: #6b7285;
    font-size: 13px;
}

.entrada_tarjeta_titulo {
    color: #000C36;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.entrada_cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 48px;
    border-radius: 20px;
    background: #000C36;
    max-width: 1040px;
}

.entrada_cta h2 {
    margin: 0;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .entrada_grilla {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .entrada_cabecera {
        padding: 32px 0 90px;
    }

    .entrada_cabecera--sin-imagen {
        padding-bottom: 44px;
    }

    .entrada_imagen {
        margin-top: -66px;
    }

    .entrada_imagen img {
        border-radius: 14px;
    }

    .entrada_cuerpo {
        margin-top: 36px;
        font-size: 17px;
    }

    .entrada_cuerpo > p:first-of-type {
        font-size: 18px;
    }

    .entrada_cuerpo h2 {
        font-size: 24px;
    }

    .entrada_grilla {
        grid-template-columns: 1fr;
    }

    .entrada_relacionadas,
    .entrada_cta {
        margin-top: 64px;
    }

    .entrada_relacionadas h2 {
        font-size: 24px;
    }

    .entrada_cta {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
        padding: 32px 24px;
        text-align: center;
    }

    .entrada_cta h2 {
        font-size: 28px;
    }
}

/** Migas de pan **/
.migas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.migas > span {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
}

.migas a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    transition: color .3s ease;
}

.migas a:hover {
    color: #fff;
}

.migas .breadcrumb_last {
    overflow: hidden;
    max-width: 42ch;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.migas_sep {
    margin: 0 10px;
    opacity: .5;
}

/* En el hero de los proyectos, sobre la foto. El contenedor del hero es column-reverse:
   order 1 la deja visualmente arriba del título. */
.migas--hero {
    order: 1;
    width: 100%;
    margin-bottom: 14px;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.migas--hero a {
    color: rgba(255, 255, 255, .85);
}

.ags_ancla {
    display: block;
    scroll-margin-top: 110px;
}

/* Animaciones de entrada (js/scripts.js marca .ags-revelar solo lo que parte bajo el pliegue) */
.ags-revelar {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
}

.ags-revelar.ags-visible {
    opacity: 1;
    transform: none;
}

/* Imágenes con carga diferida de LiteSpeed: fundido al cargar en vez del cuadro gris */
img[data-lazyloaded] {
    opacity: 0;
    transition: opacity .6s ease;
}

img[data-lazyloaded].litespeed-loaded {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .ags-revelar,
    img[data-lazyloaded] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Hero de la portada (Prime Slider): reserva el alto que calcula su JS (16:9, mínimo 623px)
   y muestra el primer slide antes de que el JS active uno, para que la página no salte al cargar. */
.elementor-element-1295512 .bdt-slideshow-items {
    aspect-ratio: 16 / 9;
    min-height: 623px;
}

.elementor-element-1295512 .bdt-slideshow-items:not(:has(> .bdt-active)) > :first-child {
    display: block;
}

/* Botón hamburguesa: reglas usadas de hamburgers.min.css (ya no se carga). Van al final para
   mantener la misma prioridad que tenían cuando ese archivo se cargaba después de style.css. */
.hamburger{font:inherit;display:inline-block;overflow:visible;margin:0;padding:15px;cursor:pointer;transition-timing-function:linear;transition-duration:.15s;transition-property:opacity,filter;text-transform:none;color:inherit;border:0;background-color:transparent}
.hamburger.is-active:hover,.hamburger:hover{opacity:.7}
.hamburger.is-active .hamburger-inner,.hamburger.is-active .hamburger-inner:after,.hamburger.is-active .hamburger-inner:before{background-color:#000}
.hamburger-box{position:relative;display:inline-block;width:40px;height:24px}
.hamburger-inner{top:50%;display:block;margin-top:-2px}
.hamburger-inner,.hamburger-inner:after,.hamburger-inner:before{position:absolute;width:40px;height:4px;transition-timing-function:ease;transition-duration:.15s;transition-property:transform;border-radius:4px;background-color:#000}
.hamburger-inner:after,.hamburger-inner:before{display:block;content:""}
.hamburger-inner:before{top:-10px}
.hamburger-inner:after{bottom:-10px}