.link {
    cursor: pointer;
}

/* INTRO */
.single__intro {
    aspect-ratio: unset;
    min-height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: #fff;
    text-align: center;
    box-shadow: 0px 3px 8px 2px rgb(0 0 0 / 25%);
    position: relative;
}

@media (min-width: 1025px) {
    .single__intro {
        aspect-ratio: 16 / 9;
        min-height: unset;
    }
}

.single__intro .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single__intro .intro-info {
    position: relative;
}

.single__intro .font-size-text {
    font-size: 1em;
    letter-spacing: 0.00625em;
    line-height: 1.6;
    padding-bottom: 2em;
}

@media (min-width: 1024px) {
    .single__intro .font-size-text {
        font-size: 1.1875em;
    }
}

/* CONTENT */
.single__content .andorra__container {
    overflow: hidden;
}

@media (min-width: 768px) {
    .single__content .andorra__container {
        max-width: 1000px;
    }
}

@media (min-width: 1200px) {
    .single__content .andorra__container {
        max-width: 1160px;
    }
}

.single__content .memo {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 3px;
    margin-top: 1.5em;
}

.single__content .memo span a,
.single__content .memo span strong {
    font-weight: 400;
    font-family: "Geograph Edit Bold";
}

.single__content .memo span a {
    border-bottom: 2px solid #fc0;
    color: #000;
    text-decoration: none;
}

.single__content .memo span .line {
    border-left: 1px solid #999;
    margin-left: 10px;
    padding-left: 10px;
}

.single__content .columns {
    display: flex;
    flex-direction: column;
    margin-bottom: 5em;
}

@media (min-width: 1025px) {
    .single__content .columns {
        display: flex;
        flex-direction: row;
        margin-bottom: 3em;
    }
}

.single__content .column:first-child {
    width: 100%;
    padding-right: 0;
    float: left;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1025px) {
    .single__content .column:first-child {
        width: calc(100% - 320px);
        padding-right: 50px;
    }
}

.single__content .column:first-child > * {
    width: 100%;
}

.--andorra__video {
    width: 100%;
    position: relative;
    background-size: cover !important;
}

.--andorra__video .play-button {
    height: 80px;
    width: 56px;
    background: rgba(0, 0, 0, 0.8);
    z-index: 14;
    position: absolute;
    bottom: 0;
    left: 0;
}

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

.--andorra__video .play-icon {
    width: 0;
    height: 0;
    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%);
    border-bottom: 11px solid transparent;
    border-top: 11px solid transparent;
    border-left: 19px solid #fc0;
    font-size: 0;
    border-bottom: 8px solid transparent;
    border-top: 8px solid transparent;
    border-left: 15px solid #fc0;
}

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

.video-caption {
    font-family: "Geograph Edit Bold";
    font-feature-settings: "swsh";
    font-weight: 400;
    font-size: 0.875em;
    letter-spacing: 2.5px;
    line-height: 1.5;
    text-transform: uppercase;
    color: #333;
    padding-left: 30px;
    position: relative;
    margin: 11px 0;
    border-left: 1px solid #000;
}

@media (min-width: 768px) {
    .video-caption {
        padding-left: 35px;
        margin: 10px 0 31px;
    }
}

@media (min-width: 1280px) {
    .video-caption {
        padding-left: 40px;
        margin: 11px auto 0;
    }
}

.video-caption:before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 1px;
    height: 8px;
    background: #fff;
    z-index: 2;
}

.single__content .column.sticky {
    display: none !important;
    width: 100%;
    float: left;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.box.mobile {
    display: flex;
    margin-bottom: 2em;
}

.andorra__container .box.mobile {
    display: none !important;
}

@media (min-width: 1025px) {
    .single__content .column.sticky {
        display: flex;
        width: 300px;
    }

    .box.mobile {
        display: none;
    }
}

.single__content .column.sticky .box {
    top: 0;
    -webkit-transition: top 0.5s ease-in-out;
    transition: top 0.5s ease-in-out;
    position: -webkit-sticky;
    position: sticky;
}

.single__content .box .inner {
    background-color: #f2f2f2;
    padding: 2em 0;
    margin-top: 0.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box.mobile .inner {
    width: 100%;
}

.single__content .box .inner h3 {
    width: 100%;
    position: relative;
    height: 24px;
    font-family: "Geograph Edit Bold", sans-serif;
    font-feature-settings: "swsh";
    font-size: 16px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 3px;
    text-align: center;
    color: #000000;
    margin: 1em auto 2em auto;
    text-transform: uppercase;
    display: block;
}

.box.mobile .inner h3 {
    max-width: 340px;
}

.single__content .box .inner h3:before,
.single__content .box .inner h3:after {
    content: "";
    position: absolute;
    width: 48px;
    height: 1px;
    top: 12px;
    border-top: solid 2px #999999;
}

.single__content .box .inner h3:before {
    left: 20px;
}

.single__content .box .inner h3:after {
    right: 20px;
}

@media (min-width: 1024px) {
    .single__content .box .inner h3:before,
    .single__content .box .inner h3:after {
        width: 40px;
    }

    .single__content .box .inner h3:before {
        left: 20px;
    }

    .single__content .box .inner h3:after {
        right: 20px;
    }
}

.single__content .box .inner .link {
    height: 18px;
    padding: 0 10px;
    text-transform: uppercase;
    display: block;
    margin: 18px auto 5px;
    font-family: "Geograph Edit Bold", sans-serif;
    font-feature-settings: "swsh";
    font-size: 12px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 3px;
    text-align: center;
    color: #000000;
    border-bottom: solid 2px #ffcc00;
    text-decoration: none;
}

.content-text {
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size: 1.1875em;
    line-height: 1.9375em;
    letter-spacing: normal;
    margin-bottom: 30px;
    margin-top: 30px;
    color: #333;
}

@media (min-width: 768px) {
    .content-text {
        margin-bottom: 30px;
        margin-top: 30px;
    }
}

.content-images {
    display: flex;
    gap: 1em;
}

.content-images img {
    width: calc(50% - 0.5em);
    height: auto;
    display: block;
}

.image-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.875em;
    letter-spacing: 0.1px;
    line-height: 20px;
    color: #333;
    gap: 1em;
    padding-left: 1.5em;
    border-left: 1px solid #555;
    margin-top: 0.5em;
}

.image-caption .credit {
    display: block;
    font-feature-settings: "swsh";
    font-weight: 400;
    font-size: 0.75em;
    letter-spacing: 3px;
    line-height: 1.5;
    text-transform: uppercase;
    color: #333;
}

.image-caption strong {
    font-weight: 700;
}

.image-caption a {
    color: #333;
    border-bottom: 2px solid #fc0;
    text-decoration: none;
}

.image-caption .mobile {
    display: block;
}

.image-caption .desktop {
    display: none;
}

@media (min-width: 768px) {
    .image-caption .mobile {
        display: none;
    }

    .image-caption .desktop {
        display: block;
    }
}

.externals {
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size: 1.1875em;
    line-height: 1.9375em;
    letter-spacing: normal;
    color: #333;
    border: 2px solid rgb(230 230 230);
    margin-bottom: 1.5em;
    padding: 2em 1.5em;
}

@media (min-width: 768px) {
    .externals {
        margin-bottom: 30px;
    }
}

@media (min-width: 1024px) {
    .externals {
        margin-bottom: 0.5em;
        padding: 2.5em 2em;
    }
}

.externals a {
    color: inherit;
    border-bottom: 2px solid #fc0;
    text-decoration: none;
}

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

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

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

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

@media (min-width: 550px) {
    .andorra__cards__item {
        width: 50%;
        max-width: 50%;
    }
}

@media (min-width: 1025px) {
    .andorra__cards__item {
        width: 33.333%;
    }
}

.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: 0 20px;
    width: 100%;
    position: absolute;
    bottom: 10%;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-button {
    margin: 2em auto;
    text-decoration: none;
    width: auto !important;
}

@media (min-width: 550px) {
    .andorra__cards__text {
        display: grid;
        justify-items: center;
        height: auto;
    }
}

.andorra__cards__text > * {
    width: 100%;
}

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

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

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

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

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

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

@media (min-width: 768px) {
    #preFooter {
        padding-bottom: 0.5em;
    }

    #preFooter .message {
        width: calc(100% - 270px);
    }
}

.single__tags .andorra__container {
    display: flex;
    gap: 0.75em;
}

.single__tags .link {
    border-radius: 2px;
    background-color: #f4f4f4;
    font-family: "Geograph Edit Bold", sans-serif;
    font-feature-settings: "swsh";
    font-size: 10px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.8;
    letter-spacing: 3px;
    text-align: center;
    color: #000000;
    padding: 6px 10px;
    text-transform: uppercase;
    text-decoration: none;
}

@media (min-width: 768px) {
    .single__tags .link {
        padding: 10px 28px;
    }
}

.single__tags .link:hover {
    background: #000;
    color: #fff;
}

.single__tags .gif {
    display: block;
    margin: 6em auto 4em;
    width: 36px;
    height: 52px;
}

@media (min-width: 1025px) {
    .single__tags .gif {
        margin: 4em auto;
    }
}
