/* Hospitality Timeline - flex layout `hosp_timeline`
   Live .ns_section_experience_timeline: navy; 480px full-bleed top image under a
   180deg navy gradient (.3 to .85) with eyebrow (white 55%) + Teko 44px/800 white
   heading 40px off the bottom edge; body on a #0A2A48 to navy gradient, 64px/96px
   padding, 15px intro (white 80%, max 460px, 56px below), 5-up steps (gap 24px,
   1px rail at 22px) with 44px sky-ringed Teko circles, 10px time label, 13px/800
   title, 13px description; primary button. Tablet: 380px image, 2-up steps, no
   rail. Mobile: 320px image, 1-up steps, 34px heading. */
.hosp_timeline {
    width: 100%;
    max-width: 100%;
    background: linear-gradient(180deg, #0A2A48 0%, #08233C 100%); /* live body gradient (one-off top stop) */
    color: var(--white);

    & .hosp_timeline_top {
        position: relative;
        width: 100%;
        height: 480px;
        overflow: hidden;
        background: var(--primary);

        @media (max-width: 991px) { height: 380px; }
        @media (max-width: 768px) { height: 320px; }

        & img {
            position: absolute;
            inset: 0;
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }

    & .hosp_timeline_top_overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(8, 35, 60, .3) 0%, rgba(8, 35, 60, .85) 100%);
    }

    & .hosp_timeline_top_inner {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 40px;
        z-index: 1;
        max-width: 1300px;
        margin: 0 auto;
        padding: 0 15px;

        @media (max-width: 768px) { bottom: 28px; }
        @media (max-width: 500px) { padding: 0 30px; }
    }

    & .hosp_timeline_eyebrow {
        display: block;
        margin: 0 0 12px;
        font-family: var(--font-body);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, .55);
    }

    & .hosp_timeline_title {
        margin: 0;
        font-size: 44px;
        font-weight: 800;
        line-height: 1.05;
        text-transform: uppercase;
        color: var(--white);

        @media (max-width: 768px) { font-size: 34px; }
    }

    & .hosp_timeline_highlight { color: var(--secondary); }

    /* Default top padding (live 64px); an editor value set in ACF is applied by
       page.php on #<section_id> > .container and wins on specificity. */
    & > .container {
        padding-top: 64px;

        @media (max-width: 991px) { padding-top: 56px; }
        @media (max-width: 768px) { padding-top: 48px; }
    }

    & .hosp_timeline_intro {
        max-width: 460px;
        margin: 0 0 56px;
        font-family: var(--font-body);
        font-size: 15px;
        line-height: 1.6;
        color: rgba(255, 255, 255, .8);

        @media (max-width: 991px) { margin-bottom: 40px; }
    }

    & .hosp_timeline_steps {
        position: relative;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 24px;
        margin: 0 0 48px;
        padding: 0 !important;
        list-style: none !important;

        &::before {
            content: "";
            position: absolute;
            top: 22px;
            left: 22px;
            right: 22px;
            height: 1px;
            background: rgba(255, 255, 255, .18);
        }

        @media (max-width: 991px) {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 28px;

            &::before { display: none; }
        }

        @media (max-width: 768px) {
            grid-template-columns: 1fr;
            gap: 24px;
        }
    }

    & .hosp_timeline_step {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin: 0;
        list-style: none;
    }

    & .hosp_timeline_step_circle {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-bottom: 18px;
        border: 1px solid var(--secondary);
        border-radius: 50%;
        background: var(--primary);
        color: var(--secondary);
        font-family: var(--font-display);
        font-size: 18px;
        font-weight: 700;
    }

    & .hosp_timeline_step_time {
        font-family: var(--font-body);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, .5);
    }

    & .hosp_timeline_step_title {
        margin: 2px 0 0;
        font-family: var(--font-body);
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 1px;
        line-height: 1.4;
        text-transform: uppercase;
        color: var(--white);
    }

    & .hosp_timeline_step_desc {
        margin: 4px 0 0;
        font-family: var(--font-body);
        font-size: 13px;
        line-height: 1.55;
        color: rgba(255, 255, 255, .75);
    }

    & .hosp_timeline_button {
        @media (max-width: 768px) { width: 100%; height: 52px; padding: 0 24px; }
    }
}
