/* ==========================================================================
   bold-mag — Bold Magazine Editorial
   Large headlines, sharp edges, warm tones, editorial feel.
   Design language: editorial authority, warm authority, magazine-grade typography.
   DM Sans body + Playfair Display headings.
   ========================================================================== */

/* NOTE: --primary/--primary-rgb/--primary-dark/--primary-light come from the
   inline color scheme in base_frontend.html. Do NOT override them here. */
:root {
    --bg: #fffdf5;
    --text: #1a1a1a;
    --text-light: #4a4a4a;
    --text-muted: #8a8a8a;
    --border: #e8e0d0;
    --card-bg: #fffef8;
    --accent: #d62828;
    --ink: #0a0a0a;
    --gold: #c9a227;
    --shadow-sm: 0 1px 4px rgba(60, 40, 20, .06);
    --shadow-md: 0 4px 16px rgba(60, 40, 20, .1);
    --shadow-lg: 0 8px 32px rgba(60, 40, 20, .14);
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-sans: 'DM Sans', Georgia, 'Noto Sans SC', serif;
    --font-heading: 'Playfair Display', Georgia, 'Noto Sans SC', serif;
    --glow-primary: 0 0 16px color-mix(in srgb, var(--primary) 30%, transparent);
    --glow-accent: 0 0 16px color-mix(in srgb, var(--accent) 30%, transparent);
    --hero-bg: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #4a1a1a 100%);
    --hero-text: #fff;
    --hero-subtext: rgba(255, 255, 255, .6);
    --footer-bg: #1a1a1a;
    --footer-text: rgba(255, 255, 255, .55);
    --footer-link: rgba(255, 255, 255, .5);
    --footer-heading: #fff;
    --footer-border: rgba(255, 255, 255, .08);
    --footer-bottom-text: rgba(255, 255, 255, .3);
    --header-bg: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

/* === Editorial Section Headers: rule line + dot === */
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 900;
    letter-spacing: -.02em;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 10px;
}
.section-header h2::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}

/* === Sharp-edged cards with editorial hover === */
.deal-card {
    border-radius: 4px;
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.deal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* === CTA: uppercase editorial style === */
.deal-cta-card {
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    font-weight: 800;
    transition: transform .2s var(--ease-out);
}
.deal-cta-card:hover {
    transform: scale(1.02);
}

/* === Hero: bold editorial headline === */
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.1;
}

/* === Article: drop cap on first paragraph === */
.article-content > p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-size: 3.5em;
    font-weight: 900;
    float: left;
    line-height: .85;
    margin: 4px 8px 0 0;
    color: var(--primary);
}

/* === Pull quotes: editorial blockquote === */
.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 700;
    color: var(--ink);
    background: color-mix(in srgb, var(--primary-light) 50%, transparent);
    border-radius: 0 4px 4px 0;
}

/* === Footer: uppercase headings with letter-spacing === */
.footer-col h4 {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: .8rem;
    font-weight: 700;
}

/* === Brand showcase: solid accent bar === */
.brand-showcase::before {
    background: var(--primary);
    height: 4px;
}

/* === Category pills: editorial underline active === */
.cat-pill.active,
.cat-pill:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    border-radius: 2px;
}

/* === Pagination: editorial style === */
.pagination .active {
    background: var(--ink);
    border-color: var(--ink);
    border-radius: 2px;
}
.pagination a {
    border-radius: 2px;
    transition: background-color .2s var(--ease-out);
}

/* === Hero CTA: editorial solid === */
.hero-cta-btn {
    background: var(--primary);
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}
.hero-cta-btn:hover {
    background: var(--primary-dark);
}

/* === Article headings: serif === */
.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* === Deal badge: editorial tag === */
.deal-badge {
    background: var(--ink);
    color: #fff;
    border-radius: 2px;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === Breadcrumb: editorial separator === */
.breadcrumb {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* === Section header: "Vol." style metadata === */
.section-header .see-all {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* === Cookie consent: editorial top bar === */
.cookie-consent {
    border-top: 3px solid var(--primary);
}

/* === Selection: warm tone === */
::selection {
    background: var(--primary);
    color: #fff;
}
