/* =========================================================
   ASILI DISCOVERY
   FRONTEND DESIGN SYSTEM
   ---------------------------------------------------------
   Editorial / Documentary / Exploration
   National Geographic-inspired feel
========================================================= */


/* =========================================================
   DESIGN TOKENS
========================================================= */

:root {

    /* -----------------------------------------------------
       BRAND
    ----------------------------------------------------- */

    --green: #35351f;
    --green-deep: #292817;
    --green-dark: #222115;

    --gold: #855e26;
    --gold-light: #a87835;
    --gold-dark: #654619;

    --milk: #e4d6c5;
    --milk-light: #eee5d9;
    --milk-dark: #cbbca9;

    --background: #34321e;

    /* -----------------------------------------------------
       NEUTRALS
    ----------------------------------------------------- */

    --white: #ffffff;
    --black: #080807;

    --gray-50: #faf9f6;
    --gray-100: #f1eee8;
    --gray-200: #ded8ce;
    --gray-300: #c7c0b4;
    --gray-400: #a69f94;
    --gray-500: #898278;
    --gray-600: #6c665d;
    --gray-700: #4e4a43;
    --gray-800: #2e2c27;
    --gray-900: #191814;

    /* -----------------------------------------------------
       SEMANTIC
    ----------------------------------------------------- */

    --page-bg: var(--milk-light);

    --surface: #f7f3ed;

    --surface-dark: var(--green);

    --text: #29281f;

    --text-muted: #716b60;

    --text-light: #eee8de;

    --border: rgba(53, 53, 31, 0.16);

    --border-dark: rgba(228, 214, 197, 0.18);

    --accent: var(--gold);

    --accent-hover: var(--gold-light);

    /* -----------------------------------------------------
       LAYOUT
    ----------------------------------------------------- */

    --container: 1440px;

    --container-narrow: 1180px;

    --gutter: 32px;

    --section-space: 86px;

    /* -----------------------------------------------------
       RADII
       Documentary/editorial design benefits from restraint.
    ----------------------------------------------------- */

    --radius-sm: 2px;

    --radius-md: 4px;

    --radius-lg: 8px;

    /* -----------------------------------------------------
       SHADOWS
    ----------------------------------------------------- */

    --shadow-sm:
        0 4px 14px rgba(20, 18, 10, 0.10);

    --shadow-md:
        0 16px 42px rgba(20, 18, 10, 0.17);

    --shadow-lg:
        0 25px 70px rgba(15, 14, 8, 0.25);

    /* -----------------------------------------------------
       MOTION
    ----------------------------------------------------- */

    --transition-fast:
        160ms ease;

    --transition:
        220ms ease;

    --transition-slow:
        500ms cubic-bezier(.2, .7, .2, 1);

    /* -----------------------------------------------------
       TYPOGRAPHY
    ----------------------------------------------------- */

    --font-sans:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    --font-serif:
        Georgia,
        "Times New Roman",
        serif;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;

    scroll-behavior: smooth;

    background: var(--page-bg);

    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;

    min-height: 100vh;

    background: var(--page-bg);

    color: var(--text);

    font-family: var(--font-sans);

    font-size: 16px;

    line-height: 1.55;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas {
    display: block;

    max-width: 100%;
}

img {
    width: 100%;

    height: auto;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--gold);

    color: var(--white);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline:
        3px solid var(--gold-light);

    outline-offset:
        4px;
}

.skip-link {
    position: fixed;

    top: 10px;

    left: 10px;

    z-index: 9999;

    padding: 12px 18px;

    background: var(--green);

    color: var(--milk);

    border: 2px solid var(--gold);

    transform: translateY(-150%);

    transition:
        transform var(--transition-fast);
}

.skip-link:focus {
    transform: translateY(0);
}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.container {
    width: 100%;

    max-width: var(--container);

    margin-inline: auto;

    padding:
        var(--section-space)
        var(--gutter);
}

.container-narrow {
    width: 100%;

    max-width: var(--container-narrow);

    margin-inline: auto;

    padding-inline: var(--gutter);
}


/* =========================================================
   EDITORIAL SECTION
========================================================= */

.site-main {
    background: var(--page-bg);
}

.homepage > .container:nth-child(even) {
    background: transparent;
}


/* =========================================================
   ALERTS
========================================================= */

.alert {
    width: 100%;

    padding: 16px 20px;

    margin-top: 24px;

    border-left:
        4px solid var(--gold);

    background:
        rgba(133, 94, 38, 0.08);

    color: var(--green);

    font-size: 14px;

    font-weight: 700;
}

.alert-error {
    border-color: #8c352b;

    background: #f5e4df;

    color: #6e241d;
}


/* =========================================================
   BREAKING NEWS
========================================================= */

.breaking-bar {
    position: relative;

    z-index: 20;

    width: 100%;

    overflow: hidden;

    background: var(--green);

    color: var(--milk);

    border-bottom:
        1px solid var(--border-dark);
}

.breaking-inner {
    width: 100%;

    max-width: var(--container);

    min-height: 48px;

    margin-inline: auto;

    padding-inline: var(--gutter);

    display: flex;

    align-items: center;

    gap: 26px;
}

.breaking-label {
    position: relative;

    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--milk);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.breaking-label::before {
    content: "";

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--gold-light);

    animation:
        breakingPulse 1.6s infinite;
}

@keyframes breakingPulse {

    0%,
    100% {
        opacity: 1;

        transform: scale(1);
    }

    50% {
        opacity: .4;

        transform: scale(.72);
    }
}

.breaking-items {
    min-width: 0;

    flex: 1;

    display: flex;

    align-items: center;

    gap: 38px;

    overflow-x: auto;

    scrollbar-width: none;

    white-space: nowrap;
}

.breaking-items::-webkit-scrollbar {
    display: none;
}

.breaking-items a {
    position: relative;

    flex: 0 0 auto;

    color: var(--milk-light);

    font-size: 13px;

    font-weight: 650;

    transition:
        color var(--transition-fast);
}

.breaking-items a::after {
    content: "";

    position: absolute;

    left: 0;

    right: 100%;

    bottom: -4px;

    height: 1px;

    background: var(--gold-light);

    transition:
        right var(--transition);
}

.breaking-items a:hover {
    color: var(--white);
}

.breaking-items a:hover::after {
    right: 0;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    isolation: isolate;

    min-height:
        min(780px, 80vh);

    display: flex;

    align-items: stretch;

    overflow: hidden;

    background:
        var(--green-dark);

    color: var(--white);
}

.hero-image {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    opacity: .82;

    transform:
        scale(1.015);

    transition:
        transform 900ms cubic-bezier(.2, .7, .2, 1);
}

.hero:hover .hero-image {
    transform:
        scale(1.035);
}


/* ---------------------------------------------------------
   CINEMATIC OVERLAY
--------------------------------------------------------- */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:

        linear-gradient(
            90deg,
            rgba(24, 25, 14, .94) 0%,
            rgba(32, 31, 18, .76) 30%,
            rgba(32, 31, 18, .35) 65%,
            rgba(20, 20, 12, .16) 100%
        ),

        linear-gradient(
            0deg,
            rgba(15, 16, 9, .94) 0%,
            rgba(15, 16, 9, .04) 70%
        );
}


/* ---------------------------------------------------------
   HERO CONTENT
--------------------------------------------------------- */

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: var(--container);

    min-height: inherit;

    margin-inline: auto;

    padding:
        90px
        var(--gutter)
        90px;

    display: flex;

    align-items: flex-end;
}

.hero-copy {
    width:
        min(920px, 100%);
}


/* ---------------------------------------------------------
   HERO KICKER
--------------------------------------------------------- */

.kicker {
    display: inline-flex;

    align-items: center;

    min-height: 31px;

    padding:
        7px 12px;

    margin-bottom: 23px;

    background: var(--gold);

    color: var(--milk-light);

    font-size: 10px;

    font-weight: 900;

    line-height: 1;

    letter-spacing: .17em;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   HERO TITLE
--------------------------------------------------------- */

.hero h1 {
    max-width: 920px;

    margin:
        0 0 23px;

    color: var(--white);

    font-size:
        clamp(48px, 7.2vw, 96px);

    font-weight: 900;

    line-height: .91;

    letter-spacing: -.065em;

    text-wrap: balance;
}


/* ---------------------------------------------------------
   HERO EXCERPT
--------------------------------------------------------- */

.hero-excerpt {
    max-width: 720px;

    margin-bottom: 4px;

    color:
        rgba(244, 237, 226, .84);

    font-size:
        clamp(16px, 1.45vw, 20px);

    line-height: 1.58;

    text-wrap: pretty;
}


/* ---------------------------------------------------------
   HERO CTA
--------------------------------------------------------- */

.read-story {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    margin-top: 28px;

    padding:
        14px 20px;

    background: var(--gold);

    color: var(--white);

    border:
        1px solid var(--gold);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .15em;

    text-transform: uppercase;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.read-story::after {
    content: "→";

    font-size: 17px;

    line-height: 0;

    transition:
        transform var(--transition);
}

.read-story:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);

    color: var(--white);

    transform:
        translateY(-2px);
}

.read-story:hover::after {
    transform:
        translateX(4px);
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;

    padding-bottom: 14px;

    border-bottom:
        2px solid var(--green);
}

.section-heading > div {
    min-width: 0;
}

.section-kicker {
    display: block;

    margin-bottom: 7px;

    color: var(--gold);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .18em;

    line-height: 1.2;

    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;

    color: var(--green);

    font-size:
        clamp(27px, 3vw, 38px);

    font-weight: 900;

    line-height: .98;

    letter-spacing: -.05em;

    text-transform: uppercase;
}

.section-heading > a {
    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    padding-bottom: 4px;

    color: var(--green);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .13em;

    text-transform: uppercase;

    transition:
        color var(--transition-fast);
}

.section-heading > a::after {
    content: "→";

    margin-left: 9px;

    color: var(--gold);

    font-size: 16px;

    transition:
        transform var(--transition);
}

.section-heading > a:hover {
    color: var(--gold);
}

.section-heading > a:hover::after {
    transform:
        translateX(4px);
}


/* =========================================================
   FEATURED GRID
========================================================= */

.featured-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   STORY CARD
========================================================= */

.story-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    background: var(--surface);

    border:
        1px solid var(--border);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.story-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow-md);
}


/* =========================================================
   STORY IMAGE
   Supports both class names:
   .story-card-link
   .story-card-image-link
========================================================= */

.story-card-link,
.story-card-image-link {
    display: block;

    overflow: hidden;

    background:
        var(--gray-200);
}

.story-card-image {
    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    object-position: center;

    transition:
        transform var(--transition-slow);
}

.story-card:hover .story-card-image {
    transform:
        scale(1.045);
}


/* =========================================================
   STORY BODY
========================================================= */

.story-card-body {
    padding:
        23px 23px 27px;

    background:
        var(--surface);
}

.story-category {
    margin-bottom: 10px;

    color: var(--gold);

    font-size: 9px;

    font-weight: 900;

    line-height: 1.2;

    letter-spacing: .16em;

    text-transform: uppercase;
}

.story-card h3 {
    margin:
        0 0 12px;

    color: var(--green);

    font-size:
        clamp(21px, 2vw, 28px);

    font-weight: 850;

    line-height: 1.04;

    letter-spacing: -.035em;
}

.story-card h3 a,
.latest-card h3 a {
    transition:
        color var(--transition-fast),
        text-decoration-color var(--transition-fast);

    text-decoration:
        underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 4px;

    text-decoration-color:
        transparent;
}

.story-card h3 a:hover,
.latest-card h3 a:hover {
    color: var(--gold);

    text-decoration-color:
        currentColor;
}

.story-card p {
    margin: 0;

    color: var(--text-muted);

    font-size: 14px;

    line-height: 1.62;
}


/* =========================================================
   FEATURED FIRST CARD
========================================================= */

.featured-grid
.story-card:first-child
.story-card-image {
    aspect-ratio:
        16 / 10;
}

.featured-grid
.story-card:first-child
.story-card-body {
    padding:
        27px 28px 31px;
}

.featured-grid
.story-card:first-child
.story-card h3 {
    font-size:
        clamp(28px, 3vw, 42px);

    line-height: .98;
}


/* =========================================================
   LATEST STORIES
========================================================= */

.latest-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 26px;
}

.latest-card {
    min-width: 0;

    padding-bottom: 22px;

    border-bottom:
        1px solid var(--border);

    transition:
        transform var(--transition);
}

.latest-card:hover {
    transform:
        translateY(-4px);
}

.latest-card > a {
    display: block;

    margin-bottom: 16px;

    overflow: hidden;

    background:
        var(--gray-200);
}

.latest-card img {
    width: 100%;

    aspect-ratio:
        4 / 3;

    object-fit: cover;

    object-position: center;

    transition:
        transform var(--transition-slow);
}

.latest-card:hover img {
    transform:
        scale(1.045);
}

.latest-card .story-category {
    margin-bottom: 7px;
}

.latest-card h3 {
    margin:
        0 0 11px;

    color: var(--green);

    font-size:
        clamp(18px, 1.7vw, 23px);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing:
        -.028em;
}


/* =========================================================
   DATE
========================================================= */

.date {
    color:
        var(--text-muted);

    font-size: 9px;

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: .12em;

    text-transform: uppercase;
}

.date time {
    color: inherit;
}


/* =========================================================
   PAGINATION
========================================================= */

.pagination {
    width: 100%;

    margin-top: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    min-width: 42px;

    height: 42px;

    padding:
        0 13px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background:
        transparent;

    color: var(--green);

    border:
        1px solid var(--border);

    font-size: 11px;

    font-weight: 900;

    line-height: 1;

    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.pagination a:hover {
    background: var(--green);

    color: var(--milk);

    border-color:
        var(--green);

    transform:
        translateY(-1px);
}

.pagination .current {
    background:
        var(--gold);

    color:
        var(--white);

    border-color:
        var(--gold);
}

.pagination .disabled {
    opacity: .4;

    pointer-events: none;
}

.pagination .dots {
    border-color:
        transparent;

    pointer-events: none;
}


/* =========================================================
   PAGINATION INFORMATION
========================================================= */

.pagination-meta {
    margin-top: 15px;

    color: var(--text-muted);

    text-align: center;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .04em;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    padding:
        85px 30px;

    background:
        rgba(53, 53, 31, .045);

    border:
        1px solid var(--border);

    text-align: center;
}

.empty-state::before {
    content: "";

    display: block;

    width: 42px;

    height: 3px;

    margin:
        0 auto 25px;

    background:
        var(--gold);
}

.empty-state h2 {
    margin:
        0 0 11px;

    color:
        var(--green);

    font-size:
        clamp(27px, 4vw, 40px);

    font-weight: 900;

    line-height: 1;

    letter-spacing: -.045em;
}

.empty-state p {
    max-width: 560px;

    margin:
        0 auto;

    color:
        var(--text-muted);
}


/* =========================================================
   IMAGE FALLBACK
========================================================= */

.image-fallback {
    aspect-ratio: 4 / 3;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        var(--green);

    color:
        var(--milk);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .14em;

    text-transform: uppercase;
}

.hero .image-fallback {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    background:
        linear-gradient(
            135deg,
            var(--green-deep),
            var(--background)
        );

    color:
        rgba(228, 214, 197, .55);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    margin-top: 30px;

    background:
        var(--green);

    color:
        var(--milk);

    border-top:
        5px solid var(--gold);
}

.footer-inner {
    width: 100%;

    max-width:
        var(--container);

    margin-inline:
        auto;

    padding:
        65px var(--gutter);

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        60px;
}

.footer-brand {
    color:
        var(--milk);

    font-size:
        29px;

    font-weight:
        900;

    line-height:
        1;

    letter-spacing:
        -.045em;
}

.footer-copy {
    max-width:
        540px;

    color:
        rgba(228, 214, 197, .62);

    font-size:
        13px;

    line-height:
        1.75;
}

.footer-copy a {
    color:
        var(--milk);

    text-decoration:
        underline;

    text-decoration-color:
        transparent;

    text-underline-offset:
        4px;

    transition:
        color var(--transition-fast),
        text-decoration-color var(--transition-fast);
}

.footer-copy a:hover {
    color:
        var(--gold-light);

    text-decoration-color:
        currentColor;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px 24px;
}

.footer-links a {
    color:
        rgba(228, 214, 197, .72);

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .12em;

    text-transform:
        uppercase;

    transition:
        color var(--transition-fast);
}

.footer-links a:hover {
    color:
        var(--gold-light);
}


/* =========================================================
   DARK EDITORIAL BAND
========================================================= */

.editorial-band {
    background:
        var(--background);

    color:
        var(--milk);
}

.editorial-band .container {
    padding-block:
        70px;
}

.editorial-band h2,
.editorial-band h3 {
    color:
        var(--milk);
}

.editorial-band p {
    color:
        rgba(228, 214, 197, .68);
}


/* =========================================================
   TABLET / LARGE
========================================================= */

@media (max-width: 1100px) {

    :root {
        --gutter: 26px;

        --section-space: 70px;
    }

    .featured-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .featured-grid
    .story-card:first-child {
        grid-column:
            1 / -1;
    }

    .latest-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .hero-content {
        padding-inline:
            var(--gutter);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    :root {
        --gutter: 22px;

        --section-space: 58px;
    }

    .breaking-inner {
        padding-inline:
            var(--gutter);
    }

    .hero {
        min-height:
            650px;
    }

    .hero-content {
        min-height:
            650px;

        padding:
            60px
            var(--gutter)
            65px;
    }

    .hero-overlay {
        background:

            linear-gradient(
                0deg,
                rgba(20, 21, 12, .96) 0%,
                rgba(30, 30, 17, .68) 52%,
                rgba(30, 30, 17, .28) 100%
            );
    }

    .hero h1 {
        font-size:
            clamp(43px, 9vw, 70px);
    }

    .hero-excerpt {
        max-width:
            620px;

        font-size:
            17px;
    }

    .featured-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .latest-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        padding:
            52px var(--gutter);

        gap:
            38px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    :root {
        --gutter: 18px;

        --section-space: 46px;
    }

    .breaking-inner {
        min-height:
            43px;

        padding-inline:
            var(--gutter);

        gap:
            16px;
    }

    .breaking-label {
        font-size:
            9px;

        letter-spacing:
            .13em;
    }

    .breaking-items {
        gap:
            25px;
    }

    .breaking-items a {
        font-size:
            12px;
    }

    .hero {
        min-height:
            600px;
    }

    .hero-content {
        min-height:
            600px;

        padding:
            40px
            var(--gutter)
            50px;
    }

    .hero-image {
        opacity:
            .66;
    }

    .hero h1 {
        margin-bottom:
            18px;

        font-size:
            clamp(39px, 12vw, 59px);

        line-height:
            .94;

        letter-spacing:
            -.06em;
    }

    .hero-excerpt {
        font-size:
            15px;

        line-height:
            1.58;
    }

    .kicker {
        min-height:
            28px;

        padding:
            6px 10px;

        margin-bottom:
            17px;

        font-size:
            9px;
    }

    .read-story {
        width:
            100%;

        margin-top:
            22px;

        padding:
            15px 18px;
    }

    .section-heading {
        align-items:
            center;

        margin-bottom:
            23px;

        gap:
            15px;
    }

    .section-heading h2 {
        font-size:
            24px;
    }

    .section-kicker {
        font-size:
            9px;
    }

    .section-heading > a {
        font-size:
            8px;
    }

    .featured-grid {
        grid-template-columns:
            1fr;

        gap:
            18px;
    }

    .featured-grid
    .story-card:first-child {
        grid-column:
            auto;
    }

    .featured-grid
    .story-card:first-child
    .story-card-image {
        aspect-ratio:
            16 / 10;
    }

    .featured-grid
    .story-card:first-child
    .story-card h3 {
        font-size:
            30px;
    }

    .story-card-body {
        padding:
            20px 18px 23px;
    }

    .story-card h3 {
        font-size:
            22px;
    }

    .story-card p {
        font-size:
            13px;
    }

    .latest-grid {
        grid-template-columns:
            1fr;

        gap:
            29px;
    }

    .latest-card {
        padding-bottom:
            25px;
    }

    .latest-card h3 {
        font-size:
            22px;
    }

    .pagination {
        gap:
            6px;

        margin-top:
            40px;
    }

    .pagination a,
    .pagination span {
        min-width:
            38px;

        height:
            38px;

        padding-inline:
            10px;

        font-size:
            10px;
    }

    .footer-inner {
        padding:
            48px var(--gutter);

        flex-direction:
            column;

        gap:
            27px;
    }

    .footer-brand {
        font-size:
            25px;
    }

    .footer-copy {
        font-size:
            13px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .hero {
        min-height:
            570px;
    }

    .hero-content {
        min-height:
            570px;
    }

    .hero h1 {
        font-size:
            38px;
    }

    .section-heading h2 {
        font-size:
            21px;
    }

    .section-heading > a {
        font-size:
            8px;
    }

    .pagination a:nth-child(n+6):not(:last-child) {
        display:
            none;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;
    }

}


/* =========================================================
   HIGH CONTRAST / FORCED COLORS
========================================================= */

@media (forced-colors: active) {

    *,
    *::before,
    *::after {
        border-color:
            CanvasText;
    }

    .read-story,
    .pagination .current {
        border:
            2px solid ButtonText;
    }

}


/* =========================================================
   PRINT
========================================================= */

@media print {

    body {
        background:
            #fff;

        color:
            #000;
    }

    .breaking-bar,
    .hero-overlay,
    .read-story,
    footer {
        display:
            none !important;
    }

    .hero {
        min-height:
            auto;

        color:
            #000;

        background:
            #fff;
    }

    .hero-content {
        min-height:
            auto;

        padding:
            30px 0;
    }

    .hero h1 {
        color:
            #000;

        font-size:
            36px;
    }

    .hero-excerpt {
        color:
            #333;
    }

    .container {
        padding:
            30px 0;
    }

    a {
        text-decoration:
            underline;
    }

}


/*
|--------------------------------------------------------------------------
| TRAVEL PACKAGES GRID
|--------------------------------------------------------------------------
*/

.travel-packages-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/*
|--------------------------------------------------------------------------
| TRAVEL PACKAGE CARD
|--------------------------------------------------------------------------
*/

.travel-package-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
}


/*
|--------------------------------------------------------------------------
| FEATURED
|--------------------------------------------------------------------------
*/

.travel-package-featured-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 7px 10px;
    background: #ffcc00;
    color: #111;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| IMAGE WRAPPER
|--------------------------------------------------------------------------
*/

.travel-package-image-wrapper {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}


/*
|--------------------------------------------------------------------------
| IMAGE
|--------------------------------------------------------------------------
*/

.travel-package-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .3s ease;
}

.travel-package-card:hover
.travel-package-image {
    transform: scale(1.04);
}


/*
|--------------------------------------------------------------------------
| IMAGE LINK
|--------------------------------------------------------------------------
*/

.travel-package-image-link {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}


/*
|--------------------------------------------------------------------------
| PLACEHOLDER
|--------------------------------------------------------------------------
*/

.travel-package-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    background: #ffcc00;
    color: #111;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| BODY
|--------------------------------------------------------------------------
*/

.travel-package-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}


/*
|--------------------------------------------------------------------------
| KICKER
|--------------------------------------------------------------------------
*/

.travel-package-kicker {
    margin-bottom: 8px;
    color: #9b7800;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| DESTINATION
|--------------------------------------------------------------------------
*/

.travel-package-destination {
    margin-bottom: 8px;
    color: #9b7800;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| TITLE
|--------------------------------------------------------------------------
*/

.travel-package-title {
    margin: 0 0 10px;
    font-family:
        Georgia,
        'Times New Roman',
        serif;
    font-size: 25px;
    line-height: 1.2;
}

.travel-package-title a {
    color: #111;
    text-decoration: none;
}

.travel-package-title a:hover {
    color: #9b7800;
}


/*
|--------------------------------------------------------------------------
| EXCERPT
|--------------------------------------------------------------------------
*/

.travel-package-excerpt {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.65;
}


/*
|--------------------------------------------------------------------------
| META
|--------------------------------------------------------------------------
*/

.travel-package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}


/*
|--------------------------------------------------------------------------
| META ITEM
|--------------------------------------------------------------------------
*/

.travel-package-meta span,
.travel-package-duration {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    background: #f5f5f5;
    color: #555;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| PRICE
|--------------------------------------------------------------------------
*/

.travel-package-price {
    margin-top: 18px;
    color: #111;
    font-size: 18px;
    font-weight: 900;
}

.travel-package-price small {
    color: #777;
    font-size: 10px;
    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| ACTIONS
|--------------------------------------------------------------------------
*/

.travel-package-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
}


/*
|--------------------------------------------------------------------------
| BUTTON
|--------------------------------------------------------------------------
*/

.travel-package-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}


/*
|--------------------------------------------------------------------------
| VIEW SAFARI
|--------------------------------------------------------------------------
*/

.travel-package-button-view {
    border: 1px solid #111;
    background: #fff;
    color: #111;
}

.travel-package-button-view:hover {
    background: #111;
    color: #fff;
}


/*
|--------------------------------------------------------------------------
| BOOK THIS SAFARI
|--------------------------------------------------------------------------
*/

.travel-package-button-book {
    border: 1px solid #ffcc00;
    background: #ffcc00;
    color: #111;
}

.travel-package-button-book:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}


/*
|--------------------------------------------------------------------------
| SECTION VIEW ALL
|--------------------------------------------------------------------------
*/

.travel-packages-section .section-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #111;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
    text-decoration: none;
    text-transform: uppercase;
}

.travel-packages-section .section-view-all:hover {
    color: #9b7800;
}


/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 850px) {

    .travel-packages-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 550px) {

    .travel-packages-grid {
        grid-template-columns: 1fr;
    }

    .travel-package-actions {
        flex-direction: column;
    }

    .travel-package-button {
        width: 100%;
    }
}
