/* =========================================================
   THE EXPAT EDITS
   EDITION MASTER STYLESHEET
   VERSION 3.5

   HERO
   INTRODUCTION
   PHOTOGRAPHIC STORY
   LOCAL INFORMATION
   OUR RECOMMENDATIONS
   FROM THE JOURNAL
   MORE FROM OUR CAMERA
   MAP
   END NAVIGATION

   Photography:
   - Natural aspect ratios
   - No unnecessary cropping
   - Close photographic spacing
   - Layout adapts to the photographs
   - Refined desktop photographic field
   - Larger full-image desktop heroes
========================================================= */


/* =========================================================
   01. EDITIONS ARCHIVE
========================================================= */

.editions-intro {

    padding-top: clamp(70px, 9vw, 120px);
    padding-bottom: clamp(55px, 7vw, 90px);
}

.editions-intro h1 {

    margin: 0;

    color: var(--ivory);

    font-family: var(--font-display);
    font-size: clamp(4rem, 7vw, 6.5rem);
    font-weight: 500;

    line-height: 0.9;
}

.editions-intro .section-intro {

    max-width: 560px;

    margin-top: 24px;

    color: var(--muted);

    font-size: 0.95rem;
    line-height: 1.8;
}


.editions-archive {

    padding-top: 20px;
    padding-bottom: var(--section-space);
}

.editions-archive .section-heading {

    margin-bottom: 48px;
}


.edition-archive-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    column-gap: 30px;
    row-gap: 70px;

    width: 100%;
}


.edition-archive-card {

    display: block;

    min-width: 0;

    color: inherit;
    text-decoration: none;

    transition:
        transform 0.35s ease;
}

.edition-archive-card:hover {

    transform: translateY(-4px);
}


.edition-archive-image {

    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--bg-card);
}

.edition-archive-image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        saturate(0.93)
        contrast(0.96);

    transition:
        transform 0.65s ease,
        filter 0.65s ease;
}

.edition-archive-card:hover .edition-archive-image img {

    transform: scale(1.025);

    filter:
        saturate(0.98)
        contrast(0.98);
}


.edition-archive-content {

    padding-top: 17px;
}


.edition-archive-country {

    margin: 0 0 7px;

    color: var(--gold);

    font-family: var(--font-body);

    font-size: 0.62rem;
    font-weight: 500;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    line-height: 1.4;
}


.edition-archive-content h3 {

    margin: 0;

    color: var(--ivory);

    font-family: var(--font-display);

    font-size: clamp(2rem, 3vw, 2.65rem);

    font-weight: 500;

    line-height: 0.95;
}


.edition-archive-description {

    max-width: 360px;

    margin-top: 10px;

    color: var(--muted);

    font-size: 0.78rem;

    line-height: 1.65;
}


.edition-archive-link {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 14px;

    color: var(--gold);

    font-size: 0.62rem;
    font-weight: 500;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    transition:
        color var(--transition),
        gap var(--transition);
}

.edition-archive-card:hover .edition-archive-link {

    color: var(--ivory);

    gap: 11px;
}


/* =========================================================
   02. EDITION HERO
========================================================= */

.edition-hero {

    position: relative;

    width: 100%;

    min-height: 100svh;

    overflow: hidden;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    background-color: var(--bg);

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;
}


.edition-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(17,16,15,0.10) 0%,
            transparent 25%,
            rgba(17,16,15,0.18) 65%,
            rgba(17,16,15,0.78) 88%,
            var(--bg) 100%
        );
}


.edition-hero-overlay {

    position: relative;

    z-index: 2;

    width: min(
        calc(100% - (var(--page-padding) * 2)),
        900px
    );

    padding-bottom: clamp(65px, 9vh, 110px);

    text-align: center;
}


.edition-hero-overlay .eyebrow {

    margin-bottom: 16px;

    color: var(--gold);
}


.edition-hero-overlay h1 {

    margin: 0;

    color: var(--ivory);

    font-family: var(--font-display);

    font-size: clamp(
        4.8rem,
        10vw,
        9rem
    );

    font-weight: 500;

    line-height: 0.82;

    text-shadow:
        0 3px 30px rgba(0,0,0,0.40);
}


.edition-hero-subtitle {

    max-width: 600px;

    margin: 22px auto 0;

    color: var(--ivory);

    font-size: 0.76rem;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    text-shadow:
        0 2px 15px rgba(0,0,0,0.40);
}


/* =========================================================
   03. EDITION INTRODUCTION
========================================================= */

.edition-intro {

    padding-block:
        clamp(70px, 8vw, 110px);
}


.edition-intro-inner {

    max-width: 850px;

    margin-inline: auto;

    text-align: center;
}


.edition-intro-inner .section-label {

    margin-bottom: 18px;
}


.edition-intro h2 {

    max-width: 760px;

    margin: 0 auto;

    color: var(--ivory);

    font-family: var(--font-display);

    font-size: clamp(
        3.4rem,
        6vw,
        5.5rem
    );

    font-weight: 500;

    line-height: 0.9;
}


.edition-intro-text {

    max-width: 720px;

    margin: 30px auto 0;

    color: var(--muted);

    font-size: 0.92rem;

    line-height: 1.9;
}


.edition-intro-text p {

    margin: 0;
}


/* =========================================================
   04. PHOTOGRAPHIC STORY
========================================================= */

.edition-photo-story {

    padding-block:
        clamp(45px, 6vw, 80px);
}


.edition-photo-heading {

    max-width: 700px;

    margin-bottom: clamp(28px, 4vw, 45px);
}


.edition-photo-heading p,
.edition-gallery .section-heading p {

    margin: 0 0 12px;

    color: var(--gold);

    font-size: 0.60rem;

    font-weight: 500;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.edition-photo-heading h2,
.edition-gallery .section-heading h2 {

    margin: 0;

    color: var(--ivory);

    font-family: var(--font-display);

    font-size: clamp(
        2.8rem,
        5vw,
        4.5rem
    );

    font-weight: 500;

    line-height: 0.92;
}


/* =========================================================
   05. PHOTO MOSAIC
========================================================= */

.edition-photo-mosaic {

    display: flex;

    flex-wrap: wrap;

    align-items: flex-start;

    gap: 8px;

    width: 100%;

    max-width: 1120px;

    margin-inline: auto;
}


.edition-photo-mosaic img {

    display: block;

    width: 100%;
    height: auto;

    flex: 1 1 30%;

    min-width: 0;

    object-fit: contain;

    background: var(--bg-card);

    filter:
        saturate(0.93)
        contrast(0.96);

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}


/* ---------------------------------------------------------
   CONTROLLED IMAGE WIDTHS
--------------------------------------------------------- */

.edition-photo-mosaic img:nth-child(1) {

    flex-basis: 48%;
}

.edition-photo-mosaic img:nth-child(2) {

    flex-basis: 28%;
}

.edition-photo-mosaic img:nth-child(3) {

    flex-basis: 23%;
}

.edition-photo-mosaic img:nth-child(4) {

    flex-basis: 31%;
}

.edition-photo-mosaic img:nth-child(5) {

    flex-basis: 36%;
}

.edition-photo-mosaic img:nth-child(6) {

    flex-basis: 28%;
}

.edition-photo-mosaic img:nth-child(7) {

    flex-basis: 24%;
}

.edition-photo-mosaic img:nth-child(8) {

    flex-basis: 31%;
}

.edition-photo-mosaic img:nth-child(9) {

    flex-basis: 34%;
}

.edition-photo-mosaic img:nth-child(10) {

    flex-basis: 27%;
}

.edition-photo-mosaic img:nth-child(11) {

    flex-basis: 42%;
}


.edition-photo-mosaic img:hover {

    transform: scale(1.008);

    filter:
        saturate(0.98)
        contrast(0.98);
}


/* =========================================================
   DESKTOP PHOTOGRAPHIC FIELD
========================================================= */

@media (min-width: 1001px) {

    .edition-photo-mosaic {

        max-width: 900px;
    }


    .edition-photo-mosaic img {

        flex-grow: 1;
        flex-shrink: 1;
    }

}


/* =========================================================
   DESKTOP HERO
========================================================= */

/*
   Desktop hero photographs are now displayed in full.

   The hero is deliberately taller than the previous
   contain version so portrait-oriented photographs
   remain substantial on a laptop screen.

   Unlike "cover", "contain" prevents the original image
   from being cropped.

   The result is a larger photograph with controlled
   negative space rather than an aggressively cropped image.
*/

@media (min-width: 1001px) {

    .edition-hero {

        min-height: 94svh;

        background-size: contain;

        background-position: center center;

        background-color: var(--bg);
    }


    .edition-hero-overlay {

        padding-bottom:
            clamp(55px, 7vh, 90px);
    }

}


/* =========================================================
   06. LOCAL INFORMATION
========================================================= */

.edition-local-info {

    padding-block: 20px;

    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);

    background: var(--bg-soft);
}


.edition-local-info-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    width: 100%;
}


.edition-local-info-item {

    padding:
        30px 35px;

    border-left: 1px solid var(--line-soft);
}


.edition-local-info-item:first-child {

    border-left: 0;

    padding-left: 0;
}


.edition-local-info-item:last-child {

    padding-right: 0;
}


.edition-local-info-item h3 {

    margin: 7px 0 0;

    color: var(--ivory);

    font-family: var(--font-display);

    font-size: 2rem;

    font-weight: 500;

    line-height: 1;
}


.edition-local-info-item p:not(.section-label) {

    max-width: 360px;

    margin-top: 13px;

    color: var(--muted);

    font-size: 0.74rem;

    line-height: 1.7;
}


/* =========================================================
   07. OUR RECOMMENDATIONS
========================================================= */

.edition-recommendations {

    padding-block:
        clamp(75px, 9vw, 120px);
}


.edition-recommendations .section-heading {

    max-width: 700px;

    margin-bottom: 45px;
}


.edition-recommendations .section-heading > p {

    margin: 0 0 12px;

    color: var(--gold);

    font-size: 0.60rem;

    font-weight: 500;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.edition-recommendations .section-heading h2 {

    margin: 0;

    color: var(--ivory);

    font-family: var(--font-display);

    font-size: clamp(
        2.8rem,
        5vw,
        4.5rem
    );

    font-weight: 500;

    line-height: 0.92;
}


.edition-recommendations-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 0;

    border-top: 1px solid var(--line-soft);
}


.edition-recommendation {

    padding:
        30px 30px 35px;

    border-left: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}


.edition-recommendation:nth-child(3n + 1) {

    border-left: 0;
}


.edition-recommendation .story-number {

    margin: 0 0 16px;

    color: var(--gold);

    font-size: 0.60rem;

    font-weight: 500;

    letter-spacing: 0.18em;
}


.edition-recommendation h3 {

    margin: 0;

    color: var(--ivory);

    font-family: var(--font-display);

    font-size: 2rem;

    font-weight: 500;

    line-height: 0.98;
}


.edition-recommendation p:not(.story-number) {

    max-width: 390px;

    margin-top: 16px;

    color: var(--muted);

    font-size: 0.76rem;

    line-height: 1.75;
}


/* =========================================================
   08. FROM THE JOURNAL
========================================================= */

.edition-journal {

    padding-block:
        clamp(75px, 9vw, 120px);

    background: var(--bg-soft);

    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}


.edition-journal-inner {

    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: clamp(50px, 8vw, 120px);

    align-items: start;
}


.edition-journal h2 {

    margin: 0;

    color: var(--ivory);

    font-family: var(--font-display);

    font-size: clamp(
        3rem,
        5vw,
        4.8rem
    );

    font-weight: 500;

    line-height: 0.92;
}


.edition-journal-copy {

    max-width: 650px;

    color: var(--muted);

    font-size: 0.90rem;

    line-height: 1.85;
}


.edition-journal-copy p {

    margin: 0;
}


.edition-journal-copy p + p {

    margin-top: 20px;
}


/* =========================================================
   09. MORE FROM OUR CAMERA
========================================================= */

.edition-gallery {

    padding-block:
        clamp(70px, 8vw, 110px);
}


.edition-gallery .section-heading {

    max-width: 700px;

    margin-bottom: 40px;
}


.edition-photo-mosaic-secondary {

    gap: 8px;
}


/* =========================================================
   10. MAP
========================================================= */

.edition-map {

    padding-block:
        clamp(75px, 9vw, 120px);
}


.edition-map-inner {

    max-width: 720px;

    margin-inline: auto;

    text-align: center;
}


.edition-map-inner h2 {

    margin: 0;

    color: var(--ivory);

    font-family: var(--font-display);

    font-size: clamp(
        3rem,
        5vw,
        4.8rem
    );

    font-weight: 500;

    line-height: 0.92;
}


.edition-map-inner p:not(.section-label) {

    max-width: 600px;

    margin: 25px auto 0;

    color: var(--muted);

    font-size: 0.88rem;

    line-height: 1.85;
}


/* =========================================================
   11. EDITION END NAVIGATION
========================================================= */

.edition-end {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    width: 100%;

    padding:
        55px var(--page-padding) 70px;

    border-top: 1px solid var(--line-soft);
}


.edition-end .text-link {

    display: inline-flex;

    align-items: center;

    color: var(--gold);

    font-family: var(--font-body);

    font-size: 0.64rem;

    font-weight: 500;

    letter-spacing: 0.16em;

    line-height: 1.4;

    text-transform: uppercase;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color var(--transition),
        opacity var(--transition);
}


.edition-end .text-link:hover {

    color: var(--ivory);
}


/* =========================================================
   12. TABLET
========================================================= */

@media (max-width: 1000px) {

    .edition-archive-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 24px;
        row-gap: 60px;
    }


    .edition-photo-mosaic img {

        flex-basis: 45%;
    }


    .edition-photo-mosaic img:nth-child(n) {

        flex-basis: 45%;
    }


    .edition-local-info-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .edition-local-info-item {

        padding:
            25px 20px;
    }


    .edition-recommendations-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .edition-recommendation:nth-child(3n + 1) {

        border-left: 1px solid var(--line-soft);
    }


    .edition-recommendation:nth-child(2n + 1) {

        border-left: 0;
    }


    .edition-journal-inner {

        grid-template-columns: 1fr;

        gap: 35px;
    }

}


/* =========================================================
   13. PHONE
========================================================= */

@media (max-width: 700px) {

    .editions-intro {

        padding-top: 58px;
        padding-bottom: 48px;
    }


    .editions-intro h1 {

        font-size: 4rem;
    }


    .editions-intro .section-intro {

        margin-top: 20px;

        font-size: 0.86rem;
    }


    .editions-archive {

        padding-top: 10px;
        padding-bottom: 70px;
    }


    .editions-archive .section-heading {

        margin-bottom: 30px;
    }


    .edition-archive-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 12px;
        row-gap: 48px;
    }


    .edition-archive-card:hover {

        transform: none;
    }


    .edition-archive-image {

        aspect-ratio: 1 / 0.78;
    }


    .edition-archive-content {

        padding-top: 11px;
    }


    .edition-archive-country {

        margin-bottom: 5px;

        font-size: 0.50rem;

        letter-spacing: 0.13em;
    }


    .edition-archive-content h3 {

        font-size: 1.65rem;
    }


    .edition-archive-description {

        margin-top: 7px;

        font-size: 0.68rem;

        line-height: 1.5;
    }


    .edition-archive-link {

        margin-top: 9px;

        font-size: 0.52rem;

        letter-spacing: 0.10em;
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .edition-hero {

        min-height: 100svh;

        background-position: center center;
    }


    .edition-hero-overlay {

        width: calc(100% - 48px);

        padding-bottom: 55px;
    }


    .edition-hero-overlay h1 {

        font-size: 4.5rem;

        line-height: 0.86;
    }


    .edition-hero-subtitle {

        margin-top: 16px;

        font-size: 0.60rem;

        letter-spacing: 0.11em;

        line-height: 1.5;
    }


    /* -----------------------------------------------------
       INTRODUCTION
    ----------------------------------------------------- */

    .edition-intro {

        padding-block: 65px;
    }


    .edition-intro h2 {

        font-size: 3.25rem;
    }


    .edition-intro-text {

        margin-top: 24px;

        font-size: 0.84rem;

        line-height: 1.8;
    }


    /* -----------------------------------------------------
       PHOTOGRAPHIC STORY
    ----------------------------------------------------- */

    .edition-photo-story {

        padding-block: 45px;
    }


    .edition-photo-heading {

        margin-bottom: 25px;
    }


    .edition-photo-heading h2,
    .edition-gallery .section-heading h2 {

        font-size: 3rem;
    }


    .edition-photo-mosaic {

        display: flex;

        flex-direction: column;

        gap: 5px;

        max-width: none;
    }


    .edition-photo-mosaic img,
    .edition-photo-mosaic img:nth-child(n) {

        flex: none;

        width: 100%;

        height: auto;
    }


    /* -----------------------------------------------------
       LOCAL INFORMATION
    ----------------------------------------------------- */

    .edition-local-info {

        padding-block: 5px;
    }


    .edition-local-info-grid {

        display: grid;

        grid-template-columns: 1fr;
    }


    .edition-local-info-item,
    .edition-local-info-item:first-child,
    .edition-local-info-item:last-child {

        padding:
            24px 0;

        border-left: 0;

        border-top: 1px solid var(--line-soft);
    }


    .edition-local-info-item:first-child {

        border-top: 0;
    }


    .edition-local-info-item h3 {

        font-size: 1.9rem;
    }


    .edition-local-info-item p:not(.section-label) {

        font-size: 0.74rem;
    }


    /* -----------------------------------------------------
       RECOMMENDATIONS
    ----------------------------------------------------- */

    .edition-recommendations {

        padding-block: 65px;
    }


    .edition-recommendations .section-heading {

        margin-bottom: 30px;
    }


    .edition-recommendations .section-heading h2 {

        font-size: 3rem;
    }


    .edition-recommendations-grid {

        grid-template-columns: 1fr;
    }


    .edition-recommendation,
    .edition-recommendation:nth-child(3n + 1),
    .edition-recommendation:nth-child(2n + 1) {

        padding:
            25px 0 30px;

        border-left: 0;

        border-bottom: 1px solid var(--line-soft);
    }


    .edition-recommendation:first-child {

        border-top: 0;
    }


    .edition-recommendation h3 {

        font-size: 1.8rem;
    }


    .edition-recommendation p:not(.story-number) {

        font-size: 0.75rem;

        line-height: 1.75;
    }


    /* -----------------------------------------------------
       JOURNAL
    ----------------------------------------------------- */

    .edition-journal {

        padding-block: 65px;
    }


    .edition-journal h2 {

        font-size: 3rem;
    }


    .edition-journal-copy {

        font-size: 0.84rem;

        line-height: 1.8;
    }


    /* -----------------------------------------------------
       MORE FROM CAMERA
    ----------------------------------------------------- */

    .edition-gallery {

        padding-block: 55px;
    }


    .edition-gallery .section-heading {

        margin-bottom: 25px;
    }


    /* -----------------------------------------------------
       MAP
    ----------------------------------------------------- */

    .edition-map {

        padding-block: 65px;
    }


    .edition-map-inner h2 {

        font-size: 3.2rem;
    }


    .edition-map-inner p:not(.section-label) {

        font-size: 0.84rem;

        line-height: 1.8;
    }


    /* -----------------------------------------------------
       END NAVIGATION
    ----------------------------------------------------- */

    .edition-end {

        gap: 25px;

        padding:
            42px 24px 55px;
    }


    .edition-end .text-link {

        font-size: 0.54rem;

        letter-spacing: 0.10em;
    }

}


/* =========================================================
   14. VERY SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .edition-archive-grid {

        column-gap: 10px;
        row-gap: 42px;
    }


    .edition-archive-content h3 {

        font-size: 1.48rem;
    }


    .edition-photo-mosaic {

        gap: 4px;
    }


    .edition-hero-overlay h1 {

        font-size: 4rem;
    }


    .edition-intro h2,
    .edition-recommendations .section-heading h2,
    .edition-journal h2 {

        font-size: 2.8rem;
    }


    .edition-map-inner h2 {

        font-size: 3rem;
    }


    .edition-end {

        gap: 18px;

        padding-left: 18px;
        padding-right: 18px;
    }


    .edition-end .text-link {

        font-size: 0.48rem;

        letter-spacing: 0.08em;
    }

}


/* =========================================================
   END — EDITION MASTER V3.5
========================================================= */
