/* ═══════════════════════════════════════════════════════════
   YOURS2READ — Main Stylesheet v2.1 (Designer Update)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,800;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── DESIGN TOKENS ── */
:root {
    --white: #FFFFFF;
    --bg: #F8F6F2;
    --bg2: #F0EDE7;
    --ink: #1A1916;
    --ink2: #3D3A35;
    --ink3: #7A7469;
    --rule: #E4DED5;
    --green: #4276E1;
    --green-lt: #E0EAFF;
    --green-dk: #1A1916;
    --red: #B83232;
    --red-lt: #FAEAEA;
    --gold: #C8850C;
    --gold-lt: #FEF4DC;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(26,25,22,.08);
    --shadow-md: 0 8px 40px rgba(26,25,22,.12);
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif!important;
}
html {
    scroll-behavior: smooth;
}
a {
    text-transform: capitalize;
}
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}


/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(248,246,242,.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rule);
    padding: 5px;
    transition: box-shadow .3s;
}

    .site-nav.scrolled {
        box-shadow: var(--shadow);
    }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .nav-logo img {
        height: 40px;
        width: auto;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}

    .nav-links a {
        font-size: .85rem;
        font-weight: 500;
        color: var(--ink2);
        padding: 6px 12px;
        border-radius: 8px;
        transition: background .2s, color .2s;
    }

        .nav-links a:hover {
            background: var(--bg2);
            color: var(--green);
        }

    .nav-links .has-dd {
        position: relative;
    }

        .nav-links .has-dd:hover .dd {
            display: block;
        }

.dd {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px;
    min-width: 190px;
    z-index: 999;
    animation: ddIn .18s ease;

}
.colm-3 {
    columns: 3;
}




@keyframes ddIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dd a {
    display: block;
    font-size: .82rem;
    color: var(--ink2);
    padding: 7px 12px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

    .dd a:hover {
        background: var(--green-lt);
        color: var(--green);
    }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-ghost-sm {
    font-size: .83rem;
    font-weight: 500;
    color: var(--ink2);
    padding: 7px 16px;
    border: 1.5px solid var(--rule);
    border-radius: 50px;
    transition: border-color .2s, color .2s;
}

    .btn-ghost-sm:hover {
        border-color: var(--green);
        color: var(--green);
    }

.btn-green-sm {
    font-size: .83rem;
    font-weight: 600;
    color: #fff;
    background: var(--green);
    padding: 8px 18px;
    border-radius: 50px;
    transition: background .2s;
    white-space: nowrap;
}

    .btn-green-sm:hover {
        background: var(--green-dk);
        color: #fff;
    }

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

    .nav-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--ink);
        border-radius: 2px;
        transition: transform .3s, opacity .3s;
    }

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--rule);
    padding: 12px 0 20px;
    box-shadow: var(--shadow-md);
}

    .nav-mobile-menu.open {
        display: flex;
    }

    .nav-mobile-menu a {
        font-size: .9rem;
        font-weight: 500;
        color: var(--ink2);
        padding: 11px 24px;
        border-bottom: 1px solid var(--rule);
        transition: color .15s;
    }

        .nav-mobile-menu a:last-child {
            border-bottom: none;
        }

        .nav-mobile-menu a:hover {
            color: var(--green);
        }

.nav-mobile-actions {
    display: flex;
    gap: 10px;
    padding: 14px 24px 0;
}

    .nav-mobile-actions a {
        flex: 1;
        text-align: center;
    }

/* African side tab */
/*.side-tab {
    position: fixed;
    right: 0;
    top: 28%;
    background: var(--gold);
    color: #fff;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 18px 11px;
    border-radius: 0 0 12px 12px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    z-index: 400;
    cursor: pointer;
    transition: background .2s;
    box-shadow: var(--shadow);
}

    .side-tab:hover {
        background: #a06a08;
    }

    .side-tab a {
        color: inherit;
    }*/
.side-tab {
    position: fixed;
    right: 0;
    top: 28%;
    background: var(--gold);
    color: #fff;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 18px 11px;
    border-radius: 0 0 12px 12px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    z-index: 400;
    transition: background .2s;
    box-shadow: var(--shadow);
    white-space: nowrap;
    display: inline-block;
}

    .side-tab:hover {
        background: #a06a08;
        cursor: pointer;
    }

    .side-tab a {
        color: inherit;
        text-decoration: none;
        writing-mode: inherit;
        position: relative;
    }

        .side-tab a::before {
            content: "";
            position: absolute;
            top: -18px; 
            left: -11px;
            right: -11px;
            bottom: -18px;
            z-index: 1;
        }
/* ═══════════════════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════════════════ */
.loader-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.48);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-img img {
    width: 52px;
    height: 52px;
}


/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
    padding: 72px 0 60px;
    background: var(--white);
    /*border-bottom: 1px solid var(--rule);*/
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -120px;
        right: -120px;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, var(--green-lt) 0%, transparent 70%);
        pointer-events: none;
        opacity: .45;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--green-lt);
    color: var(--green);
    border: 1px solid rgba(66,118,225,.25);
    border-radius: 50px;
        padding: 5px 14px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

    .hero-badge i {
        font-size: .7rem;
    }

.hero-h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--ink);
    margin-bottom: 20px;
}

    .hero-h1 em {
        font-style: italic;
        font-weight: 600;
        color: var(--green);
    }

.hero-sub {
    font-size: 1.05rem;
    color: var(--ink3);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}

/* CTA buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: .92rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(66,118,225,.35);
    text-transform: none !important;
}

    .btn-hero-primary:hover {
        background: var(--green-dk);
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(66,118,225,.4);
        color: #fff;
    }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 24px;
    border: 1.5px solid var(--rule);
    border-radius: 10px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink2);
    transition: border-color .2s, color .2s;
    text-transform: none !important;
}

    .btn-hero-secondary:hover {
        border-color: var(--green);
        color: var(--green);
    }

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
}

.stat-n {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}

.stat-l {
    font-size: .75rem;
    color: var(--ink3);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* Hero visual */
.hero-visual {
    position: relative;
}

.hero-video-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    aspect-ratio: 16/11;
}

    .hero-video-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Floating cards */
.float-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 10px 14px;
    box-shadow: var(--shadow);
    font-size: .78rem;
    z-index: 2;
    animation: floatBob 4s ease-in-out infinite alternate;
}

@keyframes floatBob {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-7px);
    }
}

.float-card.top-right {
    top: -18px;
    right: -18px;
}

.float-card.bot-left {
    bottom: -18px;
    left: -18px;
}

.float-card .fc-label {
    font-size: .68rem;
    color: var(--ink3);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.float-card .fc-val {
    font-weight: 700;
    color: var(--ink);
    font-size: .92rem;
}

.fc-stars {
    color: var(--gold);
    letter-spacing: 1px;
    font-size: .72rem;
}


/* ═══════════════════════════════════════════════════════════
   AI STRIP
   ═══════════════════════════════════════════════════════════ */
.immersive-strip {
    background: var(--green);
    padding: 14px 0;
}

.strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .strip-inner span {
        color: rgba(255,255,255,.75);
        font-size: .83rem;
    }

    .strip-inner strong {
        color: #fff;
        font-size: .85rem;
    }

.strip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: .78rem;
    color: #fff;
    font-weight: 500;
}
.ticker-strip {
    overflow: hidden;
    position: relative;
}

.ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    gap: 40px;
    align-items: center;
    will-change: transform;
    display: flex;
    width: max-content;
}


.ticker-item {
    color: #fff;
    font-size: 0.85rem;
    white-space: nowrap;
    padding-right: 20px;
    position: relative;
}

    /* separator dot */
    .ticker-item::after {
        content: "";
        margin-left: 20px;
        color: rgba(255,255,255,0.5);
    }

    /* remove last dot */
    .ticker-item:last-child::after {
        content: "";
    }
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.immersive-strip {
    /*background: linear-gradient( 90deg, #00c6ff, #0072ff, #7b2ff7, #f107a3, #ff7a18 );*/
    /* background: linear-gradient(90deg, #141e30, #243b55, #3a6073);*/
    background: linear-gradient(90deg, #00f260, #0575e6, #7f00ff, #e100ff);
    background-size: 300% 100%;
    animation: gradientMove 8s linear infinite;
    padding: 14px 0;
}



/* ═══════════════════════════════════════════════════════════
   SECTION HELPERS
   ═══════════════════════════════════════════════════════════ */
.sec-kicker {
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink3);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

    .sec-kicker::before {
        content: '';
        width: 24px;
        height: 2px;
        background: var(--green);
        border-radius: 2px;
        display: inline-block;
    }

.sec-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--ink);
    margin-bottom: 14px;
}

    .sec-title em {
        font-style: italic;
        font-weight: 600;
        color: var(--green);
    }

.sec-sub {
    font-size: .95rem;
    color: var(--ink3);
    line-height: 1.8;
    max-width: 520px;
}


/* ═══════════════════════════════════════════════════════════
   AI TOOLS
   ═══════════════════════════════════════════════════════════ */
.ai-section {
    padding: 80px 0;
    background: var(--white);
}

.ai-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}

    .ai-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.ai-card-visual {
    height: 140px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ai-card-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .ai-card-visual .visual-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,.25);
    }

    .ai-card-visual .ai-icon-lg {
        width: 52px;
        height: 52px;
        border-radius: var(--radius);
        background: rgba(255,255,255,.9);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        box-shadow: 0 4px 16px rgba(0,0,0,.15);
    }

.ai-card-body {
    padding: 20px;
}

.ai-icon-sm {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    margin-bottom: 12px;
    flex-shrink: 0;
}

    .ai-icon-sm.green {
        background: var(--green-lt);
        color: var(--green);
    }

    .ai-icon-sm.red {
        background: var(--red-lt);
        color: var(--red);
    }

    .ai-icon-sm.gold {
        background: var(--gold-lt);
        color: var(--gold);
    }

    .ai-icon-sm.purple {
        background: #F0EAFC;
        color: #6B21A8;
    }

    .ai-icon-sm.blue {
        background: #EAF3FC;
        color: #1D6FA4;
    }

    .ai-icon-sm.teal {
        background: #E5F7F5;
        color: #0F766E;
    }

.ai-card-body h4 {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.ai-card-body p {
    font-size: .83rem;
    color: var(--ink3);
    line-height: 1.7;
    margin-bottom: 0;
    text-transform: none !important;
}

.ai-tag {
    display: inline-block;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 50px;
    padding: 2px 10px;
    font-size: .68rem;
    color: var(--ink3);
    margin-top: 10px;
    margin-right: 4px;
}

.page-header {
    background: linear-gradient(135deg,#5D94FF 0%,#313b66 50%,#323C66 100%);
    border-bottom: 1px solid var(--rule);
    padding: 48px 0 36px;
    
}

.breadcrumb-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: var(--ink3);
    margin-bottom: 16px
}

    .breadcrumb-row a {
        color: var(--ink3);
        transition: .2s
    }

        .breadcrumb-row a:hover {
            color: var(--green)
        }

    .breadcrumb-row i {
        font-size: .65rem
    }

.page-h1 {
    font-family: var(--serif);
    font-size: clamp(1.9rem,4vw,2.8rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.15
}

.page-sub {
    font-size: .95rem;
    color: #ffffff;
    line-height: 1.7
}

/* ═══════════════════════════════════════════════════════════
   IMMERSIVE STORIES
   ═══════════════════════════════════════════════════════════ */
.immersive-section {
    padding: 80px 0;
    background: var(--white);
}

.immersive-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
}

    .immersive-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .immersive-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
        transition: transform .4s;
    }

    .immersive-card:hover img {
        transform: scale(1.04);
    }

    .immersive-card .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(15,12,8,.75) 40%, transparent 100%);
    }

    .immersive-card .play-sm {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -60%);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255,255,255,.9);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .3s;
    }

    .immersive-card:hover .play-sm {
        transform: translate(-50%, -60%) scale(1.1);
        background: #fff;
    }

.play-sm i {
    color: var(--green);
    font-size: .95rem;
    margin-left: 3px;
}

.immersive-card .card-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
}

    .immersive-card .card-meta .genre {
        font-size: .68rem;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: rgba(255,255,255,.65);
        margin-bottom: 5px;
    }

    .immersive-card .card-meta h4 {
        font-family: var(--serif);
        font-size: 1rem;
        font-weight: 700;
        color: #fff;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .immersive-card .card-meta .read-watch {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: .75rem;
        color: rgba(255,255,255,.8);
        font-weight: 500;
    }

        .immersive-card .card-meta .read-watch i {
            font-size: .7rem;
        }


/* ═══════════════════════════════════════════════════════════
   FEATURED STORIES
   ═══════════════════════════════════════════════════════════ */
.stories-section {
    padding: 80px 0;
    background: var(--bg);
}

.story-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow:hidden;
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s;
    /*display: flex;
    flex-direction: row;*/
    margin-bottom: 20px;

}

    .story-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
    }

.story-card-img {
    position: relative;
    overflow: hidden;
}

    .story-card-img img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
        transition: transform .4s;
        border-radius: 20px 20px 0px 0px;
    }

.story-card:hover .story-card-img img {
    transform: scale(1.05);
    
}
.story-card:hover img {
    border-radius: 20px 20px 0px 0px;
}

.story-card-img .genre-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 3px 11px;
    font-size: .68rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: .04em;
    text-transform: capitalize;
    border: 1px solid #5392fb;
}

.story-card-body {
    padding: 20px;
}

.story-author {
    font-size: .75rem;
    color: var(--ink3);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform:capitalize;
}

    .story-author i {
        font-size: .7rem;
    }

.story-author-row {
    font-size: .73rem;
    color: var(--ink3);
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: capitalize;
}
.story-card-body h3 {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 8px;
    text-transform: capitalize;
    height: 50px;
}

.story-card-body p {
    font-size: .83rem;
    color: var(--ink3);
    line-height: 1.3;
    margin-bottom: 16px;
    height: 40px;
}

.story-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

    .story-foot .meta {
        font-size: 14px;
        color: var(--ink3);
        display: flex;
        align-items: center;
        gap: 10px;
        
    }

        .story-foot .meta span {
            display: flex;
            align-items: center;
            gap: 4px;
            font-family: var(--sans) !important;
        }

.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-lt);
    border-radius: 50px;
    padding: 6px 14px;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

    .btn-read:hover {
        background: var(--green);
        color: #fff;
    }

.story-card-lg .story-card-img img {
    height: 264px;
}

.story-card-lg .story-card-body h3 {
    font-size: 1.35rem;
}


/* ═══════════════════════════════════════════════════════════
   STORY CATEGORIES  (NEW)
   ═══════════════════════════════════════════════════════════ */
.categories-section {
    padding: 64px 0;
    background: var(--bg2);
}

.cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cat-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--rule);
    border-radius: 50px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all .22s;
    font-size: .85rem;
    font-weight: 500;
    color: var(--ink2);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(26,25,22,.05);
}

    .cat-pill-item:hover {
        border-color: var(--green);
        color: var(--green);
        background: var(--green-lt);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(66,118,225,.14);
    }

    .cat-pill-item .pill-icon {
        font-size: 1rem;
        line-height: 1;
    }

    .cat-pill-item .pill-count {
        font-size: .72rem;
        color: var(--ink3);
        font-weight: 400;
        margin-left: 2px;
    }

    .cat-pill-item.hot {
        border-color: #E8B4B4;
        background: var(--red-lt);
        color: var(--red);
    }

        .cat-pill-item.hot:hover {
            border-color: var(--red);
        }

    .cat-pill-item.trending {
        border-color: #C8D9F0;
        background: #EAF3FC;
        color: #1D6FA4;
    }

        .cat-pill-item.trending:hover {
            border-color: #1D6FA4;
        }


/* ═══════════════════════════════════════════════════════════
   AUTHOR OF THE MONTH  (NEW)
   ═══════════════════════════════════════════════════════════ */
.author-section {
    padding: 72px 0;
    background: var(--white);
}

.aotm-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}

    .aotm-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 48px rgba(26,25,22,.14);
    }

.aotm-hero-img {
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .aotm-hero-img img {
        
        max-height: 280px;
        object-fit: cover;
        transition: transform .4s;
    }

.aotm-card:hover .aotm-hero-img img {
    transform: scale(1.04);
}

.aotm-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    border-radius: 50px;
    padding: 5px 14px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

    .aotm-badge.this-month {
        background: var(--gold);
        color: #fff;
    }

    .aotm-badge.prev-month {
        background: rgba(30,30,30,.7);
        backdrop-filter: blur(6px);
        color: rgba(255,255,255,.85);
        border: 1px solid rgba(255,255,255,.2);
    }

.aotm-body {
    padding: 22px;
}

.aotm-name {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.2;
}
    .aotm-name a {
        font-family: var(--serif);
        color: var(--ink);
        text-transform: capitalize;
    }
    .aotm-name a:hover {
        
        color: var(--ink);
    }

    .aotm-genre {
        font-size: .75rem;
        font-weight: 600;
        color: var(--green);
        letter-spacing: .06em;
        text-transform: uppercase;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .aotm-genre::before {
        content: '';
        width: 14px;
        height: 2px;
        background: var(--green);
        border-radius: 2px;
        display: inline-block;
    }

.aotm-bio {
    font-size: .84rem;
    color: var(--ink3);
    line-height: 1.75;
    margin-bottom: 16px;
}

.aotm-stats {
    display: flex;
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    margin-bottom: 16px;
    align-items: center;
    justify-content: space-between;
}

.aotm-stat .n {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}

.aotm-stat .l {
    font-size: .68rem;
    color: var(--ink3);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: 2px;
}

.aotm-quote {
    background: var(--green-lt);
    border-left: 3px solid var(--green);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 12px 14px;
    font-family: var(--serif);
    font-style: italic;
    font-size: .88rem;
    color: var(--ink2);
    line-height: 1.6;
    margin-bottom: 16px;
}

.btn-follow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--green);
    color: #fff;
    border-radius: 50px;
    padding: 9px 20px;
    font-size: .83rem;
    font-weight: 600;
    transition: .2s;
}

    .btn-follow:hover {
        background: var(--green-dk);
        color: #fff;
        transform: translateY(-1px);
    }

.btn-stories {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--green);
    border: 1.5px solid var(--green-lt);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: .83rem;
    font-weight: 500;
    transition: .2s;
}

    .btn-stories:hover {
        border-color: var(--green);
        background: var(--green-lt);
    }


/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */
.how-section {
    background: var(--white);
    padding: 72px 0;
}

.how-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform .3s, box-shadow .3s;
}

    .how-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.how-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--green-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--green);
    margin: 0 auto 14px;
}

.how-num {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--green-lt);
    line-height: 1;
    margin-bottom: 12px;
    transition: color .3s;
}

.how-card:hover .how-num {
    color: var(--green);
}

.how-card h5 {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.how-card p {
    font-size: .84rem;
    color: var(--ink3);
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testi-section {
    padding: 72px 0;
    background: var(--bg2);
    border-top: 1px solid var(--rule);
}

.testi-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    height: 100%;
}

.testi-stars {
    color: var(--gold);
    font-size: .78rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.testi-card blockquote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--ink2);
    line-height: 1.7;
    margin-bottom: 16px;
    border: none;
    padding: 0;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testi-av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--rule);
}

.testi-av-init {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--green-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .82rem;
    color: var(--green);
    flex-shrink: 0;
}

.testi-name {
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
}

.testi-role {
    font-size: .75rem;
    color: var(--ink3);
}


/* ═══════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════ */
.cta-section {
    padding: 90px 0;
    background: var(--white);
}

.cta-box {
    background: var(--green);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-box::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle,rgba(255,255,255,.08),transparent 70%);
        top: -200px;
        right: -150px;
        pointer-events: none;
    }

    .cta-box::after {
        content: '';
        position: absolute;
        width: 350px;
        height: 350px;
        background: radial-gradient(circle,rgba(255,255,255,.06),transparent 70%);
        bottom: -150px;
        left: -80px;
        pointer-events: none;
    }

    .cta-box > * {
        position: relative;
        z-index: 1;
    }

    .cta-box .sec-kicker {
        justify-content: center;
        color: rgba(255,255,255,.55);
    }

        .cta-box .sec-kicker::before {
            background: rgba(255,255,255,.4);
        }

    .cta-box h2 {
        font-family: var(--serif);
        font-size: clamp(2rem,5vw,3.2rem);
        font-weight: 800;
        color: #fff;
        letter-spacing: -.03em;
        line-height: 1.1;
        margin-bottom: 16px;
    }

        .cta-box h2 em {
            font-style: italic;
            font-weight: 400;
            color: rgba(255,255,255,.75);
        }

    .cta-box p {
        font-size: .98rem;
        color: rgba(255,255,255,.7);
        max-width: 460px;
        margin: 0 auto 36px;
        line-height: 1.8;
    }

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--green);
    border-radius: 50px;
    padding: 14px 30px;
    font-size: .92rem;
    font-weight: 700;
    transition: .2s;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

    .btn-white:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(0,0,0,.2);
        color: var(--green-dk);
    }

.btn-white-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255,255,255,.85);
    border: 1.5px solid rgba(255,255,255,.35);
    border-radius: 50px;
    padding: 13px 26px;
    font-size: .92rem;
    font-weight: 500;
    transition: .2s;
}

    .btn-white-ghost:hover {
        border-color: rgba(255,255,255,.7);
        color: #fff;
        transform: translateY(-2px);
    }

.proof-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.proof-text {
    font-size: .8rem;
    color: rgba(255,255,255,.65);
}

    .proof-text strong {
        color: #fff;
    }


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
    background: var(--ink);
    color: rgba(255,255,255,.5);
    padding: 60px 0 36px;
}

.footer-brand {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

    .footer-brand span {
        color: var(--green-lt);
    }

    .footer-brand .dot {
        color: var(--red);
    }

footer p {
    font-size: .83rem;
    line-height: 1.7;
    max-width: 280px;
}

footer h6 {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.3);
    margin-bottom: 14px;
    font-weight: 600;
}

footer a {
    display: block;
    font-size: .83rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 9px;
    transition: color .2s;
}

    footer a:hover {
        color: #fff;
    }

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

    .footer-social a {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        margin-bottom: 0;
        background: rgba(255,255,255,.08);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,.5);
        font-size: .9rem;
        transition: background .2s, color .2s;
    }

        .footer-social a:hover {
            background: rgba(255,255,255,.15);
            color: #fff;
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 44px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .77rem;
}

    .footer-bottom a {
        display: inline;
        margin: 0 8px 0 0;
    }


/* ═══════════════════════════════════════════════════════════
   MODALS (keep existing popup styles working)
   ═══════════════════════════════════════════════════════════ */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 80px rgba(26,25,22,.18);
    background: var(--bg);
}

.popup-head12 {
    border-bottom: 1px solid var(--rule);
    padding: 16px 20px 12px;
}
.pop-up-heading {
padding:1rem 1rem 0 1rem;
}
    .pop-up-heading p {
    margin-bottom:0px;
    }

    .popup-head11 {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1.3rem;
        color: var(--ink3);
    }

.pop-up-heading11 {
    text-align: center;
    padding: 18px 22px 0;
}

    .pop-up-heading11 h6 {
        font-family: var(--serif);
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--ink);
    }

    .pop-up-heading11 p {
        font-size: .85rem;
        color: var(--ink3);
    }

.ai-ticker {
    display: none;
}


/* ═══════════════════════════════════════════════════════════
   UTILITIES & ANIMATION
   ═══════════════════════════════════════════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

.d1 {
    transition-delay: .08s;
}

.d2 {
    transition-delay: .16s;
}

.d3 {
    transition-delay: .24s;
}

.d4 {
    transition-delay: .32s;
}

section {
    position: relative;
}

/* ═══════════════ NEW RELEASES ═══════════════ */
.new-releases-section {
    padding: 80px 0;
}

.release-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow:hidden;
    box-shadow: var(--shadow);
    transition: transform .3s,box-shadow .3s;
    cursor: pointer;
    height: 100%
}

    .release-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md)
    }

.release-cover {
    position: relative;
    height: 170px;
    overflow: hidden
}

    .release-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s;
        border-radius: 20px 20px 0px 0px;
    }

.release-card:hover .release-cover img {
    transform: scale(1.06)
}

.release-cover .new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--green);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 3px 9px
}

.release-cover .genre-dot {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(6px);
    border-radius: 50px;
    padding: 2px 10px;
    font-size: .65rem;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid #5392fb;
}

.release-body {
    padding: 16px
}

.release-author {
    font-size: .7rem;
    color: var(--ink3);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 4px
}

.release-title {
    font-family: var(--serif);
    font-size: .98rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 8px
}

.release-desc {
    font-size: .78rem;
    color: var(--ink3);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height:40px;

}

.release-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding-bottom: 10px;
}

.release-date {
    font-size: 14px;
    color: var(--ink3);
    display: flex;
    align-items: center;
    gap: 10px;
    
}

.release-date  span{
    font-family: var(--sans) !important;
}

.btn-read-xs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-lt);
    border-radius: 50px;
    padding: 5px 13px;
    transition: .2s;
    white-space: nowrap
}

    .btn-read-xs:hover {
        background: var(--green);
        color: #fff
    }

/* ═══════════════ MOST READ STORIES ═══════════════ */
.most-read-section {
    padding: 80px 0;
    background: var(--white);
    /*border-top: 1px solid var(--rule);*/
}

/* Rank list — left column */
.rank-list {
    display: flex;
    flex-direction: column;
    gap: 0
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
    cursor: pointer;
    transition: background .2s
}

    .rank-item:last-child {
        border-bottom: none
    }

    .rank-item:hover .rank-title {
        color: var(--green)
    }

.rank-num {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 800;
    min-width: 36px;
    line-height: 1;
    flex-shrink: 0
}

    .rank-num.r1 {
        color: var(--gold)
    }

    .rank-num.r2 {
        color: #94A3B8
    }

    .rank-num.r3 {
        color: #C27D3A
    }

    .rank-num.rest {
        color: var(--rule)
    }

.rank-thumb {
    width: 124px;
    border-radius: 8px;
    
    flex-shrink: 0;
    box-shadow: var(--shadow)
}

.rank-info {
    flex: 1;
    min-width: 0
}

.rank-genre {
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--green);
    margin-bottom: 4px
}

.rank-title {
    font-family: var(--serif);
    font-size: .98rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 5px;
    transition: color .2s
}

.rank-author {
    font-size: .74rem;
    color: var(--ink3);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    text-transform:capitalize;
}

.rank-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .72rem;
    color: var(--ink3)
}

    .rank-stats span {
        display: flex;
        align-items: center;
        gap: 3px
    }

    .rank-stats .hot-tag {
        background: var(--red-lt);
        color: var(--red);
        border-radius: 50px;
        padding: 1px 8px;
        font-weight: 600;
        font-size: .65rem
    }

    .rank-stats .new-tag {
        background: var(--green-lt);
        color: var(--green);
        border-radius: 50px;
        padding: 1px 8px;
        font-weight: 600;
        font-size: .65rem
    }


/* Podium highlight card — right column */
.podium-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 100%;
    min-height: 480px
}

    .podium-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        position: absolute;
        inset: 0;
        transition: transform .5s
    }

    .podium-card:hover img {
        transform: scale(1.03)
    }

.podium-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(15,10,5,.92) 45%,rgba(15,10,5,.25) 100%)
}

.podium-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px
}

.podium-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--gold);
    color: #fff;
    border-radius: 50px;
    padding: 4px 14px;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: .05em
}

.podium-title {
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px
}

.podium-author {
    font-size: .8rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px
}

.podium-excerpt {
    font-size: .83rem;
    color: rgba(255,255,255,.6);
    line-height: 1.65;
    margin-bottom: 18px;
    font-style: italic
}

.podium-meta {
    display: flex;
    gap: 14px;
    margin-bottom: 18px
}

    .podium-meta span {
        font-size: .75rem;
        color: rgba(255,255,255,.6);
        display: flex;
        align-items: center;
        gap: 5px
    }

        .podium-meta span strong {
            color: #fff;
            font-weight: 600
        }

.btn-read-white {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: var(--ink);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: .83rem;
    font-weight: 700;
    transition: .2s
}

    .btn-read-white:hover {
        background: var(--green);
        color: #fff;
        transform: translateY(-2px)
    }
/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .nav-links, .nav-links .has-dd {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero {
        padding: 48px 0 40px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .float-card {
        display: none;
    }

    .immersive-card img {
        height: 180px;
    }

    .aotm-hero-img img {
        width: 70%;
    }
}

@media (max-width: 767px) {
    .hero-stats {
        gap: 20px;
    }

    .cat-pills {
        gap: 8px;
    }

    .aotm-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .prompt-row {
        flex-direction: column;
    }

    .btn-hero-primary, .btn-hero-secondary {
        justify-content: center;
        width: 100%;
    }

    .cta-box .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .aotm-hero-img img {
        width: 100%;
    }
   
    
}

.share-box {
position:relative;
}


.share-social-icon {
    position: absolute;
    background: #FFF;
    left: 0px;
    margin-top: 0px;
    border: 1px solid #bdbdbd;
    z-index: 9;
    width: 92px;
    top: 15px;
    border-radius: 5px;
}
    .share-social-icon ul {
        list-style: none;
        display: flex;
        justify-content: space-between;
        margin-bottom: 0px;
        padding: 2px 8px;
    }
        .share-social-icon ul li {
            line-height: 20px;
        }


/*fdfdddfdfsdf__---------------------------------------------------------------------------------------------------------------------------------------------------*/


/*Story Listing page*/

/* ── FILTER BAR ── */
.filter-bar {
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    padding: 16px 0;
    position: sticky;
    top: 64px;
    z-index: 100
}

.filter-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    
}

.filter-search {
    flex: 1;
    min-width: 25%;
    position: relative
}

    .filter-search i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--ink3);
        font-size: .85rem;
        pointer-events: none
    }

    .filter-search input {
        width: 100%;
        padding: 9px 12px 9px 36px;
        border: 1.5px solid var(--rule);
        border-radius: 50px;
        font-size: .85rem;
        color: var(--ink);
        font-family: var(--sans);
        background: #fff;
        outline: none;
        transition: .2s
    }

        .filter-search input:focus {
            border-color: var(--green)
        }

.filter-select {
    padding: 9px 14px;
    border: 1.5px solid var(--rule);
    border-radius: 50px;
    font-size: .83rem;
    color: var(--ink2);
    font-family: var(--sans);
    background: #fff;
    outline: none;
    cursor: pointer;
    transition: .2s;
    appearance: none;
    padding-right: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237A7469'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center
}

    .filter-select:focus {
        border-color: var(--green)
    }

.filter-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center
}

.fpill {
        
    gap: 5px;
    padding: 9px 14px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 500;
    border: 1.5px solid var(--rule);
    color: var(--ink2);
    background: #fff;
    cursor: pointer;
    transition: .22s;
    white-space: nowrap;
}

.btn-search {
    background: #4276e1;
    border-color: #4276e1;
}

.lst-out {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .fpill:hover, .fpill.active {
        background: var(--green);
        color: #fff;
        border-color: var(--green)
    }

.filter-count {
    font-size: .78rem;
    color: var(--ink3);
    white-space: nowrap;
    margin-left: auto
}

/* ── LAYOUT ── */
.listing-layout {
    padding: 40px 0 80px
}

.sidebar {
    position: sticky;
    top: 130px
}

/* ── SIDEBAR ── */
.sidebar-box {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow)
}

    .sidebar-box h6 {
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: #58544b;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 7px
    }

        .sidebar-box h6::before {
            content: '';
            width: 16px;
            height: 2px;
            background: var(--green);
            border-radius: 2px;
            display: inline-block
        }

.genre-list {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.genre-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: .84rem;
    color: var(--ink2);
    cursor: pointer;
    transition: .18s
}

    .genre-link:hover, .genre-link.active {
        background: var(--green-lt);
        color: var(--green)
    }

    .genre-link .gc {
        font-size: .72rem;
        color: var(--ink3);
        background: var(--bg2);
        border-radius: 50px;
        padding: 1px 8px
    }

    .genre-link.active .gc {
        background: rgba(42,96,73,.15);
        color: var(--green)
    }

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule)
}

    .trending-item:last-child {
        border-bottom: none;
        padding-bottom: 0
    }

.trending-num {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--rule);
    min-width: 22px;
    line-height: 1;
    flex-shrink: 0
}

    .trending-num.t1 {
        color: var(--gold)
    }

    .trending-num.t2 {
        color: #94A3B8
    }

    .trending-num.t3 {
        color: #C27D3A
    }

.trending-title {
    font-family: var(--serif);
    font-size: .84rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 3px
}

.trending-meta {
    font-size: .7rem;
    color: var(--ink3)
}

/*Story lits*/
.story-list-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    gap: 0;
    transition: transform .3s,box-shadow .3s;
    margin-bottom: 14px
}

    .story-list-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md)
    }

.slc-img {
    width: 140px;
    flex-shrink: 0;
    overflow: hidden
}

    .slc-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s
    }

.story-list-card:hover .slc-img img {
    transform: scale(1.05)
}

.slc-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.slc-genre {
    font-size: .67rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--green);
    margin-bottom: 5px
}

.slc-title {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 5px
}

.slc-author {
    font-size: .75rem;
    color: var(--ink3);
    margin-bottom: 8px
}

.slc-desc {
    font-size: .81rem;
    color: var(--ink3);
    line-height: 1.65;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.slc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.slc-stats {
    font-size: .71rem;
    color: var(--ink3);
    display: flex;
    gap: 10px
}

    .slc-stats span {
        display: flex;
        align-items: center;
        gap: 3px
    }

.slc-ai-tags {
    display: flex;
    gap: 5px
}

.slc-ai-tag {
    font-size: .64rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 3px
}

    .slc-ai-tag.audio {
        background: #E5F7F5;
        color: #0F766E
    }

    .slc-ai-tag.image {
        background: #F0EAFC;
        color: #6B21A8
    }

    .slc-ai-tag.video {
        background: var(--red-lt);
        color: var(--red)
    }

/* ── VIEW TOGGLE ── */
.view-toggle {
    display: flex;
    gap: 4px
}

.vt-btn {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--rule);
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
    color: var(--ink3)
}

    .vt-btn:hover, .vt-btn.active {
        background: var(--green);
        border-color: var(--green);
        color: #fff
    }

/* ── PAGINATION ── */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px
}

.pg-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    border: 1.5px solid var(--rule);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .83rem;
    font-weight: 600;
    color: var(--ink2);
    cursor: pointer;
    transition: .2s
}

    .pg-btn:hover, .pg-btn.active {
        background: var(--green);
        border-color: var(--green);
        color: #fff
    }

    .pg-btn.dots {
        border: none;
        background: none;
        cursor: default;
        color: var(--ink3)
    }
/*Story Listing page*/

/*Story Detailpage*/
/* ── STORY HERO ── */
.story-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden
}

.story-hero-bg {
    position: absolute;
    inset: 0
}

    .story-hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block
    }

    .story-hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top,rgba(15,10,5,.92) 40%,rgba(15,10,5,.35) 100%)
    }

.story-hero-body {
    position: relative;
    z-index: 1;
    padding: 48px 0 52px;
    width: 100%
}

.breadcrumb-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 18px
}

    .breadcrumb-row a {
        color: rgba(255,255,255,.55);
        transition: .2s
    }

        .breadcrumb-row a:hover {
            color: #fff
        }

    .breadcrumb-row i {
        font-size: .65rem
    }

.story-genre-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green);
    color: #fff;
    border-radius: 50px;
    padding: 4px 14px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 16px
}

.story-hero-title {
    font-family: var(--serif);
    font-size: clamp(2rem,6vw,3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 14px
}

    .story-hero-title em {
        font-style: italic;
        font-weight: 400;
        color: rgba(255,255,255,.75)
    }

.story-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px
}

    .story-hero-meta span {
        font-size: .82rem;
        color: rgba(255,255,255,.65);
        display: flex;
        align-items: center;
        gap: 5px
    }

    .story-hero-meta strong {
        color: #fff
    }

.story-hero-excerpt {
    font-family: var(--body-font);
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(255,255,255,.7);
    max-width: 680px;
    line-height: 1.75;
    margin-bottom: 24px
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.btn-read-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--green);
    border-radius: 50px;
    padding: 13px 28px;
    font-size: .92rem;
    font-weight: 700;
    transition: .2s;
    box-shadow: 0 4px 20px rgba(0,0,0,.2)
}

    .btn-read-now:hover {
        background: var(--green-lt);
        color: var(--green-dk);
        transform: translateY(-2px)
    }

.btn-audio-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 50px;
    padding: 12px 22px;
    font-size: .88rem;
    font-weight: 500;
    transition: .2s;
    backdrop-filter: blur(8px)
}

    .btn-audio-hero:hover {
        background: rgba(255,255,255,.2);
        color: #fff
    }

.btn-fav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.8);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 50px;
    padding: 11px 18px;
    font-size: .85rem;
    transition: .2s;
    backdrop-filter: blur(8px)
}

    .btn-fav:hover, .btn-fav.active {
        background: var(--red);
        border-color: var(--red);
        color: #fff
    }

/* ── AI FEATURES STRIP ── */
.ai-features-bar {
    background: var(--green-lt);
    border-bottom: 1px solid #A8D5C2;
    padding: 12px 0
}

.af-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.af-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--green-dk);
    cursor: pointer;
    transition: .2s;
    padding: 5px 12px;
    border-radius: 50px
}

    .af-item:hover {
        background: rgba(42,96,73,.12)
    }

    .af-item i {
        font-size: .95rem
    }

.af-divider {
    width: 1px;
    height: 20px;
    background: #A8D5C2;
    flex-shrink: 0
}

/* ── MAIN LAYOUT ── */
.story-main {
    padding: 48px 0 80px
}

.story-sidebar {
    position: sticky;
    top: 88px
}

/* ── READING TOOLBAR ── */
.reading-toolbar {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow)
}

.rt-title {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink3);
    margin-bottom: 12px
}

.rt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px
}

.rt-label {
    font-size: .78rem;
    color: var(--ink3)
}

.font-btns {
    display: flex;
    gap: 4px
}

.font-btn {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    border: 1.5px solid var(--rule);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink2);
    cursor: pointer;
    transition: .2s
}

    .font-btn:hover {
        border-color: var(--green);
        color: var(--green)
    }

.theme-btns {
    display: flex;
    gap: 4px
}

.theme-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--rule);
    cursor: pointer;
    transition: .2s
}

    .theme-btn:hover, .theme-btn.active {
        border-color: var(--green)
    }

    .theme-btn.light-t {
        background: #F8F6F2
    }

    .theme-btn.sepia-t {
        background: #F5EDDC
    }

    .theme-btn.dark-t {
        background: #1A1916
    }

.progress-bar-read {
    height: 4px;
    background: var(--rule);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 12px
}

.progress-fill {
    height: 100%;
    background: var(--green);
    border-radius: 2px;
    width: 0%;
    transition: width .3s
}

/* ── STORY INFO SIDEBAR CARD ── */
.story-info-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 16px
}

.sic-cover {
    height: 180px;
    overflow: hidden
}

    .sic-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block
    }

.sic-body {
    padding: 18px
}

.sic-stat-row {
    display: flex;
    gap: 0;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px
}

.sic-stat {
    flex: 1;
    padding: 10px 8px;
    text-align: center;
    border-right: 1px solid var(--rule)
}

    .sic-stat:last-child {
        border-right: none
    }

    .sic-stat .n {
        font-family: var(--serif);
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--ink);
        line-height: 1
    }

    .sic-stat .l {
        font-size: .65rem;
        color: var(--ink3);
        margin-top: 2px;
        text-transform: uppercase;
        letter-spacing: .05em
    }

.btn-read-now-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--green);
    color: #fff;
    border-radius: 50px;
    padding: 11px;
    font-size: .85rem;
    font-weight: 600;
    transition: .2s;
    margin-bottom: 8px
}

    .btn-read-now-sm:hover {
        background: var(--green-dk);
        color: #fff
    }

.btn-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--gold-lt);
    color: var(--gold);
    border: 1.5px solid #E8CA7A;
    border-radius: 50px;
    padding: 10px;
    font-size: .83rem;
    font-weight: 600;
    transition: .2s;
    margin-bottom: 14px
}

    .btn-tip:hover {
        background: var(--gold);
        color: #fff;
        border-color: var(--gold)
    }

.sic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.sic-tag {
    font-size: .68rem;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 50px;
    padding: 3px 10px;
    color: var(--ink3)
}

/* ── AUTHOR CARD ── */
.author-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 16px
}

.author-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px
}

.author-av {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--rule);
    flex-shrink: 0
}

.author-av-init {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--green);
    flex-shrink: 0
}

.author-name {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 3px
}

.author-genre {
    font-size: .73rem;
    color: var(--green);
    font-weight: 600
}

.author-bio-short {
    font-size: .8rem;
    color: var(--ink3);
    line-height: 1.65;
    margin-bottom: 12px
}

.author-stats {
    display: flex;
    gap: 14px;
    margin-bottom: 14px
}

    .author-stats .m {
        font-size: .72rem;
        color: var(--ink3);
        display: flex;
        align-items: center;
        gap: 4px
    }

        .author-stats .m strong {
            color: var(--ink);
            font-weight: 600
        }

.btn-follow-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--green-lt);
    color: var(--green);
    border: 1.5px solid #A8D5C2;
    border-radius: 50px;
    padding: 8px;
    font-size: .8rem;
    font-weight: 600;
    transition: .2s
}

    .btn-follow-sm:hover {
        background: var(--green);
        color: #fff;
        border-color: var(--green)
    }

/* ── STORY CONTENT ── */
.story-content-wrap {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    box-shadow: var(--shadow);
    margin-bottom: 20px
}

@media(max-width:575px) {
    .story-content-wrap {
        padding: 24px 20px
    }
}

.story-content {
    font-family: var(--body-font);
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--ink2)
}

    .story-content p {
        margin-bottom: 1.5em
    }

    .story-content h2 {
        font-family: var(--serif);
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--ink);
        margin: 2em 0 .8em
    }

    .story-content blockquote {
        border-left: 3px solid var(--green);
        padding: 12px 20px;
        margin: 1.5em 0;
        font-style: italic;
        color: var(--ink3);
        background: var(--bg);
        border-radius: 0 var(--radius) var(--radius) 0
    }

    .story-content .drop-cap::first-letter {
        font-family: var(--serif);
        font-size: 4.5rem;
        font-weight: 800;
        float: left;
        line-height: .75;
        margin: 0 12px 0 0;
        color: var(--green)
    }

.chapter-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 2.5em 0;
    color: var(--ink3);
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase
}

    .chapter-divider::before, .chapter-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--rule)
    }

/* ── AUDIO PLAYER ── */
.audio-player {
    background: var(--green-lt);
    border: 1px solid #A8D5C2;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    margin-bottom: 20px;
    display: none
}

    .audio-player.show {
        display: block
    }

.ap-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px
}

.ap-play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: .2s
}

    .ap-play:hover {
        background: var(--green-dk)
    }

    .ap-play i {
        font-size: 1rem;
        margin-left: 2px
    }

.ap-info {
    flex: 1
}

.ap-title {
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px
}

.ap-voice {
    font-size: .72rem;
    color: var(--ink3)
}

.ap-controls {
    display: flex;
    align-items: center;
    gap: 10px
}

.ap-bar-wrap {
    flex: 1;
    position: relative;
    height: 4px;
    background: rgba(42,96,73,.2);
    border-radius: 2px;
    cursor: pointer
}

.ap-fill {
    height: 100%;
    width: 35%;
    background: var(--green);
    border-radius: 2px;
    position: relative
}

    .ap-fill::after {
        content: '';
        position: absolute;
        right: -5px;
        top: -4px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--green);
        border: 2px solid #fff;
        box-shadow: 0 1px 4px rgba(0,0,0,.15)
    }

.ap-time {
    font-size: .72rem;
    color: var(--green-dk);
    white-space: nowrap
}

.ap-speed {
    font-size: .7rem;
    font-weight: 600;
    color: var(--green-dk);
    background: rgba(42,96,73,.15);
    border-radius: 50px;
    padding: 2px 8px;
    cursor: pointer
}

/* ── VIDEO TRAILER ── */
.video-trailer {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    display: none
}

    .video-trailer.show {
        display: block
    }

    .video-trailer img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block
    }

    .video-trailer .vt-overlay {
        position: absolute;
        inset: 0;
        background: rgba(15,10,5,.4);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: .2s
    }

        .video-trailer .vt-overlay:hover {
            background: rgba(15,10,5,.55)
        }

.vt-play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    display: flex;
    align-items: center;
    justify-content: center
}

    .vt-play i {
        font-size: 1.3rem;
        color: var(--green);
        margin-left: 3px
    }

.vt-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255,255,255,.9);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--ink)
}

/* ── RATING ── */
.rating-section {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 28px
}

    .rating-section h5 {
        font-family: var(--serif);
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        gap: 8px
    }

.rating-stars {
    display: flex;
    gap: 8px;
    margin-bottom: 12px
}

.rs {
    font-size: 1.8rem;
    color: var(--rule);
    cursor: pointer;
    transition: .15s;
    line-height: 1
}

    .rs:hover, .rs.active {
        color: var(--gold)
    }

.rating-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
    border-top: 1px solid var(--rule);
    margin-top: 8px
}

.big-rating {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1
}

.rating-bars {
    flex: 1
}

.rbar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px
}

.rbar-label {
    font-size: .72rem;
    color: var(--ink3);
    min-width: 12px
}

.rbar {
    flex: 1;
    height: 6px;
    background: var(--rule);
    border-radius: 3px;
    overflow: hidden
}

.rbar-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 3px
}

.rbar-count {
    font-size: .7rem;
    color: var(--ink3);
    min-width: 24px;
    text-align: right
}

/* ── COMMENTS ── */
.comments-section {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 28px
}

    .comments-section h5 {
        font-family: var(--serif);
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between
    }

.comment-form {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px
}

    .comment-form textarea {
        width: 100%;
        border: 1.5px solid var(--rule);
        border-radius: 8px;
        padding: 10px 14px;
        font-size: .85rem;
        font-family: var(--sans);
        color: var(--ink);
        resize: none;
        outline: none;
        background: #fff;
        transition: .2s;
        height: 80px
    }

        .comment-form textarea:focus {
            border-color: var(--green)
        }

.btn-comment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: .83rem;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    margin-top: 8px
}

    .btn-comment:hover {
        background: var(--green-dk)
    }

.comment-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule)
}

    .comment-item:last-child {
        border-bottom: none;
        padding-bottom: 0
    }

.com-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: var(--green);
    flex-shrink: 0
}

.com-body {
    flex: 1
}

.com-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    flex-wrap: wrap
}

.com-name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink)
}

.com-date {
    font-size: .72rem;
    color: var(--ink3)
}

.com-stars {
    font-size: .68rem;
    color: var(--gold);
    letter-spacing: 1px
}

.com-text {
    font-size: .83rem;
    color: var(--ink2);
    line-height: 1.7
}

.com-actions {
    display: flex;
    gap: 12px;
    margin-top: 7px
}

.com-action {
    font-size: .73rem;
    color: var(--ink3);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: .2s
}

    .com-action:hover {
        color: var(--green)
    }

/* ── MORE STORIES ── */
.more-stories {
    padding: 60px 0;
    background: var(--bg2);
    border-top: 1px solid var(--rule)
}

.sec-kicker {
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink3);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px
}

    .sec-kicker::before {
        content: '';
        width: 20px;
        height: 2px;
        background: var(--green);
        border-radius: 2px
    }

.sec-title {
    font-family: var(--serif);
    font-size: clamp(1.5rem,3vw,2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    margin-bottom: 28px
}

.related-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s,box-shadow .3s;
    height: 100%
}

    .related-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md)
    }

.related-img {
    height: 160px;
    overflow: hidden;
    position: relative
}

    .related-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s
    }

.related-card:hover .related-img img {
    transform: scale(1.05)
}

.related-genre {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,.9);
    border-radius: 50px;
    padding: 2px 10px;
    font-size: .65rem;
    font-weight: 600;
    color: var(--ink)
}

.related-body {
    padding: 16px
}

.related-author {
    font-size: .72rem;
    color: var(--ink3);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 4px
}

.related-title {
    font-family: var(--serif);
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.3
}

.related-foot {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.related-stats {
    font-size: .7rem;
    color: var(--ink3);
    display: flex;
    gap: 8px
}

.btn-read-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-lt);
    border-radius: 50px;
    padding: 4px 12px;
    transition: .2s
}

    .btn-read-sm:hover {
        background: var(--green);
        color: #fff
    }

/*Story Detailpage*/
/* ── Earn from Your Work section ────────────────────────────── */
.earn-section {
    padding: 100px 0;
    background: #fff;
}

.earn-card {
    background: #fff;
    border: 1px solid #EAECF0;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}

    .earn-card:hover {
        box-shadow: 0 12px 40px rgba(0,0,0,.09);
        transform: translateY(-4px);
    }

.earn-icon-wrap {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .earn-icon-wrap svg {
        width: 90px;
        height: 90px;
        filter: drop-shadow(0 4px 12px rgba(0,0,0,.12));
    }

.earn-card-body {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

    .earn-card-body h4 {
        font-family: 'Playfair Display', serif;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--ink1, #111827);
        margin: 0;
    }

    .earn-card-body p {
        font-size: .91rem;
        line-height: 1.65;
        color: var(--ink3, #6B7280);
        margin: 0;
        flex: 1;
    }

.earn-trust {
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: #F9FAFB;
    border: 1px solid #EAECF0;
    border-radius: 16px;
    padding: 22px 36px;
}

.earn-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--ink2, #374151);
    padding: 4px 28px;
}

    .earn-trust-item i {
        font-size: 1.05rem;
        color: var(--green, #2D6A4F);
    }

.earn-trust-sep {
    width: 1px;
    height: 24px;
    background: #D1D5DB;
}

@media (max-width: 575px) {
    .earn-trust-sep {
        display: none;
    }

    .earn-trust-item {
        padding: 4px 12px;
    }
}
/* ═══════════════ AI FEATURES HIGHLIGHT STRIP ═══════════════ */
.ai-strip {
    background: linear-gradient(135deg, #f8f6f2 0%, #f8f6f2 40%, #f8f6f2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden
}

    .ai-strip::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        pointer-events: none
    }
    /* Glowing orb top-right */
    .ai-strip::after {
        content: '';
        position: absolute;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        background: radial-gradient(circle, rgb(97 75 25 / 22%) 0%, #00000000 70%);
        top: -180px;
        right: -100px;
        pointer-events: none
    }
/* Second orb bottom-left */
.ai-strip-orb2 {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(255,255,255,.06) 0%,transparent 70%);
    bottom: -140px;
    left: -80px;
    pointer-events: none
}

.ai-strip-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(255 255 255 / 92%);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50px;
    padding: 7px 18px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #1a1916;
    margin-bottom: 22px;
}

    .ai-strip-label i {
        font-size: .9rem;
        color: #4276E1
    }

.ai-strip h3 {
    font-family: var(--serif);
    font-size: clamp(1.9rem,3.8vw,2.8rem);
    font-weight: 800;
    color: #30322c;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -.03em
}

    .ai-strip h3 em {
        font-style: italic;
        font-weight: 400;
        color: #4276E1
    }

.ai-strip p {
    font-size: .95rem;
    color: rgb(0 0 0 / 65%);
    max-width: 400px;
    line-height: 1.8
}

.ai-feat-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px
}

@media(min-width:576px) {
    .ai-feat-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(min-width:768px) {
    .ai-feat-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

.ai-feat-item {
    background: rgb(255 255 255 / 73%);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: .25s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .ai-feat-item::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,rgba(255,255,255,.04),transparent);
        pointer-events: none
    }

    .ai-feat-item:hover {
        background: rgba(255,255,255,.14);
        transform: translateY(-3px);
        box-shadow: 0 10px 32px rgba(0,0,0,.2)
    }

.ai-feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    color: #fff
}

    .ai-feat-icon.audio {
        background: rgba(127,255,212,.2);
        color: #7FFFD4
    }

    .ai-feat-icon.image {
        background: rgba(196,181,253,.2);
        color: #C4B5FD
    }

    .ai-feat-icon.pdf {
        background: rgba(253,211,77,.2);
        color: #FDD34D
    }

    .ai-feat-icon.tips {
        background: rgba(134,239,172,.2);
        color: #86EFAC
    }

.ai-feat-text strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: #1a1916;
    margin-bottom: 4px
}

.ai-feat-text span {
    font-size: .78rem;
    color: #1a1916;
    line-height: 1.5
}

.ai-strip-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: var(--green);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    padding: 13px 28px;
    margin-top: 28px;
    transition: .2s;
    box-shadow: 0 6px 24px rgba(0,0,0,.2)
}

    .ai-strip-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 36px rgba(0,0,0,.28);
        color: var(--green-dk)
    }

.earn-feat-icon.tips {
    background: rgb(240 237 231);
    color: #65625b
}

.earn-feat-icon.coin {
    background: rgba(253,211,77,.2);
    color: #FDD34D
}

.earn-feat-icon.globe {
    background: rgba(134,239,172,.2);
    color: #86EFAC
}

.earn-feat-icon.free {
    background: rgba(196,181,253,.2);
    color: #C4B5FD
}

/*
------------------------------------------------------------------------------------Story details page-------------------------------------------------------------*/


.story-hero-excerpt {
    font-family: var(--sans);
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(255,255,255,.7);
    max-width: 680px;
    line-height: 1.75;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.75em * 2);
}



.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.story-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.story-hero-bg {
    position: absolute;
    inset: 0;
}

    .story-hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .story-hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(15,10,5,.92) 40%, rgba(15,10,5,.35) 100%);
    }

.story-hero-body {
    position: relative;
    z-index: 1;
    padding: 48px 0 52px;
    width: 100%;
}

.breadcrumb-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 18px;
}

    .breadcrumb-row a {
        color: rgba(255,255,255,.55);
        transition: .2s;
    }

        .breadcrumb-row a:hover {
            color: #fff;
        }

    .breadcrumb-row i {
        font-size: .65rem;
    }

.story-genre-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green);
    color: #fff;
    border-radius: 50px;
    padding: 4px 14px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.story-hero-title {
    font-family: var(--serif);
    font-size: clamp(2rem,6vw,3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 14px;
}

.story-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

    .story-hero-meta span {
        font-size: .82rem;
        color: rgba(255,255,255,.65);
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .story-hero-meta strong {
        color: #fff;
    }

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-read-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--green);
    border-radius: 50px;
    padding: 13px 28px;
    font-size: .92rem;
    font-weight: 700;
    transition: .2s;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
    text-decoration: none;
}

    .btn-read-now:hover {
        background: var(--green-lt);
        color: var(--green-dk);
        transform: translateY(-2px);
    }

.btn-audio-hero, .btn-fav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 50px;
    padding: 12px 22px;
    font-size: .88rem;
    font-weight: 500;
    transition: .2s;
    backdrop-filter: blur(8px);
    cursor: pointer;
}

    .btn-audio-hero:hover, .btn-fav:hover {
        background: rgba(255,255,255,.2);
        color: #fff;
    }

    .btn-fav.active {
        background: var(--red);
        border-color: var(--red);
        color: #fff;
    }

.ai-features-bar {
    background: var(--green-lt);
    border-bottom: 1px solid #A8D5C2;
    padding: 12px 0;
}

.af-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.af-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--green-dk);
    cursor: pointer;
    transition: .2s;
    padding: 5px 12px;
    border-radius: 50px;
}

    .af-item:hover {
        background: rgba(42,96,73,.12);
    }

.af-divider {
    width: 1px;
    height: 20px;
    background: #A8D5C2;
    flex-shrink: 0;
}

.story-main {
    padding: 48px 0 80px;
}

.story-sidebar {
    position: sticky;
    top: 88px;
}

.story-info-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.sic-cover {
    height: 180px;
    overflow: hidden;
}

    .sic-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.sic-body {
    padding: 18px;
}

.sic-stat-row {
    display: flex;
    gap: 0;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px;
}

.sic-stat {
    flex: 1;
    padding: 10px 8px;
    text-align: center;
    border-right: 1px solid var(--rule);
}

    .sic-stat:last-child {
        border-right: none;
    }

    .sic-stat .n {
        font-family: var(--serif);
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--ink);
        line-height: 1;
    }

    .sic-stat .l {
        font-size: .65rem;
        color: var(--ink3);
        margin-top: 2px;
        text-transform: uppercase;
        letter-spacing: .05em;
    }

.btn-read-now-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--green);
    color: #fff;
    border-radius: 50px;
    padding: 11px;
    font-size: .85rem;
    font-weight: 600;
    transition: .2s;
    margin-bottom: 8px;
    text-decoration: none;
}

    .btn-read-now-sm:hover {
        background: var(--green-dk);
        color: #fff;
    }

.btn-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--gold-lt);
    color: var(--gold);
    border: 1.5px solid #E8CA7A;
    border-radius: 50px;
    padding: 10px;
    font-size: .83rem;
    font-weight: 600;
    transition: .2s;
    margin-bottom: 14px;
    cursor: pointer;
    width: 100%;
}

    .btn-tip:hover {
        background: var(--gold);
        color: #fff;
        border-color: var(--gold);
    }

.sic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sic-tag {
    font-size: .68rem;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 50px;
    padding: 3px 10px;
    color: var(--ink3);
}

.author-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.author-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.author-av {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--rule);
    flex-shrink: 0;
}

.author-av-init {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--green);
    flex-shrink: 0;
}

.author-name {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 3px;
    text-transform: capitalize;
}

.author-genre {
    font-size: .73rem;
    color: var(--green);
    font-weight: 600;
}

.author-bio-short {
    font-size: .8rem;
    color: var(--ink3);
    line-height: 1.65;
    margin-bottom: 12px;
}

.author-stats {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

    .author-stats .m {
        font-size: .72rem;
        color: var(--ink3);
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .author-stats .m strong {
            color: var(--ink);
            font-weight: 600;
        }

.btn-follow-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--green-lt);
    color: var(--green);
    border: 1.5px solid #A8D5C2;
    border-radius: 50px;
    padding: 8px;
    font-size: .8rem;
    font-weight: 600;
    transition: .2s;
    cursor: pointer;
    width: 100%;
}

    .btn-follow-sm:hover {
        background: var(--green);
        color: #fff;
        border-color: var(--green);
    }

.story-content-wrap {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

@media (max-width:575px) {
    .story-content-wrap {
        padding: 24px 20px;
    }
}

.story-content {
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--ink2);
    max-height: 500px;
    overflow-y: auto;
}

    .story-content p {
        margin-bottom: 1.5em;
    }

    .story-content h2 {
        font-family: var(--serif);
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--ink);
        margin: 2em 0 .8em;
    }

    .story-content blockquote {
        border-left: 3px solid var(--green);
        padding: 12px 20px;
        margin: 1.5em 0;
        font-style: italic;
        color: var(--ink3);
        background: var(--bg);
        border-radius: 0 var(--radius) var(--radius) 0;
    }

    .story-content .drop-cap::first-letter {
        font-family: var(--serif);
        font-size: 4.5rem;
        font-weight: 800;
        float: left;
        line-height: .75;
        margin: 0 12px 0 0;
        color: var(--green);
    }

.audio-player {
    background: var(--green-lt);
    border: 1px solid #A8D5C2;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    margin-bottom: 20px;
    display: none;
}

    .audio-player.show {
        display: block;
    }

.ap-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ap-play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: .2s;
}

    .ap-play:hover {
        background: var(--green-dk);
    }

.ap-info {
    flex: 1;
}

.ap-title {
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}

.ap-voice {
    font-size: .72rem;
    color: var(--ink3);
}

.ap-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ap-bar-wrap {
    flex: 1;
    position: relative;
    height: 4px;
    background: rgba(42,96,73,.2);
    border-radius: 2px;
    cursor: pointer;
}

.ap-fill {
    height: 100%;
    background: var(--green);
    border-radius: 2px;
    width: 0%;
    position: relative;
}

    .ap-fill::after {
        content: '';
        position: absolute;
        right: -5px;
        top: -4px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--green);
        border: 2px solid #fff;
        box-shadow: 0 1px 4px rgba(0,0,0,.15);
    }

.ap-time {
    font-size: .72rem;
    color: var(--green-dk);
    white-space: nowrap;
}

.ap-speed {
    font-size: .7rem;
    font-weight: 600;
    color: var(--green-dk);
    background: rgba(42,96,73,.15);
    border-radius: 50px;
    padding: 2px 8px;
    cursor: pointer;
}

.video-trailer {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    display: none;
    cursor: pointer;
}

    .video-trailer.show {
        display: block;
    }

    .video-trailer img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
    }

.vt-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,10,5,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.video-trailer:hover .vt-overlay {
    background: rgba(15,10,5,.55);
}

.vt-play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .vt-play i {
        font-size: 1.3rem;
        color: var(--green);
        margin-left: 3px;
    }

.vt-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255,255,255,.9);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--ink);
}

.rating-section {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

    .rating-section h5 {
        font-family: var(--serif);
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.rating-stars {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.rs {
    font-size: 1.8rem;
    color: var(--rule);
    cursor: pointer;
    transition: .15s;
    line-height: 1;
}

    .rs:hover, .rs.active {
        color: var(--gold);
    }

.rating-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
    border-top: 1px solid var(--rule);
    margin-top: 8px;
}

.big-rating {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}

.rating-bars {
    flex: 1;
}

.rbar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.rbar-label {
    font-size: .72rem;
    color: var(--ink3);
    min-width: 12px;
}

.rbar {
    flex: 1;
    height: 6px;
    background: var(--rule);
    border-radius: 3px;
    overflow: hidden;
}

.rbar-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 3px;
}

.rbar-count {
    font-size: .7rem;
    color: var(--ink3);
    min-width: 24px;
    text-align: right;
}

.comments-section {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

    .comments-section h5 {
        font-family: var(--serif);
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.comment-form {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
}

    .comment-form textarea {
        width: 100%;
        border: 1.5px solid var(--rule);
        border-radius: 8px;
        padding: 10px 14px;
        font-size: .85rem;
        font-family: var(--sans);
        color: var(--ink);
        resize: vertical;
        outline: none;
        background: #fff;
        transition: .2s;
    }

        .comment-form textarea:focus {
            border-color: var(--green);
        }

.btn-comment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: .83rem;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    margin-top: 8px;
}

    .btn-comment:hover {
        background: var(--green-dk);
    }

.comment-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
}

    .comment-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.com-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: var(--green);
    flex-shrink: 0;
}

.com-body {
    flex: 1;
}

.com-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.com-name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
}

.com-date {
    font-size: .72rem;
    color: var(--ink3);
}

.com-stars {
    font-size: .68rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.com-text {
    font-size: .83rem;
    color: var(--ink2);
    line-height: 1.7;
}

.more-stories {
    padding: 60px 0;
    background: var(--bg2);
    border-top: 1px solid var(--rule);
}

.sec-kicker {
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink3);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

    .sec-kicker::before {
        content: '';
        width: 20px;
        height: 2px;
        background: var(--green);
        border-radius: 2px;
    }

.sec-title {
    font-family: var(--serif);
    font-size: clamp(1.5rem,3vw,2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    margin-bottom: 28px;
}

.related-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s,box-shadow .3s;
    height: 100%;
}

    .related-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.related-img {
    height: 160px;
    overflow: hidden;
    position: relative;
}

    .related-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s;
    }

.related-card:hover .related-img img {
    transform: scale(1.05);
}

.related-genre {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,.9);
    border-radius: 50px;
    padding: 2px 10px;
    font-size: .65rem;
    font-weight: 600;
    color: var(--ink);
}

.related-body {
    padding: 16px;
}

.related-author {
    font-size: .72rem;
    color: var(--ink3);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.related-title {
    font-family: var(--serif);
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.3;
}

.related-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.related-stats {
    font-size: .7rem;
    color: var(--ink3);
    display: flex;
    gap: 8px;
}

.btn-read-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-lt);
    border-radius: 50px;
    padding: 4px 12px;
    transition: .2s;
    text-decoration: none;
}

    .btn-read-sm:hover {
        background: var(--green);
        color: #fff;
    }

/* ── FLIPBOOK ── */
#flipbook .stf__item {
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    perspective: 2000px;
    border-radius: 8px;
}

#flipbook .hard {
    background: #fff !important;
}

#flipbook .page-content {
    background: transparent !important;
    padding: 0;
    border: none;
    box-shadow: none;
    font-family: 'Georgia','Times New Roman',serif;
    font-size: 1.08em;
    color: #3a2c13;
}

    #flipbook .page-content h1, #flipbook .page-content h2 {
        font-size: 1.8em;
        margin: 0 0 10px;
        line-height: 1.2;
    }

    #flipbook .page-content p {
        margin: 0;
        padding: 0;
        line-height: 1.5;
        font-size: 1em;
        text-align: justify;
    }

#flipBookContainer {
    display: flex;
    justify-content: center;
    position: relative;
    align-items: flex-start;
    height: 800px;
    min-height: 800px;
    margin: 0 auto;
    background: linear-gradient(90deg,#e9e4d5 0%,#fff7d6 10%,#fff7d6 90%,#e9e4d5 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10) !important;
    border-radius: 12px;
}

#flipbook {
    height: 800px !important;
    min-height: 800px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10) !important;
    background: linear-gradient(90deg,#e9e4d5 0%,#fff7d6 10%,#fff7d6 90%,#e9e4d5 100%);
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.bordered-page {
    border: 2.5px solid #e6b800;
    border-radius: 12px;
    box-sizing: border-box;
    background: #f5ecd7 !important;
    padding: 16px 32px;
    margin: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: calc(100% - 64px);
    width: calc(100% - 48px);
}

.flipbook-gutter {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #d1c7b0;
    z-index: 10;
    pointer-events: none;
    display: none;
}

#flipbook .flipbook-end-page {
    background: url('/Theme2021/images/last.jpg') no-repeat center center !important;
    background-size: cover !important;
}

.flipbook-close-btn {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    font-size: 2rem;
    padding: 0 18px;
    background: none;
    border: none;
    color: #222;
    opacity: 0.7;
    transition: opacity 0.2s;
    cursor: pointer;
}

    .flipbook-close-btn:hover {
        opacity: 1;
        color: #000;
    }

/* Flipbook Modal */
.flipbook-modal-dialog {
    max-width: 1300px !important;
    width: 100% !important;
    margin: 2rem auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flipbook-modal-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 700px;
    background: #f5f5f5;
    padding: 0 !important;
    overflow: auto;
}

#flipBookContainerModal {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 700px;
    padding: 10px 0;
}

#flipbookPagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
    padding: 10px;
}

@media (max-width: 1200px) {
    .flipbook-modal-dialog {
        max-width: 98vw !important;
    }

    #flipBookContainer, #flipbook {
        width: 90vw !important;
        min-width: 0 !important;
        max-width: 98vw !important;
    }
}

@media (max-width: 991px) {
    .flipbook-modal-dialog {
        max-width: 100vw !important;
        margin: 0 !important;
    }

    .flipbook-modal-body {
        min-height: 320px !important;
    }

    #flipBookContainerModal {
        min-height: 320px !important;
        padding: 10px 0 !important;
    }

    #flipBookContainer, #flipbook {
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        height: 320px !important;
        min-height: 320px !important;
        border-radius: 8px !important;
    }

    .bordered-page {
        padding: 12px 6px !important;
        margin: 16px 8px !important;
    }
}

@media (max-width: 575px) {
    .flipbook-modal-dialog {
        max-width: 100vw !important;
        margin: 0 !important;
    }

    #flipBookContainer, #flipbook, #flipBookContainerModal {
        height: 180px !important;
        min-height: 180px !important;
    }

    .bordered-page {
        padding: 6px 2px !important;
        margin: 8px 4px !important;
        font-size: 0.85em !important;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

.blurStory {
    filter: blur(3px);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg,#28a745,#20c997);
    color: #fff !important;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-left: 10px;
    text-decoration: none;
}

.tgl-flag, .tgl-flag2 {
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-menu2 {
    min-width: 180px;
}

.login-popup {
    position: absolute;
    top: 75px;
    box-shadow: 0px 0px 6px 1px #b7b7b7;
    background: #fff;
    border-radius: 10px;
    display: none;
    padding: 15px;
    width: 300px;
    left: 30%;
    z-index: 9;
}

@media (max-width:575px) {
    .login-popup {
        width: 100%;
        left: 0%;
    }
}
/*About us page*/

.sec {
    padding: 80px 0
}

    .sec.alt {
        background: var(--bg2)
    }

    .sec.white {
        background: #fff
    }

.kicker {
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink3);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px
}

    .kicker::before {
        content: '';
        width: 22px;
        height: 2px;
        background: var(--green);
        border-radius: 2px;
        display: inline-block
    }

.stitle {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 16px
}

    .stitle em {
        font-style: italic;
        font-weight: 400;
        color: var(--green)
    }

.body-text {
    font-size: .97rem;
    color: var(--ink2);
    line-height: 1.9
}

    .body-text p {
        margin-bottom: 1.2em
    }

        .body-text p:last-child {
            margin-bottom: 0
        }

.img-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md)
}

    .img-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s
    }

    .img-frame:hover img {
        transform: scale(1.03)
    }

.h-380 {
    height: 380px
}

.h-260 {
    height: 260px
}

.h-180 {
    height: 180px
}

.val-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform .3s, box-shadow .3s
}

    .val-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md)
    }

.vc-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px
}

    .vc-icon.g {
        background: var(--green-lt);
        color: var(--green)
    }

    .vc-icon.go {
        background: var(--gold-lt);
        color: var(--gold)
    }

    .vc-icon.b {
        background: #EAF3FC;
        color: #1D6FA4
    }

    .vc-icon.p {
        background: #F0EAFC;
        color: #6B21A8
    }

.val-card h4 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px
}

.val-card p {
    font-size: .84rem;
    color: var(--ink3);
    line-height: 1.75;
    margin: 0
}

.pull-quote {
    background: var(--green-dk);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    position: relative;
    overflow: hidden
}

    .pull-quote::before {
        content: '\201C';
        font-family: var(--serif);
        font-size: 150px;
        color: rgba(255, 255, 255, .05);
        position: absolute;
        top: -20px;
        left: 14px;
        line-height: 1;
        pointer-events: none
    }

    .pull-quote blockquote {
        font-family: var(--serif);
        font-style: italic;
        font-size: clamp(1rem, 2.2vw, 1.3rem);
        color: #fff;
        line-height: 1.7;
        position: relative;
        z-index: 1;
        margin-bottom: 14px
    }

    .pull-quote cite {
        font-size: .75rem;
        color: rgba(255, 255, 255, .45);
        font-style: normal;
        position: relative;
        z-index: 1
    }

.africa-card {
    background: var(--ink);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden
}

    .africa-card::before {
        content: '';
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(42, 96, 73, .3), transparent 70%);
        top: -60px;
        right: -50px;
        pointer-events: none
    }

    .africa-card > * {
        position: relative;
        z-index: 1
    }

.cta-band {
    background: var(--green-lt);
    border-top: 1px solid #A8D5C2;
    border-bottom: 1px solid #A8D5C2;
    padding: 60px 0
}

.btn-cta-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    border-radius: 50px;
    padding: 13px 28px;
    font-size: .9rem;
    font-weight: 600;
    transition: .22s
}

    .btn-cta-green:hover {
        background: var(--green-dk);
        color: #fff;
        transform: translateY(-2px)
    }

.btn-cta-out {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    border: 1.5px solid #A8D5C2;
    border-radius: 50px;
    padding: 12px 22px;
    font-size: .88rem;
    font-weight: 500;
    transition: .22s
}

    .btn-cta-out:hover {
        border-color: var(--green)
    }

/*About us page*/


/*Services PAge*/
/* HERO */
.page-hero {
    background: linear-gradient(135deg,#5D94FF 0%,#313b66 50%,#323C66 100%);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden
}

    .page-hero::after {
        content: '';
        position: absolute;
        width: 480px;
        height: 480px;
        border-radius: 50%;
        background: radial-gradient(circle,rgba(127,255,212,.1),transparent 70%);
        top: -140px;
        right: -80px;
        pointer-events: none
    }

.ph-inner {
    position: relative;
    z-index: 1
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 18px
}

    .breadcrumb a {
        color: rgba(255,255,255,.5)
    }

        .breadcrumb a:hover {
            color: #fff
        }

    .breadcrumb i {
        font-size: .65rem
    }

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px
}

.page-h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem,5vw,3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.04em;
    margin-bottom: 16px
}

    .page-h1 em {
        font-style: italic;
        font-weight: 400;
        color: #ffffff
    }

.ph-inner .hero-sub {
    font-size: .97rem;
    color: rgba(255,255,255,.65);
    max-width: 580px;
    line-height: 1.8
}


/* IN-PAGE ANCHORS NAV */
.services-nav {
    background: #fff;
    border-bottom: 1px solid var(--rule);
    position: sticky;
    top: 64px;
    z-index: 100
}

.sn-inner {
    display: flex
}

.sn-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 28px;
    font-size: .87rem;
    font-weight: 500;
    color: var(--ink3);
    border-bottom: 3px solid transparent;
    transition: .2s;
    cursor: pointer;
    white-space: nowrap
}

    .sn-tab:hover {
        color: var(--ink)
    }

    .sn-tab.active {
        color: var(--green);
        border-bottom-color: var(--green);
        font-weight: 600
    }

    .sn-tab.navy-tab.active {
        color: var(--navy);
        border-bottom-color: var(--navy)
    }

/* SECTIONS */
.sec {
    padding: 80px 0
}

    .sec.alt {
        background: var(--bg2)
    }

    .sec.white {
        background: #fff
    }

.kicker {
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink3);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px
}

    .kicker::before {
        content: '';
        width: 22px;
        height: 2px;
        background: var(--green);
        border-radius: 2px;
        display: inline-block
    }

    .kicker.navy::before {
        background: var(--navy)
    }

.stitle {
    font-family: var(--serif);
    font-size: clamp(1.7rem,3.5vw,2.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 16px
}

    .stitle em {
        font-style: italic;
        font-weight: 400
    }

    .stitle .eg {
        color: var(--green)
    }

    .stitle .en {
        color: var(--navy)
    }

/* SERVICE INTRO CARDS (dark, full-width-ish) */
.s-intro {
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0
}

    .s-intro.pub {
        background: linear-gradient(135deg,#1D3A6B,#1a4d8a,#2563b0)
    }

    .s-intro.auth {
        background: linear-gradient(135deg,#1D3A6B,#1a4d8a,#2563b0)
    }

    .s-intro::before {
        content: '';
        position: absolute;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        top: -100px;
        right: -70px;
        pointer-events: none
    }

    .s-intro.pub::before {
        background: radial-gradient(circle,rgba(127,255,212,.12),transparent 70%)
    }

    .s-intro.auth::before {
        background: radial-gradient(circle,rgba(147,197,253,.15),transparent 70%)
    }

    .s-intro > * {
        position: relative;
        z-index: 1
    }

.si-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px
}

.si-title {
    font-family: var(--serif);
    font-size: clamp(1.6rem,3vw,2.3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: 14px
}

    .si-title em {
        font-style: italic;
        font-weight: 400
    }

.s-intro.pub .si-title em {
    color: rgb(127, 207, 255)
}

.s-intro.auth .si-title em {
    color: rgba(147,197,253,.9)
}

.si-lead {
    font-size: .93rem;
    color: rgba(255,255,255,.65);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 24px
}

.btn-si {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border-radius: 50px;
    padding: 11px 24px;
    font-size: .87rem;
    font-weight: 700;
    transition: .22s
}

    .btn-si.g {
        color: var(--green)
    }

    .btn-si.n {
        color: var(--navy)
    }

    .btn-si:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,.18)
    }

/* SERVICE ITEM CARDS */
.svc-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform .3s,box-shadow .3s
}

    .svc-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md)
    }

.sc-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px
}

    .sc-icon.g {
        background: var(--green-lt);
        color: var(--green)
    }

    .sc-icon.go {
        background: var(--gold-lt);
        color: var(--gold)
    }

    .sc-icon.t {
        background: #E5F7F5;
        color: #0F766E
    }

    .sc-icon.p {
        background: #F0EAFC;
        color: #6B21A8
    }

    .sc-icon.r {
        background: #FAEAEA;
        color: var(--red)
    }

    .sc-icon.n {
        background: var(--navy-lt);
        color: var(--navy)
    }

.svc-card h4 {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 9px
}

.svc-card p {
    font-size: .85rem;
    color: var(--ink3);
    line-height: 1.75;
    margin: 0
}

/* ENQUIRY BLOCK */
.enquiry-block {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.eq-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0
}

    .eq-icon.g {
        background: var(--green-lt);
        color: var(--green)
    }

    .eq-icon.n {
        background: var(--navy-lt);
        color: var(--navy)
    }

.enquiry-block h5 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px
}

.enquiry-block p {
    font-size: .85rem;
    color: var(--ink3);
    margin: 0
}

.btn-enquiry {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 50px;
    padding: 11px 24px;
    font-size: .87rem;
    font-weight: 600;
    transition: .22s;
    white-space: nowrap;
    margin-left: auto
}

    .btn-enquiry.g {
        background: var(--green);
        color: #fff
    }

        .btn-enquiry.g:hover {
            background: var(--green-dk);
            color: #fff;
            transform: translateY(-2px)
        }

    .btn-enquiry.n {
        background: var(--navy);
        color: #fff
    }

        .btn-enquiry.n:hover {
            background: #162d56;
            color: #fff;
            transform: translateY(-2px)
        }

/* CTA BAND */
.cta-band {
    padding: 60px 0
}

    .cta-band.g {
        background: var(--green-lt);
        border-top: 1px solid #A8D5C2;
        border-bottom: 1px solid #A8D5C2
    }

    .cta-band.n {
        background: var(--navy-lt);
        border-top: 1px solid #BDD0F0;
        border-bottom: 1px solid #BDD0F0
    }

.btn-cta-g {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    border-radius: 50px;
    padding: 13px 28px;
    font-size: .9rem;
    font-weight: 600;
    transition: .22s
}

    .btn-cta-g:hover {
        background: var(--green-dk);
        color: #fff;
        transform: translateY(-2px)
    }

.btn-cta-n {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #fff;
    border-radius: 50px;
    padding: 13px 28px;
    font-size: .9rem;
    font-weight: 600;
    transition: .22s
}

    .btn-cta-n:hover {
        background: #162d56;
        color: #fff;
        transform: translateY(-2px)
    }

.btn-out-g {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    border: 1.5px solid #A8D5C2;
    border-radius: 50px;
    padding: 12px 22px;
    font-size: .88rem;
    font-weight: 500;
    transition: .22s
}

    .btn-out-g:hover {
        border-color: var(--green)
    }

.btn-out-n {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    border: 1.5px solid #BDD0F0;
    border-radius: 50px;
    padding: 12px 22px;
    font-size: .88rem;
    font-weight: 500;
    transition: .22s
}

    .btn-out-n:hover {
        border-color: var(--navy)
    }

/* DIVIDER between services */
.service-divider {
    background: var(--rule);
    height: 3px;
    border-radius: 3px;
    margin: 0
}
/*Services PAge*/
.stars-outer {
    position: relative;
    display: inline-block;
    font-size: .85rem;
    line-height: 1;
}

.stars-bg {
    color: var(--rule);
}
/* unfilled color */
.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: var(--gold);
    pointer-events: none;
}




 