/* =========================================================
   ELEVATION — JOURNEY HISTORY ARCHIVE
   Consistent article styling
   ========================================================= */

:root {
    --article-bg: #0b0d12;
    --article-surface: #141821;
    --article-surface-light: #1b202b;
    --article-text: #e9edf4;
    --article-muted: #aab2c0;
    --article-heading: #ffffff;
    --article-accent: #7fb8ff;
    --article-border: rgba(255, 255, 255, 0.12);
    --article-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --article-radius: 16px;
    --article-width: 900px;
}


/* ---------------------------------------------------------
   PAGE BACKGROUND
   --------------------------------------------------------- */

body {
    margin: 0;
    background: var(--article-bg);
    color: var(--article-text);
}


/* ---------------------------------------------------------
   MAIN ARTICLE CONTAINER
   --------------------------------------------------------- */

.journey-history-story {
    width: min(calc(100% - 40px), var(--article-width));
    margin: 60px auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   ARTICLE HEADER
   --------------------------------------------------------- */

.journey-history-story header {
    margin-bottom: 36px;
}

.journey-history-story .series,
.journey-history-story .article-series {
    margin: 0 0 12px;
    color: var(--article-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.journey-history-story h1 {
    margin: 0 0 18px;
    color: var(--article-heading);
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.journey-history-story .subtitle,
.journey-history-story .article-subtitle {
    max-width: 760px;
    margin: 0 0 14px;
    color: var(--article-muted);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.55;
}

.journey-history-story .published,
.journey-history-story .article-meta {
    margin: 0;
    color: var(--article-muted);
    font-size: 0.9rem;
}


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

.article-hero {
    position: relative;
    margin: 0 0 42px;
    overflow: hidden;
    border-radius: var(--article-radius);
    box-shadow: var(--article-shadow);
}

.article-hero img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05) 45%,
            rgba(0, 0, 0, 0.65) 100%
        );
}

.article-hero figcaption {
    position: absolute;
    right: 24px;
    bottom: 18px;
    left: 24px;
    z-index: 1;
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.article-image figcaption {
    padding-left: 10px;
}


/* ---------------------------------------------------------
   INLINE ARTICLE IMAGES
   --------------------------------------------------------- */

.article-image {
    margin: 42px 0;
}

.article-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--article-radius);
    box-shadow: var(--article-shadow);
}

.article-image figcaption {
    margin-top: 10px;
    color: var(--article-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   ARTICLE TYPOGRAPHY
   --------------------------------------------------------- */

.journey-history-story p {
    margin: 0 0 1.4em;
}

.journey-history-story h2 {
    margin: 2.2em 0 0.65em;
    color: var(--article-heading);
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.journey-history-story h3 {
    margin: 1.8em 0 0.6em;
    color: var(--article-heading);
    font-size: 1.35rem;
}

.journey-history-story strong {
    color: #ffffff;
}

.journey-history-story em {
    color: #d8e5f7;
}

.journey-history-story a {
    color: var(--article-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.journey-history-story a:hover {
    color: #b9d8ff;
}


/* ---------------------------------------------------------
   LEAD PARAGRAPH
   --------------------------------------------------------- */

.journey-history-story .lead {
    color: #f4f7fb;
    font-size: 1.25rem;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   PULL QUOTE
   --------------------------------------------------------- */

.article-quote {
    margin: 48px 0;
    padding: 28px 32px;
    border-left: 4px solid var(--article-accent);
    background: var(--article-surface);
    border-radius: 0 var(--article-radius) var(--article-radius) 0;
}

.article-quote p {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-style: italic;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   CALLOUT BOXES
   --------------------------------------------------------- */

.callout,
.article-callout,
.elevation-note {
    margin: 48px 0;
    padding: 28px 30px;
    border: 1px solid var(--article-border);
    background:
        linear-gradient(
            135deg,
            var(--article-surface),
            var(--article-surface-light)
        );
    border-radius: var(--article-radius);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
}

.callout h2,
.article-callout h2,
.elevation-note h2 {
    margin-top: 0;
    font-size: 1.35rem;
}

.elevation-note {
    border-color: rgba(127, 184, 255, 0.35);
}


/* ---------------------------------------------------------
   ARTICLE FOOTER
   --------------------------------------------------------- */

.journey-history-story footer {
    margin-top: 56px;
    padding-top: 34px;
    border-top: 1px solid var(--article-border);
}

.hashtags,
.article-hashtags {
    color: var(--article-accent);
    font-size: 0.9rem;
    line-height: 1.8;
    word-spacing: 0.25em;
    text-align: center;
}


/* ---------------------------------------------------------
   PHOTO CREDIT
   --------------------------------------------------------- */

.photo-credit {
    margin-top: 10px;
    color: var(--article-muted);
    font-size: 0.75rem;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   OPTIONAL ARCHIVE NAVIGATION
   --------------------------------------------------------- */

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
}

.article-navigation a {
    flex: 1;
    padding: 18px 20px;
    border: 1px solid var(--article-border);
    background: var(--article-surface);
    border-radius: 12px;
    text-decoration: none;
}

.article-navigation a:last-child {
    text-align: right;
}

.article-navigation span {
    display: block;
    margin-bottom: 5px;
    color: var(--article-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .journey-history-story {
        width: min(calc(100% - 28px), var(--article-width));
        margin: 32px auto;
        font-size: 16px;
        line-height: 1.7;
    }

    .article-hero {
        margin-bottom: 30px;
        border-radius: 12px;
    }

    .article-hero img {
        aspect-ratio: 4 / 3;
    }

    .article-hero figcaption {
        right: 16px;
        bottom: 13px;
        left: 16px;
        font-size: 0.75rem;
    }

    .article-image {
        margin: 32px 0;
    }
    
    .article-image figcaption {
        right: 16px;
        bottom: 13px;
        left: 16px;
        font-size: 0.75rem;
    }

    .callout,
    .article-callout,
    .elevation-note,
    .article-quote {
        padding: 22px;
    }

    .article-navigation {
        flex-direction: column;
    }

    .article-navigation a:last-child {
        text-align: left;
    }
}





