/*
Theme Name: Consell Gaudi
Theme URI: https://musea.qodeinteractive.com/
Description: A child theme of Musea Theme
Author: Select Themes
Author URI: https://themeforest.net/user/elated-themes
Version: 1.0.1
Text Domain: musea
Template: musea
*/

/* ==============================
   TIPOGRAFÍA - AGRUPADO AL PRINCIPIO
   ============================== */

h1 {
   margin-bottom: 25px!important;
}

h2 {
    margin-bottom: 25px!important;
}
p {
    text-align: justify;
}
@media (min-width: 767px) {
    .consell-module h2 {
        margin-top: 15px!important;
        margin-bottom: 60px!important;
    }
}

.eltdf-show-roles-holder p {
    text-align: left!important;
}
#text-3 p {
    text-align: left;
}
.page-id-2583 .eltdf-st-text {
    text-align: center;
}

.building-card h3,
.custom-gaudi-card h3 {
    font-size: 18px;
    line-height: 1.2;
    margin-top: 35px;
    padding: 0 10px;
    text-transform: none;
}

@media (max-width: 1199px) {
    .building-card h3 {
      font-size: 16px;  
    }
}


.building-arribar p {
    margin-bottom: 25px;
    font-size: 16px;
    margin-top: 0;
}

.featured-info .mini-title,
.featured-info.unesco .mini-title {
    font-weight: 700;
    color: #000;
    font-size: 20px;
    font-size: 16px;
}

.featured-info .mini-info {
    font-weight: 400;
    color: #000;
}

.footer-titles {
    font-weight: 600;
}

#text-3 .textwidget p{
    font-size: 15px;
}

.map-address {
    font-size: 22px;
    letter-spacing: 0;
    text-transform: none;
}
.eltdf-show-date span {
    color: #b4b0ad;
    font-family: "Inter";
    font-weight: 600 !important;
    font-size: 14px;
    font-style: italic;
}

/* ==============================
   FIN TIPOGRAFÍA AGRUPADA
   ============================== */

video {
    width: 100%;
}
.eltdf-logo-wrapper img,
.eltdf-mobile-logo-wrapper img {
    display: block;
    object-fit:contain!important;
    width: auto;
}


.eltdf-logo-wrapper img {
    height: 80px!important;    
}

.eltdf-sticky-header img {
    height: 50px!important;
}

.eltdf-footer-column-1 img {
    width: 50%;
}
header .program-link a {
    background: #000;
    padding: 10px 20px!important;
}

#nav_menu-2.widget a:hover {
    color: #fafafa!important;
    text-decoration: underline;
}

.eltdf-sticky-header .program-link a {
    color: #fff;
}

.eltdf-sticky-header .eltdf-logo-wrapper a {
    display: flex;
    align-items: center;
}

.eltdf-section-title-holder .eltdf-st-caption {
        font-family: "Inter";
        font-weight: 400!important;
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-building-title {
    font-size: 100px;
    width: 100px;
    height: 100px;
    border: 1px solid #959595;
    transform: rotate(45deg);

}
.icon-building-title figure {
    transform: rotate(-45deg);
    width: 100px;
    height: 100px;
}
.icon-building-title figure,
.icon-building-title {
    margin: 0!important;
}

.icon-building-title {
    margin-right: 40px!important;
}

.single-building .eltdf-content {
    margin-top: -114px;
}

.single-building .eltdf-content .eltdf-content-inner > .eltdf-container > .eltdf-container-inner {
    padding: 100px 0 60px 0;
}

.single-building .eltdf-page-header .eltdf-menu-area {
    background-color: rgba(255, 255, 255, 0);
}
.eltdf-mobile-header .eltdf-mobile-logo-wrapper a,
.eltdf-mobile-header .eltdf-mobile-logo-wrapper,
.eltdf-mobile-header .eltdf-mobile-logo-wrapper img {
    height: 60px!important;
}

.building-featured-image img {
    width: 100%;
}

.featured-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.featured-info .mini-title {
    font-weight: 700;
    color: #000;
    font-size: 20px;
}

.unesco figure,
.unesco figure figure {
    margin-bottom: 0!important;
}

.featured-info.unesco .mini-title {
    font-weight: 700;
    color: #000;
    font-size: 16px;
    text-align: center;
}
.featured-info .mini-info {
    font-weight: 400;
    color: #000;
}

.links {
    display: flex;
    align-items: center;
}

.mini-colums {
    display: flex;
    justify-content: space-between;
}
.unesco {
    font-size: 100px;
}



.links-buildings {
    background-color: #000;
    color: #fff;
    padding: 8px 20px;
    max-width: 200px;
    font-weight: 600;
    margin-right: 20px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 20px;
}

.hero-page {
    background-repeat: no-repeat;
    background-size: cover;
}

/* @media only screen and (min-width: 1400px) {
    .single-building.eltdf-grid-1300 .eltdf-container-inner, .eltdf-grid-1300 .eltdf-grid, .single-building.eltdf-grid-1300 .eltdf-row-grid-section {
        width: 1100px;
    }
} */
.eltdf-page-header {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.0) 100%
    );
}

.eltdf-main-menu>ul>li>a>span.item_outer:before {
    border-top: 2px solid #fff;
}

.eltdf-main-menu>ul>li.program-link>a>span.item_outer:before {
    border-top: 0!important;
}


.video-background-container {
    max-height: 110vh;
    overflow: hidden;
}


.icon-building-card {
    margin-bottom: 15px;
    font-size: 151px;
    border: 1px solid #000;
    width: 151px;
    height: 151px;
    transform: rotate(45deg);
}
.building-card {
    flex: 0 1 16.666%; /* 6 per row, minus gap */
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 90px;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: start;
}
/* Añade esto a tu CSS */
.building-capcalera {
    position: relative;
    overflow: hidden;
    height: 420px; 
}
.building-capcalera img {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform;
    transition: transform 0.1s linear;
}

.wrapper-full {
    background-color: #fafafa;
}

.image-revelada {
    overflow: hidden;
    position: relative;
}
@media (min-width: 769px) {
    .eltdf-workflow-item:nth-child(odd) .eltdf-workflow-image {
        display: flex;
        align-items: normal;
        justify-content: flex-end;
    }
}

.image-revelada img {
    opacity: 0;
    transform: translateY(-40px);
    clip-path: inset(0 0 100% 0); /* Oculta la imagen verticalmente */
    transition:
        opacity 0.7s cubic-bezier(.77,0,.18,1),
        transform 0.7s cubic-bezier(.77,0,.18,1),
        clip-path 0.7s cubic-bezier(.77,0,.18,1);
}

.image-revelada.revelada-in img {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0); /* Revela la imagen */
}

.wrapper-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #fafafa; 
    box-sizing: border-box;
}

.building-map {
    width: 100%;
    height: 100%;
    min-height: 300px; 
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.building-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
    display: block;
}
/* style.css */
.wrapper-full .row {
    display: flex;
    align-items: stretch;
}
.map-address {
    font-size: 22px;
    letter-spacing: 0;
    text-transform: none;
}
.building-arribar {
    padding: 30px 0;
}

.building-arribar p {
    font-size: 16px;
    margin-bottom: 0px;
    margin-top: 0;
}

.eltdf-show-date {
    padding: 0 10px;
    text-transform: capitalize;
}
.eltdf-show-space {
    padding: 0 10px;
    margin-bottom: 0;
}

.single-activity .eltdf-shows-single-holder {
    margin-top: 90px;
}

.single-activity .eltdf-shows-single-holder .eltdf-event-section-title {
    margin-bottom: 50px;
}

.single-activity .eltdf-single-show-description div {
    margin-bottom: 40px;
}

.single-activity .eltdf-single-show-description h3 {
    margin-bottom: 25px!important;
}

.single-activity .eltdf-single-show-description {
    padding-right: 100px;
}

/* Grid de logos */
.colaborators_list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.colaborators_list .col_2 {
    flex: 0 0 calc(16.6667% - 27px); /* 6 columnas en desktop */
    max-width: calc(16.6667% - 27px);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .colaborators_list .col_2 {
        flex: 0 0 calc(25% - 24px); /* 4 columnas en tablet */
        max-width: calc(25% - 24px);
    }
}

@media (max-width: 768px) {
    .colaborators_list .col_2 {
        flex: 0 0 calc(50% - 16px); /* 2 columnas en móvil */
        max-width: calc(50% - 16px);
    }
}

/* Opcional: mejora visual de los logos */
.colaborators_list img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.eltdf-workflow .eltdf-workflow-item .eltdf-workflow-item-inner .eltdf-workflow-text span.text {
    font-family: "Inter";
    font-size: 17px;
}

@media (max-width: 1399px) {
    .icon-building-card {
        margin-bottom: 15px;
        font-size: 128px;
        width: 128px;
        height: 128px;
    }
}
@media (max-width: 1199px) {
    .icon-building-card {
        margin-bottom: 15px;
        font-size: 110px;
        width: 110px;
        height: 110px;
    }
    .building-card h3 {
      font-size: 16px;  
    }
}
@media (max-width: 1023px) {
    .building-card {
            flex: 0 1 24.999%; 
    }
    .icon-building-card {
        margin-bottom: 15px;
        font-size: 134px;
        width: 134px;
        height: 134px;
    }
}

@media (max-width: 768px) {
    .building-card {
            flex: 0 1 33.33333%; 
    }
    .icon-building-card {
        margin-bottom: 15px;
        font-size: 140px;
        width: 140px;
        height: 140px;
    }
    .title {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .eltdf-content .eltdf-content-inner > .eltdf-container > .eltdf-container-inner {
        padding: 30px 0 10px 0!important;
    }
}

@media (max-width: 680px) {
    .building-card {
            flex: 0 1 50%; 
    }
    .icon-building-card {
        margin-bottom: 15px;
        font-size: 105px;
        width: 105px;
        height: 105px;
    }
}

@media only screen and (max-width: 480px) {
    .eltdf-container-inner, .eltdf-grid, .eltdf-row-grid-section {
        width: 90%!important;
    }
    .eltdf-top-skewed-section-effect {
        transform: rotate(-170deg) translateY(69%)!important;
    }
    .eltdf-bottom-skewed-section-effect {
        transform: rotate(8deg) translateY(75%) !important;
    }
}


@media only screen and (max-width: 680px) {
    .eltdf-show-slider-holder .eltdf-owl-slider .owl-nav {
        display: block!important;
    }

    .eltdf-show-slider-holder .eltdf-owl-slider .owl-nav .owl-next, 
    .eltdf-show-slider-holder .eltdf-owl-slider .owl-nav .owl-prev {
        top: auto!important;
        bottom: -90px !important;
    }
}

.icon-building-card figure {
        transform: rotate(-45deg);
}

.building-cards {
    display: flex;
    flex-wrap: wrap;
    gap:0;
    justify-content: center;
    margin-top: 100px;
}

.custom-gaudi-card img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.custom-gaudi-card h3 {
    font-size: 18px;
    line-height: 1.2;
}

/* Grid de actividades responsive */
.activity-grid-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    margin-top: 60px;
}

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

@media (max-width: 767px) {
    .activity-grid-cards {
        grid-template-columns: 1fr;
    }
}

/* Opcional: ajusta la tarjeta si necesitas */
.activity-grid-cards .eltdf-show {
    margin-bottom: 0;
}

.empty-activities,
.activity-loading {
    min-height: 400px; /* Ajusta según la altura típica del grid */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: #000000;
}

.applied-filter,
#activity-load-more {
    background: #000;
    padding: 10px 20px !important;
    text-transform: uppercase;
    line-height: 2.33em;
    box-sizing: border-box;
    color: #FFF;
    border: none!important;
    font-family: Inter;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.applied-filter {
    font-size: 12px;
    padding: 6px 15px !important;
    margin-right: 10px;
}

/* Filtros de actividades */
#activity-filter-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 30px;
}

.activity-filter-group {
    flex: 1 1 0;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.activity-filter-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
    color: #222;
    font-family: Inter;
}

#activity-filter-form input[type="text"],
#activity-filter-form input[type="date"],
#activity-filter-form select {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Inter;
    box-sizing: border-box;
}

#activity-filter-form button[type="submit"] {
    height: 44px;
    margin-top: 22px;
    background: #000;
    color: #fff;
    border: none;
    font-family: Inter;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 0 24px;
    text-transform: uppercase;
    transition: background 0.2s;
}

#activity-filter-form button[type="submit"]:hover {
    background: #222;
}

.eltdf-page-footer .eltdf-footer-top-holder .eltdf-footer-top-inner.eltdf-grid {
    padding: 40px 0;
}

/* Responsive: filtros en columna en móvil */
@media (max-width: 768px) {
    #activity-filter-form {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .activity-filter-group {
        min-width: 100%;
    }
    #activity-filter-form button[type="submit"] {
        width: 100%;
        margin-top: 0;
    }
}