/* ==========================================================================
   INDEX BRIEFING — Ghost Theme Stylesheet
   ========================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
    --amber: #D4842A;
    --amber-light: #E8A84C;
    --amber-dark: #B06B1A;
    --amber-glow: rgba(212,132,42,0.08);
    --grey: #8A8A8A;
    --dark: #1A1A1A;
    --near-black: #111111;
    --charcoal: #2A2A2A;
    --text: #3A3A3A;
    --text-grey: #444444;
    --mid-grey: #555555;
    --light-text: #777777;
    --bg: #FFFFFF;
    --cream: #FAFAF8;
    --cream-dark: #F0EDE6;
    --border: #E8E5DE;
    --green: #2D8B4E;
    --red: #C0392B;
    --red-light: #E74C3C;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --serif: 'DM Serif Display', Georgia, serif;
    --body-serif: 'Source Serif 4', Georgia, serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Animations --- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background: var(--dark);
    padding: 7px 0;
    text-align: center;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
.top-bar .pub { color: var(--grey); }
.top-bar .brand { color: var(--amber); font-weight: 700; }

/* ==========================================================================
   Site Header (sticky)
   ========================================================================== */
.site-header {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.92);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo {
    display: flex;
    flex-direction: column;
    transition: opacity 0.2s;
}
.site-logo:hover { opacity: 0.8; }
.logo-index {
    font-family: var(--sans);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--amber);
    line-height: 1;
}
.logo-briefing {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 9px;
    color: var(--grey);
    margin-top: 1px;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.site-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--mid-grey);
    position: relative;
    transition: color 0.2s;
}
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber);
    transition: width 0.3s ease;
}
.site-nav a:hover { color: var(--amber); }
.site-nav a:hover::after { width: 100%; }
.site-nav a.active { color: var(--amber); }
.site-nav a.active::after { width: 100%; }

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle svg { width: 24px; height: 24px; stroke: var(--dark); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--dark);
    padding: 40px 0 24px;
    margin-top: 60px;
    border-top: 3px solid var(--amber);
    text-align: center;
}
.footer-logo-index {
    font-size: 20px;
    color: var(--amber);
    font-weight: 700;
    letter-spacing: 4px;
}
.footer-logo-briefing {
    font-size: 7px;
    color: var(--grey);
    font-weight: 700;
    letter-spacing: 6px;
    display: block;
    margin-top: 2px;
}
.footer-nav {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-nav a {
    font-size: 12px;
    color: var(--grey);
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--amber); }
.footer-publisher {
    margin-top: 16px;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--mid-grey);
    text-transform: uppercase;
}
.footer-publisher span { color: var(--amber); font-weight: 700; }
.footer-copy {
    margin-top: 8px;
    font-size: 11px;
    color: var(--mid-grey);
}

/* ==========================================================================
   Subscribe Form (reused everywhere)
   ========================================================================== */
.subscribe-form { max-width: 400px; }
.subscribe-form input[type="email"] {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-family: var(--sans);
    font-size: 15px;
    border: 1px solid #CCC;
    border-radius: 4px 4px 0 0;
    outline: none;
    color: #333;
    background: #FFF;
}
.subscribe-form input[type="email"]::placeholder { color: #BBB; }
.subscribe-form input[type="email"]:focus { border-color: var(--amber); }
.subscribe-form button {
    display: block;
    width: 100%;
    padding: 14px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    color: #FFF;
    background: var(--amber);
    border: none;
    border-radius: 0 0 4px 4px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.2s;
}
.subscribe-form button:hover { background: #C07425; }
.subscribe-msg {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    min-height: 20px;
}
.subscribe-msg.success { color: var(--green); }
.subscribe-msg.error { color: var(--red); }

/* Subscribe CTA block (in articles, footer, etc.) */
.subscribe-cta {
    background: var(--cream);
    border-left: 3px solid var(--amber);
    padding: 32px;
    margin: 40px 0;
}
.subscribe-cta h3 {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 6px;
}
.subscribe-cta p {
    font-size: 14px;
    color: var(--mid-grey);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Sidebar subscribe (dark variant) */
.sidebar-subscribe {
    background: var(--near-black);
    padding: 24px;
    border-radius: 4px;
    border-bottom: 3px solid var(--amber);
    text-align: center;
}
.sidebar-subscribe h3 { font-size: 16px; color: white; font-weight: 700; margin-bottom: 6px; }
.sidebar-subscribe p { font-size: 12px; color: var(--grey); margin-bottom: 14px; }
.sidebar-subscribe input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    border: 1px solid var(--charcoal);
    background: var(--charcoal);
    color: white;
    border-radius: 4px;
    font-family: var(--sans);
    outline: none;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.sidebar-subscribe input[type="email"]:focus { border-color: var(--amber); }
.sidebar-subscribe input[type="email"]::placeholder { color: var(--grey); }
.sidebar-subscribe button {
    width: 100%;
    padding: 10px;
    background: var(--amber);
    color: white;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--sans);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.sidebar-subscribe button:hover { background: var(--amber-light); }

/* ==========================================================================
   Category Tags
   ========================================================================== */
.tag-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
}
.tag-label.geopolitics,
.tag-label.defence,
.tag-label.research,
.tag-label.opinion,
.tag-label.analysis { background: var(--amber); color: white; }
.tag-label.markets,
.tag-label.energy,
.tag-label.lifestyle,
.tag-label.economic-data { background: var(--grey); color: white; }
.tag-label.breaking { background: var(--red); color: white; }
.tag-label.key { background: var(--amber); color: white; }

/* ==========================================================================
   Section Labels
   ========================================================================== */
.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--amber);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--amber);
    margin-bottom: 24px;
}
.section-label.grey {
    color: var(--grey);
    border-bottom-color: var(--grey);
}

/* ==========================================================================
   Homepage
   ========================================================================== */

/* Hero article */
.hero-article {
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--border);
}
.hero-article-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-article-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 2px;
}
.hero-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hero-article:hover .hero-article-image img { transform: scale(1.02); }
.hero-article-content { padding: 8px 0; }
.hero-article .tag-label { margin-bottom: 12px; }
.hero-article h2 {
    font-family: var(--serif);
    font-size: 34px;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 12px;
}
.hero-article h2 a { transition: color 0.2s; }
.hero-article h2 a:hover { color: var(--amber); }
.hero-article .excerpt {
    font-family: var(--body-serif);
    font-size: 16px;
    color: var(--mid-grey);
    line-height: 1.7;
    margin-bottom: 12px;
}
.hero-article .meta {
    font-size: 12px;
    color: var(--light-text);
}
.hero-article .meta a { color: var(--amber); font-weight: 600; }

/* Article grid */
.home-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 32px;
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Article card */
.article-card {
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
    animation: fadeIn 0.4s ease-out both;
}
.article-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 14px;
    border-radius: 2px;
}
.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.article-card:hover .article-card-image img { transform: scale(1.03); }
.article-card .tag-label { margin-bottom: 8px; }
.article-card h3 {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 8px;
}
.article-card h3 a { transition: color 0.2s; }
.article-card h3 a:hover { color: var(--amber); }
.article-card .excerpt {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card .meta {
    font-size: 11px;
    color: var(--light-text);
}
.article-card .meta a { color: var(--amber); font-weight: 600; }

/* Compact list (no image) */
.article-list-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.article-list-item .list-accent {
    width: 3px;
    min-height: 100%;
    background: var(--amber);
    flex-shrink: 0;
}
.article-list-item .list-accent.grey { background: var(--grey); }
.article-list-item h4 {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 4px;
}
.article-list-item h4 a { transition: color 0.2s; }
.article-list-item h4 a:hover { color: var(--amber); }
.article-list-item .meta {
    font-size: 11px;
    color: var(--light-text);
}

/* ==========================================================================
   Post / Article Page
   ========================================================================== */
.post-header {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 32px 32px;
    text-align: center;
}
.post-header .tag-label { margin-bottom: 16px; }
.post-header h1 {
    font-family: var(--serif);
    font-size: 40px;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}
.post-header .post-excerpt {
    font-family: var(--body-serif);
    font-size: 18px;
    color: var(--mid-grey);
    line-height: 1.6;
    margin-bottom: 20px;
}
.post-meta {
    font-size: 13px;
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.post-meta .author-name { color: var(--amber); font-weight: 600; }
.post-meta .separator { color: var(--border); }

/* Post feature image */
.post-feature-image {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 32px;
}
.post-feature-image img {
    width: 100%;
    border-radius: 2px;
}

/* Post content */
.post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 32px 48px;
}
.post-content p {
    font-family: var(--body-serif);
    font-size: 18px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 24px;
}
.post-content h2 {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--dark);
    margin: 40px 0 16px;
}
.post-content h3 {
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin: 32px 0 12px;
}
.post-content a {
    color: var(--amber);
    border-bottom: 1px solid rgba(212,132,42,0.3);
    transition: border-color 0.2s;
}
.post-content a:hover { border-color: var(--amber); }
.post-content blockquote {
    border-left: 3px solid var(--amber);
    padding: 16px 24px;
    margin: 32px 0;
    background: var(--cream);
}
.post-content blockquote p {
    font-style: italic;
    color: var(--mid-grey);
    margin-bottom: 0;
}
.post-content ul, .post-content ol {
    font-family: var(--body-serif);
    font-size: 18px;
    color: var(--text);
    line-height: 1.8;
    margin: 0 0 24px 24px;
}
.post-content li { margin-bottom: 8px; }
.post-content figure {
    margin: 32px 0;
}
.post-content figcaption {
    font-size: 13px;
    color: var(--light-text);
    text-align: center;
    margin-top: 8px;
}
.post-content strong { color: var(--dark); }
.post-content hr {
    border: none;
    height: 2px;
    background: var(--border);
    margin: 40px 0;
}

/* Share buttons */
.share-bar {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 32px 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.share-bar .share-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-text);
}
.share-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: var(--cream);
    color: var(--mid-grey);
    transition: all 0.2s;
}
.share-bar a:hover { background: var(--amber); color: white; }

/* Related posts */
.related-posts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 32px 60px;
    border-top: 2px solid var(--amber);
}
.related-posts .section-label { margin-bottom: 28px; }

/* Author box */
.author-box {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 24px 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--cream);
    border-left: 3px solid var(--amber);
}
.author-box-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.author-box-bio {
    font-size: 13px;
    color: var(--mid-grey);
    line-height: 1.5;
}

/* ==========================================================================
   Tag Archive Page
   ========================================================================== */
.tag-header {
    background: var(--near-black);
    padding: 48px 32px;
    text-align: center;
    border-bottom: 3px solid var(--amber);
}
.tag-header h1 {
    font-family: var(--serif);
    font-size: 36px;
    color: white;
    margin-bottom: 8px;
}
.tag-header .tag-description {
    font-size: 15px;
    color: var(--grey);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.tag-header .tag-count {
    font-size: 12px;
    color: var(--mid-grey);
    margin-top: 12px;
}

/* ==========================================================================
   Author Page
   ========================================================================== */
.author-header {
    background: var(--cream);
    padding: 48px 32px;
    border-bottom: 1px solid var(--border);
}
.author-header-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: center;
}
.author-header-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--amber);
}
.author-header-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-header h1 {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 4px;
}
.author-header .author-location {
    font-size: 12px;
    color: var(--amber);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.author-header .author-bio {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 1.6;
}

/* ==========================================================================
   Live Coverage Page
   ========================================================================== */
.live-banner {
    background: var(--near-black);
    padding: 48px 32px 40px;
    text-align: center;
    border-bottom: 3px solid var(--red);
    position: relative;
    overflow: hidden;
}
.live-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(192,57,43,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
}
.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}
.live-title {
    font-family: var(--serif);
    font-size: 36px;
    color: white;
    line-height: 1.25;
    max-width: 800px;
    margin: 0 auto 12px;
    position: relative;
}
.live-subtitle {
    font-size: 15px;
    color: var(--grey);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
}
.live-updated {
    font-size: 12px;
    color: var(--mid-grey);
    margin-top: 16px;
    position: relative;
}
.live-updated time { color: var(--amber); font-weight: 600; }

/* Live layout */
.live-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding-top: 40px;
}

/* Timeline */
.timeline { position: relative; }
.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.update {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    margin-bottom: 0;
    padding-bottom: 32px;
    position: relative;
    animation: fadeIn 0.4s ease-out both;
}
.update:last-child { padding-bottom: 0; }
.update-time { text-align: right; padding-top: 2px; position: relative; }
.update-time .time { font-size: 14px; font-weight: 700; color: var(--dark); line-height: 1.2; }
.update-time .date { font-size: 10px; color: var(--grey); margin-top: 2px; }
.update-body { position: relative; padding-left: 24px; }
.update-body::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--amber);
    border-radius: 50%;
    border: 2px solid var(--bg);
    z-index: 1;
}
.update.breaking .update-body::before {
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(192,57,43,0.15);
}
.update.breaking .update-time .time { color: var(--red); }
.update.key .update-body::before {
    background: var(--amber);
    box-shadow: 0 0 0 4px var(--amber-glow);
}
.update-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
}
.update-label.breaking { background: var(--red); color: white; }
.update-label.key { background: var(--amber); color: white; }
.update-label.markets { background: var(--grey); color: white; }
.update-label.analysis { background: var(--dark); color: var(--amber); }
.update-title {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 8px;
}
.update-text {
    font-family: var(--body-serif);
    font-size: 16px;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 8px;
}
.update-text strong { color: var(--dark); }
.update-text a { color: var(--amber); border-bottom: 1px solid rgba(212,132,42,0.3); }
.update-source { font-size: 11px; color: var(--grey); font-style: italic; }

/* Day divider */
.day-divider {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    margin: 12px 0 32px;
}
.day-divider-line {
    grid-column: 2;
    padding-left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.day-divider-line span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--amber);
    white-space: nowrap;
}
.day-divider-line::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--amber);
}

/* Sidebar */
.sidebar { position: sticky; top: 80px; align-self: start; }
.sidebar-section { margin-bottom: 28px; }
.sidebar-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--amber);
}
.key-facts {
    background: var(--cream);
    border-left: 3px solid var(--amber);
    padding: 16px;
    border-radius: 0 4px 4px 0;
}
.key-fact {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
}
.key-fact:last-child { border-bottom: none; }
.key-fact strong { color: var(--dark); }
.key-fact .fact-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--amber);
    display: block;
    margin-bottom: 2px;
}
.market-ticker {
    background: var(--dark);
    border-radius: 4px;
    padding: 16px;
    border-bottom: 2px solid var(--amber);
}
.ticker-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--charcoal);
    font-size: 13px;
}
.ticker-row:last-child { border-bottom: none; }
.ticker-name { color: var(--grey); }
.ticker-price { color: white; font-weight: 600; }
.ticker-change { font-weight: 600; font-size: 12px; }
.ticker-change.up { color: #2ECC71; }
.ticker-change.down { color: var(--red-light); }

/* ==========================================================================
   About Page
   ========================================================================== */
.about-hero {
    background: var(--bg);
    padding: 60px 24px 48px;
    text-align: center;
    border-bottom: 3px solid var(--amber);
}
.about-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 24px;
}
.about-section-label {
    font-size: 15px;
    letter-spacing: 4px;
    color: var(--amber);
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}
.about-section { margin-bottom: 40px; }
.about-section h2 {
    font-family: 'Playfair Display', var(--serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.about-section p {
    font-size: 15px;
    color: var(--mid-grey);
    line-height: 1.75;
}
.about-divider { height: 1px; background: var(--border); margin: 40px 0; }
.about-divider.amber { height: 2px; background: var(--amber); }
.stat-grid { display: flex; gap: 16px; margin: 32px 0; }
.stat-card {
    flex: 1;
    background: var(--bg);
    padding: 24px 20px;
    text-align: center;
    border-left: 3px solid var(--amber);
}
.stat-card.grey { border-left-color: var(--grey); }
.stat-number { font-size: 28px; font-weight: 700; color: var(--amber); }
.stat-number.grey { color: var(--grey); }
.stat-label { font-size: 11px; color: #999; letter-spacing: 1px; margin-top: 4px; }
.values-grid { display: flex; gap: 16px; margin: 32px 0; }
.value-card {
    flex: 1;
    background: var(--bg);
    padding: 24px 20px;
    text-align: left;
    border-left: 3px solid var(--amber);
}
.value-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.value-desc { font-size: 12px; color: #999; line-height: 1.5; }

/* ==========================================================================
   Ghost Content Card Classes (required by Ghost)
   ========================================================================== */
.kg-width-wide {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.kg-width-full {
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}
.kg-width-full img {
    width: 100%;
}
.kg-image-card img {
    margin: 0 auto;
}
.kg-image-card figcaption {
    font-size: 13px;
    color: var(--light-text);
    text-align: center;
    margin-top: 8px;
}
.kg-gallery-card {
    margin: 32px 0;
}
.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.kg-gallery-row {
    display: flex;
    gap: 8px;
}
.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kg-bookmark-card {
    margin: 32px 0;
}
.kg-bookmark-container {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
}
.kg-bookmark-content {
    flex: 1;
    padding: 20px;
}
.kg-bookmark-title {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.kg-bookmark-description {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--light-text);
}
.kg-bookmark-icon {
    width: 16px;
    height: 16px;
}
.kg-bookmark-thumbnail {
    width: 200px;
    min-height: 100%;
}
.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Ad Placement Slots
   ========================================================================== */
.ad-leaderboard {
    max-width: 728px;
    margin: 24px auto;
    min-height: 90px;
    text-align: center;
}
.ad-sidebar {
    min-height: 250px;
    margin-bottom: 28px;
}
.ad-in-article {
    margin: 32px 0;
    text-align: center;
}
.ad-in-feed {
    padding: 24px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.ad-sticky {
    position: sticky;
    top: 80px;
}
.ad-anchor-mobile {
    display: none;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: var(--light-text);
}
.pagination a {
    color: var(--amber);
    font-weight: 600;
    transition: opacity 0.2s;
}
.pagination a:hover { opacity: 0.8; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .hero-article-inner { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr 1fr; }
    .live-layout { grid-template-columns: 1fr; }
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .sidebar-section:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .header-inner { flex-direction: column; gap: 12px; text-align: center; }
    .site-nav { flex-wrap: wrap; justify-content: center; gap: 16px; }
    .site-nav { display: none; }
    .site-nav.open { display: flex; }
    .menu-toggle { display: block; }
    .header-inner { flex-direction: row; }

    .hero-article h2 { font-size: 26px; }
    .hero-article-inner { padding: 0 20px; }

    .article-grid { grid-template-columns: 1fr; gap: 24px; }
    .home-section { padding: 32px 20px; }

    .post-header { padding: 32px 20px 24px; }
    .post-header h1 { font-size: 30px; }
    .post-content { padding: 0 20px 40px; }
    .post-feature-image { padding: 0 20px; }
    .share-bar { padding: 0 20px 24px; }
    .related-posts { padding: 32px 20px 48px; }

    .live-title { font-size: 26px; }
    .live-banner { padding: 36px 20px 32px; }
    .live-layout { padding: 0 20px; }
    .update { grid-template-columns: 60px 1fr; gap: 16px; }
    .timeline::before { left: 60px; }
    .update-title { font-size: 18px; }
    .update-text { font-size: 15px; }
    .sidebar { grid-template-columns: 1fr; }

    .about-hero { padding: 40px 20px 32px; }
    .stat-grid { flex-direction: column; }
    .values-grid { flex-direction: column; }

    .tag-header h1 { font-size: 28px; }
    .author-header-inner { flex-direction: column; text-align: center; }

    .ad-anchor-mobile { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99; text-align: center; background: var(--bg); }
}
