.home-navigation {
    font-family: "Geograph Edit Bold";
    overflow-x: scroll;
    scroll-behavior: smooth;
    position: relative;
    text-align: left;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: none;
}

.home-navigation ul {
    margin: 0;
    padding: 1em 1em;
    font-family: "Geograph Edit Bold";
    font-feature-settings: "swsh";
    font-size: 0.875em;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-align-items: baseline;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    white-space: nowrap;
    text-align: center;
}

.home-navigation ul li {
    list-style: none;
    display: inline-block;
}

.home-navigation ul li a {
    display: inline-block;
    padding: 0.25em 0.5em;
    margin: 0 0.5em;
    background-color: #f0f0f0;
    color: #000;
    text-decoration: none;
}

.home-navigation ul li:last-child a {
    background-color: #fff;
    border-bottom: 2px solid #fc0;
}

.home-navigation ul li:last-child a svg {
    height: 10px;
    width: 10px;
    color: #fc0;
    fill: currentColor;
    display: inline-block;
}

/* HERO */
#homeHero {
    background-size: cover !important;
}

#homeHero picture {
    aspect-ratio: 16 / 9;
}

#homeHero .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
    height: 70px;
    width: 70px;
    margin: 0;
}

#homeHero .play-button .play-icon {
    background: rgba(0, 0, 0, 0.8);
    z-index: 14;
    position: absolute;
    bottom: 0;
    left: 0;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 50px;
    width: 75px;
    height: 75px;
}

#homeHero .play-button .play-icon:hover {
    background: #fc0;
}

#homeHero .play-button .play-icon:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 55%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 0;
    border-bottom: 14px solid transparent;
    border-top: 14px solid transparent;
    border-left: 24px solid #fc0;
}

#homeHero .play-button .play-icon:hover:after {
    border-left-color: #000 !important;
}

/* INTRO */
#homeIntro {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
}

#homeIntro .inner h2 {
    font-family: "Geograph Edit Bold", sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.42;
    position: relative;
    margin: 0 auto 20px auto;
    max-width: 1080px;
    margin-top: 4em;
}

@media (min-width: 1024px) {
    #homeIntro .inner h2 {
        font-size: 44px;
        line-height: 1.3;
    }
}

/* LOGOS */
.andorra__logos .andorra__container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.andorra__logos .logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.andorra__logos .logo-container:after {
    content: "";
    display: inline-flex;
    border-right: 0.1em solid grey;
    height: 6.3em;
    margin: 30px;
}

.andorra__logos img {
    width: 100%;
    max-width: 7.7em;
    height: auto;
    display: block;
    padding: 4em 0;
}

/* INTRO */
.andorra__intro {
    background-color: var(--black);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6.75em 0 !important;
}

.intro-info,
.banner-info,
.external-info {
    text-align: center;
}

/* GALLERY */
.andorra__gallery_grid {
    background-color: var(--black);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 5em !important;
}

.andorra__gallery {
    margin-top: 32px;
    width: 100%;
    position: relative;
}

@media (min-width: 768px) {
    .andorra__gallery {
        margin-top: 46px;
    }
}

.andorra__gallery .swiper {
    width: 100%;
    max-width: 100%;
}

.andorra__gallery .swiper-wrapper {
    height: auto;
}

.swiperThumbs {
    padding-top: 5em !important;
    padding-bottom: 3em !important;
    position: relative;
}
.swiperThumbs::before {
    content: "";
    background: linear-gradient(90deg, #000 23.14%, rgba(0, 0, 0, 0) 99.99%);
    width: 4em;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}
.swiperThumbs::after {
    content: "";
    background: linear-gradient(270deg, #000 23.14%, rgba(0, 0, 0, 0) 99.99%);
    width: 4em;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
.swiperThumbs .swiper-slide img {
    transition: all 300ms ease-in-out;
    border: 0px solid #ffcc01;
}
.swiperThumbs .swiper-slide:hover img {
    cursor: pointer;
    border: 4px solid #ffcc01;
}
.swiperThumbs .swiper-slide::before {
    content: "";
    height: 4px;
    width: 70%;
    background-color: #000;
    position: absolute;
    top: -50px;
    left: 15%;
    right: 15%;
    transition: all 300ms ease-in-out 300ms;
}
.swiperThumbs .swiper-slide-thumb-active img {
    border: 4px solid #ffcc01;
}
.swiperThumbs .swiper-slide-thumb-active::before {
    background-color: #ffcc01;
}

.swiperGallery {
    position: relative;
    margin-bottom: 2em;
}

.swiper-caption {
    text-align: left;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-family: "Geograph Edit Regular", sans-serif;
    font-feature-settings: "swsh";
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: initial;
    margin-bottom: 20px;
}

.swiper-credits {
    font-family: "Geograph Edit Medium", sans-serif;
    font-size: 12px;
    line-height: 1.42;
    color: #999;
}
.swiper-credits a {
    position: relative;
    color: #999;
}

.swiper-credits a:before {
    background-color: #fc0;
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    -webkit-transition: height 0.3s;
    transition: height 0.3s;
    width: 100%;
    z-index: 0;
}

.swiper-credits a:hover:before {
    height: 100%;
}

.swiper-credits a span {
    position: relative;
    z-index: 1;
}

.swiper-button-next,
.swiper-button-prev {
    filter: drop-shadow(0px 4px 4.3px rgba(0, 0, 0, 0.5));
    -webkit-filter: drop-shadow(0px 4px 4.3px rgba(0, 0, 0, 0.5));
    /* Safari/Chrome */
    -moz-filter: drop-shadow(0px 4px 4.3px rgba(0, 0, 0, 0.5));
    /* Firefox */
    -ms-filter: drop-shadow(0px 4px 4.3px rgba(0, 0, 0, 0.5));
    /* IE */
    -o-filter: drop-shadow(0px 4px 4.3px rgba(0, 0, 0, 0.5));
    /* Opera */
    --swiper-navigation-sides-offset: 10px !important;
    --swiper-navigation-size: 22px !important;
}
@media (min-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        --swiper-navigation-sides-offset: 50px !important;
        --swiper-navigation-size: 44px !important;
    }

    .swiper-credits {
        font-family: "Geograph Edit Regular", sans-serif;
        font-feature-settings: "swsh";
        text-transform: uppercase;
        letter-spacing: 3px;
    }
}

/* BANNER */
.andorra__banner {
    position: relative;
    background: #fff;
    padding-top: 6em;
    padding-bottom: 4em;
}

@media (min-width: 768px) {
    .andorra__banner {
        padding-top: 8em;
        padding-bottom: 5em;
    }
}

.andorra__banner:before {
    display: block;
    background: url(https://specials-stage.techops.disn.io/ng/es/andorra2025/andorra-ecotour/assets/images/banner-background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 768px) {
    .andorra__banner:before {
        content: "";
    }
}

.andorra__banner .banner-info {
    position: relative;
    z-index: 2;
    padding-bottom: 9em;
}

/** CARDS */
.andorra__cards__section.blog {
    background: #000;
}

.andorra__cards {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Centra las tarjetas horizontalmente */
    column-gap: 2em;
    row-gap: 2em;
    padding-bottom: 5em;
}

@media (min-width: 768px) {
    .andorra__cards {
        padding-bottom: 8em;
        padding: 1.5em;
        column-gap: 3em;
        row-gap: 3em;
    }
}

.andorra__cards__item {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    flex: 100%;
    width: 100%;
    aspect-ratio: 1/1.2;
}

@media (min-width: 550px) {
    .andorra__cards__item {
        width: calc(50% - 1.5em);
        max-width: 394px;
        aspect-ratio: 1/1.45;
    }
}
@media (min-width: 1200px) {
    .andorra__cards__item {
        flex: 1 0 calc(33.333% - 2em);
        width: calc(33.333% - 2em);
    }
}

.andorra__cards__item a {
    color: #fff;
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.andorra__cards__link:hover .andorra__cards__image {
    transform: scale(1.1);
}
.andorra__cards__link:hover .andorra__cards__image::before {
    opacity: 0;
}

.andorra__cards__image {
    transition: transform 300ms ease-in-out;
    height: 100%;
}
.andorra__cards__image img {
    object-fit: cover;
    height: 100%;
}
.andorra__cards__image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    opacity: 0.5;
    transition: opacity 300ms ease-in-out;
}

.andorra__cards__text {
    font-size: 1em;
    line-height: 1.45;
    text-align: center;
    gap: 1em;
    padding: 4em 0;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (min-width: 550px) {
    .andorra__cards__text {
        display: grid;
        justify-items: center;
        padding: 3em 0;
        height: auto;
    }
}
@media (min-width: 1200px) {
    .andorra__cards__text {
        padding: 4em 0;
    }
}

.andorra__cards__text p {
    pointer-events: none;
    width: 100%;
    padding: 0 2em;
    margin-bottom: 0;
}

.andorra__cards__item h3 {
    margin-bottom: 2em;
    font-size: 1.375em;
    line-height: 28px;
    text-transform: uppercase;
    letter-spacing: 0.1875em;
    pointer-events: none;
    font-family: "Geograph Edit Bold", sans-serif;
    padding: 0 2em;
}

.blog .andorra__cards__item h3 {
    text-transform: inherit;
}

@media (min-width: 768px) {
    .andorra__cards__item h3 {
        padding: 0 2em;
        margin-bottom: 2em;
    }
}
@media (min-width: 1200px) {
    .andorra__cards__item h3 {
        padding: 0 3em;
        margin-bottom: 4em;
    }
}

/* EXTERNALS */
.andorra__text_external {
    padding-top: 4em;
    padding-bottom: 3em !important;
}

@media (min-width: 768px) {
    .andorra__text_external {
        padding-top: 6em;
        padding-bottom: 5em !important;
    }
}

.andorra__text_external img {
    margin: 0 auto;
    width: 100%;
    max-width: 10em;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .andorra__text_external img {
        max-width: 16em;
    }
}

/* GENERALITAT */
.generalitat {
    min-width: 100%;
    height: 300px;
    background-color: #e9e9e9;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.generalitat img {
    width: 100%;
    max-width: 16em;
    display: block;
    height: auto;
}

/* POPUP */
.external-link-layout {
    position: fixed;
    z-index: 9999999999;
    background: rgba(0, 0, 0, 0.85);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    opacity: 0;
    pointer-events: none;
}

.external-link-layout.animate {
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

.external-link-layout.show {
    opacity: 1;
    pointer-events: visible;
}

.external-link-layout p {
    width: 90%;
    max-width: 550px;
    line-height: 1.4;
}

.external-link-layout .button {
    margin: 25px 0 0;
    color: #000;
    font-family: "Geograph Edit Bold";
    font-feature-settings: "swsh";
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.5;
    -webkit-text-decoration: none;
    text-decoration: none;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    padding: 15px 30px;
    display: inline-block;
    background-color: #fc0;
    cursor: pointer;
}

.external-link-layout .close {
    display: block;
    position: absolute;
    top: 40px;
    right: 40px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.external-link-layout .close:before,
.external-link-layout .close:after {
    content: "";
    display: block;
    width: 24px;
    height: 1px;
    background: #fff;
    top: 50%;
    left: 50%;
    position: absolute;
}

.external-link-layout .close:before {
    -webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg);
    transform: translate3d(-50%, -50%, 0) rotate(45deg);
}

.external-link-layout .close:after {
    -webkit-transform: translate3d(-50%, -50%, 0) rotate(-45deg);
    transform: translate3d(-50%, -50%, 0) rotate(-45deg);
}
