/* =========================================================
   INDEX.HTML — scoped to body.page-home
   ========================================================= */

/* =========================================================
           KOUFO
           Full Homepage
        ========================================================= */

:root {
    --bg: #f4f1e9;
    --paper: #fffdf8;
    --black: #0b0b0b;
    --muted: #686868;
    --pink: #ff4bb8;
    --lime: #d9ff3f;
    --border: #151515;
    --max: 1440px;
    --koufo-lime: #cbff46;
    --cat-1: #FF6B9A;
    --cat-2: #C7F36B;
    --cat-3: #AA8DFF;
    --cat-4: #62D5F5;
    --cat-5: #FFB36B;
    --cat-6: #55D6BB;
    --cat-7: #F2CF59;
    --cat-8: #48306D;
}

body.page-home * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.page-home {
    margin: 0;
    background: var(--bg);
    color: var(--black);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

    body.page-home.menu-open {
        overflow: hidden;
    }

    body.page-home a {
        color: inherit;
        text-decoration: none;
    }

    body.page-home button {
        font: inherit;
    }

    body.page-home img {
        width: 100%;
        display: block;
        object-fit: cover;
    }

    body.page-home .container {
        width: min(calc(100% - 48px), var(--max));
        margin: auto;
    }

    /* =========================================================
           TOP STRIP
        ========================================================= */

    body.page-home .top-strip {
        background: var(--lime);
        border-bottom: 2px solid var(--black);
    }

    body.page-home .top-strip-inner {
        min-height: 38px;
        display: flex;
        align-items: center;
        gap: 18px;
        overflow: hidden;
    }

    body.page-home .top-label {
        background: var(--black);
        color: white;
        font-size: 11px;
        font-weight: 900;
        padding: 7px 10px;
        white-space: nowrap;
    }

    body.page-home .ticker {
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* =========================================================
           HEADER
        ========================================================= */

    body.page-home .site-header {
        background: var(--bg);
        border-bottom: 2px solid var(--black);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    body.page-home .header-main {
        min-height: 108px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    body.page-home .date {
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .8px;
    }

    body.page-home .logo {
        font-size: clamp(62px, 7.5vw, 116px);
        line-height: .75;
        font-weight: 1000;
        letter-spacing: -8px;
        text-transform: uppercase;
    }

    body.page-home .logo-dot {
        color: var(--pink);
    }

    body.page-home .header-actions {
        justify-self: end;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    body.page-home .search-button, body.page-home .menu-button {
        width: 42px;
        height: 42px;
        border: 2px solid var(--black);
        background: transparent;
        cursor: pointer;
        font-weight: 900;
    }

    body.page-home .menu-button {
        display: none;
    }

    body.page-home .nav {
        border-top: 1px solid rgba(0,0,0,.18);
    }

    body.page-home .nav-inner {
        min-height: 47px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(18px, 3vw, 48px);
    }

    body.page-home .nav a {
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        position: relative;
    }

        body.page-home .nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -7px;
            width: 0;
            height: 4px;
            background: var(--pink);
            transition: width .2s ease;
        }

        body.page-home .nav a:hover::after {
            width: 100%;
        }

    /* =========================================================
           INTRO
        ========================================================= */

    body.page-home .intro {
        padding: 26px 0 18px;
    }

    body.page-home .intro-inner {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
    }

    body.page-home .intro-title {
        margin: 0;
        font-size: clamp(16px, 2vw, 25px);
        text-transform: uppercase;
        font-weight: 900;
    }

        body.page-home .intro-title span {
            color: var(--pink);
        }

    body.page-home .intro-copy {
        margin: 0;
        max-width: 520px;
        text-align: right;
        font-size: 13px;
        line-height: 1.45;
        font-weight: 600;
    }

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

    body.page-home .hero {
        padding-bottom: 46px;
    }

    body.page-home .hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(330px, .75fr);
        gap: 8px;
    }

    body.page-home .hero-main, body.page-home .side-story {
        position: relative;
        overflow: hidden;
        background: #222;
    }

    body.page-home .hero-main {
        min-height: 650px;
    }

        body.page-home .hero-main img, body.page-home .side-story img {
            position: absolute;
            inset: 0;
            height: 100%;
            transition: transform .7s cubic-bezier(.2,.8,.2,1);
        }

        body.page-home .hero-main:hover img, body.page-home .side-story:hover img {
            transform: scale(1.035);
        }

    body.page-home .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, rgba(0,0,0,.02) 20%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.92) 100% );
    }

    body.page-home .hero-content {
        position: absolute;
        z-index: 3;
        left: clamp(24px, 4vw, 58px);
        bottom: clamp(26px, 4vw, 52px);
        right: clamp(24px, 4vw, 58px);
        color: white;
    }

    body.page-home .eyebrow {
        display: inline-flex;
        align-items: center;
        background: var(--pink);
        color: var(--black);
        padding: 7px 11px;
        font-size: 11px;
        font-weight: 1000;
        text-transform: uppercase;
        margin-bottom: 16px;
    }

        body.page-home .eyebrow.lime {
            background: var(--lime);
        }

    body.page-home .hero-title {
        margin: 0;
        max-width: 900px;
        font-size: clamp(44px, 5vw, 80px);
        line-height: .93;
        letter-spacing: -4px;
    }

    body.page-home .hero-description {
        margin: 18px 0 0;
        max-width: 680px;
        font-size: 16px;
        line-height: 1.5;
    }

    body.page-home .meta {
        margin-top: 20px;
        display: flex;
        gap: 14px;
        font-size: 10px;
        font-weight: 900;
        text-transform: uppercase;
        opacity: .85;
    }

    body.page-home .hero-side {
        display: grid;
        grid-template-rows: 1fr 1fr;
        gap: 8px;
    }

    body.page-home .side-story {
        min-height: 321px;
    }

    body.page-home .side-content {
        position: absolute;
        z-index: 3;
        left: 24px;
        right: 24px;
        bottom: 24px;
        color: white;
    }

        body.page-home .side-content h2 {
            margin: 0;
            font-size: clamp(24px, 2.2vw, 34px);
            line-height: .98;
            letter-spacing: -1.6px;
        }

    /* =========================================================
           SECTION COMMON
        ========================================================= */

    body.page-home .section {
        padding: 30px 0 64px;
    }

    body.page-home .section-header {
        border-top: 5px solid var(--black);
        padding-top: 13px;
        margin-bottom: 25px;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
    }

    body.page-home .section-title {
        margin: 0;
        font-size: clamp(35px, 5vw, 72px);
        line-height: .9;
        letter-spacing: -4px;
        text-transform: uppercase;
    }

    body.page-home .view-all {
        font-size: 11px;
        font-weight: 900;
        border-bottom: 2px solid var(--black);
        padding-bottom: 4px;
    }

    /* =========================================================
           LATEST
        ========================================================= */

    body.page-home .latest-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 28px 18px;
    }

    body.page-home .article-card {
        grid-column: span 4;
    }

        body.page-home .article-card.large {
            grid-column: span 6;
        }

    body.page-home .card-image {
        aspect-ratio: 16 / 10;
        overflow: hidden;
        background: #ddd;
    }

    body.page-home .article-card.large .card-image {
        aspect-ratio: 16 / 9;
    }

    body.page-home .card-image img {
        height: 100%;
        transition: transform .5s ease;
    }

    body.page-home .article-card:hover img {
        transform: scale(1.04);
    }

    body.page-home .card-category {
        margin-top: 13px;
        color: #d80075;
        font-size: 10px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-home .card-title {
        margin: 7px 0 0;
        font-size: clamp(20px, 2vw, 30px);
        line-height: 1.02;
        letter-spacing: -1.2px;
    }

    body.page-home .article-card.large .card-title {
        font-size: clamp(28px, 3vw, 44px);
    }

    body.page-home .card-excerpt {
        margin: 10px 0 0;
        max-width: 570px;
        color: var(--muted);
        line-height: 1.5;
        font-size: 13px;
    }

    /* =========================================================
           TRENDING
        ========================================================= */

    body.page-home .trending {
        background: var(--black);
        color: white;
        padding: 60px 0 70px;
    }

        body.page-home .trending .section-header {
            border-color: white;
        }

        body.page-home .trending .view-all {
            border-color: white;
        }

    body.page-home .trending-title-accent {
        color: var(--lime);
    }

    body.page-home .trending-list {
        border-top: 1px solid #555;
    }

    body.page-home .trending-item {
        display: grid;
        grid-template-columns: 90px 1fr 220px;
        gap: 25px;
        align-items: center;
        border-bottom: 1px solid #444;
        padding: 22px 0;
    }

    body.page-home .rank {
        color: var(--pink);
        font-size: 64px;
        font-weight: 1000;
        letter-spacing: -5px;
    }

    body.page-home .trending-item h3 {
        margin: 0;
        font-size: clamp(23px, 3vw, 30px);
        line-height: 1;
        letter-spacing: -1.7px;
    }

    body.page-home .trending-thumb {
        height: 110px;
        overflow: hidden;
    }

        body.page-home .trending-thumb img {
            height: 100%;
        }

    /* =========================================================
           CULTURE FEATURE
        ========================================================= */

    body.page-home .feature {
        padding: 70px 0;
    }

    body.page-home .feature-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 590px;
    }

    body.page-home .feature-image img {
        height: 100%;
    }

    body.page-home .feature-copy {
        background: var(--pink);
        padding: clamp(35px, 6vw, 90px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        body.page-home .feature-copy small {
            font-weight: 1000;
            text-transform: uppercase;
        }

        body.page-home .feature-copy h2 {
            margin: 14px 0;
            font-size: clamp(45px, 6vw, 90px);
            line-height: .88;
            letter-spacing: -5px;
        }

        body.page-home .feature-copy p {
            max-width: 520px;
            line-height: 1.55;
            font-size: 16px;
        }

    body.page-home .black-button {
        align-self: flex-start;
        margin-top: 20px;
        background: var(--black);
        color: white;
        padding: 14px 20px;
        font-size: 11px;
        font-weight: 900;
    }

    /* =========================================================
           CATEGORY ROWS
        ========================================================= */

    body.page-home .category-layout {
        display: grid;
        grid-template-columns: 1.2fr .8fr;
        gap: 45px;
    }

    body.page-home .category-main-image {
        height: 430px;
        overflow: hidden;
    }

        body.page-home .category-main-image img {
            height: 100%;
        }

    body.page-home .category-main h3 {
        margin: 15px 0 0;
        font-size: clamp(30px, 4vw, 55px);
        line-height: .95;
        letter-spacing: -2px;
    }

    body.page-home .mini-list {
        border-top: 2px solid var(--black);
    }

    body.page-home .mini-story {
        display: grid;
        grid-template-columns: 1fr 130px;
        gap: 18px;
        padding: 17px 0;
        border-bottom: 1px solid #aaa;
    }

        body.page-home .mini-story h4 {
            margin: 5px 0 0;
            font-size: 21px;
            line-height: 1.05;
        }

        body.page-home .mini-story img {
            height: 90px;
        }

    /* =========================================================
   MONEY & WORK
========================================================= */

    body.page-home .money-work {
        padding: 25px 0 75px;
    }

    body.page-home .money-shell {
        background: var(--lime);
        border-top: 5px solid var(--black);
        border-bottom: 5px solid var(--black);
        padding: 28px;
    }

    body.page-home .money-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
        margin-bottom: 30px;
    }

    body.page-home .money-title {
        margin: 0;
        font-size: clamp(55px, 8vw, 115px);
        line-height: .78;
        letter-spacing: -7px;
        text-transform: uppercase;
    }

    body.page-home .money-tagline {
        max-width: 300px;
        margin: 0;
        font-size: 15px;
        line-height: 1.3;
        font-weight: 900;
        text-align: right;
    }

    body.page-home .money-grid {
        display: grid;
        grid-template-columns: 1.25fr .75fr;
        gap: 30px;
    }

    body.page-home .money-lead-image {
        height: 460px;
        overflow: hidden;
        background: #ccc;
    }

        body.page-home .money-lead-image img {
            height: 100%;
            transition: transform .5s ease;
        }

    body.page-home .money-lead:hover img {
        transform: scale(1.035);
    }

    body.page-home .money-kicker {
        margin-top: 14px;
        font-size: 10px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-home .money-lead h3 {
        max-width: 850px;
        margin: 8px 0 0;
        font-size: clamp(34px, 4.5vw, 64px);
        line-height: .91;
        letter-spacing: -3px;
    }

    body.page-home .money-lead p {
        max-width: 680px;
        margin: 13px 0 0;
        font-size: 14px;
        line-height: 1.5;
        font-weight: 600;
    }

    body.page-home .money-list {
        border-top: 3px solid var(--black);
    }

    body.page-home .money-story {
        display: grid;
        grid-template-columns: 55px 1fr;
        gap: 14px;
        padding: 22px 0;
        border-bottom: 2px solid var(--black);
    }

    body.page-home .money-number {
        font-size: 34px;
        font-weight: 1000;
        letter-spacing: -2px;
    }

    body.page-home .money-story small {
        font-size: 9px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-home .money-story h4 {
        margin: 6px 0 0;
        font-size: clamp(19px, 2vw, 27px);
        line-height: 1;
        letter-spacing: -1px;
    }

    body.page-home .money-story:hover h4 {
        text-decoration: underline;
    }


    /* =========================================================
   KOUFO PICKS
========================================================= */

    body.page-home .picks {
        padding: 30px 0 80px;
    }

    body.page-home .picks-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    body.page-home .pick-card {
        position: relative;
        min-height: 500px;
        overflow: hidden;
        background: #222;
    }

        body.page-home .pick-card img {
            position: absolute;
            inset: 0;
            height: 100%;
            transition: transform .6s cubic-bezier(.2,.8,.2,1);
        }

        body.page-home .pick-card:hover img {
            transform: scale(1.05);
        }

        body.page-home .pick-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient( 180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.94) 100% );
        }

    body.page-home .pick-number {
        position: absolute;
        z-index: 3;
        top: 20px;
        left: 20px;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--lime);
        border: 2px solid var(--black);
        border-radius: 50%;
        font-size: 13px;
        font-weight: 1000;
    }

    body.page-home .pick-content {
        position: absolute;
        z-index: 3;
        left: 26px;
        right: 26px;
        bottom: 27px;
        color: white;
    }

    body.page-home .pick-type {
        display: inline-block;
        margin-bottom: 9px;
        color: var(--lime);
        font-size: 10px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-home .pick-content h3 {
        margin: 0;
        font-size: clamp(28px, 3vw, 43px);
        line-height: .95;
        letter-spacing: -2px;
    }

    body.page-home .pick-content p {
        max-width: 420px;
        margin: 12px 0 0;
        color: #ddd;
        font-size: 13px;
        line-height: 1.45;
    }


    /* =========================================================
   KOUFO TAKE
========================================================= */

    body.page-home .koufo-take {
        background: var(--pink);
        border-top: 5px solid var(--black);
        border-bottom: 5px solid var(--black);
    }

    body.page-home .take-inner {
        min-height: 470px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 0;
    }

    body.page-home .take-label {
        display: inline-block;
        align-self: flex-start;
        background: var(--black);
        color: white;
        padding: 8px 12px;
        font-size: 10px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-home .take-inner blockquote {
        max-width: 1250px;
        margin: 25px 0 22px;
        font-size: clamp(52px, 8vw, 120px);
        line-height: .82;
        letter-spacing: -7px;
        font-weight: 1000;
    }

    body.page-home .take-link {
        align-self: flex-start;
        border-bottom: 2px solid var(--black);
        padding-bottom: 4px;
        font-size: 11px;
        font-weight: 1000;
    }


    /* =========================================================
   AFTER DARK
========================================================= */

    body.page-home .after-dark {
        background: var(--black);
        color: white;
        padding: 75px 0 85px;
    }

    body.page-home .after-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 30px;
        border-top: 5px solid var(--pink);
        padding-top: 15px;
        margin-bottom: 28px;
    }

    body.page-home .after-title {
        margin: 0;
        font-size: clamp(50px, 7vw, 100px);
        line-height: .8;
        letter-spacing: -6px;
    }

        body.page-home .after-title span {
            color: var(--pink);
        }

    body.page-home .after-copy {
        max-width: 330px;
        margin: 0;
        text-align: right;
        color: #bbb;
        font-size: 12px;
        line-height: 1.5;
    }

    body.page-home .after-grid {
        display: grid;
        grid-template-columns: 1.35fr .8fr .8fr;
        gap: 12px;
    }

    body.page-home .after-card-image {
        height: 300px;
        overflow: hidden;
        background: #222;
    }

    body.page-home .after-card:first-child .after-card-image {
        height: 420px;
    }

    body.page-home .after-card-image img {
        height: 100%;
        transition: transform .5s ease;
    }

    body.page-home .after-card:hover img {
        transform: scale(1.04);
    }

    body.page-home .after-category {
        margin-top: 13px;
        color: var(--pink);
        font-size: 10px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-home .after-card h3 {
        margin: 7px 0 0;
        font-size: clamp(22px, 2.5vw, 34px);
        line-height: .98;
        letter-spacing: -1.4px;
    }

    body.page-home .after-card:first-child h3 {
        max-width: 700px;
        font-size: clamp(32px, 4vw, 55px);
    }


/* =========================================================
   NEW SECTIONS RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    body.page-home .money-grid {
        grid-template-columns: 1fr;
    }

    body.page-home .picks-grid {
        grid-template-columns: 1fr;
    }

    body.page-home .pick-card {
        min-height: 450px;
    }

    body.page-home .after-grid {
        grid-template-columns: 1fr 1fr;
    }

    body.page-home .after-card:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {

    body.page-home .money-shell {
        padding: 20px;
    }

    body.page-home .money-header {
        display: block;
    }

    body.page-home .money-title {
        font-size: 60px;
        letter-spacing: -4px;
    }

    body.page-home .money-tagline {
        margin-top: 15px;
        text-align: left;
    }

    body.page-home .money-lead-image {
        height: 350px;
    }

    body.page-home .money-lead h3 {
        font-size: 39px;
        letter-spacing: -2px;
    }

    body.page-home .pick-card {
        min-height: 430px;
    }

    body.page-home .take-inner blockquote {
        font-size: 55px;
        letter-spacing: -4px;
    }

    body.page-home .after-header {
        display: block;
    }

    body.page-home .after-copy {
        margin-top: 15px;
        text-align: left;
    }

    body.page-home .after-grid {
        grid-template-columns: 1fr;
    }

    body.page-home .after-card:first-child {
        grid-column: auto;
    }

        body.page-home .after-card-image, body.page-home .after-card:first-child .after-card-image {
            height: 340px;
        }
}
/* =========================================================
           NEWSLETTER
        ========================================================= */

body.page-home .newsletter {
    margin-top: 25px;
    background: var(--lime);
    border-top: 4px solid var(--black);
    border-bottom: 4px solid var(--black);
}

body.page-home .newsletter-inner {
    min-height: 350px;
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 50px;
    align-items: center;
}

body.page-home .newsletter h2 {
    margin: 0;
    font-size: clamp(50px, 8vw, 120px);
    line-height: .8;
    letter-spacing: -7px;
}

    body.page-home .newsletter h2 span {
        color: var(--pink);
    }

body.page-home .newsletter p {
    max-width: 520px;
    font-weight: 700;
    line-height: 1.5;
}

body.page-home .subscribe {
    display: flex;
    margin-top: 20px;
}

    body.page-home .subscribe input {
        flex: 1;
        min-width: 0;
        height: 52px;
        padding: 0 16px;
        border: 2px solid var(--black);
        background: var(--paper);
        outline: none;
    }

    body.page-home .subscribe button {
        height: 52px;
        padding: 0 22px;
        border: 2px solid var(--black);
        border-left: 0;
        background: var(--black);
        color: white;
        font-weight: 900;
        cursor: pointer;
    }

/* =========================================================
           FOOTER
        ========================================================= */

body.page-home .footer {
    background: var(--black);
    color: white;
    padding: 55px 0 30px;
}

body.page-home .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
}

body.page-home .footer-logo {
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 1000;
    letter-spacing: -8px;
    line-height: .8;
}

    body.page-home .footer-logo span {
        color: var(--pink);
    }

body.page-home .footer-heading {
    color: var(--lime);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
}

body.page-home .footer-links {
    display: grid;
    gap: 9px;
    font-size: 13px;
}

body.page-home .copyright {
    border-top: 1px solid #444;
    margin-top: 50px;
    padding-top: 20px;
    color: #aaa;
    font-size: 10px;
}


/* =========================================================
           RESPONSIVE
        ========================================================= */

@media (max-width: 1000px) {

    body.page-home .header-main {
        min-height: 88px;
        grid-template-columns: 1fr auto;
    }

    body.page-home .date {
        display: none;
    }

    body.page-home .logo {
        justify-self: start;
        font-size: 72px;
        letter-spacing: -5px;
    }

    body.page-home .header-actions {
        grid-column: 2;
    }

    body.page-home .nav {
        display: none;
    }

    body.page-home .menu-button {
        display: block;
    }

    body.page-home .hero-grid {
        grid-template-columns: 1fr;
    }

    body.page-home .hero-main {
        min-height: 590px;
    }

    body.page-home .hero-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 330px;
    }

    body.page-home .article-card {
        grid-column: span 6;
    }

    body.page-home .trending-item {
        grid-template-columns: 70px 1fr;
    }

    body.page-home .trending-thumb {
        display: none;
    }

    body.page-home .category-layout {
        grid-template-columns: 1fr;
    }

    body.page-home .newsletter-inner {
        grid-template-columns: 1fr;
        padding: 55px 0;
        gap: 20px;
    }
}

@media (max-width: 650px) {

    body.page-home .container {
        width: min(calc(100% - 28px), var(--max));
    }

    body.page-home .top-strip-inner {
        min-height: 34px;
    }

    body.page-home .logo {
        font-size: 58px;
    }

    body.page-home .search-button {
        display: none;
    }

    body.page-home .intro-inner {
        display: block;
    }

    body.page-home .intro-copy {
        text-align: left;
        margin-top: 9px;
    }

    body.page-home .hero-main {
        min-height: 570px;
    }

    body.page-home .hero-title {
        font-size: 46px;
        letter-spacing: -2.8px;
    }

    body.page-home .hero-description {
        font-size: 14px;
    }

    body.page-home .hero-side {
        grid-template-columns: 1fr;
        grid-template-rows: 350px 350px;
    }

    body.page-home .article-card, body.page-home .article-card.large {
        grid-column: span 12;
    }

    body.page-home .section {
        padding-bottom: 45px;
    }

    body.page-home .section-header {
        align-items: center;
    }

    body.page-home .section-title {
        font-size: 45px;
        letter-spacing: -3px;
    }

    body.page-home .view-all {
        font-size: 9px;
    }

    body.page-home .trending-item {
        grid-template-columns: 52px 1fr;
        gap: 12px;
    }

    body.page-home .rank {
        font-size: 45px;
    }

    body.page-home .feature-grid {
        grid-template-columns: 1fr;
    }

    body.page-home .feature-image {
        height: 400px;
    }

    body.page-home .feature-copy {
        min-height: 430px;
    }

    body.page-home .mini-story {
        grid-template-columns: 1fr 100px;
    }

    body.page-home .newsletter h2 {
        font-size: 68px;
        letter-spacing: -5px;
    }

    body.page-home .subscribe {
        display: block;
    }

        body.page-home .subscribe input, body.page-home .subscribe button {
            width: 100%;
        }

        body.page-home .subscribe button {
            border-left: 2px solid var(--black);
            border-top: 0;
        }

    body.page-home .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}


/* =========================================================
   ARTICLE.HTML — scoped to body.page-article
   ========================================================= */


/* =========================================================
           KOUFO ARTICLE
        ========================================================= */

:root {
    --bg: #f4f1e9;
    --paper: #fffdf8;
    --black: #0b0b0b;
    --muted: #686868;
    --pink: #ff4bb8;
    --lime: #d9ff3f;
    --border: #151515;
    --max: 1440px;
}

body.page-article * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.page-article {
    margin: 0;
    background: var(--bg);
    color: var(--black);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

    body.page-article.menu-open {
        overflow: hidden;
    }

    body.page-article a {
        color: inherit;
        text-decoration: none;
    }

    body.page-article button, body.page-article input {
        font: inherit;
    }

    body.page-article img {
        width: 100%;
        display: block;
        object-fit: cover;
    }

    body.page-article .container {
        width: min(calc(100% - 48px), var(--max));
        margin: auto;
    }


    /* =========================================================
           TOP STRIP
        ========================================================= */

    body.page-article .top-strip {
        background: var(--lime);
        border-bottom: 2px solid var(--black);
    }

    body.page-article .top-strip-inner {
        min-height: 38px;
        display: flex;
        align-items: center;
        gap: 18px;
        overflow: hidden;
    }

    body.page-article .top-label {
        background: var(--black);
        color: white;
        font-size: 11px;
        font-weight: 900;
        padding: 7px 10px;
        white-space: nowrap;
    }

    body.page-article .ticker {
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
    }


    /* =========================================================
           HEADER
        ========================================================= */

/* =========================================================
   PAGE HOME — HEADER
   ίδιο με PAGE ARTICLE
   ========================================================= */

    body.page-home .site-header {
        background: var(--bg);
        border-bottom: 2px solid var(--black);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    body.page-home .header-main {
        min-height: 95px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    body.page-home .date {
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
    }

    body.page-home .logo {
        font-size: clamp(58px, 7vw, 100px);
        line-height: .75;
        font-weight: 1000;
        letter-spacing: -7px;
    }

        body.page-home .logo span {
            color: var(--pink);
        }

    body.page-home .header-actions {
        justify-self: end;
        display: flex;
        gap: 10px;
    }

    body.page-home .icon-button {
        width: 42px;
        height: 42px;
        border: 2px solid var(--black);
        background: transparent;
        cursor: pointer;
        font-weight: 900;
    }

    body.page-home .menu-button {
        display: none;
    }

    body.page-home .nav {
        border-top: 1px solid rgba(0, 0, 0, .18);
    }

    body.page-home .nav-inner {
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(18px, 3vw, 48px);
    }

    body.page-home .nav a {
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
    }


    /* =========================================================
           BREADCRUMB
        ========================================================= */

    body.page-article .breadcrumb {
        padding: 22px 0;
        font-size: 10px;
        font-weight: 900;
        text-transform: uppercase;
    }

        body.page-article .breadcrumb span {
            color: var(--muted);
            margin: 0 7px;
        }


    /* =========================================================
           ARTICLE HEADER
        ========================================================= */

    body.page-article .article-header {
        padding: 20px 0 45px;
    }

    body.page-article .article-category {
        display: inline-block;
        background: var(--pink);
        padding: 8px 12px;
        font-size: 11px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-article .article-title {
        max-width: 1250px;
        margin: 22px 0 0;
        font-size: clamp(60px, 8.2vw, 126px);
        line-height: .82;
        letter-spacing: -7px;
    }

    body.page-article .article-deck {
        max-width: 850px;
        margin: 30px 0 0;
        font-size: clamp(20px,2vw,28px);
        line-height: 1.3;
        font-weight: 600;
    }

    body.page-article .article-info {
        margin-top: 34px;
        padding-top: 18px;
        border-top: 2px solid var(--black);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }

    body.page-article .author {
        display: flex;
        align-items: center;
        gap: 13px;
    }

    body.page-article .author-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        overflow: hidden;
        background: var(--pink);
    }

        body.page-article .author-avatar img {
            height: 100%;
        }

    body.page-article .author-name {
        font-size: 11px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-article .author-role {
        margin-top: 3px;
        color: var(--muted);
        font-size: 10px;
    }

    body.page-article .article-meta {
        display: flex;
        gap: 18px;
        font-size: 10px;
        font-weight: 900;
        text-transform: uppercase;
    }


    /* =========================================================
           HERO IMAGE
        ========================================================= */

    body.page-article .article-hero {
        width: min(calc(100% - 48px), 1600px);
        margin: auto;
    }

    body.page-article .article-hero-image {
        height: min(74vh, 850px);
        min-height: 580px;
        overflow: hidden;
    }

        body.page-article .article-hero-image img {
            height: 100%;
        }

    body.page-article .image-caption {
        margin-top: 8px;
        color: var(--muted);
        font-size: 9px;
        text-transform: uppercase;
    }


    /* =========================================================
           ARTICLE BODY
        ========================================================= */

    body.page-article .article-layout {
        width: min(calc(100% - 48px), 1280px);
        margin: 70px auto 100px;
        display: grid;
        grid-template-columns: 70px minmax(0, 760px) 240px;
        gap: 50px;
        justify-content: center;
    }


    /* SHARE */

    body.page-article .share-column {
        position: relative;
    }

    body.page-article .share {
        position: sticky;
        top: 175px;
    }

    body.page-article .share-label {
        margin-bottom: 12px;
        font-size: 9px;
        font-weight: 1000;
    }

    body.page-article .share-button {
        width: 44px;
        height: 44px;
        margin-bottom: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--black);
        background: transparent;
        font-size: 11px;
        font-weight: 1000;
        cursor: pointer;
        transition: .15s;
    }

        body.page-article .share-button:hover {
            background: var(--black);
            color: white;
        }


    /* ARTICLE TYPOGRAPHY */

    body.page-article .article-body {
        min-width: 0;
    }

        body.page-article .article-body > p {
            margin: 0 0 28px;
            font-family: Georgia, "Times New Roman", serif;
            font-size: 21px;
            line-height: 1.75;
        }

        body.page-article .article-body .intro-letter::first-letter {
            float: left;
            margin: 8px 12px 0 0;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 100px;
            line-height: .7;
            font-weight: 1000;
            color: var(--pink);
        }

        body.page-article .article-body h2 {
            margin: 70px 0 25px;
            font-size: clamp(38px,4vw,58px);
            line-height: .92;
            letter-spacing: -2.5px;
        }

        body.page-article .article-body h3 {
            margin: 45px 0 18px;
            font-size: 28px;
            line-height: 1;
        }

        body.page-article .article-body strong {
            font-weight: 800;
        }


    /* =========================================================
           HIGHLIGHT
        ========================================================= */

    body.page-article .highlight {
        background: linear-gradient( transparent 55%, var(--lime) 55% );
    }


    /* =========================================================
           PULL QUOTE
        ========================================================= */

    body.page-article .pullquote {
        margin: 65px 0;
        padding: 50px 55px;
        background: var(--pink);
        border-top: 4px solid var(--black);
        border-bottom: 4px solid var(--black);
        width: 100%;
    }

        body.page-article .pullquote p {
            margin: 0;
            font-family: Arial, Helvetica, sans-serif;
            font-size: clamp(36px, 4.2vw, 62px);
            line-height: .92;
            letter-spacing: -3px;
            font-weight: 1000;
        }

        body.page-article .pullquote small {
            display: block;
            margin-top: 20px;
            font-size: 9px;
            font-weight: 900;
            text-transform: uppercase;
        }


    /* =========================================================
           ARTICLE INLINE IMAGE
        ========================================================= */

    body.page-article .inline-image {
        margin: 0px;
    }

        body.page-article .inline-image img {
            width: 100%;
        }

    body.page-article .inline-caption {
        margin-top: 7px;
        color: var(--muted);
        font-size: 9px;
    }


    /* =========================================================
           ARTICLE SIDEBAR
        ========================================================= */

    body.page-article .article-sidebar {
        position: relative;
    }

    body.page-article .sidebar-inner {
        position: sticky;
        top: 175px;
    }

    body.page-article .sidebar-title {
        border-top: 4px solid var(--black);
        padding-top: 10px;
        font-size: 11px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-article .sidebar-story {
        padding: 16px 0;
        border-bottom: 1px solid #aaa;
    }

    body.page-article .sidebar-story-number {
        color: #d80075;
        font-size: 10px;
        font-weight: 1000;
        margin-top:10px;
    }

    body.page-article .sidebar-story h4 {
        margin: 5px 0 0;
        font-size: 17px;
        line-height: 1.05;
    }


    /* =========================================================
           INLINE RELATED
        ========================================================= */

    body.page-article .read-next-inline {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 55px 0;
        padding: 26px 28px 30px;
        background: var(--lime);
        border: 3px solid var(--black);
        overflow: hidden;
    }

    body.page-article .read-next-label {
        display: block;
        margin-bottom: 12px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 10px;
        line-height: 1;
        font-weight: 1000;
        text-transform: uppercase;
        letter-spacing: .4px;
    }

    body.page-article .article-body .read-next-inline h3 {
        margin: 0;
        font-family: Arial, Helvetica, sans-serif;
        font-size: clamp(25px, 2.2vw, 34px);
        line-height: 1;
        letter-spacing: -1.5px;
        overflow-wrap: anywhere;
    }


    /* =========================================================
           TAGS
        ========================================================= */

    body.page-article .article-tags {
        margin-top: 70px;
        padding-top: 20px;
        border-top: 2px solid var(--black);
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    body.page-article .tag {
        border: 1px solid var(--black);
        padding: 7px 10px;
        font-size: 9px;
        font-weight: 900;
        text-transform: uppercase;
    }

        body.page-article .tag:hover {
            background: var(--black);
            color: white;
        }


    /* =========================================================
           AUTHOR BOX
        ========================================================= */

    body.page-article .author-box {
        margin-top: 55px;
        padding: 25px;
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 20px;
        border: 3px solid var(--black);
    }

    body.page-article .author-box-image {
        width: 90px;
        height: 90px;
        overflow: hidden;
    }

        body.page-article .author-box-image img {
            height: 100%;
        }

    body.page-article .author-box small {
        font-size: 9px;
        font-weight: 1000;
    }

    body.page-article .author-box h3 {
        margin: 5px 0 7px;
        font-size: 26px;
    }

    body.page-article .author-box p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.5;
    }


    /* =========================================================
           MORE STORIES
        ========================================================= */

    body.page-article .more-stories {
        padding: 70px 0 90px;
        border-top: 5px solid var(--black);
    }

    body.page-article .more-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 28px;
    }

    body.page-article .more-title {
        margin: 0;
        font-size: clamp(50px,7vw,100px);
        line-height: .8;
        letter-spacing: -6px;
    }

        body.page-article .more-title span {
            color: var(--pink);
        }

    body.page-article .more-grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 18px;
    }

    body.page-article .more-image {
        aspect-ratio: 16/10;
        overflow: hidden;
    }

        body.page-article .more-image img {
            height: 100%;
            transition: transform .5s;
        }

    body.page-article .more-card:hover img {
        transform: scale(1.04);
    }

    body.page-article .more-category {
        margin-top: 12px;
        color: #d80075;
        font-size: 9px;
        font-weight: 1000;
    }

    body.page-article .more-card h3 {
        margin: 7px 0 0;
        font-size: clamp(22px,2.5vw,34px);
        line-height: .98;
        letter-spacing: -1.5px;
    }


    /* =========================================================
           NEWSLETTER
        ========================================================= */

    body.page-article .newsletter {
        background: var(--lime);
        border-top: 4px solid var(--black);
        border-bottom: 4px solid var(--black);
    }

    body.page-article .newsletter-inner {
        min-height: 330px;
        display: grid;
        grid-template-columns: 1fr .8fr;
        align-items: center;
        gap: 50px;
    }

    body.page-article .newsletter h2 {
        margin: 0;
        font-size: clamp(55px,8vw,120px);
        line-height: .8;
        letter-spacing: -7px;
    }

        body.page-article .newsletter h2 span {
            color: var(--pink);
        }

    body.page-article .newsletter p {
        max-width: 500px;
        font-weight: 700;
        line-height: 1.5;
    }

    body.page-article .subscribe {
        display: flex;
        margin-top: 20px;
    }

        body.page-article .subscribe input {
            flex: 1;
            min-width: 0;
            height: 52px;
            padding: 0 15px;
            border: 2px solid var(--black);
            background: var(--paper);
            outline: none;
        }

        body.page-article .subscribe button {
            height: 52px;
            padding: 0 20px;
            border: 2px solid var(--black);
            border-left: 0;
            background: var(--black);
            color: white;
            font-weight: 900;
            cursor: pointer;
        }


    /* =========================================================
           FOOTER
        ========================================================= */

    body.page-article .footer {
        background: var(--black);
        color: white;
        padding: 55px 0 30px;
    }

    body.page-article .footer-grid {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 50px;
    }

    body.page-article .footer-logo {
        font-size: clamp(60px,8vw,120px);
        font-weight: 1000;
        letter-spacing: -8px;
        line-height: .8;
    }

        body.page-article .footer-logo span {
            color: var(--pink);
        }

    body.page-article .footer-heading {
        color: var(--lime);
        font-size: 10px;
        font-weight: 900;
        text-transform: uppercase;
        margin-bottom: 15px;
    }

    body.page-article .footer-links {
        display: grid;
        gap: 9px;
        font-size: 13px;
    }

    body.page-article .copyright {
        border-top: 1px solid #444;
        margin-top: 50px;
        padding-top: 20px;
        color: #aaa;
        font-size: 10px;
    }



/* =========================================================
           RESPONSIVE
        ========================================================= */

@media(max-width:1050px) {

    body.page-article .article-layout {
        grid-template-columns: 60px minmax(0,700px);
    }

    body.page-article .article-sidebar {
        display: none;
    }

    body.page-article .pullquote {
        margin-left: -40px;
        margin-right: -40px;
    }

    body.page-article .inline-image {
        margin-left: -40px;
        margin-right: -40px;
    }
}


@media(max-width:800px) {

    body.page-article .header-main {
        min-height: 82px;
        grid-template-columns: 1fr auto;
    }

    body.page-article .date {
        display: none;
    }

    body.page-article .logo {
        justify-self: start;
        font-size: 65px;
        letter-spacing: -5px;
    }

    body.page-article .nav {
        display: none;
    }

    body.page-article .menu-button {
        display: block;
    }

    body.page-article .article-title {
        font-size: clamp(55px,12vw,90px);
        letter-spacing: -5px;
    }

    body.page-article .article-layout {
        display: block;
        width: min(calc(100% - 40px),720px);
        margin-top: 50px;
    }

    body.page-article .share-column {
        display: none;
    }

    body.page-article .article-hero {
        width: 100%;
    }

    body.page-article .article-hero-image {
        min-height: 0;
        height: 60vh;
    }

    body.page-article .more-grid {
        grid-template-columns: 1fr;
    }

    body.page-article .newsletter-inner {
        grid-template-columns: 1fr;
        padding: 50px 0;
        gap: 15px;
    }

    body.page-article .footer-grid {
        grid-template-columns: 1fr;
    }
}


@media(max-width:600px) {

    body.page-article .container {
        width: min(calc(100% - 28px),var(--max));
    }

    body.page-article .logo {
        font-size: 54px;
    }

    body.page-article .icon-button:first-child {
        display: none;
    }

    body.page-article .article-header {
        padding-top: 5px;
    }

    body.page-article .article-title {
        font-size: 56px;
        line-height: .86;
        letter-spacing: -3.5px;
    }

    body.page-article .article-deck {
        font-size: 19px;
    }

    body.page-article .article-info {
        display: block;
    }

    body.page-article .article-meta {
        margin-top: 18px;
    }

    body.page-article .article-hero-image {
        height: 480px;
    }

    body.page-article .article-body > p {
        font-size: 19px;
        line-height: 1.7;
    }

    body.page-article .article-body h2 {
        font-size: 30px;
    }

    body.page-article .pullquote {
        margin: 50px -20px;
        padding: 35px 22px;
    }

        body.page-article .pullquote p {
            font-size: 43px;
            letter-spacing: -2px;
        }

    body.page-article .inline-image {
        margin: 45px -20px;
    }

    body.page-article .author-box {
        grid-template-columns: 65px 1fr;
    }

    body.page-article .author-box-image {
        width: 65px;
        height: 65px;
    }

    body.page-article .more-title {
        font-size: 55px;
        letter-spacing: -4px;
    }

    body.page-article .subscribe {
        display: block;
    }

        body.page-article .subscribe input, body.page-article .subscribe button {
            width: 100%;
        }

        body.page-article .subscribe button {
            border-left: 2px solid var(--black);
            border-top: 0;
        }
}


/* =========================================================
   RELATIONSHIPS.HTML — scoped to body.page-categories
   ========================================================= */


/* =========================================================
           KOUFO — RELATIONSHIPS
        ========================================================= */

:root {
    --bg: #f4f1e9;
    --paper: #fffdf8;
    --black: #0b0b0b;
    --muted: #686868;
    --pink: #ff4bb8;
    --lime: #d9ff3f;
    --max: 1440px;
}

body.page-categories * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.page-categories {
    margin: 0;
    background: var(--bg);
    color: var(--black);
    font-family: Arial,Helvetica,sans-serif;
    -webkit-font-smoothing: antialiased;
}

    body.page-categories.menu-open {
        overflow: hidden;
    }

    body.page-categories a {
        color: inherit;
        text-decoration: none;
    }

    body.page-categories button, body.page-categories input {
        font: inherit;
    }

    body.page-categories img {
        width: 100%;
        display: block;
        object-fit: cover;
    }

    body.page-categories .container {
        width: min(calc(100% - 48px),var(--max));
        margin: auto;
    }


    /* =========================================================
           TOP STRIP
        ========================================================= */

    body.page-categories .top-strip {
        background: var(--lime);
        border-bottom: 2px solid var(--black);
    }

    body.page-categories .top-strip-inner {
        min-height: 38px;
        display: flex;
        align-items: center;
        gap: 18px;
        overflow: hidden;
    }

    body.page-categories .top-label {
        background: var(--black);
        color: white;
        padding: 7px 10px;
        font-size: 11px;
        font-weight: 900;
    }

    body.page-categories .ticker {
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
    }


    /* =========================================================
           HEADER
        ========================================================= */

    body.page-categories .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: var(--bg);
        border-bottom: 2px solid var(--black);
    }

    body.page-categories .header-main {
        min-height: 95px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    body.page-categories .date {
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
    }

    body.page-categories .logo {
        font-size: clamp(58px,7vw,100px);
        line-height: .75;
        font-weight: 1000;
        letter-spacing: -7px;
    }

        body.page-categories .logo span {
            color: var(--pink);
        }

    body.page-categories .header-actions {
        justify-self: end;
        display: flex;
        gap: 10px;
    }

    body.page-categories .icon-button {
        width: 42px;
        height: 42px;
        border: 2px solid var(--black);
        background: transparent;
        cursor: pointer;
        font-weight: 900;
    }

    body.page-categories .menu-button {
        display: none;
    }

    body.page-categories .nav {
        border-top: 1px solid rgba(0,0,0,.18);
    }

    body.page-categories .nav-inner {
        min-height: 45px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: clamp(18px,3vw,40px);
    }

    body.page-categories .nav a {
        position: relative;
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
    }

        body.page-categories .nav a.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -8px;
            height: 4px;
            background: var(--pink);
        }
.nav-inner a.active {
    color: #ff4ba8;
}

    /* =========================================================
           CATEGORY INTRO
        ========================================================= */

    body.page-categories .category-intro {
        padding: 60px 0 35px;
    }

    body.page-categories .category-label {
        font-size: 10px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-categories .category-title {
        margin: 10px 0 0;
        font-size: clamp(75px,13vw,190px);
        line-height: .73;
        letter-spacing: -12px;
        text-transform: uppercase;
    }

        body.page-categories .category-title span {
            color: var(--pink);
        }

    body.page-categories .category-bottom {
        margin-top: 40px;
        padding-top: 18px;
        border-top: 4px solid var(--black);
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 40px;
    }

    body.page-categories .category-description {
        max-width: 620px;
        margin: 0;
        font-size: clamp(18px,2vw,27px);
        line-height: 1.15;
        font-weight: 800;
    }

    body.page-categories .category-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }

        body.page-categories .category-menu a {
            padding: 8px 11px;
            border: 1px solid var(--black);
            font-size: 9px;
            font-weight: 900;
            text-transform: uppercase;
        }

            body.page-categories .category-menu a:hover {
                background: var(--black);
                color: white;
            }


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

    body.page-categories .relationship-hero {
        padding: 15px 0 75px;
    }

    body.page-categories .hero-grid {
        display: grid;
        grid-template-columns: 1.45fr .75fr;
        gap: 10px;
    }

    body.page-categories .hero-main {
        position: relative;
        min-height: 670px;
        overflow: hidden;
        background: #222;
    }

        body.page-categories .hero-main img, body.page-categories .hero-side-card img {
            position: absolute;
            inset: 0;
            height: 100%;
            transition: transform .6s ease;
        }

        body.page-categories .hero-main:hover img, body.page-categories .hero-side-card:hover img {
            transform: scale(1.035);
        }

    body.page-categories .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, rgba(0,0,0,.02) 20%, rgba(0,0,0,.1) 45%, rgba(0,0,0,.94) 100% );
    }

    body.page-categories .hero-content {
        position: absolute;
        z-index: 2;
        left: clamp(25px,4vw,55px);
        right: clamp(25px,4vw,55px);
        bottom: clamp(28px,4vw,50px);
        color: white;
    }

    body.page-categories .badge {
        display: inline-block;
        margin-bottom: 15px;
        padding: 7px 10px;
        background: var(--pink);
        color: var(--black);
        font-size: 10px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-categories .hero-content h2 {
        max-width: 950px;
        margin: 0;
        font-size: clamp(45px,5vw,78px);
        line-height: .91;
        letter-spacing: -4px;
    }

    body.page-categories .hero-content p {
        max-width: 620px;
        margin: 15px 0 0;
        font-size: 15px;
        line-height: 1.45;
    }

    body.page-categories .hero-side {
        display: grid;
        grid-template-rows: 1fr 1fr;
        gap: 10px;
    }

    body.page-categories .hero-side-card {
        position: relative;
        min-height: 330px;
        overflow: hidden;
        background: #222;
    }

    body.page-categories .side-copy {
        position: absolute;
        z-index: 2;
        left: 24px;
        right: 24px;
        bottom: 24px;
        color: white;
    }

        body.page-categories .side-copy small {
            color: var(--lime);
            font-size: 9px;
            font-weight: 1000;
        }

        body.page-categories .side-copy h3 {
            margin: 7px 0 0;
            font-size: clamp(24px,2.5vw,36px);
            line-height: .96;
            letter-spacing: -1.7px;
        }


    /* =========================================================
           SECTION
        ========================================================= */

    body.page-categories .section {
        padding: 35px 0 80px;
    }

    body.page-categories .section-header {
        padding-top: 13px;
        margin-bottom: 27px;
        border-top: 5px solid var(--black);
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    body.page-categories .section-title {
        margin: 0;
        font-size: clamp(45px,6vw,90px);
        line-height: .82;
        letter-spacing: -5px;
        text-transform: uppercase;
    }

    body.page-categories .view-all {
        padding-bottom: 4px;
        border-bottom: 2px solid var(--black);
        font-size: 10px;
        font-weight: 1000;
    }


    /* =========================================================
           LATEST GRID
        ========================================================= */

    body.page-categories .latest-grid {
        display: grid;
        grid-template-columns: repeat(12,1fr);
        gap: 40px 18px;
    }

    body.page-categories .story {
        grid-column: span 4;
    }

        body.page-categories .story.wide {
            grid-column: span 6;
        }

    body.page-categories .story-image {
        aspect-ratio: 16/10;
        overflow: hidden;
        background: #ddd;
    }

    body.page-categories .story.wide .story-image {
        aspect-ratio: 16/9;
    }

    body.page-categories .story-image img {
        height: 100%;
        transition: transform .5s ease;
    }

    body.page-categories .story:hover img {
        transform: scale(1.035);
    }

    body.page-categories .story-category {
        margin-top: 12px;
        color: #d80075;
        font-size: 9px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-categories .story h3 {
        margin: 6px 0 0;
        font-size: clamp(21px,2.2vw,32px);
        line-height: 1;
        letter-spacing: -1.3px;
    }

    body.page-categories .story.wide h3 {
        font-size: clamp(30px,3.3vw,48px);
    }

    body.page-categories .story p {
        max-width: 600px;
        margin: 10px 0 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.5;
    }


    /* =========================================================
           RED / GREEN FLAGS
        ========================================================= */

    body.page-categories .flags {
        background: var(--pink);
        border-top: 5px solid var(--black);
        border-bottom: 5px solid var(--black);
        padding: 70px 0;
    }

    body.page-categories .flags-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 30px;
        margin-bottom: 40px;
    }

    body.page-categories .flags-title {
        margin: 0;
        font-size: clamp(55px,9vw,140px);
        line-height: .77;
        letter-spacing: -8px;
    }

        body.page-categories .flags-title span {
            -webkit-text-stroke: 2px var(--black);
            color: transparent;
        }

    body.page-categories .flags-note {
        max-width: 300px;
        margin: 0;
        font-size: 13px;
        line-height: 1.4;
        font-weight: 800;
    }

    body.page-categories .flags-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-top: 3px solid var(--black);
    }

    body.page-categories .flag-column:first-child {
        border-right: 3px solid var(--black);
        padding-right: 40px;
    }

    body.page-categories .flag-column:last-child {
        padding-left: 40px;
    }

    body.page-categories .flag-heading {
        padding: 20px 0 15px;
        font-size: 11px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    body.page-categories .flag-story {
        display: grid;
        grid-template-columns: 50px 1fr;
        gap: 15px;
        padding: 20px 0;
        border-top: 1px solid rgba(0,0,0,.5);
    }

    body.page-categories .flag-number {
        font-size: 31px;
        line-height: 1;
        font-weight: 1000;
        letter-spacing: -2px;
    }

    body.page-categories .flag-story h3 {
        margin: 0;
        font-size: clamp(21px,2.4vw,34px);
        line-height: .97;
        letter-spacing: -1.5px;
    }


    /* =========================================================
           BIG EDITORIAL
        ========================================================= */

    body.page-categories .editorial-feature {
        padding: 85px 0;
    }

    body.page-categories .editorial-grid {
        display: grid;
        grid-template-columns: .9fr 1.1fr;
        min-height: 620px;
    }

    body.page-categories .editorial-copy {
        background: var(--lime);
        padding: clamp(35px,6vw,85px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        body.page-categories .editorial-copy small {
            font-size: 10px;
            font-weight: 1000;
        }

        body.page-categories .editorial-copy h2 {
            margin: 15px 0;
            font-size: clamp(45px,6vw,88px);
            line-height: .87;
            letter-spacing: -5px;
        }

        body.page-categories .editorial-copy p {
            max-width: 520px;
            margin: 0;
            font-size: 15px;
            line-height: 1.5;
            font-weight: 600;
        }

    body.page-categories .editorial-link {
        align-self: flex-start;
        margin-top: 25px;
        padding-bottom: 4px;
        border-bottom: 2px solid var(--black);
        font-size: 10px;
        font-weight: 1000;
    }

    body.page-categories .editorial-image img {
        height: 100%;
    }


    /* =========================================================
           MORE RELATIONSHIPS
        ========================================================= */

    body.page-categories .more-grid {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 18px;
    }

    body.page-categories .more-card {
        padding-top: 12px;
        border-top: 2px solid var(--black);
    }

    body.page-categories .more-number {
        color: var(--pink);
        font-size: 12px;
        font-weight: 1000;
    }

    body.page-categories .more-card h3 {
        margin: 18px 0 12px;
        font-size: clamp(22px,2.2vw,31px);
        line-height: .98;
        letter-spacing: -1.3px;
    }

    body.page-categories .more-card p {
        margin: 0;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.45;
    }


    /* =========================================================
           AFTER DARK
        ========================================================= */

    body.page-categories .after-dark {
        background: var(--black);
        color: white;
        padding: 75px 0 85px;
    }

    body.page-categories .after-header {
        padding-top: 14px;
        margin-bottom: 30px;
        border-top: 5px solid var(--pink);
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
    }

    body.page-categories .after-title {
        margin: 0;
        font-size: clamp(50px,7vw,105px);
        line-height: .8;
        letter-spacing: -6px;
    }

        body.page-categories .after-title span {
            color: var(--pink);
        }

    body.page-categories .after-description {
        max-width: 340px;
        margin: 0;
        color: #bbb;
        text-align: right;
        font-size: 12px;
        line-height: 1.5;
    }

    body.page-categories .after-grid {
        display: grid;
        grid-template-columns: 1.25fr .75fr .75fr;
        gap: 12px;
    }

    body.page-categories .after-image {
        height: 320px;
        overflow: hidden;
    }

    body.page-categories .after-card:first-child .after-image {
        height: 430px;
    }

    body.page-categories .after-image img {
        height: 100%;
        transition: transform .5s;
    }

    body.page-categories .after-card:hover img {
        transform: scale(1.04);
    }

    body.page-categories .after-category {
        margin-top: 12px;
        color: var(--pink);
        font-size: 9px;
        font-weight: 1000;
    }

    body.page-categories .after-card h3 {
        margin: 7px 0 0;
        font-size: clamp(22px,2.5vw,34px);
        line-height: .98;
        letter-spacing: -1.5px;
    }

    body.page-categories .after-card:first-child h3 {
        font-size: clamp(32px,4vw,55px);
    }


    /* =========================================================
           NEWSLETTER
        ========================================================= */

    body.page-categories .newsletter {
        background: var(--lime);
        border-top: 4px solid var(--black);
        border-bottom: 4px solid var(--black);
    }

    body.page-categories .newsletter-inner {
        min-height: 340px;
        display: grid;
        grid-template-columns: 1fr .8fr;
        align-items: center;
        gap: 50px;
    }

    body.page-categories .newsletter h2 {
        margin: 0;
        font-size: clamp(55px,8vw,120px);
        line-height: .8;
        letter-spacing: -7px;
    }

        body.page-categories .newsletter h2 span {
            color: var(--pink);
        }

    body.page-categories .newsletter p {
        max-width: 500px;
        font-weight: 700;
        line-height: 1.5;
    }

    body.page-categories .subscribe {
        display: flex;
        margin-top: 20px;
    }

        body.page-categories .subscribe input {
            flex: 1;
            min-width: 0;
            height: 52px;
            padding: 0 16px;
            border: 2px solid var(--black);
            background: var(--paper);
            outline: none;
        }

        body.page-categories .subscribe button {
            height: 52px;
            padding: 0 22px;
            border: 2px solid var(--black);
            border-left: 0;
            background: var(--black);
            color: white;
            font-weight: 900;
            cursor: pointer;
        }


    /* =========================================================
           FOOTER
        ========================================================= */

    body.page-categories .footer {
        background: var(--black);
        color: white;
        padding: 55px 0 30px;
    }

    body.page-categories .footer-grid {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 50px;
    }

    body.page-categories .footer-logo {
        font-size: clamp(60px,8vw,120px);
        line-height: .8;
        letter-spacing: -8px;
        font-weight: 1000;
    }

        body.page-categories .footer-logo span {
            color: var(--pink);
        }

    body.page-categories .footer-heading {
        margin-bottom: 15px;
        color: var(--lime);
        font-size: 10px;
        font-weight: 900;
        text-transform: uppercase;
    }

    body.page-categories .footer-links {
        display: grid;
        gap: 9px;
        font-size: 13px;
    }

    body.page-categories .copyright {
        margin-top: 50px;
        padding-top: 20px;
        border-top: 1px solid #444;
        color: #aaa;
        font-size: 10px;
    }


/* =========================================================
           RESPONSIVE
        ========================================================= */

@media(max-width:1000px) {

    body.page-categories .header-main {
        min-height: 85px;
        grid-template-columns: 1fr auto;
    }

    body.page-categories .date {
        display: none;
    }

    body.page-categories .logo {
        justify-self: start;
        font-size: 70px;
        letter-spacing: -5px;
    }

    body.page-categories .nav {
        display: none;
    }

    body.page-categories .menu-button {
        display: block;
    }

    body.page-categories .category-title {
        letter-spacing: -8px;
    }

    body.page-categories .hero-grid {
        grid-template-columns: 1fr;
    }

    body.page-categories .hero-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 330px;
    }

    body.page-categories .story {
        grid-column: span 6;
    }

    body.page-categories .more-grid {
        grid-template-columns: 1fr 1fr;
    }

    body.page-categories .after-grid {
        grid-template-columns: 1fr 1fr;
    }

    body.page-categories .after-card:first-child {
        grid-column: 1 / -1;
    }
}


@media(max-width:650px) {

    body.page-categories .container {
        width: min(calc(100% - 28px),var(--max));
    }

    body.page-categories .logo {
        font-size: 55px;
    }

    body.page-categories .header-actions .icon-button:first-child {
        display: none;
    }

    body.page-categories .category-intro {
        padding-top: 40px;
    }

    body.page-categories .category-title {
        font-size: 50px;
        letter-spacing: -5px;
        line-height: .8;
    }

    body.page-categories .category-bottom {
        display: block;
    }

    body.page-categories .category-menu {
        justify-content: flex-start;
        margin-top: 22px;
    }

    body.page-categories .hero-main {
        min-height: 580px;
    }

    body.page-categories .hero-content h2 {
        font-size: 45px;
        letter-spacing: -2.5px;
    }

    body.page-categories .hero-side {
        grid-template-columns: 1fr;
        grid-template-rows: 350px 350px;
    }

    body.page-categories .story, body.page-categories .story.wide {
        grid-column: span 12;
    }

    body.page-categories .section-title {
        font-size: 47px;
        letter-spacing: -3px;
    }

    body.page-categories .flags-top {
        display: block;
    }

    body.page-categories .flags-title {
        font-size: 58px;
        letter-spacing: -4px;
    }

    body.page-categories .flags-note {
        margin-top: 20px;
    }

    body.page-categories .flags-grid {
        grid-template-columns: 1fr;
    }

    body.page-categories .flag-column:first-child {
        padding-right: 0;
        border-right: 0;
    }

    body.page-categories .flag-column:last-child {
        padding-left: 0;
        margin-top: 25px;
        border-top: 4px solid var(--black);
    }

    body.page-categories .editorial-grid {
        grid-template-columns: 1fr;
    }

    body.page-categories .editorial-image {
        height: 420px;
        order: -1;
    }

    body.page-categories .more-grid {
        grid-template-columns: 1fr;
    }

    body.page-categories .after-header {
        display: block;
    }

    body.page-categories .after-description {
        margin-top: 15px;
        text-align: left;
    }

    body.page-categories .after-grid {
        grid-template-columns: 1fr;
    }

    body.page-categories .after-card:first-child {
        grid-column: auto;
    }

        body.page-categories .after-image, body.page-categories .after-card:first-child .after-image {
            height: 350px;
        }

    body.page-categories .newsletter-inner {
        grid-template-columns: 1fr;
        padding: 50px 0;
        gap: 15px;
    }

    body.page-categories .subscribe {
        display: block;
    }

        body.page-categories .subscribe input, body.page-categories .subscribe button {
            width: 100%;
        }

        body.page-categories .subscribe button {
            border-left: 2px solid var(--black);
            border-top: 0;
        }

    body.page-categories .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
           MOBILE MENU
        ========================================================= */

.mobile-menu {
    display: none;
}

@media (max-width: 1000px) {
    .mobile-menu {
        position: fixed;
        z-index: 9999;
        top: 120px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--lime);
        padding: 30px 24px;
        overflow-y: auto;
    }

        .mobile-menu.active {
            display: block;
        }

        .mobile-menu a {
            display: block;
            padding: 10px 0;
            border-bottom: 2px solid var(--black);
            font-size: 36px;
            font-weight: 1000;
            letter-spacing: -2px;
            color: var(--black);
            text-decoration: none;
        }

    body.menu-open {
        overflow: hidden;
    }
}

/*Search popup*/

/* KOUFO SEARCH */

.koufo-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 7vh 20px 25px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

    .koufo-search-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.koufo-search-panel {
    width: 100%;
    max-width: 850px;
    background: #111;
    border: 1px solid #333;
    border-radius: 22px;
    color: #fff;
    overflow: hidden;
    transform: translateY(25px) scale(.98);
    transition: transform .3s ease;
    box-shadow: 0 30px 100px rgba(0,0,0,.5);
}

.is-open .koufo-search-panel {
    transform: translateY(0) scale(1);
}

.koufo-search-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 23px 35px;
    border-bottom: 1px solid #292929;
}

.koufo-search-brand {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #c6ff35;
}

    .koufo-search-brand span {
        color: #ff4ba8;
    }

.koufo-search-close {
    background: transparent;
    color: #ff4ba8;
    border: 0;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

.koufo-search-content {
    padding: 45px 55px 35px;
}

.koufo-search-eyebrow {
    color: #c6ff35;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.koufo-search-content h2 {
    font-size: clamp(35px, 6vw, 65px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    margin: 0 0 15px;
    color: #fff;
}

    .koufo-search-content h2 span {
        color: #ff4ba8;
    }

.koufo-search-content > p {
    color: #aaa;
    font-size: 16px;
    margin-bottom: 32px;
}

.koufo-search-input-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 13px;
    padding: 6px 8px 6px 20px;
    gap: 12px;
}

.koufo-search-icon {
    color: #111;
    font-size: 32px;
}

.koufo-search-input-wrap input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111;
    font-size: 19px;
    padding: 15px 0;
    font-family: inherit;
}

    .koufo-search-input-wrap input::placeholder {
        color: #888;
    }

.koufo-search-input-wrap button {
    background: #c6ff35;
    border: 0;
    border-radius: 9px;
    width: 52px;
    height: 52px;
    color: #111;
    font-size: 28px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s;
}

    .koufo-search-input-wrap button:hover {
        background: #ff4ba8;
    }

.koufo-search-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
}

    .koufo-search-tags > span {
        color: #777;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.5px;
        margin-right: 8px;
    }

    .koufo-search-tags button {
        border: 1px solid #444;
        background: transparent;
        color: #c6ff35;
        border-radius: 25px;
        padding: 9px 13px;
        font-size: 11px;
        font-weight: 800;
        cursor: pointer;
        transition: .2s;
    }

        .koufo-search-tags button:hover {
            background: #c6ff35;
            color: #111;
            border-color: #c6ff35;
        }

.koufo-search-results {
    margin-top: 32px;
    border-top: 1px solid #333;
    padding-top: 25px;
    min-height: 130px;
}
.koufo-search-result img{
    width:20% !important;
}
.koufo-search-empty {
    text-align: center;
    padding: 15px 0;
}

    .koufo-search-empty span {
        display: block;
        font-size: 35px;
        color: #ff4ba8;
        margin-bottom: 10px;
    }

    .koufo-search-empty p {
        color: #888;
        font-size: 14px;
    }

.koufo-search-footer {
    display: flex;
    justify-content: space-between;
    padding: 18px 35px;
    border-top: 1px solid #292929;
    color: #666;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* Search result cards */

.koufo-search-result {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #292929;
    text-decoration: none;
    color: #fff;
}

    .koufo-search-result:hover .koufo-search-result-title {
        color: #c6ff35;
    }

    .koufo-search-result img {
        width: 85px;
        height: 65px;
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
    }

.koufo-search-result-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    transition: color .2s;
}

.koufo-search-result-category {
    display: block;
    color: #ff4ba8;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
}

body.koufo-search-locked {
    overflow: hidden;
}

@media (max-width: 600px) {
    .koufo-search-overlay {
        padding: 0;
    }

    .koufo-search-panel {
        min-height: 100dvh;
        border-radius: 0;
    }

    .koufo-search-top {
        padding: 20px;
    }

    .koufo-search-content {
        padding: 35px 22px;
    }

        .koufo-search-content h2 {
            letter-spacing: -1px;
        }

    .koufo-search-input-wrap input {
        font-size: 16px;
    }

    .koufo-search-footer {
        padding: 18px 20px;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .koufo-search-overlay,
    .koufo-search-panel {
        transition: none;
    }
}


/* KOUFO SEARCH — FINAL POLISH */

.koufo-search-result {
    position: relative;
    border-radius: 12px;
    padding: 13px 12px;
    margin: 0 -12px;
    transition: background .2s ease, transform .2s ease;
}

    .koufo-search-result:hover,
    .koufo-search-result:focus-visible {
        background: #202020;
        transform: translateX(5px);
        outline: none;
    }

        .koufo-search-result:hover .koufo-search-result-title,
        .koufo-search-result:focus-visible .koufo-search-result-title {
            color: #c6ff35;
        }

    .koufo-search-result img {
        width: 100px;
        height: 75px;
        border-radius: 10px;
        object-fit: cover;
        transition: transform .25s ease;
    }

    .koufo-search-result:hover img {
        transform: scale(1.04);
    }

    .koufo-search-result::after {
        content: "↗";
        margin-left: auto;
        color: #ff4ba8;
        font-size: 24px;
        flex-shrink: 0;
        opacity: 0;
        transform: translate(-5px, 5px);
        transition: .2s ease;
    }

    .koufo-search-result:hover::after,
    .koufo-search-result:focus-visible::after {
        opacity: 1;
        transform: translate(0, 0);
    }

/* Loading indicator */

.koufo-search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 30px 15px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
}

.koufo-search-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid #333;
    border-top-color: #c6ff35;
    border-right-color: #ff4ba8;
    border-radius: 50%;
    animation: koufoSpin .75s linear infinite;
}

@keyframes koufoSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty and error states */

.koufo-search-state {
    text-align: center;
    padding: 30px 15px;
}

.koufo-search-state-icon {
    display: block;
    font-size: 38px;
    color: #ff4ba8;
    margin-bottom: 12px;
}

.koufo-search-state-title {
    display: block;
    color: #fff;
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 8px;
}

.koufo-search-state-text {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

/* Results counter */

.koufo-search-count {
    color: #c6ff35;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

/* Mobile */

@media (max-width: 600px) {
    .koufo-search-result img {
        width: 78px;
        height: 65px;
    }

    .koufo-search-result-title {
        font-size: 14px;
    }

    .koufo-search-result::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .koufo-search-spinner {
        animation: none;
    }

    .koufo-search-result,
    .koufo-search-result img,
    .koufo-search-result::after {
        transition: none;
    }
}


/* ======================================
   KOUFO CATEGORY PAGINATION
====================================== */

.category-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 55px 0 10px;
}

    .category-pagination a,
    .category-pagination .pagination-dots {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        height: 44px;
        padding: 0 12px;
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
        color: #111;
        border: 1px solid #ddd;
        background: #fff;
        transition: background .2s ease, color .2s ease, border-color .2s ease;
    }

        .category-pagination a:hover {
            background: #111;
            border-color: #111;
            color: #c6ff35;
        }

    .category-pagination .pagination-number.active {
        background: #c6ff35;
        border-color: #c6ff35;
        color: #111;
        min-width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .category-pagination .pagination-arrow {
        font-size: 20px;
    }

        .category-pagination .pagination-arrow.is-disabled {
            opacity: .35;
            pointer-events: none;
        }

    .category-pagination .pagination-dots {
        border: 0;
        background: transparent;
        min-width: 25px;
    }

@media (max-width: 600px) {
    .category-pagination {
        gap: 6px;
        margin-top: 35px;
    }

        .category-pagination a {
            min-width: 38px;
            height: 40px;
            padding: 0 9px;
            font-size: 13px;
        }
}



.tag-empty {
    padding: 90px 0 120px;
    text-align: center;
}

.tag-empty-content {
    max-width: 760px;
    margin: 0 auto;
}

.tag-empty-icon {
    font-size: 64px;
    margin-bottom: 25px;
}

.tag-empty-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 22px;
    opacity: .55;
}

.tag-empty-title {
    font-size: clamp(38px, 6vw, 78px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 0 0 28px;
}

    .tag-empty-title span {
        color: #ff4bb8;
    }

.tag-empty-description {
    max-width: 480px;
    margin: 0 auto 35px;
    font-size: 17px;
    line-height: 1.8;
    color: #666;
}

.tag-empty-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    background: #d9ff3f;
    color: #fff;
    padding: 17px 25px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all .2s ease;
}

    .tag-empty-button:hover {
        background: #ff4bb8;
        color: #fff;
    }

    .tag-empty-button span {
        font-size: 20px;
    }

@media (max-width: 768px) {
    .tag-empty {
        padding: 65px 0 85px;
    }

    .tag-empty-title {
        letter-spacing: -1px;
    }

    .tag-empty-description {
        font-size: 15px;
    }
}
