/* ================================================================
   DailyNews - Front CSS
   Theme variables: light & dark, red accent, editorial feel
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');


/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Brand — Gold accent */
    --brand-red:       #c9a227;
    --brand-red-dark:  #a8841a;
    --brand-red-light: #e0b83a;
    --brand-red-bg:    rgba(201, 162, 39, 0.1);
    --rred: rgba(187, 49, 67, 1);
    /* Gold Gradient — used on buttons, borders, accent text */
    --gold-gradient:        linear-gradient(100.39deg, #D4AF37 8.06%, #A7861A 53.63%, #E3C383 76.42%, #8F6000 99.2%);
    --gold-gradient-hover:  linear-gradient(100.39deg, #E3C358 8.06%, #C9A227 53.63%, #F0D898 76.42%, #A8841A 99.2%);
    --gold-gradient-border: linear-gradient(100.39deg, #D4AF37 8.06%, #A7861A 53.63%, #E3C383 76.42%, #8F6000 99.2%);

    /* Default Theme — Dark Navy */
    --bg-primary:      rgba(15, 23, 42, 1);
    --bg-secondary:    #0f1829;
    --bg-tertiary:     #162035;
    --bg-card:         #0f1829;
    --bg-card-lpink:         #0f1829;
    --bg-overlay:      rgba(15, 23, 42, 0.97);
    --border-radius: 12px;
    --text-primary:    #f0eeeb;
    --text-secondary:  #c8c5bf;
    --text-muted:      #6b7280;
    --text-inverted:   rgba(15, 23, 42, 1);

    --border-color:    rgba(255, 255, 255, 0.1);
    --border-light:    #1e2840;
    --divider:         #243048;

    --shadow-sm:       0 1px 3px rgba(0,0,0,0.3);
    --shadow-md:       0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg:       0 10px 40px rgba(0,0,0,0.5);
    --shadow-card:     0 2px 8px rgba(0,0,0,0.3);

    --ticker-bg:       #080e1c;
    --ticker-text:     #f0eeeb;

    --navbar-bg:       rgba(15, 23, 42, 1);
    --navbar-border:   #2a3550;
    --navbar-shadow:   0 2px 8px rgba(0,0,0,0.4);

    --footer-bg:       #080e1c;
    --footer-text:     #ffffff;
    --footer-muted:    rgba(255,255,255,0.6);

    --indepth-bg:      #162035;
    --indepth-text:    #ffffff;

    --ad-bg:           #162035;
    --ad-text:         #ffffff;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-serif: 'Plus Jakarta Sans', sans-serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-ibm-sans: 'IBM Plex Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
 /* Spacing */
    --section-gap:     4rem;
    --card-radius:     4px;
    --btn-radius:      4px;

    /* Transitions */
    --transition:      0.2s ease;
    --transition-slow: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gradient background fill (buttons, badges, bg accents) */
.gold-bg {
    background: var(--gold-gradient) !important;
}

/* Gradient text — clip trick */
.gold-text,
.gold-text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.ticker-symbol,.ticker-price,.section-header,.section-title,.indepth-label,.wn-featured-author,.footer-col-title,.footer-bottom,.as-category-label,.as-action-btn,.as-sidebar-title,.as-related-title,.section-view-all,.as-rel-text-meta,.auth-input-icon,.auth-forgot-link,.auth-back-link,.sub-annual-note,.sub-plan-card.featured .sub-plan-name {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.article-category-badge,.wn-side-meta{
    background: linear-gradient(100.39deg, #D4AF37 8.06%, #A7861A 53.63%, #E3C383 76.42%, #8F6000 99.2%);
 -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
/* Gradient border utility — uses pseudo-element trick */
.gold-border {
    position: relative;
    border: none !important;
}

.gold-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: var(--gold-gradient-border);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
/* ── Dark Theme ─────────────────────────────────────────────── */
[data-theme="dark"] {
    --bg-primary:      #0f0f0f;
    --bg-secondary:    #1a1a1a;
    --bg-tertiary:     #242424;
    --bg-card:         #1a1a1a;
    --bg-card-lpink:         #1a1a1a;
    --bg-overlay:      rgba(15,15,15,0.97);

    --text-primary:    #f0eeeb;
    --text-secondary:  #c8c5bf;
    --text-muted:      #777570;
    --text-inverted:   #0f0f0f;
    --rred: rgba(187, 49, 67, 1);
    --border-color:    #2e2e2e;
    --border-light:    #242424;
    --divider:         #2a2a2a;
 --border-radius: 12px;
    --shadow-sm:       0 1px 3px rgba(0,0,0,0.3);
    --shadow-md:       0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg:       0 10px 40px rgba(0,0,0,0.5);
    --shadow-card:     0 2px 8px rgba(0,0,0,0.3);

    --ticker-bg:       #1a1a1a;
    --ticker-text:     #f0eeeb;

    --navbar-bg:       #0f0f0f;
    --navbar-border:   #2a2a2a;
    --navbar-shadow:   0 2px 8px rgba(0,0,0,0.4);

    --footer-bg:       #0b0b0b;
    --footer-text:     #ffffff;
    --footer-muted:    rgba(255,255,255,0.55);

    --indepth-bg:      #111111;
    --ad-bg:           #111111;

    --brand-red-bg:    rgba(201, 162, 39, 0.12);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}
.container-fluid{
    width: 96%;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Typography ─────────────────────────────────────────────── */
.font-display { font-family: var(--font-display); }
.font-serif   { font-family: var(--font-serif); }
.font-sans    { font-family: var(--font-sans); }

.text-red     { color: var(--brand-red) !important; }
.text-muted   { color: var(--text-muted) !important; }

/* ── Ticker ─────────────────────────────────────────────────── */
.stock-ticker {
    /* background: var(--ticker-bg); */
    color: var(--ticker-text);
    overflow: hidden;
    padding: 8px 0;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-top: 18px;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
}

.ticker-label {
    background: var(--brand-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
    margin-right: 0;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 0;
    height: 100%;
    width: 8px;
    background: var(--brand-red);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.ticker-track {
    display: flex;
    animation: ticker-scroll 35s linear infinite;
    white-space: nowrap;
    padding-left: 20px;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-right: 40px;
    font-size: 15px;
    font-family: var(--font-mono);
    font-weight: 500;
        margin-right: 8px;
    padding: 0 20px;
}

.ticker-item::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 1px;

    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );
}

.ticker-item::after {
    right: 0;
}

.ticker-symbol { color: #f0eeeb; font-weight: 600; }
.ticker-price  { color: rgba(240,238,235,0.85); }
.ticker-change.up   { color: #22c55e; }
.ticker-change.down { color: #ef4444; }

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Navbar ─────────────────────────────────────────────────── */
.front-navbar {
    /* position: sticky; */
    /* top: 0; */
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* ── Row 1: Topbar-inside-header (hamburger | BRAND | actions) ─ */
.navbar-top-row {
    /* border-bottom: 1px solid var(--navbar-border); */
    padding: 10px 0;
    margin-bottom: 8px;
}

.navbar-top-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;  /* left | center | right */
    align-items: center;
    gap: 12px;
}

/* Left column */
.navbar-top-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.navbar-date {
    font-family: var(--font-sans);
    font-size: 18.5px;
    font-weight: 400;
    /* color: var(--text-muted); */
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.navbar-weather {
    font-size: 15px;
    color: var(--brand-red);
    line-height: 1;
}

/* Center column — brand always perfectly centered */
.navbar-top-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-logo-icon {
    /* width: 36px; */
    height: 55px;

}

/* .navbar-brand-wrap:hover .navbar-logo-icon {
   transition: 3s zoom  ;
} */

.navbar-brand-text {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0;
    line-height: 1;
}

/* Right column */
.navbar-top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* ── Row 2: Nav links (centered, with top border) ────────────── */
.navbar-nav-row {
    /* border-top: 1px solid var(--navbar-border); */
    margin-bottom:8px;
}

.front-nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.front-nav-links::-webkit-scrollbar { display: none; }

.front-nav-links li a {
    display: block;
    margin: 10px 14px;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 15.5px;
    font-weight: 500;
    /* color: var(--text-secondary); */
    letter-spacing: 0.005em;
    border-bottom: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
    white-space: nowrap;
        position: relative;

}



.front-nav-links li a:hover {
    font-family: var(--font-sans);
    /* font-size: 17.5px;
    font-weight: 800; */

    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.front-nav-links li a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;

    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    border-radius: 10px;
}

.front-nav-links li a.active {
    font-weight: 700;

    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.front-nav-links li a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;

    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    border-radius: 10px;
}
/* Search button */
.nav-search-btn {
    background: none;
    border: none;

    color: transparent;
    background-image: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    font-size: 17px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;

    display: flex;
    align-items: center;

    transition: opacity var(--transition);
    flex-shrink: 0;
}

.nav-search-btn:hover { color: var(--brand-red); }

/* Subscribe button — outlined red */
.btn-subscribe {
    background: transparent;
    border: 1.5px solid var(--brand-red);
    color: var(--brand-red);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 18px;
    border-radius:10px;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-subscribe:hover {
    background: var(--brand-red);
    color: #fff;
}

/* Login button — solid red */
.btn-login {
    background: var(--gold-gradient) !important;
    /* border: 1.5px solid var(--brand-red); */
    color: #000000;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 18px;
    border-radius:10px;
    transition: background var(--transition), border-color var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-login:hover {
    background: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
    color: #fff;
}

/* Theme toggle */
.theme-toggle {
    background: none;
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    width: 44px;
    height: 24px;
    cursor: pointer;
    position: relative;
    transition: all var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover { border-color: var(--brand-red); }

.theme-toggle-dot {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: transform 0.3s ease, background 0.3s ease;
}

[data-theme="dark"] .theme-toggle-dot {
    transform: translateX(20px);
    background: var(--brand-red);
}

/* Search overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.search-overlay-inner {
    width: 100%;
    max-width: 680px;
    padding: 0 20px;
}

.search-overlay input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid var(--brand-red);
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    padding: 12px 0;
    outline: none;
}

.search-overlay input::placeholder { color: var(--text-muted); }

.search-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition);
}

.search-close:hover { color: var(--brand-red); }

/* Mobile menu */
.hamburger-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    /* display: none;      */
    align-items: center;
    flex-shrink: 0;
    transition: color var(--transition);
}

.hamburger-btn:hover { color: var(--brand-red); }

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 3000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open { opacity: 1; pointer-events: all; }

/* ── Breaking News Banner ───────────────────────────────────── */
.breaking-banner {
    background: var(--brand-red);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    overflow: hidden;
}

.breaking-label {
    background: #fff;
    color: var(--brand-red);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
    flex-shrink: 0;
    margin-right: 12px;
}

.breaking-text-track {
    display: flex;
    animation: ticker-scroll 20s linear infinite;
    white-space: nowrap;
}

.breaking-text-track a {
    display: inline-block;
    margin-right: 60px;
    color: #fff;
    font-weight: 500;
}

.breaking-text-track a:hover { text-decoration: underline; }

/* ── Hero Section ───────────────────────────────────────────── */
.hero-section {
    padding: 2.5rem 0 1rem;
    /* border-bottom: 1px solid var(--border-color); */
}

.hero-main-article {
    position: relative;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: var(--border-radius);
}

.hero-main-article:hover .hero-image-wrap img {
    transform: scale(1.03);
}

.hero-content {
    padding: 1.25rem 0 0;
}

.article-category-badge {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    /* letter-spacing: 0.1em; */
    text-transform: uppercase;
    margin-bottom: 6px;
    font-family: var(--font-ibm-sans);
}
.article-card a {
    font-family: var(--font-serif);
font-weight: 700;
font-size: 18px;
line-height: 100%;
letter-spacing: 0px;

}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-title a:hover { color: var(--brand-red); }

.hero-excerpt {
    font-family: var(--font-serif);
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 300;
}

/* Breaking badge on article */
.badge-breaking {
    display: inline-block;
    background: var(--brand-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
}

/* ── Latest News Sidebar ────────────────────────────────────── */
.latest-news-sidebar {
    /* height: 100%; */
    margin-bottom: 22px;
}

.latest-news-sidebar .section-header {
    font-family: var(--font-ibm-sans);
    font-size: 18px;
    font-weight: 600;

    padding-bottom: 10px;

    border-bottom: 0.5px solid transparent;
    border-image: linear-gradient(
        100.39deg,
        rgba(212, 175, 55, 0.5) 8.06%,
        rgba(167, 134, 26, 0.5) 53.63%,
        rgba(227, 195, 131, 0.5) 76.42%,
        rgba(143, 96, 0, 0.5) 99.2%
    ) 1;

    margin-bottom: 16px;
}
.latest-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition);
}

.latest-item:last-child { border-bottom: none; }
.latest-item:hover .latest-item-title { color: var(--brand-red); }

.latest-item-time {
    color: var(--rred);
    font-size: 11.5px;
    font-weight: 700;
    font-family: var(--font-mono);
    min-width: 38px;
    flex-shrink: 0;
    margin-top: 2px;
    /* letter-spacing: 0.02em; */
}

.latest-item-title {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 600;
    /* line-height: 1.45; */
    color: var(--text-primary);
    transition: color var(--transition);
}

.see-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-red);
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    transition: gap var(--transition);
}

.see-more-link:hover { gap: 10px; color: var(--brand-red); }

/* ── Section Headers ────────────────────────────────────────── */
.section-title-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 20px;
    padding-bottom: 12px;

    border-bottom: 2px solid transparent;
    border-image: linear-gradient(
        100.39deg,
        rgba(212, 175, 55, 0.4) 8.06%,
        rgba(167, 134, 26, 0.4) 53.63%,
        rgba(227, 195, 131, 0.4) 76.42%,
        rgba(143, 96, 0, 0.4) 99.2%
    ) 1;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--text-primary);
}

.section-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18.2px;
    color: var(--divider);
    font-family: var(--font-serif);
    transition: color var(--transition), gap var(--transition);
}

.section-view-all:hover { color: var(--brand-red); gap: 10px; }

/* ── Article Cards ──────────────────────────────────────────── */
.news-section {
    padding: var(--section-gap) 0;
    border-bottom: 1px solid var(--border-color);
}

.article-card {
    background: var(--bg-card-lpink);
    border-radius: var(--card-radius);
    overflow: hidden;

    transition: box-shadow var(--transition), transform var(--transition);

    height: 100%;
    display: flex;
    flex-direction: column;

    border: 1px solid transparent;
border-radius: var(--border-radius);
    background:
      linear-gradient(var(--bg-card-lpink), var(--bg-card-lpink)) padding-box,
      linear-gradient(
        100.39deg,
        rgba(212, 175, 55, 0.4) 8.06%,
        rgba(167, 134, 26, 0.4) 53.63%,
        rgba(227, 195, 131, 0.4) 76.42%,
        rgba(143, 96, 0, 0.4) 99.2%
      ) border-box;
}

.article-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-img img {
    transform: scale(1.05);
}

.article-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-family: var(--font-ibm-sans);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    /* margin-bottom: 10px; */
    letter-spacing: -0.01em;
    flex: 1;
}

.article-card-title a:hover { color: var(--brand-red); }

.article-card-excerpt {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: auto;
    flex-wrap: wrap;
}

.article-meta-dot { opacity: 0.4; }

/* ── In Depth / Featured Strip ──────────────────────────────── */
.indepth-section {
    /* background: var(--indepth-bg); */
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.indepth-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.indepth-label {
    position: relative;

    font-family: var(--font-ibm-sans);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    color: transparent;
    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    margin-bottom: 14px;
    padding-left: 12px;
}

.indepth-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3.43px;

    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    border-radius: 10px;
}

.indepth-main-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
        border-left: 3.43px solid #fff;
    padding-left: 8px;
}

.indepth-main-title a { color: #fff;
font-family: var(--font-serif);
font-weight: 700;
font-style: Bold;
font-size: 30px;
line-height: 41.6px;
letter-spacing: 0px;

}
.indepth-main-title a:hover { color: var(--brand-red); }

.indepth-author {
    color: var(--brand-red);
    font-family: var(--font-ibm-sans);
font-weight: 400;
font-size: 12px;
line-height: 20px;
letter-spacing: 0px;

}

.indepth-secondary-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.indepth-secondary-item:last-child { border-bottom: none; }

.indepth-secondary-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 6px;
            border-left: 3.43px solid #fff;
    padding-left: 8px;
}

.indepth-secondary-title a { color: #fff;
font-family:var(--font-serif);
font-weight: 700;
font-style: Bold;
font-size: 18px;
line-height: 26px;
letter-spacing: 0px;

}
.indepth-secondary-title a:hover { color: rgba(255,255,255,0.8); }

.indepth-secondary-author {
    font-size: 12px;
    color: var(--brand-red);
}

/* ── World News Section ─────────────────────────────────────── */

/* ── World News Section ─────────────────────────────────────── */
.world-news-section {
    padding: var(--section-gap) 0;
    /* border-bottom: 1px solid var(--border-color); */
}

/* ────────────────────────────────────────────────────────────
   LEFT COLUMN — split card: white panel LEFT + image RIGHT
   ──────────────────────────────────────────────────────────── */
.wn-featured-card {
    /* display: flex; */
    /* flex-direction: row; */
        position: relative;

    border-radius: var(--card-radius);
    overflow: hidden;
    height: 100%;
    min-height: 480px;
    text-decoration: none;
    /* No border, no shadow — clean split look like screenshot */
}

/* ── White content panel (left ~42%) ── */
.wn-featured-content {
        width: 48%;
    height: 88%;
    flex-shrink: 0;
    background: var(--bg-primary);               /* hardcoded white — always */
    padding: 24px 22px 26px;
    display: flex;
    flex-direction: column;
        position: absolute;
    z-index: 1;
    top: 10px;
    left: 10px;
}

/* Dark theme: give a subtle separator so panel is visible */
[data-theme="dark"] .wn-featured-content {
    background: #f5f5f5;
    border-right: 1px solid rgba(0,0,0,0.06);
}

/* Red date badge — inside the white panel, top */
.wn-date-badge {
    display: inline-block;
    align-self: flex-start;           /* don't stretch full width */
    flex-shrink: 0;
    background: var(--rred);
    color: #fff;
    font-family: var(--font-ibm-sans);
    font-size: 10px;
    font-weight: 500;
    line-height: 21px;
    padding: 5px 13px;
    border-radius: 3px;
    margin-bottom: 22px;
}

/* Article title — always dark on white background */
.wn-featured-title {
    font-family: var(--font-serif);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    line-height: 100%;
    color: #ffffff;                    /* hardcoded dark — always */
    letter-spacing: 0;
    flex: 1;                           /* pushes author to very bottom */
    display: block;
    text-decoration: none;
    transition: color var(--transition);
}

.wn-featured-title:hover {
    color: var(--brand-red);
}

/* Author line — pinned to bottom of white panel */
.wn-featured-author {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-ibm-sans);
    font-size: 12px;
    color: rgba(32, 33, 36, 1);
    font-weight: 400;
    flex-wrap: wrap;
    flex-shrink: 0;
    margin-top: 20px;
}

.wn-featured-author-prefix {
    font-style: italic;
    margin-right: 2px;
    color: #888888;
}

.wn-featured-author a {
    /* color: #333333; */
    /* font-weight: 600; */
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(0,0,0,0.2);
    transition: color var(--transition), text-decoration-color var(--transition);
}

.wn-featured-author a:hover {
    color: var(--brand-red);
    text-decoration-color: var(--brand-red);
}

.wn-featured-author-divider {
    color: #aaaaaa;
    margin: 0 1px;
}

/* ── Photo panel (right side — fills remaining width) ── */
.wn-featured-bg {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 100%;
}

.wn-featured-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s ease;
}

.wn-featured-card:hover .wn-featured-bg img {
    transform: scale(1.04);
}

/* ────────────────────────────────────────────────────────────
   RIGHT COLUMN — 3 stacked articles: thumb LEFT, text RIGHT
   ──────────────────────────────────────────────────────────── */
.wn-side-list {
    display: flex;
    flex-direction: column;
    /* height: 100%; */
}

.wn-side-item {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    flex: 1;
    transition: opacity 0.18s ease;
}

.wn-side-item:first-child { padding-top: 0; }
.wn-side-item:last-child  { border-bottom: none; padding-bottom: 0; }

.wn-side-item:hover         { opacity: 0.8; }
.wn-side-item:hover .wn-side-title { color: var(--brand-red); }

/* Thumbnail — 3:2 ratio, ~160px wide */
.wn-side-thumb {
    width: 158px;
    height: 152px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/2;
    background: var(--bg-tertiary);
    position: relative;
}

.wn-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.wn-side-item:hover .wn-side-thumb img { transform: scale(1.06); }

/* Text column */
.wn-side-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 0;
}

/* "Author — Date" line */
.wn-side-meta {
    display: flex;
    align-items: center;
    font-family: var(--font-ibm-sans);
    font-weight: 400;
    line-height: 14.4px;
    font-size: 12px;
    margin-bottom: 7px;
    white-space: nowrap;
    overflow: hidden;
}

.wn-side-meta-author {
    /* font-weight: 600;
    color: var(--text-secondary); */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wn-side-meta-sep {
    margin: 0 8px;
    color: var(--text-muted);
    font-weight: 300;
    flex-shrink: 0;
}

.wn-side-meta-date { flex-shrink: 0; }

/* Article title */
.wn-side-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    line-height: 27px;
    color: var(--text-primary);
    transition: color var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Responsive tweaks for World News ──────────────────────── */
@media (max-width: 1199.98px) {
    .wn-side-thumb    { width: 130px; }
    .wn-featured-content { width: 48%; padding: 24px 22px 22px; }
}

@media (max-width: 991.98px) {
    /* Stack the featured card vertically on tablet */
    .wn-featured-card {
        flex-direction: column;
        min-height: unset;
    }

    .wn-featured-content {
        width: 100%;
        padding: 22px 20px 18px;
        order: 2;               /* content goes below image on mobile */
    }

    .wn-featured-bg {
        order: 1;
        height: 240px;
        flex: none;
    }

    .wn-featured-title  { font-size: 20px; flex: none; margin-bottom: 16px; }
    .wn-featured-author { margin-top: 0; }

    .wn-side-thumb  { width: 110px; }
    .wn-side-title  { font-size: 14.5px; }
    .wn-side-item   { gap: 14px; padding: 18px 0; }
}

@media (max-width: 767.98px) {
    .wn-featured-bg { height: 200px; }
    .wn-featured-title  { font-size: 18px; }
    .wn-featured-content { padding: 18px 18px 16px; }

    .wn-side-thumb  { width: 96px; }
    .wn-side-title  { font-size: 14px; }
    .wn-side-item   { gap: 12px; padding: 14px 0; }
}


/* ── Newsletter / Ad Banner ─────────────────────────────────── */
.ad-banner-section {
    padding: 2rem 0;
}

.newsletter-cta {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    text-align: center;
}

.newsletter-cta h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.newsletter-cta p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    border: 1.5px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--btn-radius);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
}

.newsletter-form input:focus { border-color: var(--brand-red); }
.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form button {
    background: var(--brand-red);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: var(--btn-radius);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover { background: var(--brand-red-dark); }

/* ── Footer ─────────────────────────────────────────────────── */
/* ── Footer ─────────────────────────────────────────────────── */
.front-footer {
  border-top: 1px solid;

  border-image-source: linear-gradient(
    100.39deg,
    #D4AF37 8.06%,
    #A7861A 53.63%,
    #E3C383 76.42%,
    #8F6000 99.2%
  );
  border-image-slice: 1;

  color: var(--footer-text);
  padding: 3.5rem 0 0;
}

/* ── Brand row: icon + name inline ─────────────────────────── */
.footer-brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-icon {
   height: 55px;
}

.footer-brand-wrap:hover .footer-logo-icon {
    background: rgba(255, 255, 255, 0.3);
}

.footer-brand-text {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0;
    line-height: 28px;
}

/* ── Tagline ─────────────────────────────────────────────────── */
.footer-tagline {
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(255, 255, 255, 1);
    line-height: 22.7px;
    margin-bottom: 22px;
}

/* ── Social icons ────────────────────────────────────────────── */
.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(100.39deg, #D4AF37 8.06%, #A7861A 53.63%, #E3C383 76.42%, #8F6000 99.2%);

    /* border: 1.5px solid rgba(255, 255, 255, 0.5); */
    color: #000000;
    font-size: 15px;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition);
    flex-shrink: 0;
}

.footer-social-links a:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
}

/* ── Column headings ─────────────────────────────────────────── */
.footer-col-title {
    font-family: var(--font-sans);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 20px;
    line-height: 24px;
}

/* ── Footer nav links ────────────────────────────────────────── */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 13px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    font-family: var(--font-sans);
    font-size: 13.6px; font-weight: 500;
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    transition: color var(--transition);
    line-height: 21px;
}

.footer-links a:hover {
    color: #ffffff;
}

/* ── CTA column (last col) ───────────────────────────────────── */
.footer-cta-heading {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    line-height: 24px;
    margin-bottom: 12px;
}

.footer-cta-sub {
    font-family: var(--font-sans);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* White Subscribe button — full width, white bg, red bold text */
.footer-subscribe-btn {
    display: block;
    width: 100%;
    background: var(--gold-gradient);
    color: rgba(0, 0, 0, 1);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    line-height: 1.4;
}

.footer-subscribe-btn:hover {
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-red-dark);
}

/* ── Bottom bar ──────────────────────────────────────────────── */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 18px 0;
    margin-top: 3rem;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* ── Toastr / Notification ─────────────────────────────────── */
.dn-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
}

.dn-toast {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--brand-red);
    border-radius: var(--card-radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text-primary);
    animation: slideInToast 0.3s ease;
    position: relative;
}

.dn-toast.success { border-left-color: #22c55e; }
.dn-toast.error   { border-left-color: #ef4444; }
.dn-toast.warning { border-left-color: #f59e0b; }
.dn-toast.info    { border-left-color: #3b82f6; }

.dn-toast-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.dn-toast.success .dn-toast-icon { color: #22c55e; }
.dn-toast.error   .dn-toast-icon { color: #ef4444; }
.dn-toast.warning .dn-toast-icon { color: #f59e0b; }
.dn-toast.info    .dn-toast-icon { color: #3b82f6; }

.dn-toast-body {
    flex: 1;
}

.dn-toast-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.dn-toast-message {
    font-size: 12.5px;
    color: var(--text-muted);
}

.dn-toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    line-height: 1;
    transition: color var(--transition);
}

.dn-toast-close:hover { color: var(--text-primary); }

@keyframes slideInToast {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOutToast {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(40px); }
}

.dn-toast.removing {
    animation: fadeOutToast 0.3s ease forwards;
}

/* ── Loading Spinner ────────────────────────────────────────── */
.dn-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(208, 2, 27, 0.25);
    border-top-color: var(--brand-red);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.dn-spinner-sm {
    width: 16px;
    height: 16px;
}

.dn-spinner-lg {
    width: 36px;
    height: 36px;
    border-width: 3px;
}

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

.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
}

/* Inline spinner in button */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.75;
}

.btn-loading .btn-text { visibility: hidden; }

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;

    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-right-color: #fff; /* add second bright segment */

    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* ── Form validation styles ─────────────────────────────────── */
.form-control.is-invalid {
    border-color: #ef4444;
}

.form-control.is-valid {
    border-color: #22c55e;
}

.field-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    display: none;
}

.field-error.show { display: block; }

.form-message {
    padding: 10px 14px;
    border-radius: var(--btn-radius);
    font-size: 13.5px;
    margin-bottom: 14px;
    display: none;
}

.form-message.show { display: block; }
.form-message.success { background: rgba(34,197,94,0.1); color: #16a34a; border: 1px solid rgba(34,197,94,0.25); }
.form-message.error   { background: rgba(239,68,68,0.1);  color: #dc2626; border: 1px solid rgba(239,68,68,0.25); }

/* ── Responsive ─────────────────────────────────────────────── */

/* lg and below: hamburger visible, nav row hidden (Bootstrap d-none d-lg-block handles nav) */
@media (max-width: 991.98px) {
    .hamburger-btn {
        display: flex !important;
    }

    .navbar-date,
    .navbar-weather {
        display: none !important;      /* no date on tablet/mobile, save space */
    }

    .navbar-top-inner {
        grid-template-columns: 48px auto 1fr;   /* hamburger | brand | right */
    }

    .navbar-top-center {
        justify-content: flex-start;   /* brand left-aligned on mobile */
    }

    .hero-title { font-size: 22px; }
}

/* sm–md: small tablet */
@media (max-width: 767.98px) {
    :root { --section-gap: 2.5rem; }

    .navbar-top-inner {
        grid-template-columns: 40px auto 1fr;
        gap: 8px;
    }

    .navbar-brand-text  { font-size: 20px; }
    /* .navbar-logo-icon   { width: 30px; height: 30px; font-size: 15px; } */

    .hero-title         { font-size: 20px; }
    .indepth-main-title { font-size: 22px; }

    .newsletter-form    { flex-direction: column; }

    .dn-toast-container {
        left: 16px;
        right: 16px;
        max-width: unset;
    }
}

/* xs: phone */
@media (max-width: 575.98px) {
    .navbar-brand-text  { font-size: 18px; }
    /* .navbar-logo-icon   { width: 28px; height: 28px; font-size: 14px; } */

    .btn-subscribe { display: none !important; }   /* just Login on very small screens */

    .btn-login {
        padding: 5px 13px;
        font-size: 12.5px;
    }

    .navbar-top-right { gap: 8px; }
}

/* ── Utility ────────────────────────────────────────────────── */
.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }

.placeholder-img {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--border-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 28px;
}

/* Skeleton loaders */
.skeleton {
    background: linear-gradient(90deg,
        var(--bg-tertiary) 25%,
        var(--border-color) 37%,
        var(--bg-tertiary) 63%
    );
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0%   { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}





/* ══════════════════════════════════════════════════════════════
   ARTICLE SHOW PAGE  (.as-*)
   ══════════════════════════════════════════════════════════════ */

.as-page {
    padding: 2rem 0 0;
}

/* ── Hero image ─────────────────────────────────────────────── */
.as-hero-figure {
    margin: 0 0 2rem;
}

.as-hero-img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: var(--card-radius);
    display: block;
}

.as-hero-caption {
    font-size: 12.5px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* ── Category label ─────────────────────────────────────────── */
.as-category-label {
    display: inline-block;
    font-family: var(--font-ibm-sans);
    font-size: 19.5px;
    font-weight: 600;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    color: var(--brand-red);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.as-category-label:hover { color: var(--brand-red-dark); }

/* ── Byline: "By Author on Date" ────────────────────────────── */
.as-byline {
    font-family: var(--font-ibm-sans);
    font-size: 18px;
    /* color: rgba(0, 0, 0, 1); */
    margin-bottom: 4px;
    line-height: 100%;
}

/* .as-byline strong {
    color: var(--text-secondary);
    font-weight: 600;
} */

/* ── Title row: H1 left + Save/Share right ──────────────────── */
.as-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.as-title {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

/* Save / Share actions */
.as-title-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding-top: 6px;
}

.as-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: none;
    font-family: var(--font-serif);
    font-size: 19.5px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 2px;
    transition: color var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.as-action-btn:hover { color: var(--brand-red); }

.as-action-divider {
    width: 1px;
    height: 16px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* Share dropdown */
.as-share-wrap {
    position: relative;
}

.as-share-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    z-index: 100;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.as-share-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.as-share-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    border-bottom: 1px solid var(--border-light);
}

.as-share-item:last-child { border-bottom: none; }
.as-share-item:hover { background: var(--bg-secondary); color: var(--brand-red); }

/* ── Excerpt ────────────────────────────────────────────────── */
.as-excerpt {
    font-family: var(--font-serif);
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 24px;
}

/* ── Video embed ────────────────────────────────────────────── */
.as-video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    margin-bottom: 2rem;
    border-radius: var(--card-radius);
    overflow: hidden;
}

/* ── Article body text ──────────────────────────────────────── */
.as-body {
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-primary);
}

.as-body p  { margin-bottom: 1.4em; }
.as-body h2 { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin: 2em 0 0.8em; color: var(--text-primary); letter-spacing: -0.02em; }
.as-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 1.8em 0 0.7em; color: var(--text-primary); }
.as-body blockquote { border-left: 3px solid var(--brand-red); margin: 2em 0; padding: 0 0 0 20px; font-style: italic; color: var(--text-secondary); }
.as-body a  { color: var(--brand-red); text-decoration: underline; text-underline-offset: 2px; }
.as-body a:hover { color: var(--brand-red-dark); }
.as-body img { max-width: 100%; border-radius: var(--card-radius); margin: 1em 0; }
.as-body ul, .as-body ol { padding-left: 1.4em; margin-bottom: 1.4em; }
.as-body li { margin-bottom: 0.5em; }

/* ── Mid-article ad banner ──────────────────────────────────── */
.as-ad-banner {
    margin: 2rem 0;
    border-radius: var(--card-radius);
    overflow: hidden;
}

.as-ad-inner {
    display: flex;
    align-items: center;
    min-height: 160px;
    background: linear-gradient(135deg, #fff0f0 0%, #ffe5e5 100%);
    border: 1px solid rgba(208, 2, 27, 0.12);
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .as-ad-inner {
    background: linear-gradient(135deg, #2a1010 0%, #1f0808 100%);
    border-color: rgba(208, 2, 27, 0.25);
}

.as-ad-content {
    padding: 28px 32px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.as-ad-eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-red);
    margin-bottom: 10px;
}

.as-ad-logo-icon {
    font-size: 14px;
}

.as-ad-headline {
    font-family: var(--font-display);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.as-ad-sub {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.as-ad-btn {
    display: inline-block;
    background: var(--brand-red);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 3px;
    text-decoration: none;
    transition: background var(--transition);
}

.as-ad-btn:hover {
    background: var(--brand-red-dark);
    color: #fff;
}

.as-ad-visual {
    width: 220px;
    flex-shrink: 0;
    align-self: stretch;
    background: radial-gradient(circle at 60% 50%, rgba(208,2,27,0.18) 0%, transparent 70%);
    position: relative;
}

/* ── Tags ───────────────────────────────────────────────────── */
.as-tags {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.as-tags-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-right: 4px;
    flex-shrink: 0;
}

.as-tag {
    display: inline-block;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 4px 11px;
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.as-tag:hover {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
}

/* ══════════════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════════════ */
.as-sidebar {
    position: relative;
    top: 80px;
    /* background-color: var(--bg-card-lpink); */
        padding: 22px 20px;
        border-radius: 16px;
}
.as-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px; /* border thickness */
  border-radius: 16px;

  background: linear-gradient(
    100.39deg,
    #D4AF37 8.06%,
    #A7861A 53.63%,
    #E3C383 76.42%,
    #8F6000 99.2%
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}
/* Sidebar block wrapper */
.as-sidebar-block {
    margin-bottom: 28px;
}

.as-sidebar-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 12px;
    /* border-bottom: 2px solid var(--divider); */
    margin-bottom: 16px;
    letter-spacing: 0;
}

/* Trending item: thumb LEFT + title RIGHT */
.as-trending-item {
    display: block;
    padding: 0 0 20px 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    margin-bottom: 20px;
    transition: opacity 0.18s ease;
}

.as-trending-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.as-trending-item:hover { opacity: 0.8; }
.as-trending-item:hover .as-trending-title { color: var(--brand-red); }

/* Full-width image above the title */
.as-trending-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-tertiary);
    margin-bottom: 12px;
    display: block;
}

.as-trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.as-trending-item:hover .as-trending-thumb img { transform: scale(1.04); }

.as-trending-body {
    flex: unset;
    min-width: 0;
}

.as-trending-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 100%;
    color: var(--text-primary);
    transition: color var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.as-sidebar-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: none;
    margin-top: 12px;
    transition: gap var(--transition);
}

.as-sidebar-more:hover { gap: 10px; color: var(--brand-red); }

/* Breaking pill */
.as-breaking-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-red);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

/* Author card */
.as-author-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 16px;
    margin-bottom: 12px;
}

.as-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
    font-family: var(--font-display);
}

.as-author-name {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.as-author-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* Meta stats */
.as-meta-row {
    display: flex;
    gap: 16px;
    font-family: var(--font-sans);
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.as-meta-row i {
    margin-right: 4px;
    font-size: 13px;
}

/* ══════════════════════════════════════════════════════════════
   RELATED NEWS SECTION
   ══════════════════════════════════════════════════════════════ */
.as-related-section {
    padding: 0.2rem 0 4rem;
    margin-top: 3rem;
}

.as-related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 16px;
  border-bottom: 1px solid;

  border-image-source: linear-gradient(
    100.39deg,
    #D4AF37 8.06%,
    #A7861A 53.63%,
    #E3C383 76.42%,
    #8F6000 99.2%
  );
  border-image-slice: 1;    margin-bottom: 26px;
}

.as-related-title {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    /* color: var(--text-primary); */
}

/* ── Top row ──────────────────────────────────────────────── */
.as-related-top {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}

/* ── LEFT: Big full-bleed image card (col-lg-6) ───────────── */
.as-rel-big {
    display: block;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 460px;
    text-decoration: none;
}

.as-rel-big-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.as-rel-big:hover .as-rel-big-img { transform: scale(1.04); }

/* Dark gradient at bottom for text readability */
.as-rel-big::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

/* Play icon — centered */
.as-rel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--brand-red);
    transition: background var(--transition), transform var(--transition);
}

.as-rel-big:hover .as-rel-play {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

/* Title + meta overlay at bottom */
.as-rel-big-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 24px 22px 20px;
}

.as-rel-big-title {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 500;
    color: #ffffff;
    line-height: 34px;
    margin-bottom: 10px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,255,255,0.4);
    transition: text-decoration-color var(--transition);
}

.as-rel-big:hover .as-rel-big-title {
    text-decoration-color: var(--brand-red);
}

.as-rel-big-meta {
    display: flex;
    align-items: center;
    font-family: var(--font-ibm-sans);
    font-size: 11px;
    color: rgba(255, 255, 255, 1);
}

/* ── RIGHT: 2 stacked items — text LEFT, image RIGHT (col-lg-6) */
.as-rel-right-col {
    display: flex;
    flex-direction: column;
    gap:12px;
    border-left: 1px solid var(--border-color);
}

.as-rel-side-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex: 1;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition);
    overflow: hidden;
    min-height: 230px;
}

.as-rel-side-item:last-child { border-bottom: none; }
.as-rel-side-item:hover { background: var(--bg-secondary); }
.as-rel-side-item:hover .as-rel-side-title { color: var(--brand-red); }

/* Text block — LEFT side of the item */
.as-rel-side-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 22px;
    min-width: 0;
}

.as-rel-side-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
    color: var(--text-primary);
    margin-bottom: 12px;
    transition: color var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Thumbnail — RIGHT side of the item */
.as-rel-side-thumb {
    max-width: 320px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-tertiary);
    align-self: stretch;
}

.as-rel-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.as-rel-side-item:hover .as-rel-side-thumb img { transform: scale(1.05); }

/* Shared meta line */
.as-rel-text-meta {
    display: flex;
    align-items: center;
    font-family: var(--font-ibm-sans);
    font-size: 12px;
    gap: 0;
    flex-wrap: wrap;
}

/* Category + "—" + date */
.as-rel-cat {
    font-size: 12px;
    /* color: var(--text-muted); */
    font-weight: 500;
}

.as-rel-meta-sep {
    margin: 0 7px;
    /* color: var(--text-muted); */
    font-weight: 300;
}

/* ── Bottom row — 3 equal cards ─────────────────────────── */
.as-related-bottom {
    padding-top: 2.5rem;
}

.as-rel-card {
    display: block;
    text-decoration: none;
    transition: opacity var(--transition);
}

.as-rel-card:hover { opacity: 0.85; }
.as-rel-card:hover .as-rel-card-title { color: var(--brand-red); }

.as-rel-card-img-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--card-radius);
    margin-bottom: 16px;
    background: var(--bg-tertiary);
}

.as-rel-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.as-rel-card:hover .as-rel-card-img-wrap img { transform: scale(1.04); }

.as-rel-card-body {}

.as-rel-card-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.38;
    color: var(--text-primary);
    margin-bottom: 10px;
    transition: color var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .as-title-row   { flex-direction: column; gap: 12px; }
    .as-title-actions { align-self: flex-start; }
    .as-sidebar     { position: static; }
    .as-rel-big     { min-height: 320px; }
    .as-rel-right-col { border-left: none; border-top: 1px solid var(--border-color); }
    .as-rel-side-item { min-height: 160px; }
    .as-rel-side-thumb { width: 130px; }
}

@media (max-width: 767.98px) {
    .as-hero-img    { aspect-ratio: 16/9; }
    .as-title       { font-size: 22px; }
    .as-excerpt     { font-size: 15px; }
    .as-body        { font-size: 16px; }
    .as-ad-content  { padding: 20px; }
    .as-ad-visual   { display: none; }
    .as-related-section { padding: 2.5rem 0 3rem; }
    .as-rel-big     { min-height: 260px; }
    .as-rel-big-title { font-size: 16px; }
    .as-rel-side-thumb { width: 100px; }
    .as-rel-side-body { padding: 16px; }
    .as-rel-side-title { font-size: 14px; -webkit-line-clamp: 3; }
}







/* ══════════════════════════════════════════════════════════════
   AUTH PAGES  (login / register)  — standalone layout
   ══════════════════════════════════════════════════════════════ */

/* Page body */
.auth-body {
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Back link — top-left */
.auth-back-link {
    position: fixed;
    top: 28px;
    left: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ibm-sans);
    font-size: 12.8px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    z-index: 10;
    transition: color var(--transition);
}
.back-link {
    font-family: var(--font-ibm-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    z-index: 10;
    transition: opacity var(--transition);
}

.back-link:hover {
    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.auth-back-link:hover { color: var(--brand-red); }

/* Theme toggle — top-right */
.auth-theme-toggle {
    position: fixed;
    top: 26px;
    right: 32px;
    z-index: 10;
}

/* Centered layout */
.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
}

/* Card wrapper */
.auth-card {
    width: 100%;
    max-width: 490px;
    padding: 0;
}

/* ── Brand: logo icon + name ───────────────────────────────── */
.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.auth-logo-icon {
    height: 88px;
}
.auth-logo-icon img{
    height: 100%;
}
.auth-brand-name {
    font-family: var(--font-display);
    font-size: 55px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing:0;
    line-height: 100%;
}

/* ── Heading + subheading ──────────────────────────────────── */
.auth-heading {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0;
}

.auth-subheading {
    font-family: var(--font-ibm-sans);
    font-size: 17.5px;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* ── Field groups ──────────────────────────────────────────── */
.auth-field-group {
    margin-bottom: 14px;
}

/* Input wrapper with left icon + optional right eye */
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
        border: 1px solid;
    border-image: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    ) 1;
    transition: border-color var(--transition), box-shadow var(--transition);
    overflow: hidden;

}

.auth-input-wrap:focus-within {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(208, 2, 27, 0.09);
}

.auth-input-wrap.is-invalid {
    border-color: #ef4444;
}

.auth-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    flex-shrink: 0;
    font-size: 16px;
    pointer-events: none;
}
.auth-input::placeholder {
    color: transparent;
    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );
    -webkit-background-clip: text;
    background-clip: text;
}
.auth-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  border-radius: 10px;
  
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  padding: 14px;
  line-height: 1.4;
  padding-left:0 ;
}


/* Eye toggle button */
.auth-eye-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 100%;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--transition);
    padding: 0;
}

.auth-eye-btn:hover { color: var(--text-secondary); }

/* Field error message */
.auth-field-group .field-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 5px;
    padding-left: 4px;
    display: none;
}

.auth-field-group .field-error.show { display: block; }

/* ── Remember me + Forgot password row ────────────────────── */
.auth-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 8px;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.auth-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-red);
    cursor: pointer;
    flex-shrink: 0;
}

.auth-forgot-link {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}

.auth-forgot-link:hover { color: var(--brand-red-dark); }

/* ── Submit button ─────────────────────────────────────────── */
.auth-submit-btn {
    display: block;
    width: 100%;
background: linear-gradient(100.39deg, #D4AF37 8.06%, #A7861A 53.63%, #E3C383 76.42%, #8F6000 99.2%);
    color: rgba(0, 0, 0, 1);
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background var(--transition);
    position: relative;
    margin-bottom: 22px;
}

.auth-submit-btn:hover { 
    background: linear-gradient(100.39deg, #D4AF37 22.06%, #7c620b 53.63%, #eabb5d 76.42%, #6f4b03 99.2%);

 }

/* btn-loading override for auth button */
.auth-submit-btn.btn-loading { background: var(--brand-red-dark); }

/* ── OR divider ────────────────────────────────────────────── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-sans);
    font-size: 12.5px; font-weight: 500;
    color: var(--text-primary);
       max-width: 80%;
    margin: 0px auto 16px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #fff;
}

/* ── Google button ─────────────────────────────────────────── */
.auth-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;

    border: 1.5px solid transparent;
    border-radius: 10px;

    background:
      linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
      linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
      ) border-box;

    padding: 13px 20px;
    font-family: var(--font-sans);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;

    transition: background var(--transition), box-shadow var(--transition);
    margin-bottom: 24px;
}

.auth-google-btn span {
    background: linear-gradient(
      100.39deg,
      #D4AF37 8.06%,
      #A7861A 53.63%,
      #E3C383 76.42%,
      #8F6000 99.2%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.auth-google-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--brand-red);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ── Register / Login switch text ──────────────────────────── */
.auth-switch-text {
    font-family: var(--font-ibm-sans);
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
}

.auth-switch-link {
    color: var(--brand-red);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition);
}

.auth-switch-link:hover { color: var(--brand-red-dark); }

/* ── Terms label ───────────────────────────────────────────── */
.auth-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.5;
}

.auth-terms-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-red);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Form-level message (above submit) ─────────────────────── */
.auth-card .form-message {
    border-radius: 8px;
    font-size: 13.5px;
    margin-bottom: 16px;
    padding: 10px 14px;
    display: none;
}

.auth-card .form-message.show  { display: block; }
.auth-card .form-message.error {
    background: rgba(239,68,68,0.08);
    color: #dc2626;
    border: 1px solid rgba(239,68,68,0.2);
}
.auth-card .form-message.success {
    background: rgba(34,197,94,0.08);
    color: #16a34a;
    border: 1px solid rgba(34,197,94,0.2);
}

/* Responsive */
@media (max-width: 575.98px) {
    .auth-back-link   { left: 16px; top: 16px; font-size: 12.5px; }
    .auth-theme-toggle{ right: 16px; top: 14px; }
    .auth-main        { padding: 70px 16px 32px; }
    .auth-logo-icon   { width: 46px; height: 46px; font-size: 22px; }
    .auth-brand-name  { font-size: 28px; }
    .auth-heading     { font-size: 24px; }
}

/* ══════════════════════════════════════════════════════════════
   DASHBOARD PAGE  (.dash-*)
   ══════════════════════════════════════════════════════════════ */

.dash-page {
    padding: 2.5rem 0 4rem;
}

/* ── Page header ────────────────────────────────────────────── */
.dash-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dash-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 4px;
}

.dash-subtitle {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Logout button */
.dash-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.dash-logout-btn:hover {
    background: #fff2f2;
    border-color: var(--brand-red);
    color: var(--brand-red);
}

/* ── Stat cards ─────────────────────────────────────────────── */
.dash-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.dash-stat-card:hover { box-shadow: var(--shadow-md); }

.dash-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.dash-stat-value {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.dash-stat-label {
    font-family: var(--font-sans);
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Generic card ───────────────────────────────────────────── */
.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.dash-card-title {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    margin: 0;
}

.dash-card-action {
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: none;
    transition: color var(--transition);
}

.dash-card-action:hover { color: var(--brand-red-dark); }

/* ── Profile block ──────────────────────────────────────────── */
.dash-profile-body {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.dash-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    font-family: var(--font-display);
    flex-shrink: 0;
}

.dash-profile-name {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.dash-profile-email {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.dash-profile-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(208,2,27,0.08);
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

/* ── Quick links ────────────────────────────────────────────── */
.dash-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dash-quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition), color var(--transition);
}

.dash-quick-link:hover {
    background: var(--bg-secondary);
    color: var(--brand-red);
}

.dash-quick-link i:first-child {
    font-size: 15px;
    color: var(--text-muted);
    width: 18px;
    flex-shrink: 0;
}

.dash-quick-link:hover i:first-child { color: var(--brand-red); }

/* ── Empty state ────────────────────────────────────────────── */
.dash-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    color: var(--text-muted);
    text-align: center;
}

.dash-empty-state i {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.35;
}

.dash-empty-state p {
    font-size: 14px;
    margin-bottom: 16px;
}

.dash-empty-cta {
    display: inline-block;
    background: var(--brand-red);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--btn-radius);
    text-decoration: none;
    transition: background var(--transition);
}

.dash-empty-cta:hover { background: var(--brand-red-dark); color: #fff; }

/* ── Newsletter preferences ─────────────────────────────────── */
.dash-newsletter-prefs {
    padding: 4px 0;
}

.dash-pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    border-bottom: 1px solid var(--border-light);
}

.dash-pref-item:last-child { border-bottom: none; }

.dash-pref-label {
    font-family: var(--font-sans);
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Toggle switch */
.dash-toggle-switch {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
    cursor: pointer;
}

.dash-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.dash-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border-color);
    border-radius: 11px;
    transition: background 0.25s ease;
}

.dash-toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.dash-toggle-switch input:checked + .dash-toggle-slider {
    background: var(--brand-red);
}

.dash-toggle-switch input:checked + .dash-toggle-slider::before {
    transform: translateX(18px);
}

/* ── Upgrade banner ─────────────────────────────────────────── */
.dash-upgrade-banner {
    background: linear-gradient(135deg, var(--brand-red) 0%, #b50017 100%);
    border-radius: var(--card-radius);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.dash-upgrade-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.dash-upgrade-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.dash-upgrade-title {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.dash-upgrade-sub {
    font-size: 12.5px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

.dash-upgrade-btn {
    display: inline-block;
    background: #fff;
    color: var(--brand-red);
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--btn-radius);
    text-decoration: none;
    transition: background var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.dash-upgrade-btn:hover {
    background: rgba(255,255,255,0.9);
    color: var(--brand-red);
}

@media (max-width: 767.98px) {
    .dash-header { flex-direction: column; align-items: flex-start; }
    .dash-upgrade-banner { flex-direction: column; align-items: flex-start; }
    .dash-upgrade-btn { align-self: flex-start; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Print */
@media print {
    .front-navbar, .stock-ticker, .breaking-banner,
    .front-footer, .ad-banner-section { display: none; }
}



/* ── Nav user avatar dropdown (logged in) ───────────────────── */
.nav-user-wrap {
    position: relative;
}

.nav-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    padding: 5px 12px 5px 5px;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.nav-user-btn:hover {
    border-color: var(--brand-red);
    background: var(--brand-red-bg);
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    font-family: var(--font-display);
    flex-shrink: 0;
}

.nav-user-name {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-chevron {
    font-size: 11px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.nav-user-btn.open .nav-user-chevron { transform: rotate(180deg); }

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    z-index: 500;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-user-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    color: var(--text-secondary);
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

.nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover { background: var(--bg-secondary); color: var(--brand-red); }

.nav-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 2px 0;
}

.nav-dropdown-logout { color: #ef4444 !important; }
.nav-dropdown-logout:hover { background: rgba(239,68,68,0.07) !important; color: #ef4444 !important; }




/* ══════════════════════════════════════════════════════════════
   SUBSCRIBE / PRICING PAGE  (.sub-*)
   ══════════════════════════════════════════════════════════════ */

.sub-page {
    overflow-x: hidden;
}

/* ────────────────────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────────────────────── */
.sub-hero {
    /* background: var(--text-primary);           */
    color: #000000;
    padding: 1rem 0 4rem;
    position: relative;
    overflow: hidden;
}



.sub-hero > .container-fluid { position: relative; z-index: 1; }

.sub-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: rgb(1, 1, 1);
    text-decoration: none;
    margin-bottom: 28px;
    transition: color var(--transition);
}

.sub-hero-back:hover { color: #4b4b4b; }

.sub-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing:0;
    margin-bottom: 22px;
    color:var(--text-primary);
}

.sub-hero-desc {
    font-family: var(--font-ibm-sans);
    font-size: 17px; font-weight: 400;
    line-height: 100%;
    color:rgba(223, 218, 218, 1);
    max-width: 420px;
    margin-bottom: 32px;
}

.sub-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-red);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--btn-radius);
    text-decoration: none;
    transition: background var(--transition), gap var(--transition);
}

.sub-hero-cta:hover {
    background: var(--brand-red-dark);
    color: #fff;
    gap: 12px;
}

/* ── Browser mockup ───────────────────────────────────────── */
.sub-hero-mockup {
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}

.sub-mockup-bar {
    background: #2a2a2a;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
}

.sub-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
}

.sub-mockup-url {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    padding: 3px 10px;
    text-align: center;
    margin: 0 6px;
}

.sub-mockup-screen {
    background: var(--bg-primary);
    padding: 10px;
}

/* Mock navbar inside preview */
.sub-mock-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4px;
}

.sub-mock-logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sub-mock-logo-icon {
    width: 16px;
    height: 16px;
    background: var(--brand-red);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 8px;
}

.sub-mock-logo-name {
    font-family: var(--font-serif);
    font-size: 11px;
    font-weight: 900;
    color: var(--text-primary);
}

.sub-mock-nav-links {
    display: flex;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 9px;
    color: var(--text-muted);
}

.sub-mock-active {
    color: var(--brand-red);
    font-weight: 700;
}

/* Mock ticker */
.sub-mock-ticker {
    background: #111;
    display: flex;
    gap: 16px;
    padding: 4px 8px;
    font-family: var(--font-sans);
    font-size: 8px;
    color: rgba(255,255,255,0.75);
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 6px;
}

.sub-mock-ticker em { color: #22c55e; font-style: normal; }
.sub-mock-ticker em.down { color: #ef4444; }

/* Mock hero */
.sub-mock-hero {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.sub-mock-hero-img {
    width: 55%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--border-color));
    border-radius: 3px;
    flex-shrink: 0;
}

.sub-mock-hero-text {
    flex: 1;
    padding: 4px 0;
}

.sub-mock-cat {
    font-family: var(--font-sans);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--brand-red);
    display: block;
    margin-bottom: 4px;
}

.sub-mock-title {
    font-family: var(--font-serif);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.sub-mock-excerpt {
    font-size: 8px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Mock cards row */
.sub-mock-cards {
    display: flex;
    gap: 6px;
}

.sub-mock-card {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: 3px;
    padding: 5px;
    border: 1px solid var(--border-light);
}

.sub-mock-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--border-color));
    border-radius: 2px;
    margin-bottom: 4px;
}

.sub-mock-card-cat {
    font-family: var(--font-sans);
    font-size: 6px;
    font-weight: 700;
    color: var(--brand-red);
    margin-bottom: 3px;
    letter-spacing: 0.08em;
}

.sub-mock-card-line {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin-bottom: 2px;
}

.sub-mock-card-line.short { width: 65%; }

/* ────────────────────────────────────────────────────────────
   SHARED SECTION HEADER
   ──────────────────────────────────────────────────────────── */
.sub-section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sub-section-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 4vw, 60px);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing:0;
    margin-bottom: 14px;
}

.sub-section-desc {
    font-family: var(--font-ibm-sans);
    font-size: 20px;
    color:rgba(223, 218, 218, 1);
    max-width: 560px;
    margin: 0 auto;
    /* line-height: 1.7; */
}

/* ────────────────────────────────────────────────────────────
   PRICING SECTION
   ──────────────────────────────────────────────────────────── */
.sub-pricing-section {
    padding: 5rem 0 4rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* ── Billing toggle ─────────────────────────────────────────── */
.sub-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        100.39deg,
        rgba(212, 175, 55, 0.2) 8.06%,
        rgba(167, 134, 26, 0.2) 53.63%,
        rgba(227, 195, 131, 0.2) 76.42%,
        rgba(143, 96, 0, 0.2) 99.2%
    );

    /* border: 1.5px solid var(--border-color); */
    border-radius: 40px;
    padding: 4px;
    width: fit-content;
    margin: 0 auto 8px;
    gap: 2px;
}
.sub-toggle-btn {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 28px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    background: transparent;
    color: #fff;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.sub-toggle-btn.active {
    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
}
.sub-annual-note {
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    /* color: var(--brand-red); */
    text-align: center;
    margin-bottom: 2.5rem;
    opacity: 0;

}

.sub-annual-note.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ── Plan cards ─────────────────────────────────────────────── */
.sub-plans-row {
    align-items: stretch;
}

.sub-plan-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow var(--transition), border-color var(--transition),
                transform var(--transition);
}

.sub-plan-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Featured (middle) plan */
.sub-plan-card.featured {
    border-color: var(--brand-red);
    border-width: 2px;
    box-shadow: 0 0 0 4px var(--brand-red-bg), var(--shadow-md);
}

.sub-plan-card.featured:hover {
    box-shadow: 0 0 0 4px var(--brand-red-bg), var(--shadow-lg);
    transform: translateY(-5px);
}

/* "Most Popular" badge */
.sub-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-red);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.sub-plan-name {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}



.sub-plan-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.sub-plan-price {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sub-plan-card.featured .sub-plan-price {
    color: var(--brand-red);
}

.sub-plan-period {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Feature list */
.sub-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    flex: 1;
}

.sub-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    color: var(--text-secondary);
    padding: 6px 0;
    line-height: 1.45;
}

.sub-plan-features li i {
    color: var(--brand-red);
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* CTA button */
.sub-plan-btn {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 24px;
    padding: 13px 20px;

    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;

    border-radius: var(--btn-radius);
    text-decoration: none;

    background: transparent;
    border: none;

    color: transparent;
    background-image: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );
    -webkit-background-clip: text;
    background-clip: text;

    z-index: 0;
}

.sub-plan-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;

    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    z-index: -1;
}

.sub-plan-btn:hover {
    background: var(--brand-red);
    color: #000000;
}

.sub-plan-btn.featured {
    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    color: rgba(0, 0, 0, 1);
    border-color: transparent;
}

.sub-plan-btn.featured:hover {
    background: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
}

/* ────────────────────────────────────────────────────────────
   CLUB MEMBERSHIP
   ──────────────────────────────────────────────────────────── */
.sub-club-section {
    padding: 5rem 0 4rem;
    background: var(--bg-primary);
}

.sub-club-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    padding: 22px;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}

.sub-club-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Visual banner at top of card */
.sub-club-visual {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.sub-club-visual-business {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2f4a 50%, #0d1b2a 100%);
}

.sub-club-visual-event {
    background: linear-gradient(135deg, #1a0a0a 0%, #2a1010 50%, #1a0a0a 100%);
}

/* Decorative pattern */
.sub-club-visual-business::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 50%, rgba(208,2,27,0.12) 0%, transparent 60%),
        radial-gradient(circle at 75% 30%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.sub-club-visual-event::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 50%, rgba(208,2,27,0.2) 0%, transparent 60%),
        radial-gradient(circle at 20% 60%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

/* Grid line decoration */
.sub-club-visual-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
}

.sub-club-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sub-club-eyebrow {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 8px;
}

.sub-club-name {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0;
    margin-bottom: 4px;
}

.sub-club-tagline {
    font-family: var(--font-sans);
    font-size: 13.5px; font-weight: 500;
    /* font-style: italic; */
    color: var(--brand-red);
    margin-bottom: 16px;
}

.sub-club-price {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 600;

    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    letter-spacing: 0;
    line-height: 54px;
    margin-bottom: 20px;
}

.sub-club-price span {
    font-family: var(--font-sans);
    /* font-size: 14px;
    font-weight: 500;
    color: var(--text-muted); */
    letter-spacing: 0;
}

.sub-club-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.sub-club-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--font-ibm-sans);
    font-size: 13.5px; font-weight: 400;
    color:rgba(248, 250, 252, 0.7);
    padding: 5px 0;
    line-height: 100%;
}

.sub-club-features li i {
    color: var(--brand-red);
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 5px;
}

.sub-club-btn {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;

    padding: 13px 20px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;

    border-radius: 12px;
    border: none;

    background: transparent;

    color: transparent;
    background-image: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-decoration: none;
    margin-top: auto;
    z-index: 0;
}

.sub-club-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;

    background: linear-gradient(
        100.39deg,
        #D4AF37 8.06%,
        #A7861A 53.63%,
        #E3C383 76.42%,
        #8F6000 99.2%
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    z-index: -1;
}

.sub-club-btn:hover {
    background: var(--brand-red);
    color: #fff;
}

/* ────────────────────────────────────────────────────────────
   TRUST BAR
   ──────────────────────────────────────────────────────────── */
.sub-trust-section {
    padding: 2.5rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.sub-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.sub-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 40px;
    flex: 1;
    min-width: 180px;
    justify-content: center;
}

.sub-trust-item > i {
    font-size: 28px;
    color: var(--brand-red);
    flex-shrink: 0;
}

.sub-trust-label {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.sub-trust-sub {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--text-muted);
}

.sub-trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .sub-hero { padding: 4rem 0 3rem; }
    .sub-hero-title { font-size: 36px; }
    .sub-trust-divider { display: none; }
    .sub-trust-item { min-width: 140px; padding: 10px 16px; }
}

@media (max-width: 767.98px) {
    .sub-hero { padding: 3.5rem 0 2.5rem; }
    .sub-hero-title { font-size: 30px; }
    .sub-hero-desc { font-size: 15px; }
    .sub-pricing-section { padding: 3.5rem 0 3rem; }
    .sub-club-section { padding: 3.5rem 0 3rem; }
    .sub-toggle-btn { padding: 8px 20px; }
    .sub-plan-card { padding: 1.5rem; }
    .sub-club-visual { height: 120px; }
    .sub-trust-row { gap: 8px; }
}