/* ========================================
   FILTROS
   ======================================== */



.ex-interior-filters {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 15px;
    padding-bottom: 5px;
    margin-bottom: 50px;
    
    /* Cambios para Sticky */
    position: -webkit-sticky; /* Para compatibilidad con Safari antiguo */
    position: sticky;
    top: 90px; /* Se pega al borde superior de la pantalla */
    z-index: 1000; /* Aumentado para asegurar que quede sobre las fotos */
    background-color: #fff; /* Fondo blanco para tapar el contenido al hacer scroll */
    width: 100%; /* Asegura que cubra el ancho */
    border-bottom: 1px solid #000;
    box-sizing: border-box;
}

.ex-filter-btn {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    padding: 5px 0;
    font-family: 'RST Thermal', sans-serif;
    text-decoration: none;
    box-shadow: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.ex-filter-btn:hover {
    color: black;
    background: none;
    box-shadow: none;
    text-shadow: none;
}

.ex-filter-btn:focus {
    outline: none;
    box-shadow: none;
}

.ex-filter-btn.active {
    color: black;
    text-decoration: underline;
    text-underline-offset: 4px;
    background: none;
    box-shadow: none;
    text-shadow: none;
}

/* Ocultar exhibiciones filtradas */
.ex-interior-row.ex-hidden {
    display: none !important;
}

/* ========================================
   BLOCK EXHIBITION CARDS INTERIOR
   ======================================== */

/* Romper contenedor y ocupar todo el ancho */
.ex-interior-section {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: 0 !important;
    padding: 0px; 
    background-color: #fff;
    box-sizing: border-box;
}

/* Sin padding en contenedor interno */
.ex-interior-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 50px;
    padding-top: 50px; /* Separación del contenido respecto a la línea de los filtros */
}

/* Cada fila - Configuración General */
.ex-interior-row {
    display: grid;
    gap: 0;
    align-items: stretch; /* Texto ocupa toda la altura */
    margin-bottom: 40px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    cursor: pointer;
}

.ex-interior-row:last-child {
    margin-bottom: 0;
}

/* Layout para Imagen Izquierda */
.ex-row-image-left {
    grid-template-columns: 3fr 2fr;
}

/* Layout para Imagen Derecha */
.ex-row-image-right {
    grid-template-columns: 2fr 3fr;
}

/* Imagen base */
.ex-interior-image {
    width: 100%;
    height: 0;
    padding-bottom: 45%; 
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    
    /* CAMBIO: Anular cualquier efecto contenedor */
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.ex-interior-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    
    /* CAMBIO: Anular efectos en la imagen misma */
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
}

/* Ajustes de orden y padding interno */
.ex-row-image-left .ex-interior-image {
    order: 1;
    padding-left: 0;
}

.ex-row-image-left .ex-interior-info {
    order: 2;
    text-align: left;
    padding: 20px 40px 20px 60px;
}

.ex-row-image-right .ex-interior-image {
    order: 2;
    padding-right: 0;
}

.ex-row-image-right .ex-interior-info {
    order: 1;
    text-align: right;
    padding: 20px 60px 20px 40px;
}

/* Info */
.ex-interior-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Texto pegado abajo */
}

.ex-interior-category {
    font-size: 18.7px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: #333;
    text-transform: none;
}

.ex-interior-title {
    font-size: 51px;
    font-weight: 400;
    line-height: 1.05;
    margin: 0 0 20px 0;
    color: #000;
    font-family: 'RST Thermal';
    font-style: normal;
}

.ex-interior-date {
    font-size: 18.7px;
    font-weight: 400;
    color: #333;
    margin-top: 5px;
}



.site-logo {
    display: none !important;
}


/* ========================================
   RESPONSIVE MÓVIL - COMPLETO
   ======================================== */

@media (max-width: 1200px) {
    .ex-interior-title {
        font-size: 42px;
    }
}

@media (max-width: 900px) {
    
    /* FILTROS - Grid 2 columnas */
    .ex-interior-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 0;
        position: -webkit-sticky;
        position: sticky;
        top: 35px;
        z-index: 900;
        background: #fff;
        
        /* Abarcar 100% del ancho */
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        
        /* Solo borde inferior */
        border-bottom: 1px solid #000;
    }

    .ex-filter-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 4px 0;
        font-size: 14px;
        border: none;
    }

    /* Línea divisoria central */
    .ex-filter-btn:first-child {
        border-right: 1px solid #000;
    }

    /* SECCIÓN PRINCIPAL */
    .ex-interior-section {
        padding: 0px 20px 80px 20px;
    }

    /* Contenedor en móvil */
    .ex-interior-container {
        padding-top: 0;
    }

    /* GRID A UNA COLUMNA */
    .ex-row-image-left, 
    .ex-row-image-right {
        grid-template-columns: 1fr; 
    }

    /* INFO ARRIBA */
    .ex-row-image-left .ex-interior-info,
    .ex-row-image-right .ex-interior-info {
        order: 1;
        text-align: left;
        padding: 20px 10px;
        margin-top: 20px; /* Separación de los filtros */
        margin-bottom: 20px; /* Separación de la imagen */
    }

    /* IMAGEN ABAJO */
    .ex-row-image-left .ex-interior-image,
    .ex-row-image-right .ex-interior-image {
        order: 2; 
        margin: 0;
        padding-bottom: 60%;
    }
    /* TIPOGRAFÍA COMPACTA */
    .ex-interior-category {
        font-size: 18.7px;
        font-weight: 400;
        letter-spacing: 0.5px;
        margin-bottom: 5px; /* Reducido de 15px a 5px */
        color: #333;
        text-transform: none;
    }

    .ex-interior-title {
        font-size: 51px;
        font-weight: 400;
        line-height: 1.05;
        margin: 0 0 5px 0; /* Reducido de 20px a 5px */
        color: #000;
        font-family: 'RST Thermal';
        font-style: normal;
    }

    .ex-interior-date {
        font-size: 18.7px;
        font-weight: 400;
        color: #333;
        margin-top: 0; /* Reducido de 5px a 0 */
    }

    .ex-interior-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-top: 0px;
}

.ex-interior-row {
    
    margin-bottom:0px; 
    
}

.ex-interior-filters

 {
    
    margin-bottom: 0px; 
    
}
}