.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;
}

.home-navigation ul {
    margin: 0;
    padding: 1rem 1rem;
    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.25rem 0.5rem;
    margin: 0 0.5rem;
    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;
}

/* TEXT SECTION */
.andorra__text-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.75em 0 !important;
    text-align: center;
}

.andorra__text-section.grid-section {
    padding: 3.75em 0 2em !important;
}

@media only screen and (min-width: 1024px) {
    .andorra__text-section.grid-section {
        padding: 3.75em 0 !important;
    }
}

.andorra__text-section.grid-section h2,
.andorra__team h2 {
    line-height: 1.42;
    position: relative;
    margin: 0 auto 20px auto;
    max-width: 1080px;
    letter-spacing: 0;
    text-align: center;
}

.andorra__text-section.grid-section .separator {
    margin-bottom: 20px;
}

.andorra__team .separator {
    margin: 0 auto 20px auto;
    display: block;
}


@media only screen and (min-width: 1024px) {
    .andorra__text-section.intro-section {
        padding-bottom: 7vw !important;
    }
}

.andorra__text-section .andorra__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.andorra__text-section .andorra__container .--button {
    margin-top: 40px;
}

@media only screen and (min-width: 1024px) {
    .andorra__text-section .andorra__container .--button {
        margin-top: 60px;
    }
}

.andorra__text-section.grid-section .grid12 {
    width: 100%;
    max-width: 1500px;
    padding: 50px 1rem 25px;
    display: grid;
    -webkit-grid-template-columns: repeat(12, 1fr);
    grid-template-columns: repeat(12, 1fr);
    -webkit-grid-gap: 60px 20px;
    grid-gap: 60px 20px;
}

@media only screen and (min-width: 1024px) {
    .andorra__text-section.grid-section .grid12 {
        -webkit-grid-gap: 100px 20px;
        grid-gap: 100px 20px;
        padding: 80px 1rem 50px;
    }
}

.andorra__text-section.grid-section .grid12 .entry {
    -webkit-grid-column: span 12;
    grid-column: span 12;
}

@media (min-width: 768px) {
    .andorra__text-section.grid-section .grid12 .entry {
        -webkit-grid-column: span 4;
        grid-column: span 4;
    }
}

.andorra__text-section.grid-section .grid12 .entry a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    color: var(--black);
    text-decoration: none;
}

@media only screen and (min-width: 1024px) {
    .andorra__text-section.grid-section .grid12 .entry a {
        gap: 18px;
    }
}

.andorra__text-section.grid-section .grid12 .entry .image {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 200px;
}

.andorra__text-section.grid-section .grid12 .entry .image:after {
    content: "";
    display: block;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
}

.andorra__text-section.grid-section .grid12 .entry .image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    object-fit: cover;
}

.andorra__text-section.grid-section .grid12 .entry a div.flex {
    font-family: "Geograph Edit Bold";
    display: flex;
    text-transform: uppercase;
    font-size: 0.75em;
    line-height: 1.375em;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555;
}

.andorra__text-section.grid-section .grid12 .entry a div.flex span:last-child {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 2px solid currentColor;
}

.andorra__text-section.grid-section .grid12 .entry a h3 {
    font-family: "Geograph Edit Medium";
    font-size: 1.375em;
    line-height: 1.75em;
    letter-spacing: 0.1px;
    font-weight: unset;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

/* TEAM */
.andorra__team {
    padding-top: 80px;
    padding-bottom: 60px;
}

@media only screen and (min-width: 768px) {
    .andorra__team {
        padding-top: 110px;
        padding-bottom: 80px;
    }
}

@media only screen and (min-width: 1200px) {
    .andorra__team {
        padding-top: 150px;
        padding-bottom: 100px;
    }
}

.andorra__team .andorra__container {
    width: 100%;
    display: none;
    -webkit-grid-template-columns: repeat(10, 1fr);
    grid-template-columns: repeat(10, 1fr);
    -webkit-grid-gap: 20px;
    grid-gap: 20px;
}

@media only screen and (min-width: 1024px) {
    .andorra__team .andorra__container {
        display: grid;
        max-width: 1440px;
    }
}

.andorra__team-mobile {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 1rem;
    height: 120vw;
}

@media (min-width: 550px) {
    .andorra__team-mobile {
        height: 100vw;
    }
}

@media (min-width: 768px) {
    .andorra__team-mobile {
        height: 64vw;
    }
}

@media (min-width: 1024px) {
    .andorra__team-mobile {
        display: none;
    }
}

.andorra__team-mobile .swiper-button-next {
    right: 20px;
}

.andorra__team-mobile .swiper-button-prev {
    left: 20px;
}

.member {
    -webkit-grid-column: span 2;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.member .image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.member .image:after {
    content: "";
    display: block;
    width: 100%;
    position: relative;
    padding-bottom: 100%;
}

.member .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
    transition: transform 0.4s ease-in-out;
}

.member:hover .image img {
    transform: scale(1.1);
}

.member .name {
    color: black;
    font-family: "Geograph Edit Medium";
    font-size: 22px;
    font-weight: 500;
    line-height: 1.27;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    display: -webkit-box;
}

.member .desc {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 18px;
    overflow: hidden;
    display: -webkit-box;
}

/* 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.1rem solid grey;
    height: 6.3rem;
    margin: 30px;
}

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

@media (min-width: 768px) {
    .andorra__logos img {
        max-width: 10em;
        padding: 4em 0;
    }
}

/* GALLERY */
.andorra__gallery_grid {
    background-color: var(--black);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 8em !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: 4rem;
    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: 4rem;
    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-credits {
    font-family: "Geograph Edit Regular", sans-serif;
    margin-bottom: 0;
    color: white;
    font-feature-settings: "swsh";
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: initial;
    text-transform: initial;
    text-align: center;
}

.swiper-credits a {
    position: relative;
    color: white;
    text-decoration: none;
}

.swiper-credits a:before {
    background-color: #fc0;
    bottom: -1px;
    content: "";
    height: 2px;
    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;
    }
}

/* 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: 16rem;
    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);
}
