/*
Theme Name: SEO News Theme 4
Theme URI: https://superbpn.top/
Description: A warm editorial design system featuring deep charcoal with amber, gold and ember accents.
Version: 1.0.0
Author: Davit Danielyan / Develoop
License: GPL-2.0-or-later
Text Domain: seo-news-theme-4
*/

/* ========== GOOGLE FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=DM+Sans:ital,opsz,wght@0,9..40,300..700;1,9..40,300..700&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    /* Ember Editorial Palette */
    --bg-primary: #0a0804;
    --bg-secondary: #140f07;
    --bg-card: #1e1710;
    --bg-card-hover: #2a2118;
    --bg-elevated: #1f1500;

    /* Accent Colors */
    --accent-primary: #f59e0b;
    /* Amber */
    --accent-secondary: #f97316;
    /* Orange */
    --accent-blue: #fb923c;
    /* Warm orange */
    --accent-gold: #fbbf24;

    /* Gradients */
    --gradient-glow: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
    --gradient-hero: linear-gradient(160deg, #0a0804 0%, #1f1500 40%, #140f07 70%, #0a0804 100%);
    --gradient-overlay: linear-gradient(to top, rgba(10, 8, 4, .98) 0%, rgba(10, 8, 4, .6) 50%, rgba(10, 8, 4, .1) 100%);

    /* Text */
    --text-primary: #fdf8f0;
    --text-secondary: #e2d5bc;
    --text-muted: #a89070;
    --text-accent: var(--accent-primary);

    /* Borders & Shadows */
    --border-color: rgba(245, 158, 11, .12);
    --border-bright: rgba(245, 158, 11, .25);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, .4);
    --shadow-md: 0 12px 34px rgba(10, 8, 4, .6);
    --shadow-lg: 0 20px 58px rgba(10, 8, 4, .8);

    /* Layout Parameters */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --max-width: 1280px;
    --transition: .45s cubic-bezier(.4, 0, .2, 1);
}

/* ========== FOUNDATION ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--bg-primary);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.8;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Warm Ambient Glow */
body::before {
    content: '';
    position: fixed;
    top: -15%;
    left: -5%;
    width: 55%;
    height: 55%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 65%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, .05) 0%, transparent 65%);
    z-index: -1;
    pointer-events: none;
}

body {
    background-image:
        radial-gradient(circle at bottom right, rgba(249, 115, 22, .06), transparent 35%),
        linear-gradient(180deg, #0a0804 0%, #0f0a03 100%);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all var(--transition);
}

a:hover {
    color: var(--accent-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== LAYOUT ========== */
.site-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    padding: 60px 0;
}

/* ========== HEADER ========== */
.site-header {
    background: rgba(10, 8, 4, .9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
}

.site-header.header-scrolled {
    padding: 4px 0;
    background: rgba(10, 8, 4, .97);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.site-logo a {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -1px;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.site-header.header-scrolled .site-logo a {
    font-size: 1.45rem;
}

.site-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 9px 16px;
    border-radius: 8px;
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.current,
.main-nav .current-menu-item>a {
    color: var(--accent-primary);
    background: rgba(245, 158, 11, .08);
}

.header-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 6px 14px;
    margin-left: 16px;
    transition: all var(--transition);
}

.header-search-form:focus-within {
    border-color: var(--accent-primary);
    background: rgba(245, 158, 11, .04);
    box-shadow: 0 0 20px rgba(245, 158, 11, .1);
}

.header-search-form .search-field {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.88rem;
    width: 155px;
    outline: none;
}

.header-search-form .search-submit {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all var(--transition);
}

.header-search-form .search-submit:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: 560px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 64px;
    border: 1px solid var(--border-bright);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(245, 158, 11, .04);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.85) sepia(0.1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 8, 4, 1) 0%, rgba(10, 8, 4, 0.35) 100%);
}

.hero-slide-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 60px 80px;
    z-index: 10;
}

.hero-slide-content {
    max-width: 720px;
}

.category-badge {
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-slide-content h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-slide-content h2 a {
    color: var(--text-primary);
}

.hero-slide-content .slide-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    font-weight: 500;
}

.slider-nav {
    position: absolute;
    bottom: 60px;
    right: 80px;
    z-index: 20;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.slider-dot.active {
    background: var(--accent-primary);
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(245, 158, 11, .6);
}

/* ========== SECTION TITLES ========== */
.section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
    padding-bottom: 16px;
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--accent-primary), transparent);
}

/* ========== CARDS & GRIDS ========== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, .03) 0%, transparent 60%);
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, .35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(245, 158, 11, .06);
}

.category-card-header {
    padding: 22px 28px;
    background: rgba(245, 158, 11, .04);
    border-bottom: 1px solid var(--border-color);
}

.category-card-header h3 a {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.category-card-body {
    padding: 28px;
    flex-grow: 1;
}

.category-card-body .post-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.category-card-body .post-title a {
    color: var(--text-primary);
}

.category-card-body .read-more {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

/* Latest Updates Grid */
.latest-updates-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 36px;
}

.latest-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.latest-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-bright);
    box-shadow: var(--shadow-md);
}

.latest-card-img {
    height: 220px;
    overflow: hidden;
}

.latest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
    filter: saturate(0.9) brightness(0.95);
}

.latest-card:hover .latest-card-img img {
    transform: scale(1.07);
    filter: saturate(1.05) brightness(1);
}

.latest-card-content {
    padding: 28px;
}

/* ========== SIDEBAR ========== */
.sidebar .widget {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 28px;
    border: 1px solid var(--border-color);
}

.sidebar .widget-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.3px;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar .widget-title::before {
    content: '';
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: var(--gradient-glow);
    flex-shrink: 0;
}

.sidebar li {
    list-style: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(245, 158, 11, .05);
}

.sidebar li a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.93rem;
}

.sidebar li a:hover {
    color: var(--accent-primary);
    padding-left: 8px;
}

/* ========== SINGLE POST ========== */
.single-post-header {
    margin-bottom: 48px;
}

.post-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.post-meta-drawer {
    background: rgba(30, 23, 16, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.post-share-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.share-links {
    display: flex;
    gap: 8px;
}

.share-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.meta-avatar {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 12px rgba(245, 158, 11, .25);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.93rem;
    font-weight: 500;
}

.meta-label {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.meta-divider {
    width: 1px;
    height: 28px;
    background: var(--border-color);
}

.read-time {
    color: var(--accent-primary);
    font-weight: 600;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(245, 158, 11, .06);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, .3);
}

.featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.post-content {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 64px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    max-width: 100%;
}

.post-content p {
    margin-bottom: 28px;
}

.post-content h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text-primary);
    margin: 56px 0 22px;
    letter-spacing: -1px;
}

.post-content blockquote {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 500;
    padding: 36px 40px;
    border-left: 4px solid var(--accent-primary);
    background: rgba(245, 158, 11, .04);
    border-radius: 0 16px 16px 0;
    margin: 48px 0;
    color: var(--text-primary);
}

.post-content>p:first-of-type::first-letter {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 4.8rem;
    font-weight: 900;
    font-style: italic;
    float: left;
    line-height: 0.8;
    margin: 10px 14px 0 0;
    color: var(--accent-primary);
    text-shadow: 2px 2px 0 rgba(249, 115, 22, .4);
}

/* Editorial Author Box */
.editorial-author-box {
    display: flex;
    gap: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 44px;
    margin: 72px 0;
    position: relative;
    overflow: hidden;
}

.editorial-author-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-glow);
}

.author-avatar-col .author-box-avatar {
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 24px rgba(245, 158, 11, .2);
}

.author-info-col .author-box-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-secondary);
    margin-bottom: 6px;
    display: block;
}

.author-info-col .author-name {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 14px;
}

.author-info-col .author-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
    line-height: 1.7;
}

.author-box-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid var(--accent-primary);
    border-radius: 6px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition);
}

.author-box-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 8px 24px rgba(245, 158, 11, .25);
}

/* Related Posts */
.related-posts {
    margin-top: 72px;
    padding-top: 56px;
    border-top: 1px solid var(--border-color);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.related-post-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.related-post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, .3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

.related-post-card .card-image-wrap img {
    height: 175px;
    width: 100%;
    object-fit: cover;
    filter: saturate(0.85);
    transition: filter var(--transition);
}

.related-post-card:hover .card-image-wrap img {
    filter: saturate(1);
}

.related-post-card .card-body {
    padding: 22px;
}

.related-post-card .card-category {
    font-size: 0.63rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.related-post-card .card-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

/* ========== SITE FOOTER ========== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-glow);
    opacity: 0.6;
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 45%;
    height: 55%;
    background: radial-gradient(circle, rgba(245, 158, 11, .04) 0%, transparent 70%);
    pointer-events: none;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 56px;
    padding-bottom: 56px;
}

.footer-col .footer-logo {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -1px;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
    display: inline-block;
}

.footer-col p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 320px;
}

.footer-col h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.2px;
    color: var(--text-primary);
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(245, 158, 11, .4), transparent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition);
}

.footer-col ul li a::before {
    content: '—';
    font-size: 0.65rem;
    color: rgba(245, 158, 11, .3);
    flex-shrink: 0;
    transition: all var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

.footer-col ul li a:hover::before {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 158, 11, .08);
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.83rem;
    color: var(--text-muted);
    background: rgba(10, 8, 4, .5);
}

.footer-bottom a {
    color: var(--accent-primary);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--accent-secondary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .content-area {
        grid-template-columns: 1fr;
    }

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

    .hero-slide-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .post-content {
        padding: 36px 22px;
    }

    .hero-slide-inner {
        padding: 36px;
    }

    .hero-slide-content h2 {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .post-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== SIDEBAR CATEGORIES WIDGET — Show all button ========== */
.widget-categories .cat-list-extras {
    /* Seamless continuation of the first 5 — same list styling. */
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-categories .cat-list-extras:empty {
    display: none;
}

/*
 * Keep the divider line under the 5th item whenever the "Show all" button or
 * AJAX-loaded extras are going to follow it. Without this override, the 5th item
 * is `li:last-child` in its own <ul> and loses its bottom border, causing a
 * visual break between the initial 5 and the appended categories.
 */
.sidebar .widget-categories .cat-list-initial li:last-child {
    border-bottom: 1px solid var(--border-color);
}

/* Strip the border under the final loaded item so the widget ends cleanly. */
.sidebar .widget-categories .cat-list-extras li:last-child {
    border-bottom: none;
}

.widget-categories .show-all-cats-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 8px 14px;
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    font-family: inherit;
}

.widget-categories .show-all-cats-btn:hover,
.widget-categories .show-all-cats-btn:focus-visible {
    background: var(--accent-gold);
    color: #fff;
    outline: none;
}

.widget-categories .show-all-cats-btn.is-loading {
    opacity: 0.6;
    cursor: progress;
}

.widget-categories .show-all-cats-btn:disabled {
    cursor: not-allowed;
}

/* ========== HOMEPAGE: SECTION TITLES, BUTTONS & TEXT — MOBILE ========== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 24px;
        padding-bottom: 12px;
        letter-spacing: 0;
    }

    .editors-pick h3 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }

    .ep-content > p {
        font-size: 0.95rem !important;
        line-height: 1.65 !important;
        margin-bottom: 18px !important;
    }

    .latest-card-content h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }

    .category-card-body .read-more {
        padding: 10px 0;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.05rem;
        margin-bottom: 18px;
    }

    .editors-pick h3 {
        font-size: 1.2rem !important;
    }

    .latest-card-content h3 {
        font-size: 1rem !important;
    }

    .ep-content > p {
        font-size: 0.9rem !important;
    }
}


/* ========== PAGINATION STYLING ========== */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 0 16px;
    flex-wrap: wrap;
}

.nav-links a.page-numbers,
.nav-links span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.08);
    background: var(--bg-secondary);
    color: var(--text-muted);
}

.nav-links a.page-numbers:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.nav-links span.page-numbers.current {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.nav-links span.page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: var(--text-muted);
    min-width: 32px;
    padding: 0 6px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.nav-links a.prev.page-numbers,
.nav-links a.next.page-numbers {
    padding: 0 18px;
    gap: 6px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .nav-links {
        gap: 4px;
        padding: 24px 0 12px;
    }
    .nav-links a.page-numbers,
    .nav-links span.page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.8rem;
    }
    .nav-links a.prev.page-numbers,
    .nav-links a.next.page-numbers {
        padding: 0 12px;
    }
}


/* ========== AUTHORS PAGE ========== */
.authors-page { padding: 56px 0 80px; }
.authors-page-hero { text-align: center; margin-bottom: 64px; }
.authors-page-label {
    display: inline-block;
    background: rgba(245, 158, 11, .12);
    color: var(--accent-primary);
    border: 1px solid rgba(245, 158, 11, .25);
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; padding: 5px 18px; border-radius: 20px; margin-bottom: 20px;
}
.authors-page-title {
    font-size: 3rem; font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px;
    background: linear-gradient(135deg, #fdf8f0 0%, rgba(253,248,240,.7) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.authors-page-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 500px; margin: 0 auto; line-height: 1.6; }
.authors-grid-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }

.author-card-item {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); overflow: hidden; display: flex;
    flex-direction: column; align-items: center; text-align: center; padding: 40px 32px 32px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
}
.author-card-item::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-glow); opacity: 0; transition: opacity var(--transition);
}
.author-card-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-bright); }
.author-card-item:hover::before { opacity: 1; }
.author-card-avatar-wrap { position: relative; margin-bottom: 24px; }
.author-card-avatar { width: 100px !important; height: 100px !important; border-radius: 50% !important; border: 3px solid var(--accent-primary) !important; display: block !important; }
.author-card-badge {
    position: absolute; bottom: -4px; right: -4px;
    background: var(--accent-primary); color: var(--bg-primary);
    font-size: .65rem; font-weight: 800; padding: 3px 9px; border-radius: 12px; white-space: nowrap;
}
.author-card-body { flex: 1; display: flex; flex-direction: column; align-items: center; }
.author-card-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.author-card-name a { color: var(--text-primary); text-decoration: none !important; transition: color var(--transition); }
.author-card-name a:hover { color: var(--accent-primary); }
.author-card-desc { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 24px; flex: 1; }
.author-card-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(245, 158, 11, .1); color: var(--accent-primary);
    border: 1px solid rgba(245, 158, 11, .25); padding: 9px 22px;
    border-radius: 8px; font-size: .84rem; font-weight: 600; text-decoration: none !important; transition: all var(--transition);
}
.author-card-btn:hover { background: var(--accent-primary); color: var(--bg-primary) !important; border-color: transparent; }

/* ========== SINGLE AUTHOR PAGE ========== */
.single-author-page { padding: 48px 0 80px; }
.single-author-layout { padding-top: 48px; }
.single-author-profile {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 56px; margin-bottom: 0; position: relative; overflow: hidden;
}
.single-author-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at top right, rgba(245,158,11,.06) 0%, transparent 60%);
}
.single-author-content { display: flex; gap: 48px; align-items: flex-start; position: relative; }
.single-author-left { flex-shrink: 0; }
.single-author-right { flex: 1; min-width: 0; }
.single-author-avatar-wrap { position: relative; }
.single-author-avatar-wrap img { width: 160px !important; height: 160px !important; border-radius: 50% !important; border: 4px solid var(--accent-primary) !important; display: block !important; }
.author-verify-badge {
    position: absolute; bottom: 4px; right: 4px;
    width: 32px; height: 32px; background: var(--bg-card); border: 2px solid var(--border-color);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.single-author-meta-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.badge-primary-outline {
    border: 1px solid var(--accent-primary); color: var(--accent-primary);
    padding: 4px 12px; border-radius: 20px; font-size: .7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
}
.single-author-stat-item { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: .85rem; font-weight: 600; }
.single-author-name { font-size: 2.8rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; color: var(--text-primary); }
.single-author-bio-content { font-size: 1.05rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 24px; }
.single-author-bio-content p { margin: 0; }
.single-author-posts-header { margin-bottom: 40px; padding-bottom: 16px; border-bottom: 1px solid var(--border-color); }

/* ========== ARCHIVE CARDS (author posts) ========== */
.archive-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.archive-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); overflow: hidden; display: flex;
    transition: transform var(--transition), box-shadow var(--transition);
}
.archive-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.archive-card-thumb { flex-shrink: 0; width: 200px; height: 150px; overflow: hidden; }
.archive-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.archive-card:hover .archive-card-thumb img { transform: scale(1.05); }
.archive-card-content { padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.card-cat-badge {
    display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--accent-primary); background: rgba(245,158,11,.1);
    padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; text-decoration: none !important;
}
.archive-card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.archive-card-title a { color: var(--text-primary); text-decoration: none !important; }
.archive-card-title a:hover { color: var(--accent-primary); }
.archive-card-excerpt { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.archive-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--text-muted); }
.read-more-link { color: var(--accent-primary); font-weight: 600; text-decoration: none !important; font-size: .85rem; }
.read-more-link:hover { text-decoration: underline !important; }

.archive-pagination { margin-top: 40px; }
.archive-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.archive-pagination a, .archive-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-secondary);
    font-weight: 600; font-size: .9rem; text-decoration: none !important; transition: all var(--transition);
}
.archive-pagination .current, .archive-pagination a:hover {
    background: var(--accent-primary); color: var(--bg-primary); border-color: var(--accent-primary);
}

.no-posts-found {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 64px 32px; text-align: center; color: var(--text-secondary);
}
.hot-badge {
    background: var(--accent-secondary, #f97316); color: #fff;
    font-size: .6rem; font-weight: 800; padding: 2px 7px; border-radius: 6px;
    text-transform: uppercase; letter-spacing: .5px; margin-left: 6px;
}
.post-date { font-size: .75rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 900px) {
    .authors-page-title { font-size: 2.2rem; }
    .single-author-content { flex-direction: column; text-align: center; }
    .single-author-meta-top { justify-content: center; }
    .single-author-name { font-size: 2rem; }
    .single-author-profile { padding: 32px 24px; }
}
@media (max-width: 640px) {
    .authors-grid-list { grid-template-columns: 1fr; }
    .archive-card { flex-direction: column; }
    .archive-card-thumb { width: 100%; height: 180px; }
    .authors-page-title { font-size: 1.8rem; }
}

/* ══════════════════════════════════════════
   DROPDOWN MENU
══════════════════════════════════════════ */

/* Parent item positioning context */
.main-nav ul li {
    position: relative;
}

/* Sub-menu hidden by default */
.main-nav ul .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 10px);
    padding: 6px 0;
    z-index: 9999;
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md, 0 8px 32px rgba(0,0,0,.4));
}

/* Show on hover or keyboard focus */
.main-nav ul li:hover > .sub-menu,
.main-nav ul li:focus-within > .sub-menu {
    display: flex;
}

/* Sub-menu item layout */
.main-nav ul .sub-menu li {
    display: block;
    width: 100%;
    position: relative;
}

.main-nav ul .sub-menu a {
    display: block;
    width: 100%;
    border-radius: 0;
    border: none;
    background: transparent;
    padding: 9px 18px;
    white-space: nowrap;
    font-size: 0.72rem;
    transform: none !important;
}

.main-nav ul .sub-menu a:hover {
    background: rgba(128,128,128,.08);
    color: var(--accent-primary);
    transform: none !important;
}

/* Nested sub-sub-menu */
.main-nav ul .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* Arrow chevron on parent items */
.main-nav ul .menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.main-nav ul .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0.45em;
    height: 0.45em;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-0.15em);
    opacity: 0.6;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.main-nav ul .menu-item-has-children:hover > a::after {
    transform: rotate(-135deg) translateY(0.1em);
    opacity: 1;
}

/* ══════════════════════════════════════════
   MOBILE MENU TOGGLE
══════════════════════════════════════════ */

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 6px);
    padding: 8px 10px;
    cursor: pointer;
    color: var(--text-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -6px; }
.hamburger::after  { top:  6px; }

/* ══════════════════════════════════════════
   MOBILE DRAWER
══════════════════════════════════════════ */

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-secondary, #140f07);
    border-left: 1px solid var(--border-color);
    z-index: 99999;
    transition: right 0.3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 99998;
    backdrop-filter: blur(2px);
}

.drawer-overlay.active {
    display: block;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.drawer-logo {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.btn-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: color 0.2s;
}

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

.drawer-content {
    padding: 20px 24px;
    flex: 1;
    overflow-y: auto;
}

/* Mobile nav list */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.mobile-nav-list li {
    position: relative;
}

.mobile-nav-list > li > a {
    display: block;
    padding: 11px 0;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-nav-list > li > a:hover {
    color: var(--accent-primary);
}

/* Mobile sub-menu */
.mobile-nav-list .sub-menu {
    display: none;
    list-style: none;
    padding: 4px 0 4px 16px;
    margin: 0;
    border-left: 2px solid var(--border-color);
}

.mobile-nav-list .sub-menu a {
    display: block;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    text-decoration: none;
    border: none;
    transition: color 0.2s;
}

.mobile-nav-list .sub-menu a:hover {
    color: var(--accent-primary);
}

/* Submenu toggle button */
.submenu-toggle {
    position: absolute;
    right: 0;
    top: 6px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: border-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

.submenu-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.submenu-toggle svg {
    transition: transform 0.2s ease;
    display: block;
}

.submenu-toggle.open svg {
    transform: rotate(180deg);
}

/* Mobile search form */
.mobile-search-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.mobile-search-form .search-field {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-sm, 6px);
    color: var(--text-primary);
    font-size: 0.88rem;
    outline: none;
}

.mobile-search-form .search-field:focus {
    border-color: var(--accent-primary);
}

.mobile-search-form .search-submit {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-sm, 6px);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.82rem;
    white-space: nowrap;
}

/* ── Responsive: show toggle, hide desktop nav ── */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .main-nav {
        display: none !important;
    }
}

.main-nav > ul,
.main-nav ul:not(.sub-menu) {
    display: flex;
    align-items: anchor-center;
}


/* ── Single Post Image Styles ── */
.featured-image img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
    display: block;
}

.post-content img,
.post-content figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md, 8px);
    margin: 24px auto;
}
.post-content figure {
    margin: 24px 0;
}
.post-content figure figcaption {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

/* ========== ARCHIVE / CATEGORY LISTING ========== */
.archive-posts-list .archive-post {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.archive-posts-list .archive-post::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.archive-posts-list .archive-post:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-bright);
    background: var(--bg-card-hover);
}

.archive-posts-list .archive-post:hover::after {
    transform: scaleX(1);
}

.archive-posts-list .archive-post-thumbnail {
    flex-shrink: 0;
    width: 220px;
    height: 160px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.archive-posts-list .archive-post-thumbnail a {
    display: block;
    height: 100%;
}

.archive-posts-list .archive-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.archive-posts-list .archive-post:hover .archive-post-thumbnail img {
    transform: scale(1.06);
}

.archive-posts-list .archive-post h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.archive-posts-list .archive-post h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition);
}

.archive-posts-list .archive-post h2 a:hover {
    color: var(--accent-primary);
}

.archive-posts-list .archive-post .post-excerpt {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.archive-posts-list .post-meta {
    font-size: .82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.archive-posts-list .post-meta a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
}

.archive-posts-list .read-more {
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: .8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: color var(--transition), gap var(--transition);
}

.archive-posts-list .read-more:hover {
    color: var(--accent-gold);
    gap: 10px;
}

@media (max-width: 640px) {
    .archive-posts-list .archive-post-thumbnail {
        width: 100%;
        height: 200px;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
}

/* ══════════════════════════════════════════
   STATIC PAGE TEMPLATE (Privacy, Terms, Cookies, Editorial Policy)
   Clean, readable typography. NO drop cap. NO inner card.
══════════════════════════════════════════ */
.static-page-wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 56px 0 80px;
}
.static-page-breadcrumbs {
    font-size: .85rem;
    margin-bottom: 24px;
    color: var(--text-muted);
}
.static-page-breadcrumbs a {
    color: var(--accent-primary);
    text-decoration: none;
}
.static-page-breadcrumbs a:hover { text-decoration: underline; }
.static-page-breadcrumbs .sep { margin: 0 8px; opacity: .6; }

.static-page-head {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}
.static-page-title {
    font-family: var(--font-serif, 'Fraunces', Georgia, serif);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 8px;
    color: var(--text-primary);
}
.static-page-meta {
    color: var(--text-muted);
    font-size: .9rem;
    margin: 0;
    font-style: italic;
}

.static-page-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Override the editorial drop-cap and big block style */
.static-page-content > p:first-of-type::first-letter {
    all: unset;
}

.static-page-content p {
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.static-page-content h2 {
    font-family: var(--font-serif, 'Fraunces', Georgia, serif);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: normal;
    color: var(--text-primary);
    margin: 36px 0 14px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}
.static-page-content h2:first-child { margin-top: 0; }

.static-page-content h3 {
    font-family: var(--font-serif, 'Fraunces', Georgia, serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 28px 0 10px;
    line-height: 1.3;
}

.static-page-content ul,
.static-page-content ol {
    margin: 0 0 22px;
    padding-left: 22px;
}
.static-page-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.static-page-content li::marker { color: var(--accent-primary); }

.static-page-content strong { color: var(--text-primary); font-weight: 700; }
.static-page-content em { color: var(--text-muted); }

.static-page-content a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.static-page-content a:hover { opacity: .8; }

.static-page-content blockquote {
    margin: 24px 0;
    padding: 16px 22px;
    border-left: 3px solid var(--accent-primary);
    background: rgba(245, 158, 11, .04);
    color: var(--text-primary);
    font-style: italic;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

@media (max-width: 768px) {
    .static-page-wrap { padding: 36px 0 60px; }
    .static-page-title { font-size: 2rem; }
    .static-page-content { font-size: .95rem; }
    .static-page-content h2 { font-size: 1.3rem; margin-top: 28px; }
}
