/*
Theme Name: Newsum
Theme URI: https://wpmatcha.com/wordpress-themes/newsum
Author: WP Matcha
Author URI: https://wpmatcha.com
Description: Newsum is a high-contrast, modern editorial news and magazine WordPress theme engineered for tech journals, daily news blogs, startups, and investigative publications. Features multiple dynamic hero layouts, interactive reading time, custom widgets, live customizer controls, block patterns, and full accessibility compliance.
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newsum
Tags: blog, news, entertainment, grid-layout, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, block-patterns
*/

/* 
  Newsum - Tech & Daily News Theme 
  Mode: Advanced Animated Layout
  Style: High-Contrast Tech Editorial
*/

:root {
    --bg-color: #0a0a0a;
    --surface-color: #121212;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --accent-color: #ff2a2a;
    /* Neon Crimson */
    --border-color: #27272a;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    --grid-gap: 2rem;
    --container-max: 1800px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* WordPress Core Standard Classes */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption-text {
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
    color: var(--text-secondary, #94a3b8);
    margin-top: 0.5em;
    font-style: italic;
}

.gallery-caption {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary, #94a3b8);
    text-align: center;
}

.bypostauthor {
    display: block;
}

html {
    scrollbar-gutter: stable;
}

/* ══════════════════════════════════════════════════════════════════
   ACCESSIBILITY & SCREEN READERS
══════════════════════════════════════════════════════════════════ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--surface-color, #121212);
    border: 2px solid var(--accent-color, #ff2a2a);
    border-radius: 4px;
    box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--text-primary, #f4f4f5) !important;
    display: block;
    font-family: var(--font-mono, monospace);
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 12px;
    line-height: normal;
    padding: 12px 24px;
    text-decoration: none;
    top: 12px;
    width: auto;
    z-index: 1000000;
}

:focus-visible {
    outline: 2px solid var(--accent-color, #ff2a2a) !important;
    outline-offset: 3px !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-color, #ff2a2a) !important;
    outline-offset: 2px !important;
}

html.light-theme,
body.light-theme {
    --bg-color: #f4f4f5;
    --surface-color: #ffffff;
    --text-primary: #121212;
    --text-secondary: #52525b;
    --border-color: #d4d4d8;
}

/* Force dark mode variables in sections that always have dark backgrounds/images */
html.light-theme .site-footer,
body.light-theme .site-footer,
html.light-theme .media-strip,
body.light-theme .media-strip,
html.light-theme .hero-live-wall,
body.light-theme .hero-live-wall,
html.light-theme .category-accordion,
body.light-theme .category-accordion,
html.light-theme .hover-reveal-section,
body.light-theme .hover-reveal-section {
    --bg-color: #0a0a0a;
    --surface-color: #121212;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --border-color: #27272a;
}

html.light-theme .header-super-top,
body.light-theme .header-super-top {
    background: #e4e4e7;
    color: var(--text-primary);
}

html.light-theme .header-top,
body.light-theme .header-top {
    background: rgba(255, 255, 255, 0.95);
}

html.light-theme .ticker-label,
body.light-theme .ticker-label {
    background: #000000;
    color: #ffffff !important;
}

html.light-theme .tile-overlay,
html.light-theme .slide-overlay,
body.light-theme .tile-overlay,
body.light-theme .slide-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.25) 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

/* --- Header & Navigation --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-super-top {
    background: #000;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1;
}

.header-inner.utility-row {
    padding: 0.4rem var(--space-md);
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.utility-date {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    line-height: 1;
    color: var(--text-secondary);
}

.utility-tagline {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.7;
    line-height: 1;
    pointer-events: none;
}

/* Customizer Shortcut Pencil Icons */
.customize-partial-edit-shortcut {
    position: absolute !important;
    z-index: 999999 !important;
}

.customize-partial-edit-shortcut-button {
    background: #0073aa !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    z-index: 999999 !important;
    opacity: 0.95 !important;
    transition: transform 0.15s ease, background-color 0.15s ease !important;
}

.customize-partial-edit-shortcut-button:hover {
    background: var(--accent-color, #ff2a2a) !important;
    color: #fff !important;
    transform: scale(1.15) !important;
}

.customize-partial-edit-shortcut-button svg {
    width: 14px !important;
    height: 14px !important;
    fill: #ffffff !important;
}

/* Hero Section Wrapper */
.hero-section-wrapper {
    position: relative;
    width: 100%;
}

.hero-section-wrapper>.customize-partial-edit-shortcut {
    top: 24px !important;
    left: 24px !important;
    z-index: 999999 !important;
}

.header-super-top .utility-socials {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
}

.header-super-top .utility-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #18181b;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    flex-shrink: 0;
    line-height: 0;
}

.header-super-top .utility-socials a svg {
    display: block;
    width: 12px;
    height: 12px;
    margin: auto;
}

.header-super-top .utility-socials a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.header-top {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-bottom {
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1.25rem var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    transition: max-width 0.2s ease, padding 0.2s ease;
}

body.header-width-contained .header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

body.header-width-full .header-inner {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.nav-row {
    padding: 0 var(--space-md);
    /* Navigation needs zero vertical padding */
}

body.header-width-full .nav-row,
body.header-width-full .header-inner.utility-row {
    padding-left: 2rem;
    padding-right: 2rem;
}

.hamburger-menu {
    display: none;
    /* Hidden on desktop in Free theme (WordPress.org standard) */
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    margin-right: 1.5rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    color: var(--text-primary);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.hamburger-menu:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Unlocked when NewSum Pro is active */
body.has-pro-drawer .hamburger-menu {
    display: flex;
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.newsum-header-sponsor-frame {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    max-width: 728px;
    min-width: 0;
    margin-left: 1.5rem;
}

.newsum-sponsor-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 100%;
    text-decoration: none;
}

.newsum-sponsor-media {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    transition: opacity 0.2s ease;
}

.newsum-sponsor-media:hover {
    opacity: 0.92;
}

.newsum-sponsor-embed {
    max-width: 100%;
    overflow: hidden;
}

.newsum-sponsor-spotlight {
    width: 100%;
    max-width: 728px;
    height: 90px;
    background: var(--surface-color);
    border: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    transition: border-color 0.2s ease;
}

.newsum-sponsor-spotlight:hover {
    border-color: var(--accent-color);
}

.newsum-sponsor-spotlight .sponsor-tag {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.1em;
}

.newsum-sponsor-spotlight .sponsor-dims {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.brand-logo span {
    color: var(--accent-color);
}

/* --- Primary Navigation & WordPress Menus --- */
.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* --- Off-Canvas Navigation Drawer --- */
body.drawer-open {
    overflow: hidden !important;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.offcanvas-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 380px;
    max-width: 86vw;
    height: 100vh;
    background: var(--surface-color);
    border-right: 1px solid var(--border-color);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 14px 0 45px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.offcanvas-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.drawer-brand {
    font-family: var(--font-heading);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.drawer-brand span {
    color: var(--accent-color);
}

.drawer-close {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.drawer-close:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: rotate(90deg);
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.drawer-section-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-color);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
    opacity: 0.5;
}

/* Mobile Menu Section */
.drawer-nav ul,
.drawer-nav .nav-menu,
.drawer-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    width: 100% !important;
    gap: 0.25rem !important;
}

.drawer-nav li,
.drawer-nav .nav-menu>li,
.drawer-nav-list li,
.offcanvas-drawer .drawer-meta-list li {
    list-style: none !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
    height: auto !important;
    position: relative !important;
}

.drawer-nav li.menu-item-has-children,
.drawer-nav li.page_item_has_children,
.offcanvas-drawer li.menu-item-has-children,
.offcanvas-drawer .drawer-meta-list li.menu-item-has-children {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.drawer-nav li a,
.drawer-nav .nav-menu>li>a,
.drawer-nav-list li a,
.offcanvas-drawer .drawer-meta-list li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.85rem 0.65rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: var(--font-mono) !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    transition: color 0.15s ease, padding-left 0.15s ease, background-color 0.15s ease !important;
    border-radius: 2px !important;
}

.drawer-nav li.menu-item-has-children>a,
.drawer-nav li.page_item_has_children>a,
.offcanvas-drawer li.menu-item-has-children>a,
.offcanvas-drawer .drawer-meta-list li.menu-item-has-children>a {
    flex: 1 1 auto !important;
    width: calc(100% - 44px) !important;
}

/* Dropdown Toggle Button in Drawer */
.drawer-nav .dropdown-toggle,
.offcanvas-drawer .dropdown-toggle,
.drawer-meta-list .dropdown-toggle {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
}

.drawer-nav .dropdown-toggle svg,
.offcanvas-drawer .dropdown-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.drawer-nav .dropdown-toggle:hover,
.offcanvas-drawer .dropdown-toggle:hover {
    color: var(--accent-color) !important;
    background: rgba(255, 42, 42, 0.08) !important;
}

.drawer-nav li.menu-item-has-children.active>.dropdown-toggle svg,
.offcanvas-drawer li.menu-item-has-children.active>.dropdown-toggle svg {
    transform: rotate(180deg);
    color: var(--accent-color);
}

/* Drawer Sub-menus (Accordion) */
.drawer-nav .sub-menu,
.drawer-nav .children,
.offcanvas-drawer .sub-menu,
.offcanvas-drawer .children {
    position: static !important;
    width: 100% !important;
    display: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.25rem 0 0.5rem 1.25rem !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border-left: 2px solid var(--accent-color) !important;
    flex-direction: column !important;
}

.drawer-nav li.menu-item-has-children.active>.sub-menu,
.drawer-nav li.page_item_has_children.active>.children,
.offcanvas-drawer li.menu-item-has-children.active>.sub-menu,
.offcanvas-drawer li.page_item_has_children.active>.children {
    display: flex !important;
}

.drawer-nav .sub-menu li a,
.drawer-nav .children li a,
.offcanvas-drawer .sub-menu li a,
.offcanvas-drawer .children li a {
    padding: 0.5rem 0.5rem !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    border-bottom: 1px dashed var(--border-color) !important;
    width: 100% !important;
}

.drawer-nav .sub-menu li a:hover,
.offcanvas-drawer .sub-menu li a:hover {
    color: var(--accent-color) !important;
    padding-left: 0.85rem !important;
}

.drawer-nav li a:hover,
.drawer-nav li.current-menu-item>a,
.drawer-nav .nav-menu>li.current-menu-item>a {
    color: var(--accent-color) !important;
    background: rgba(255, 42, 42, 0.06) !important;
    padding-left: 1rem !important;
}

.drawer-nav .nav-menu>li.current-menu-item>a::after {
    display: none !important;
}

/* Topics / Categories List (Desktop) */
.drawer-topic-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.drawer-topic-list li {
    list-style: none !important;
    margin: 0 !important;
}

.drawer-topic-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.65rem;
    border-bottom: 1px dashed var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-radius: 2px;
}

.drawer-topic-item:hover {
    background: rgba(255, 42, 42, 0.06);
    color: var(--accent-color);
    padding-left: 1rem;
}

.drawer-topic-item .topic-name {
    font-weight: 500;
}

.drawer-topic-item .topic-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    transition: color 0.2s ease;
}

.drawer-topic-item:hover .topic-count {
    color: var(--accent-color);
}

/* Editorial & Meta Links (Desktop) */
.drawer-meta-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

.drawer-meta-list li {
    list-style: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    position: relative !important;
}

.drawer-meta-list li a {
    flex: 1 1 auto !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.55rem 0.65rem !important;
    font-family: var(--font-mono) !important;
    font-size: 0.8125rem !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: color 0.15s ease, padding-left 0.15s ease !important;
    border-radius: 2px !important;
}

.drawer-meta-list li a:hover {
    color: var(--accent-color) !important;
    padding-left: 0.85rem !important;
}

.drawer-meta-list .dropdown-toggle {
    background: transparent !important;
    border: none !important;
    color: var(--text-secondary) !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.drawer-meta-list .dropdown-toggle:hover {
    color: var(--accent-color) !important;
}

.drawer-meta-list li.active>.dropdown-toggle svg {
    transform: rotate(180deg) !important;
    color: var(--accent-color) !important;
}

.drawer-meta-list .sub-menu {
    width: 100% !important;
    display: none !important;
    list-style: none !important;
    margin: 0.25rem 0 0.5rem 0.75rem !important;
    padding: 0.25rem 0 0.25rem 0.75rem !important;
    border-left: 2px solid var(--accent-color) !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

.drawer-meta-list li.active>.sub-menu {
    display: flex !important;
}

.drawer-meta-list .sub-menu li a {
    padding: 0.35rem 0.5rem !important;
    font-size: 0.75rem !important;
    color: var(--text-secondary) !important;
}

.drawer-meta-list .sub-menu li a:hover {
    color: var(--accent-color) !important;
    padding-left: 0.75rem !important;
}

/* Drawer Footer */
.drawer-footer {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.drawer-socials {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.drawer-socials a {
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, transform 0.15s ease;
}

.drawer-socials a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.drawer-edition-badge {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    opacity: 0.8;
}

/* --- Responsive Visibility: Desktop vs Mobile --- */
/* On Desktop (> 900px): Hide mobile menu in drawer, show topics and editorial */
@media (min-width: 901px) {
    .drawer-mobile-menu {
        display: none !important;
    }

    .drawer-topics,
    .drawer-meta {
        display: block !important;
    }
}

/* On Mobile (<= 900px): Hide topics & editorial so ONLY the menus show in drawer */
@media (max-width: 900px) {

    .drawer-topics,
    .drawer-meta {
        display: none !important;
    }

    .drawer-mobile-menu {
        display: block !important;
    }
}

/* --- Pro Mode: On-Canvas Dropdown Tray (Desktop Only) --- */
/* --- Pro Mode: On-Canvas Dropdown Tray (Desktop Only) --- */
@media (min-width: 901px) {

    /* When Dropdown Tray mode is selected in NewSum Pro: Compact 380px left-aligned vertical card */
    body.drawer-style-dropdown .offcanvas-drawer {
        position: absolute !important;
        top: 100% !important;
        left: var(--space-md) !important;
        width: 380px !important;
        max-width: calc(100vw - (var(--space-md) * 2)) !important;
        height: auto !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        background: var(--surface-color) !important;
        border: 1px solid var(--border-color) !important;
        border-top: none !important;
        border-bottom: 2px solid var(--accent-color) !important;
        border-radius: 0 0 4px 4px !important;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75) !important;
        z-index: 1001 !important;
        transform: translateX(-24px) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease !important;
    }

    body.drawer-style-dropdown.header-width-full .offcanvas-drawer {
        left: 2rem !important;
    }

    body.drawer-style-dropdown .offcanvas-drawer.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Soft overlay backdrop for dropdown tray */
    body.drawer-style-dropdown .drawer-backdrop {
        background: rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(3px) !important;
        -webkit-backdrop-filter: blur(3px) !important;
        z-index: 1000 !important;
    }

    /* Prevent scrollbar disappearance and eliminate layout shift */
    body.drawer-style-dropdown.drawer-open {
        overflow: visible !important;
    }

    /* Header inside vertical dropdown card */
    body.drawer-style-dropdown .drawer-header {
        padding: 1.25rem 1.5rem !important;
        background: transparent !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    /* Keep vertical single-column sequence */
    body.drawer-style-dropdown .drawer-content {
        padding: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.75rem !important;
        max-width: 100% !important;
    }

    body.drawer-style-dropdown .drawer-topic-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.35rem !important;
    }

    body.drawer-style-dropdown .drawer-footer {
        padding: 1.25rem 1.5rem !important;
        background: rgba(0, 0, 0, 0.12) !important;
        border-top: 1px solid var(--border-color) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
        align-items: flex-start !important;
    }
}

/* Reset all list styling in navigation */
.main-nav ul,
.main-nav ol,
.nav-menu,
.nav-menu ul {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

/* Top-level menu row */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    height: 100%;
}

/* Menu items */
.nav-menu>li,
.main-nav .nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    list-style: none !important;
}

/* Navigation Links Typography */
.nav-menu>li>a,
.main-nav .nav-item>a {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    padding: 0.5rem 0.85rem;
    margin: 0.35rem 0.15rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-menu>li>a:hover,
.main-nav .nav-item>a:hover {
    color: var(--accent-color);
    background: rgba(255, 42, 42, 0.06);
}

/* Active Menu Item indicator - Universal Clean Capsule */
.nav-menu>li.current-menu-item>a,
.nav-menu>li.current_page_item>a,
.nav-menu>li.current-menu-ancestor>a {
    color: var(--accent-color);
    background: rgba(255, 42, 42, 0.09);
    font-weight: 700;
}

/* Dropdown toggle button for items with children */
.nav-menu .dropdown-toggle {
    background: transparent;
    border: none;
    padding: 0;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    opacity: 0.7;
    cursor: pointer;
    vertical-align: middle;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-menu li:hover>.dropdown-toggle,
.nav-menu li.focus>.dropdown-toggle {
    transform: rotate(180deg);
    opacity: 1;
}

/* Eliminate duplicate CSS ::after arrow */
.nav-menu li.menu-item-has-children>a::after,
.nav-menu li.page_item_has_children>a::after {
    content: none !important;
    display: none !important;
}

/* Dropdown Sub-menus */
.nav-menu .sub-menu,
.nav-menu .children {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--accent-color);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 150;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

html.light-theme .nav-menu .sub-menu,
html.light-theme .nav-menu .children,
body.light-theme .nav-menu .sub-menu,
body.light-theme .nav-menu .children {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.nav-menu li:hover>.sub-menu,
.nav-menu li:hover>.children,
.nav-menu li:focus-within>.sub-menu,
.nav-menu li:focus-within>.children {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Multi-level nested menus */
.nav-menu .sub-menu .sub-menu,
.nav-menu .children .children {
    top: -0.5rem;
    left: 100%;
}

.nav-menu .sub-menu li,
.nav-menu .children li {
    width: 100%;
    position: relative;
    display: block;
    list-style: none !important;
}

.nav-menu .sub-menu li a,
.nav-menu .children li a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.nav-menu .sub-menu li a:hover,
.nav-menu .children li a:hover {
    color: var(--accent-color);
    background: rgba(255, 42, 42, 0.08);
    padding-left: 1.5rem;
}

.nav-menu .sub-menu li.current-menu-item>a,
.nav-menu .children li.current_page_item>a {
    color: var(--accent-color);
    font-weight: 600;
}

/* Nav Badges */
.nav-badge {
    position: absolute;
    top: -10px;
    right: -25px;
    background: var(--accent-color);
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 700;
}

.nav-badge.hot {
    background: #ff8c00;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 600px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-column h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.mega-menu-column a {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.header-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    margin-left: auto;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.theme-toggle:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: rgba(255, 42, 42, 0.06);
}

.theme-toggle svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

/* Dark mode (default): Sun icon visible to switch to light */
.theme-toggle .theme-icon-sun {
    display: block;
    transform: rotate(0deg);
}

.theme-toggle .theme-icon-moon {
    display: none;
    transform: rotate(-90deg);
}

/* Light mode: Moon icon visible to switch to dark */
html.light-theme .theme-toggle .theme-icon-sun,
body.light-theme .theme-toggle .theme-icon-sun {
    display: none;
    transform: rotate(90deg);
}

html.light-theme .theme-toggle .theme-icon-moon,
body.light-theme .theme-toggle .theme-icon-moon {
    display: block;
    transform: rotate(0deg);
}

.search-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.search-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-color);
    background: rgba(255, 42, 42, 0.04);
}

.search-btn kbd {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    opacity: 0.75;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    padding: 1px 4px;
}

/* Reading List Trigger Button */
.reading-list-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.reading-list-btn:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: rgba(255, 42, 42, 0.06);
}

.reading-list-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.reading-list-count.empty {
    display: none;
}

.btn-subscribe {
    background: var(--accent-color);
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 2px;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-subscribe:hover {
    background: #111827;
    color: #ffffff !important;
}

html.light-theme .btn-subscribe:hover,
body.light-theme .btn-subscribe:hover {
    background: #000000;
    color: #ffffff !important;
}

/* --- Trending Ticker --- */
.trending-ticker {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.trending-ticker-inner {
    background: var(--accent-color);
    color: #ffffff !important;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ticker-label {
    background: #000000;
    color: #ffffff !important;
    padding: 0.25rem 0.75rem;
    margin-right: 1rem;
    z-index: 2;
    position: relative;
    flex-shrink: 0;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 2px;
}

.ticker-track-wrapper {
    flex: 1;
    overflow: hidden;
    margin-right: 1rem;
}

.ticker-toggle {
    background: transparent;
    border: none;
    color: #ffffff !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.ticker-toggle:hover {
    opacity: 1;
}

.ticker-track {
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ticker-item a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ticker-item a:hover {
    color: #ffffff !important;
    opacity: 0.82;
    text-decoration: underline;
}

.ticker-thumb {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 2px;
}

.ticker-sep {
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    color: currentColor;
    padding: 0 0.25rem;
}

@keyframes ticker {
    0% {
        transform: translateX(10%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --- Main Layout --- */
.site-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
}

/* --- MARQUEE BANNER --- */
.marquee-banner {
    clear: both;
    width: 100%;
    overflow: hidden;
    background: transparent;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.15rem 0;
    margin: var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marqueeScroll 25s linear infinite;
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.marquee-content span {
    padding: 0 1rem;
}

.marquee-content span.highlight {
    color: var(--accent-color);
}

.marquee-content span.marquee-dot {
    opacity: 0.35;
    padding: 0 0.5rem;
    color: var(--accent-color);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- LIVE WALL HERO (3-COLUMN GRID) --- */
.hero-live-wall {
    display: grid;
    grid-template-columns: 1.1fr 2fr 1.1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    height: 620px;
    position: relative;
    width: 100%;
}

.hero-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

/* Slider (Middle) */
.hero-slider {
    position: relative;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--surface-color);
    height: 100%;
    width: 100%;
}

.slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
    background: #16181d;
}

.slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2 !important;
}

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.1);
    transform: scale(1.04);
    transition: transform 6s linear, filter 0.5s ease;
    z-index: 1;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.hero-slider:hover .slide.active .slide-bg {
    filter: grayscale(0%) contrast(1.1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 2;
}

.card-action-deck.slider-deck {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 4;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 180px;
    padding: 2rem 2.25rem;
    transform: translateY(12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
    z-index: 3;
}

.slide.active .slide-content {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.badge {
    background: var(--accent-color);
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.65rem;
    letter-spacing: 0.05em;
}

.article-meta {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.category {
    color: var(--accent-color);
    font-weight: 600;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 2.5vw, 2.75rem);
    line-height: 1.1;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 95%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    width: 170px;
    z-index: 5;
}

.progress-bar {
    height: 3px;
    background: var(--border-color);
    width: 100%;
}

.progress-fill {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
}

.slider-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
    line-height: 1;
}

.nav-btn:hover {
    color: var(--accent-color);
}

.slide-counter {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* Hero Tiles (Left and Right Columns) */
.bento-tile {
    flex: 1 1 0;
    min-height: 0;
    height: 100%;
    position: relative;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--surface-color);
    display: block;
    transition: border-color 0.3s ease;
}

/* Live Wall Update Animation */
.live-tile {
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), filter 0.45s ease, border-color 0.3s ease;
}

.live-tile.updating-fade {
    opacity: 0.05;
}

.live-tile.updating-slide,
.live-tile.updating-slide-up {
    opacity: 0;
    transform: translateY(22px);
}

.live-tile.updating-slide-right {
    opacity: 0;
    transform: translateX(25px);
}

.live-tile.updating-flash {
    opacity: 0.95;
    filter: brightness(2.8) contrast(1.5) saturate(1.8);
    transform: scale(1.02);
}

.live-tile.updating-flip {
    opacity: 0;
    transform: perspective(600px) rotateX(75deg);
}

.live-tile.updating-zoom {
    opacity: 0;
    transform: scale(0.9);
}

.bento-tile:hover {
    border-color: var(--accent-color);
}

.tile-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.1);
    transform: scale(1);
    transition: transform 0.6s var(--ease-out), filter 0.3s ease;
}

.bento-tile:hover .tile-bg {
    transform: scale(1.08);
    filter: grayscale(0%) contrast(1.1);
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.25) 100%) !important;
    transition: background 0.3s ease;
}

.bento-tile:hover .tile-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.8) 100%) !important;
}

.tile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.tile-content .category {
    color: #ffffff !important;
    background: var(--accent-color);
    padding: 0.2rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 2px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.35rem;
    text-shadow: none;
}

.tile-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0.25rem 0 0.35rem 0;
    color: #ffffff !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.tile-title a {
    color: #ffffff !important;
    text-decoration: none;
}

.tile-excerpt {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.92) !important;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* --- Layout 3: Dense Live Wall Grid (6 Tiles in 3x2 Grid) --- */
.matrix-wall-dense {
    height: auto !important;
    min-height: 520px;
    display: block !important;
}

.dense-wall-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: var(--space-sm);
    height: 100%;
}

@media (max-width: 900px) {
    .dense-wall-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .dense-wall-grid .bento-tile {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .dense-wall-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1200px) {
    .hero-live-wall {
        grid-template-columns: 1fr 1fr;
    }

    .hero-col.left-col {
        display: none;
        /* Hide left tiles on tablet */
    }

    .content-sidebar-wrap {
        grid-template-columns: 2fr 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 900px) {
    .newsum-header-sponsor-frame {
        max-width: 468px;
        /* Tablet leaderboard sizing */
    }

    .hamburger-menu {
        display: flex !important;
        /* Always visible on mobile for WordPress.org compliance */
        margin-right: 1.25rem;
    }

    .main-nav {
        display: none !important;
        /* Navigation on mobile is handled by the vertical off-canvas drawer */
    }

    .btn-subscribe {
        display: none;
    }
}

@media (max-width: 600px) {
    .newsum-header-sponsor-frame {
        display: none !important;
        /* Hide leaderboard on narrow mobile devices */
    }
}

@media (max-width: 768px) {
    .hero-live-wall {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-slider {
        height: 400px;
    }

    .content-sidebar-wrap {
        grid-template-columns: 1fr;
    }

    .main-feed-grid {
        grid-template-columns: 1fr;
    }

    .hover-reveal-section {
        display: none;
        /* Too complex for mobile touch */
    }

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

    .trending-ticker-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ticker-track-wrapper {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Light Theme Variables */
:root.light-theme {
    --bg-color: #ffffff;
    --surface-color: #f4f4f4;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #dddddd;
}

/* --- HOVER-REVEAL SECTION (THE DEEP DIVE) --- */
.hover-reveal-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--bg-color);
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    filter: grayscale(100%);
    transition: opacity 0.6s var(--ease-out), filter 0.6s var(--ease-out), transform 3s ease;
    transform: scale(1.05);
}

.hero-bg-layer.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 40%, rgba(10, 10, 10, 0.4) 100%);
    z-index: 2;
}

.hover-index-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-lg) var(--space-md);
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
}

.index-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    color: #000;
    background: var(--accent-color);
    padding: 0.5rem 1rem;
    display: inline-block;
    align-self: flex-start;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    letter-spacing: 1px;
}

.hover-index-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hover-index-list li a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    opacity: 0.3;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.hover-index-list li.active a {
    opacity: 1;
    transform: translateX(30px);
}

.index-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--accent-color);
}

.index-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.hover-index-list li.active .index-title {
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

/* --- CATEGORY ACCORDION --- */
.category-accordion {
    display: flex;
    width: 100%;
    height: 400px;
    margin-bottom: var(--space-xl);
    overflow: hidden;
}

.accordion-panel {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: flex 0.5s var(--ease-out);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    cursor: pointer;
    overflow: hidden;
    border-right: 1px solid var(--border-color);
    transform: translateZ(0);
}

.accordion-panel:last-child {
    border-right: none;
}

.panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: grayscale(100%);
    transition: backdrop-filter 0.5s ease, background 0.5s ease;
    z-index: 1;
}

.panel-content {
    position: relative;
    z-index: 2;
    height: 160px;
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.1;
    color: #fff;
    margin: 0;
    transform: translateY(110px) scale(0.8);
    transform-origin: bottom left;
    transition: transform 0.5s var(--ease-out), color 0.3s ease;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
}

.panel-links {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
    pointer-events: none;
    width: 100%;
}

.panel-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-color);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.panel-links a:hover {
    color: #fff;
    border-color: #fff;
}

/* Hover States */
.category-accordion:hover .accordion-panel:not(:hover) {
    flex: 0.8;
}

.category-accordion .accordion-panel:hover {
    flex: 2.5;
}

.accordion-panel:hover .panel-overlay {
    backdrop-filter: grayscale(0%);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.accordion-panel:hover .panel-title {
    transform: translateY(0) scale(1);
    color: var(--accent-color);
}

.accordion-panel:hover .panel-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.1s;
}

/* --- FEED HEADER --- */
.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
    padding-bottom: 0;
}

.feed-header h2 {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    color: #000;
    background: var(--accent-color);
    padding: 0.5rem 1rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feed-filters button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 600;
    margin-left: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
    padding-bottom: 0.5rem;
    /* align with bottom */
}

.feed-filters button:hover {
    color: var(--text-primary);
}

.feed-filters button.active {
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

/* --- CONTENT & SIDEBAR LAYOUT --- */
.content-sidebar-wrap {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: var(--space-xl);
    align-items: start;
    margin-bottom: var(--space-xl);
}

.content-sidebar-wrap.sidebar-right {
    grid-template-columns: 2.3fr 1fr;
}

.content-sidebar-wrap.sidebar-right .main-column {
    order: 1;
}

.content-sidebar-wrap.sidebar-right .sidebar-column {
    order: 2;
}

.content-sidebar-wrap.sidebar-left {
    grid-template-columns: 1fr 2.3fr;
}

.content-sidebar-wrap.sidebar-left .sidebar-column {
    order: 1;
}

.content-sidebar-wrap.sidebar-left .main-column {
    order: 2;
}

.content-sidebar-wrap.sidebar-none,
.content-sidebar-wrap.no-sidebar {
    grid-template-columns: 1fr;
}

.content-sidebar-wrap.sidebar-none .sidebar-column,
.content-sidebar-wrap.no-sidebar .sidebar-column {
    display: none;
}

.content-sidebar-wrap.sidebar-none .main-column,
.content-sidebar-wrap.no-sidebar .main-column {
    width: 100%;
}

.content-sidebar-wrap.sidebar-none .feed-grid,
.content-sidebar-wrap.no-sidebar .feed-grid,
.content-sidebar-wrap.sidebar-none .main-feed-grid,
.content-sidebar-wrap.no-sidebar .main-feed-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {

    .content-sidebar-wrap.sidebar-left,
    .content-sidebar-wrap.sidebar-right {
        grid-template-columns: 1fr;
    }

    .content-sidebar-wrap.sidebar-left .sidebar-column,
    .content-sidebar-wrap.sidebar-right .sidebar-column {
        order: 2;
    }

    .content-sidebar-wrap.sidebar-left .main-column,
    .content-sidebar-wrap.sidebar-right .main-column {
        order: 1;
    }
}

.main-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    min-width: 0;
}

/* --- MIXED BLOCK (FEATURED HERO ARTICLE + 4-ITEM LIST DECK) --- */
.mixed-block {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    align-items: stretch;
}

@media (max-width: 900px) {
    .mixed-block {
        grid-template-columns: 1fr;
    }
}

.mixed-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mixed-main .article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.mixed-main .article-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.mixed-main .card-img-wrap {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 250px;
    overflow: hidden;
    background: #111;
}

.mixed-main .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: transform 0.4s var(--ease-out), filter 0.3s ease;
    display: block;
}

.mixed-main .article-card:hover .card-img-wrap img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.mixed-main .card-content {
    padding: 1.25rem 1.35rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    justify-content: flex-start;
}

.mixed-main .article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.mixed-main .article-meta .category {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mixed-main .article-meta .date {
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.mixed-main .card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
}

.mixed-main .card-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mixed-main .card-content h3 a:hover {
    color: var(--accent-color);
}

.mixed-main .card-content .excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mixed-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    height: 100%;
}

.list-card {
    display: flex;
    gap: 0.85rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 0.75rem 0.85rem;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    align-items: center;
    flex: 1 1 auto;
    min-height: 75px;
}

.list-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.list-thumb {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
    overflow: hidden;
    border-radius: 2px;
    background: #181a20;
}

.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%);
    transition: filter 0.3s ease, transform 0.3s ease;
    display: block;
}

.list-card:hover .list-thumb img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1 1 auto;
}

.list-content h4 {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.35rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-content h4 a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.list-content h4 a:hover {
    color: var(--accent-color);
}

.list-content .date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.list-content h4 a:hover {
    color: var(--accent-color);
}

.list-content .date {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

/* --- FEED GRID (3 COLUMNS) --- */
.feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

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

.feed-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feed-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.feed-card .card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.feed-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%);
    transition: filter 0.3s ease, transform 0.5s ease;
}

.feed-card:hover .card-img-wrap img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

.feed-card .card-content {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.feed-card .category {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.feed-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0.25rem 0 0.5rem 0;
}

.feed-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.feed-card h3 a:hover {
    color: var(--accent-color);
}

.feed-card .excerpt {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-card .card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 0.65rem;
}

/* --- EDITORIAL CALLOUT --- */
.editorial-callout {
    position: relative;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    padding: 2rem 2.5rem;
    margin: var(--space-md) 0;
    overflow: hidden;
}

.editorial-callout .quote-mark {
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--accent-color);
    opacity: 0.25;
    position: absolute;
    top: 5px;
    left: 12px;
}

.editorial-callout blockquote {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.45;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    font-style: italic;
}

.editorial-callout cite {
    position: relative;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    font-style: normal;
    text-transform: uppercase;
}

/* --- MAIN FEED GRID (2 COLUMNS) --- */
.main-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .main-feed-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SIDEBAR --- */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-top: 3px solid var(--accent-color);
}

.sidebar-widget .widget-title {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-posts {
    display: flex;
    flex-direction: column;
}

.sidebar-post-item {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-item:first-child {
    padding-top: 0;
}

.sidebar-post-item .rank {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.7;
    min-width: 22px;
}

.sidebar-post-item h4 {
    font-size: 0.875rem;
    line-height: 1.35;
    margin: 0 0 0.25rem 0;
}

.sidebar-post-item h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.sidebar-post-item h4 a:hover {
    color: var(--accent-color);
}

.sidebar-post-item .meta {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

.newsletter-widget p {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-secondary);
    margin: 0 0 0.85rem 0;
}

.newsletter-form input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    border-radius: 2px;
    margin-bottom: 0.5rem;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--accent-color);
}

.newsletter-form button {
    width: 100%;
    padding: 0.65rem;
    background: var(--accent-color);
    color: #000;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.15s ease;
}

.newsletter-form button:hover {
    background: #fff;
}

/* --- MULTIMEDIA & PODCASTS --- */
.media-section {
    margin: var(--space-xl) 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

@media (max-width: 1024px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.media-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.media-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #000;
    margin-bottom: 0.65rem;
    border: 1px solid var(--border-color);
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%);
    transition: filter 0.3s ease, transform 0.4s ease;
}

.media-card:hover .media-thumb img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: var(--accent-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.media-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: var(--accent-color);
    color: #000;
}

.duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 2px;
}

.media-card h4 {
    font-size: 0.875rem;
    line-height: 1.35;
    margin: 0;
    color: var(--text-primary);
    transition: color 0.15s ease;
}

.media-card:hover h4 {
    color: var(--accent-color);
}

.view-all {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.view-all:hover {
    text-decoration: underline;
}

border-bottom: 1px solid var(--border-color);
padding-bottom: 1rem;
margin-bottom: 1.5rem;
}

.trending-list {
    list-style: none;
}

.trending-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.trending-list li:last-child {
    margin-bottom: 0;
}

.rank {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 1.5rem;
    line-height: 1;
}

.trending-content a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.trending-content .views {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.newsletter-widget p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-form input {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-form button {
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--accent-color);
}

/* --- Footer --- */
/* --- SITE FOOTER --- */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
    padding: 3.5rem 0 0;
    margin-top: 4rem;
    position: relative;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.footer-massive-brand {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2.25rem;
    margin-bottom: 3rem;
}

.brand-logo.massive {
    font-size: clamp(3rem, 7vw, 6.5rem);
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
    line-height: 1;
    font-weight: 800;
    transition: transform 0.3s ease;
}

.brand-logo.massive:hover {
    transform: scale(1.01);
}

.brand-logo.massive span {
    color: var(--accent-color);
}

.footer-tagline {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    max-width: 650px;
    margin: 0 auto 1.25rem auto;
    line-height: 1.6;
}

.footer-edition-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    letter-spacing: 0.06em;
}

.footer-edition-badge .badge-dot {
    color: #10b981;
    font-size: 0.625rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.75fr 1.15fr 1.25fr 1.85fr;
    gap: 2.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

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

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--accent-color);
    margin: 0 0 1.35rem 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Col 1: Trending Mini Feed */
.footer-mini-feed {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-mini-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.footer-mini-item:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.footer-mini-thumb {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 3px;
    background: #111;
}

.footer-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-mini-item:hover .footer-mini-thumb img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

.footer-mini-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.footer-mini-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    line-height: 1.35;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}

.footer-mini-date {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Col 2: Categories List */
.footer-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.footer-cat-list li a:hover {
    color: var(--text-primary);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 0.95rem;
}

.footer-cat-list .cat-count {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    color: var(--accent-color);
}

/* Col 3: Company & Socials */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-links-list li a:hover {
    color: var(--accent-color);
    padding-left: 0.35rem;
}

.footer-social-deck {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icon-btn:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Col 4: Dispatch Newsletter & Gallery */
.footer-newsletter-desc {
    color: var(--text-secondary);
    font-size: 0.84375rem;
    line-height: 1.5;
    margin: 0 0 0.85rem 0;
}

.footer-newsletter-form {
    margin-bottom: 1.5rem;
}

.footer-input-wrap {
    display: flex;
    align-items: stretch;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.footer-input-wrap:focus-within {
    border-color: var(--accent-color);
}

.footer-input-wrap input {
    flex: 1;
    background: var(--bg-color);
    border: none;
    padding: 0 0.85rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    outline: none;
}

.footer-input-wrap button {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-input-wrap button:hover {
    filter: brightness(1.1);
}

.footer-gallery-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.65rem 0;
}

.footer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
}

.footer-gallery-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 3px;
    background: #15171c;
    border: 1px solid var(--border-color);
}

.footer-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%);
    transition: filter 0.3s ease, transform 0.3s ease;
    display: block;
}

.footer-gallery-thumb:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-copyright {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-legal-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.footer-legal-links li a:hover {
    color: var(--accent-color);
}

.footer-status-pill {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.footer-back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-back-to-top:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* --- MULTIMEDIA STRIP --- */
.media-strip {
    margin: var(--space-xl) 0;
    background: #000;
    padding: var(--space-xl) var(--space-md);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: var(--container-max);
    margin: 0 auto;
}

.media-card {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
}

.media-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.media-card:hover .media-thumb img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: background 0.2s ease, transform 0.2s ease;
}

.media-card:hover .play-btn {
    background: var(--accent-color);
    color: #000;
    transform: translate(-50%, -50%) scale(1.1);
}

.media-thumb .duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
}

.media-card h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.media-card:hover h4 {
    color: var(--accent-color);
}

/* --- SINGLE ARTICLE TEMPLATE --- */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 100001;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.admin-bar .reading-progress-container {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .reading-progress-container {
        top: 46px;
    }
}

.reading-progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.12s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: none;
}

.single-article {
    margin-bottom: var(--space-xl);
}

.article-hero {
    padding: var(--space-xl) var(--space-md);
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.article-meta-top {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    text-transform: uppercase;
}

.article-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name strong {
    color: var(--text-primary);
}

.hero-image-wrap {
    margin: var(--space-lg) 0;
}

.hero-image {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
}

.image-caption {
    display: block;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 80px 2fr 1fr;
    gap: var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    align-items: flex-start;
}

.sticky-share {
    position: sticky;
    top: 140px;
}

.share-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.share-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.share-icon {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.share-icon:hover {
    color: var(--accent-color);
}

.article-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 760px;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.drop-cap::first-letter {
    float: left;
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1;
    padding: 0 0.5rem 0 0;
    color: var(--text-primary);
}

.article-body h2,
.article-body h3 {
    font-family: var(--font-heading);
    margin: 2.5rem 0 1rem;
    line-height: 1.2;
}

.article-body h2 {
    font-size: 2rem;
}

.article-body h3 {
    font-size: 1.5rem;
}

.pull-quote {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    line-height: 1.4;
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    color: var(--text-primary);
    font-style: italic;
}

.article-body ul {
    margin: 0 0 1.5rem 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

/* Article Takeaways Box */
.article-takeaways-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.takeaways-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.65rem;
}

.takeaways-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

/* Article Tags */
.article-tags-deck {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 2.5rem 0 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.tags-label {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-pill {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    transition: all 0.2s ease;
}

.tag-pill:hover {
    color: var(--text-primary);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    margin: 3rem 0;
    border-radius: 4px;
}

.author-box-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.author-box-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.35rem;
}

.author-box-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: 0 0 0.5rem 0;
}

.author-box-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-box-name a:hover {
    color: var(--accent-color);
}

.author-box-bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

.author-box-link {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.author-box-link:hover {
    color: var(--accent-color);
}

/* Post Navigation Deck */
.post-navigation-deck {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2.5rem 0;
}

@media (max-width: 640px) {
    .post-navigation-deck {
        grid-template-columns: 1fr;
    }
}

.post-nav-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-nav-card.next-card {
    text-align: right;
}

.post-nav-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-direction {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Comments Section */
.comments-area {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.comments-header h3,
.comment-reply-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
}

.comment-list .children {
    list-style: none;
    padding-left: 2rem;
    margin-top: 1.5rem;
    border-left: 2px solid var(--border-color);
}

.comment-body {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.comment-author .avatar {
    border-radius: 50%;
    vertical-align: middle;
}

.comment-author .fn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-style: normal;
}

.comment-metadata a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.comment-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.comment-body .reply a {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 4px;
}

.comment-notes {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

.comment-form label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    border-radius: 3px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-form-cookies-consent label {
    font-size: 0.8125rem;
    text-transform: none;
    margin: 0;
}

.comment-submit-btn {
    align-self: flex-start;
    padding: 0.75rem 1.75rem;
    background: var(--accent-color);
    color: #000;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.comment-submit-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Related Posts Section */
.related-posts-section {
    max-width: var(--container-max);
    margin: 4rem auto var(--space-xl);
    padding: 0 var(--space-md);
}

/* ══════════════════════════════════════════════════════════════════
   ARCHIVE, CATEGORY, TAG & AUTHOR TEMPLATES
   ══════════════════════════════════════════════════════════════════ */
.archive-page-content {
    width: 100%;
    margin-bottom: var(--space-xl, 4rem);
}

/* 1. Archive Hero Masthead */
.archive-masthead {
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3.5rem var(--space-md) 2.5rem;
    margin-bottom: var(--space-lg, 2.5rem);
    width: 100%;
}

.archive-masthead-inner {
    max-width: var(--container-max, 1800px);
    margin: 0 auto;
}

.archive-masthead-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.archive-kicker {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.archive-count-pill {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.65rem;
    border-radius: 2px;
}

.archive-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 0 0 0.85rem 0;
    letter-spacing: -0.02em;
}

.archive-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 1.5rem;
}

/* Author Hero Layout */
.author-hero-grid {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.author-avatar-wrap {
    flex-shrink: 0;
}

.author-masthead-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.author-info-wrap {
    flex: 1;
}

.author-name {
    margin-bottom: 0.5rem;
}

.author-bio-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 750px;
}

.author-meta-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-secondary);
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.meta-badge svg {
    color: var(--accent-color);
}

.meta-badge.link-badge:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Sibling & Related Category Filter Bar */
.archive-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
    overflow-x: auto;
}

.filter-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.filter-pills-track {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.filter-pills-track::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    text-decoration: none;
    border-radius: 2px;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.filter-pill .pill-count {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    opacity: 0.75;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--accent-color);
    color: #ffffff !important;
    border-color: var(--accent-color);
}

.filter-pill:hover .pill-count,
.filter-pill.active .pill-count {
    color: #ffffff;
    opacity: 0.9;
}

/* 2. Archive Main Layout & Sidebar Positioning */
.archive-layout-wrap {
    max-width: var(--container-max, 1800px);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
}

.archive-layout-wrap.sidebar-pos-left {
    grid-template-columns: 340px 1fr;
}

.archive-layout-wrap.sidebar-pos-left .main-content-col {
    order: 2;
}

.archive-layout-wrap.sidebar-pos-left .sidebar-column {
    order: 1;
}

.archive-layout-wrap.sidebar-pos-none {
    grid-template-columns: 1fr;
}

/* 3. Feed Layout 1: Grid Mode (3-col & 2-col) */
.feed-layout-grid {
    display: grid;
    gap: 1.75rem;
}

.feed-layout-grid.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.feed-layout-grid.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
}

.archive-post-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.archive-post-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.card-media-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

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

.archive-post-card:hover .card-thumb-img {
    transform: scale(1.04);
}

.card-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: #ffffff !important;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    z-index: 2;
}

.card-body-wrap {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.65rem 0;
}

.card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-title a:hover {
    color: var(--accent-color);
}

.card-excerpt {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 1.25rem 0;
    flex: 1;
}

.card-meta-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.author-link {
    color: var(--text-primary);
    text-decoration: none;
}

.author-link:hover {
    color: var(--accent-color);
}

/* 4. Feed Layout 2: Editorial List (Horizontal) */
.feed-layout-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feed-layout-list .archive-post-card {
    flex-direction: row;
    align-items: stretch;
}

.feed-layout-list .card-media-wrap {
    width: 280px;
    flex-shrink: 0;
    aspect-ratio: auto;
    min-height: 200px;
}

.feed-layout-list .card-body-wrap {
    padding: 1.5rem;
}

.feed-layout-list .card-title {
    font-size: 1.45rem;
}

/* 5. Feed Layout 3: Compact News Wire */
.feed-layout-compact {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
}

.feed-layout-compact .archive-post-card {
    flex-direction: row;
    align-items: center;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    background: transparent;
    border-radius: 0;
}

.feed-layout-compact .archive-post-card:last-child {
    border-bottom: none;
}

.feed-layout-compact .card-media-wrap {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 1.25rem;
    aspect-ratio: auto;
}

.feed-layout-compact .card-media-wrap .card-action-deck,
.feed-layout-compact .card-media-wrap .card-category-badge {
    display: none;
}

.feed-layout-compact .card-body-wrap {
    padding: 0;
}

.feed-layout-compact .card-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.feed-layout-compact .card-excerpt {
    display: none;
}

.feed-layout-compact .card-meta-footer {
    border-top: none;
    padding-top: 0.25rem;
}

/* 6. Archive Pagination */
.archive-pagination {
    margin-top: 3rem;
}

.archive-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 40px;
    height: 40px;
    padding: 0 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: var(--accent-color);
    color: #ffffff !important;
    border-color: var(--accent-color);
}

.archive-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: var(--text-secondary);
}

/* 7. Empty State */
.archive-empty-state {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 2px;
}

.archive-empty-state .empty-icon {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.archive-empty-state .empty-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.archive-empty-state .empty-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

.btn-return-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: var(--accent-color);
    color: #ffffff !important;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 2px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-return-home:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Responsive Archive Breakpoints */
@media (max-width: 1200px) {
    .feed-layout-grid.grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .archive-layout-wrap {
        grid-template-columns: 1fr;
    }

    .archive-layout-wrap.sidebar-pos-left {
        grid-template-columns: 1fr;
    }

    .archive-layout-wrap.sidebar-pos-left .main-content-col {
        order: 1;
    }

    .archive-layout-wrap.sidebar-pos-left .sidebar-column {
        order: 2;
    }

    .feed-layout-list .archive-post-card {
        flex-direction: column;
    }

    .feed-layout-list .card-media-wrap {
        width: 100%;
        aspect-ratio: 16 / 10;
        min-height: auto;
    }

    .author-hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .author-meta-badges {
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .feed-layout-grid.grid-3-col,
    .feed-layout-grid.grid-2-col {
        grid-template-columns: 1fr;
    }

    .archive-masthead {
        padding: 2.5rem 1rem 2rem;
    }
}

/* Single Page Template */
.single-page-article {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--space-md) 4rem;
}

.full-width-container {
    max-width: var(--container-max, 1800px);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.full-width-article {
    padding-bottom: 4rem;
}

.frontpage-custom-content {
    max-width: var(--container-max, 1800px);
    margin: 2rem auto 0;
    padding: 0 var(--space-md);
}

.page-hero {
    text-align: center;
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.page-hero-image-wrap {
    margin-top: 2rem;
    border-radius: 4px;
    overflow: hidden;
}

.page-hero-image {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
}

/* Pagination */
.archive-pagination-wrap {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.archive-pagination-wrap .nav-links,
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.page-numbers:hover:not(.dots) {
    color: var(--text-primary);
    border-color: var(--accent-color);
}

.page-numbers.current {
    background: var(--accent-color);
    color: #000;
    font-weight: 700;
    border-color: var(--accent-color);
}

.page-numbers.prev,
.page-numbers.next {
    font-weight: 600;
    text-transform: uppercase;
}

/* --- ERROR 404 PAGE --- */
.error-404 {
    padding: 5rem var(--space-md) 4rem;
    text-align: center;
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.error-404-inner {
    max-width: 650px;
    margin: 0 auto;
}

.error-code-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    background: rgba(225, 29, 72, 0.1);
    border: 1px solid rgba(225, 29, 72, 0.25);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.error-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1rem 0;
}

.error-desc {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0 auto 2rem auto;
}

.error-search-form {
    margin-bottom: 2rem;
}

.error-categories-deck {
    margin: 2rem 0;
}

.error-home-btn-wrap {
    margin-top: 2rem;
}

/* --- ABOUT PAGE TEMPLATE --- */
.about-hero-section {
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 5rem var(--space-md) 4rem;
    text-align: center;
}

.about-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.about-tagline-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem 0;
}

.about-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

.about-social-deck {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.about-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    transition: all 0.2s ease;
}

.about-social-pill:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px);
}

/* Stats Bar */
.about-stats-bar {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0;
    transform: translateY(-2rem);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 0;
    box-shadow: none;
}

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

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.stat-card:last-child {
    border-right: none;
}

@media (max-width: 640px) {
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .stat-card:last-child {
        border-bottom: none;
    }
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* About Story Container */
.about-story-container {
    max-width: 860px;
    margin: 2rem auto 4rem;
    padding: 0 var(--space-md);
}

.about-featured-image-wrap {
    margin-bottom: 3rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-featured-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.about-content-body {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Values Grid */
.about-values-section {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 5rem var(--space-md);
    margin: 4rem 0;
}

.values-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.values-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.values-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.value-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 2rem 1.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.value-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.value-index {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.value-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.65rem 0;
    color: var(--text-primary);
}

.value-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Masthead Section */
.about-masthead-section {
    max-width: var(--container-max);
    margin: 0 auto 5rem;
    padding: 0 var(--space-md);
}

.masthead-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem auto;
}

.masthead-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.masthead-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 0.75rem 0;
}

.masthead-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.masthead-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

.masthead-member-card {
    flex: 1 1 360px;
    max-width: 520px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.masthead-member-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.member-card-header {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-bottom: 1rem;
}

.member-avatar-wrap {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}

.member-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    background: var(--bg-color);
}

.member-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid var(--surface-color);
    border-radius: 50%;
}

.member-identity {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.member-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
}

.member-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.member-name a:hover {
    color: var(--accent-color);
}

.member-role-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-color);
    background: rgba(229, 57, 53, 0.08);
    border: 1px solid rgba(229, 57, 53, 0.2);
    padding: 0.15rem 0.55rem;
    border-radius: 3px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.member-bio {
    font-size: 0.925rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 1.25rem 0;
    flex-grow: 1;
}

.member-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
}

.member-stories-count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.member-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-color);
    transition: all 0.2s ease;
}

.member-link-btn:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #fff;
}

.home-stats-bar {
    max-width: var(--container-max);
    margin: var(--space-md, 1.5rem) auto;
    padding: 0;
    transform: none;
}

/* --- CONTACT PAGE TEMPLATE --- */
.contact-header {
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 4.5rem var(--space-md) 3.5rem;
    text-align: center;
}

.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 3rem;
    max-width: var(--container-max);
    margin: 4rem auto 5rem;
    padding: 0 var(--space-md);
    align-items: flex-start;
}

@media (max-width: 900px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
    }
}

/* Left Column: Channels */
.contact-channels-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-card {
    display: flex;
    gap: 1.25rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.75rem;
    align-items: flex-start;
    transition: border-color 0.2s ease;
}

.contact-info-card:hover {
    border-color: var(--accent-color);
}

.card-icon-pill {
    width: 44px;
    height: 44px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

.card-text-wrap {
    flex: 1;
}

.channel-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

.channel-main-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.35rem;
    transition: color 0.2s ease;
}

.channel-main-link:hover {
    color: var(--accent-color);
}

.channel-subtext {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

.desk-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: var(--text-primary);
}

.contact-social-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.contact-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-pill-link:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Right Column: Form */
.contact-form-wrapper {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2.5rem;
}

.form-header-deck {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.4rem;
}

.form-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.form-subheading {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
}

.contact-dispatch-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 600px) {
    .form-row-grid {
        grid-template-columns: 1fr;
    }
}

.form-field-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-field-wrap label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-field-wrap input,
.form-field-wrap select,
.form-field-wrap textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    border-radius: 3px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.form-field-wrap input:focus,
.form-field-wrap select:focus,
.form-field-wrap textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.contact-submit-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.85rem;
    background: var(--accent-color);
    color: #000;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 3px;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.contact-submit-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {

    /* Hero: Hide left column, make 2-col */
    .hero-live-wall {
        grid-template-columns: 2fr 1fr;
        height: 500px;
    }

    .hero-col:first-child {
        display: none;
    }

    /* Layouts: Collapse sidebar under main content */
    .content-sidebar-wrap,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .sticky-share {
        display: none;
        /* Hide vertical share on tablet/mobile */
    }

    .sidebar {
        position: relative;
        top: 0;
        margin-top: var(--space-xl);
    }

    /* Media Strip & Footer: 4-col to 2-col */
    .media-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Deep Dive: adjust font size */
    .hover-index-list .index-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* Header/Nav */
    .main-nav {
        display: none;
    }

    /* Hero: Stack slider and right column */
    .hero-live-wall {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-slider {
        height: 400px;
        margin-bottom: var(--space-sm);
    }

    .hero-col:last-child {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .bento-tile {
        height: 200px;
    }

    .hero-headline {
        font-size: 2rem;
    }

    /* Category Accordion: Stack vertically */
    .category-accordion {
        flex-direction: column;
        height: 600px;
    }

    .accordion-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .category-accordion:hover .accordion-panel:not(:hover) {
        flex: 1;
    }

    .category-accordion .accordion-panel:hover {
        flex: 3;
    }

    /* Feeds & Grids: 1 column */
    .main-feed-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
    }

    /* Single Post & Static Tweaks */
    .article-title {
        font-size: 2.5rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    /* Deep Dive */
    .hover-index-list .index-title {
        font-size: 1.5rem;
    }

    .hover-index-list li {
        padding: 1rem 0;
    }

    .index-num {
        font-size: 1.5rem;
    }
}

/* ═════ LIVE WALL CONTENT ROTATION ANIMATIONS ═════ */
.live-tile {
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

.live-tile.update-fade {
    opacity: 0;
}

.live-tile.update-slide {
    opacity: 0;
    transform: translateY(15px);
}

.live-tile.update-flash {
    opacity: 0;
    filter: brightness(2) blur(5px);
}

/* ══════════════════════════════════════════════════════════════════
   COMMAND PALETTE & LIVE SEARCH MODAL
══════════════════════════════════════════════════════════════════ */
.search-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10vh var(--space-md) var(--space-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.search-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.search-modal-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 620px;
}

.search-modal-dialog {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transform: scale(0.96) translateY(-12px);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-overlay.active .search-modal-dialog {
    transform: scale(1) translateY(0);
}

/* Search Input Wrap */
.search-input-wrap {
    display: flex;
    align-items: center;
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
}

.search-input-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.search-modal-input {
    flex: 1;
    min-width: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    outline: none !important;
    padding: 0;
}

.search-modal-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
    font-size: 0.95rem;
}

.search-input-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.search-input-clear {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.15s ease;
}

.search-input-clear:hover {
    color: var(--accent-color);
}

.search-modal-kbd {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2px 6px;
    color: var(--text-secondary);
}

.search-modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.search-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Quick Topic Pills */
.search-quick-topics {
    padding: 1rem 1.25rem;
}

.search-quick-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
}

.search-topic-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.search-topic-pill {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.search-topic-pill .pill-count {
    color: var(--text-secondary);
    font-size: 0.6875rem;
    opacity: 0.7;
}

.search-topic-pill:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.search-topic-pill:hover .pill-count {
    color: #000;
    opacity: 0.9;
}

/* Live Results List */
.search-live-results {
    max-height: 48vh;
    overflow-y: auto;
}

.search-results-list {
    padding: 0.4rem 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.search-result-img {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #111;
}

.search-result-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.2rem 0;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-item:hover .search-result-title {
    color: var(--accent-color);
}

.search-result-meta {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

.search-result-arrow {
    color: var(--text-secondary);
    opacity: 0.4;
    transition: transform 0.15s ease, opacity 0.15s ease, color 0.15s ease;
}

.search-result-item:hover .search-result-arrow {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(3px);
}

.search-view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 42, 42, 0.05);
    border-top: 1px solid var(--border-color);
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.search-view-all-link:hover {
    background: var(--accent-color);
    color: #000;
}

/* Modal States: Loading & Empty */
.search-modal-state {
    padding: 2.5rem 1.25rem;
    text-align: center;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.search-state-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: searchSpin 0.6s linear infinite;
}

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

/* Footer command hints */
.search-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0.65rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

.search-modal-footer kbd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 1px 4px;
    color: var(--text-primary);
}

body.search-modal-open {
    overflow: hidden;
}

/* Light Theme Overrides for Search Modal */
html.light-theme .search-modal-backdrop,
body.light-theme .search-modal-backdrop {
    background: rgba(0, 0, 0, 0.4);
}

html.light-theme .search-modal-dialog,
body.light-theme .search-modal-dialog {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

html.light-theme .search-modal-footer,
body.light-theme .search-modal-footer {
    background: #f6f7f7;
}

/* ══════════════════════════════════════════════════════════════════
   SAVED READING LIST DRAWER MODAL
══════════════════════════════════════════════════════════════════ */
.reading-list-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.reading-list-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.reading-list-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.reading-list-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: var(--surface-color);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 2;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.reading-list-modal-overlay.active .reading-list-drawer {
    transform: translateX(0);
}

.reading-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.reading-list-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.reading-list-title-wrap svg {
    color: var(--accent-color);
}

.reading-list-title {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    color: var(--text-primary);
}

.reading-list-badge {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
}

.reading-list-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.reading-list-close:hover {
    color: var(--accent-color);
    background: rgba(255, 42, 42, 0.08);
}

.reading-list-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reading-list-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-secondary);
    height: 100%;
}

.reading-list-empty-state svg {
    color: var(--text-secondary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.reading-list-empty-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.reading-list-empty-text {
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
    max-width: 280px;
}

.reading-list-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.reading-list-item:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.reading-list-item-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.reading-list-item-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.reading-list-item-title a:hover {
    color: var(--accent-color);
}

.reading-list-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.reading-list-item-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.reading-list-item-link:hover {
    text-decoration: underline;
}

.reading-list-item-remove {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 3px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.reading-list-item-remove:hover {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
}

.reading-list-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.reading-list-clear-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.reading-list-clear-btn:hover {
    color: #ff4d4d;
    border-color: #ff4d4d;
    background: rgba(255, 77, 77, 0.08);
}

body.reading-list-open {
    overflow: hidden;
}

html.light-theme .reading-list-drawer,
body.light-theme .reading-list-drawer {
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

html.light-theme .reading-list-item,
body.light-theme .reading-list-item {
    background: #f8fafc;
    border-color: #e2e8f0;
}

html.light-theme .reading-list-item:hover,
body.light-theme .reading-list-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* ══════════════════════════════════════════════════════════════════
   1. VISUAL STORY HIGHLIGHTS REEL & LIGHTBOX MODAL
══════════════════════════════════════════════════════════════════ */
.stories-highlights-section {
    margin-bottom: var(--space-lg);
    padding: 0.5rem 0 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stories-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.stories-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    padding: 0.5rem 1rem;
    color: #000;
}

.stories-live-indicator {
    display: inline-flex;
    align-items: center;
}

.stories-title {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000;
    margin: 0;
    text-transform: uppercase;
}

.stories-live-indicator .pulse-dot {
    background: #000;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
}

.stories-nav-arrows {
    display: flex;
    gap: 6px;
    padding-bottom: 0.35rem;
}

.stories-arrow {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 28px;
    height: 28px;
    border-radius: 2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

.stories-arrow:hover {
    color: #000;
    border-color: var(--accent-color);
    background: var(--accent-color);
}

.stories-track-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.stories-track-wrapper::-webkit-scrollbar {
    display: none;
}

.stories-track {
    display: flex;
    gap: 1.25rem;
    padding: 0.35rem 0.15rem;
}

.story-item {
    flex: 0 0 100px;
    max-width: 100px;
    text-align: center;
}

.story-card-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    outline: none;
}

.story-avatar-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-card-btn:hover .story-avatar-wrap {
    transform: scale(1.06);
}

.story-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #ff7b00, var(--accent-color));
    background-size: 200% 200%;
    animation: storyGradient 4s ease infinite;
    z-index: 1;
}

.story-item.is-live .story-ring {
    box-shadow: 0 0 14px rgba(255, 42, 42, 0.6);
}

@keyframes storyGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.story-avatar {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #000;
    border: 2px solid var(--surface-color);
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-badge-live {
    position: absolute;
    bottom: -2px;
    z-index: 3;
    background: #ff2a2a;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.story-badge-time {
    position: absolute;
    bottom: -2px;
    z-index: 3;
    background: #18181b;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1.2;
}

.story-card-title {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.story-card-btn:hover .story-card-title {
    color: var(--accent-color);
}

/* Story Quick-Read Lightbox Modal */
.story-quick-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.story-quick-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.story-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1;
}

.story-modal-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    height: 640px;
    max-height: 90vh;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
    transform: scale(0.94);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-quick-modal.active .story-modal-card {
    transform: scale(1);
}

.story-modal-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.story-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-color);
}

.story-modal-header {
    position: absolute;
    top: 10px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.story-header-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-header-cat {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    background: var(--accent-color);
    color: #000;
    padding: 2px 6px;
    border-radius: 2px;
}

.story-header-date {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: #fff;
    opacity: 0.8;
}

.story-modal-close {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.story-modal-close:hover {
    background: #fff;
    color: #000;
}

.story-modal-body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.story-modal-img-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.story-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-modal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0.6) 100%);
}

.story-modal-info {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.story-readtime-pill {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.4rem;
}

.story-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin: 0 0 0.65rem 0;
}

.story-modal-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.25rem 0;
}

.story-read-full-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: #000 !important;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.65rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.story-read-full-btn:hover {
    background: #fff;
}

.story-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.story-modal-nav.story-nav-prev {
    left: -50px;
}

.story-modal-nav.story-nav-next {
    right: -50px;
}

.story-modal-nav:hover {
    background: var(--accent-color);
    color: #000;
}

@media (max-width: 600px) {
    .story-modal-nav.story-nav-prev {
        left: 10px;
    }

    .story-modal-nav.story-nav-next {
        right: 10px;
    }
}

body.story-modal-open {
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════
   2. INTERACTIVE CARD ACTION DECKS & HOVER UTILITIES
══════════════════════════════════════════════════════════════════ */
.card-img-wrap,
.bento-tile {
    position: relative;
}

.card-action-deck {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.bento-tile:hover .card-action-deck,
.article-card:hover .card-action-deck,
.feed-card:hover .card-action-deck,
.slide:hover .card-action-deck {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.card-action-pill {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.card-action-pill:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.card-read-time {
    cursor: default;
    color: var(--text-secondary);
}

.card-action-pill:hover svg {
    stroke: currentColor;
}

.card-bookmark-btn.is-saved {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.card-bookmark-btn.is-saved svg {
    fill: currentColor;
}

/* ══════════════════════════════════════════════════════════════════
   3. 30-SECOND QUICK TAKEAWAY POPOVER DRAWER
══════════════════════════════════════════════════════════════════ */
.quick-summary-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.quick-summary-drawer.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.summary-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.summary-drawer-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-summary-drawer.active .summary-drawer-card {
    transform: scale(1) translateY(0);
}

.summary-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 42, 42, 0.05);
}

.summary-header-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.06em;
}

.summary-drawer-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.15s ease;
}

.summary-drawer-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.summary-drawer-content {
    padding: 1.25rem 1.5rem;
}

.summary-drawer-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 1.25rem 0;
    color: var(--text-primary);
}

.summary-takeaways-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.summary-bullet {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

.summary-bullet .bullet-icon {
    color: var(--accent-color);
    flex-shrink: 0;
    font-size: 0.875rem;
}

.summary-bullet .bullet-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
}

.summary-drawer-footer {
    display: flex;
    justify-content: flex-end;
}

.summary-full-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-color);
    color: #000 !important;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.summary-full-link:hover {
    background: #fff;
}

body.summary-drawer-open {
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════
   4. BOOKMARK TOAST NOTIFICATION
══════════════════════════════════════════════════════════════════ */
.bookmark-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    background: var(--surface-color);
    border: 1px solid var(--accent-color);
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    transform: translateY(60px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.bookmark-toast.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.bookmark-toast svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   5. HOVER-REVEAL HERO MODE ENHANCEMENTS
══════════════════════════════════════════════════════════════════ */
.hero-mode-reveal {
    margin-bottom: var(--space-xl);
}

.hover-matrix-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hover-index-list li a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: #fff;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

.index-meta-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.index-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.7);
}

.index-meta .time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.index-arrow {
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s ease;
}

.hover-index-list li.active .index-arrow,
.hover-index-list li:hover .index-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Dense matrix wall grid */
.dense-wall-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

@media (max-width: 900px) {
    .dense-wall-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════════
   6. CUSTOM CTA / SPLIT SECTION
══════════════════════════════════════════════════════════════════ */
.newsum-custom-cta {
    margin: var(--space-xl) 0;
}

.custom-cta-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.newsum-custom-cta.layout-split_right .custom-cta-card {
    grid-template-columns: 1.2fr 1fr;
}

.newsum-custom-cta.layout-split_right .cta-img-col {
    order: 2;
}

.cta-img-col {
    position: relative;
    min-height: 280px;
    background: #000;
}

.cta-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.custom-cta-card:hover .cta-img-col img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.cta-content-col {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
}

.cta-badge {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    background: rgba(255, 42, 42, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    color: var(--text-primary);
}

.cta-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cta-btn {
    margin-top: 0.5rem;
}

@media (max-width: 800px) {

    .custom-cta-card,
    .newsum-custom-cta.layout-split_right .custom-cta-card {
        grid-template-columns: 1fr;
    }

    .cta-img-col {
        min-height: 200px;
    }

    .cta-content-col {
        padding: 1.5rem;
    }
}

/* ══════════════════════════════════════════════════════════════════
   7. SOCIAL PROOF / BRAND LOGOS BAR
══════════════════════════════════════════════════════════════════ */
.newsum-social-proof-bar {
    margin: var(--space-xl) 0;
    padding: 1.75rem 2rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    text-align: center;
}

.social-proof-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 1.25rem 0;
}

.social-proof-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.proof-logo-item img {
    max-height: 36px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.proof-logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* ══════════════════════════════════════════════════════════════════
   8. SHORTCODE / AD BLOCK SECTION
══════════════════════════════════════════════════════════════════ */
.newsum-shortcode-section {
    margin: var(--space-lg) 0;
}

.newsum-shortcode-section.shortcode-contained {
    max-width: 100%;
}

/* ══════════════════════════════════════════════════════════════════
   9. FULL-WIDTH NEWSLETTER CTA SECTION
══════════════════════════════════════════════════════════════════ */
.newsletter-cta-section {
    margin: var(--space-2xl) 0 var(--space-lg) 0;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
    padding: 3rem 2.5rem;
}

.newsletter-cta-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.newsletter-tag {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.newsletter-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
}

.newsletter-heading em {
    color: var(--accent-color);
    font-style: normal;
}

.newsletter-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.newsletter-form-wrap .input-group {
    display: flex;
    gap: 8px;
}

.newsletter-form-wrap input[type="email"] {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-form-wrap input[type="email"]:focus {
    border-color: var(--accent-color);
}

@media (max-width: 800px) {
    .newsletter-cta-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsletter-cta-section {
        padding: 2rem 1.5rem;
    }

    .newsletter-form-wrap .input-group {
        flex-direction: column;
    }
}

/* ── Page Preloader ── */
.newsum-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
}

.newsum-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.preloader-brand {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.preloader-brand span {
    color: var(--accent-color);
}

.preloader-bar {
    width: 180px;
    height: 2px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.preloader-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: var(--accent-color);
    animation: newsum-preloader-slide 1.2s infinite ease-in-out;
}

@keyframes newsum-preloader-slide {
    0% {
        left: -40%;
        width: 30%;
    }

    50% {
        width: 60%;
    }

    100% {
        left: 100%;
        width: 30%;
    }
}

.preloader-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════
   HERO LAYOUT: CLASSIC NEWSPAPER BROADSHEET (TRIBUNE)
   ══════════════════════════════════════════════════════════════════ */
.hero-newspaper-broadsheet {
    padding: 0;
    width: 100%;
}

.newspaper-broadsheet-container {
    max-width: var(--container-max, 1800px);
    margin: 0 auto;
    padding: 0;
}

.newspaper-grid {
    display: grid;
    grid-template-columns: 290px 1fr 310px;
    gap: 0;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
}

.newspaper-col {
    padding: 1.5rem;
}

.newspaper-col-left {
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.newspaper-col-center {
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
}

.newspaper-col-right {
    display: flex;
    flex-direction: column;
}

.newspaper-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--text-primary);
}

.newspaper-col-header:empty {
    display: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.newspaper-col-kicker {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.newspaper-col-badge {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

/* Col 1: Stories Stack */
.newspaper-stories-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.newspaper-brief-item {
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed var(--border-color);
}

.newspaper-brief-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.newspaper-kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-color);
    margin-bottom: 0.35rem;
}

.newspaper-brief-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.newspaper-brief-title a {
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.newspaper-brief-title a:hover {
    color: var(--accent-color);
}

.newspaper-brief-excerpt {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.newspaper-item-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

/* Col 2: Lead Feature Article */
.newspaper-lead-article {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.newspaper-lead-media {
    position: relative;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.newspaper-lead-thumb-link {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.newspaper-lead-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.newspaper-lead-article:hover .newspaper-lead-img {
    transform: scale(1.02);
}

.newspaper-lead-pill {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--accent-color);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
}

.newspaper-lead-title {
    font-family: var(--font-heading);
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.newspaper-lead-title a {
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.newspaper-lead-title a:hover {
    color: var(--accent-color);
}

.newspaper-lead-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.newspaper-lead-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.newspaper-author-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.newspaper-author-box strong {
    color: var(--text-primary);
}

.dot-sep {
    opacity: 0.4;
}

/* Col 3: Visual Stack Cards */
.newspaper-featured-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.newspaper-featured-card {
    display: flex;
    flex-direction: column;
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed var(--border-color);
}

.newspaper-featured-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.newspaper-card-thumb {
    position: relative;
    margin-bottom: 0.85rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.newspaper-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.newspaper-featured-card:hover .newspaper-card-thumb img {
    transform: scale(1.03);
}

.newspaper-card-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}

.newspaper-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.45rem;
}

.newspaper-card-title a {
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.newspaper-card-title a:hover {
    color: var(--accent-color);
}

.newspaper-card-excerpt {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Responsive layout for Newspaper */
@media (max-width: 1100px) {
    .newspaper-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newspaper-col-center {
        grid-column: span 2;
        order: -1;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .newspaper-col-left {
        border-right: 1px solid var(--border-color);
    }
}

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

    .newspaper-col-left,
    .newspaper-col-center,
    .newspaper-col-right {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .newspaper-col-right {
        border-bottom: none;
    }

    .newspaper-lead-title {
        font-size: 1.65rem;
    }
}

/* ==========================================================================
   NewSum Search Form System
   ========================================================================== */
.newsum-search-form {
    width: 100%;
    max-width: 600px;
    margin: 1.5rem 0;
}

.newsum-search-form .search-form-group {
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.newsum-search-form .search-form-group:focus-within {
    border-color: var(--accent-color, #ff2a2a);
    box-shadow: 0 0 0 3px rgba(255, 42, 42, 0.15);
}

.newsum-search-form .search-icon-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 14px;
    color: var(--text-muted, #64748b);
}

.newsum-search-form .search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--text-main, #0f172a);
    outline: none;
    font-family: inherit;
}

.newsum-search-form .search-field::placeholder {
    color: var(--text-muted, #94a3b8);
    font-size: 0.9rem;
}

.newsum-search-form .search-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-color, #ff2a2a);
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsum-search-form .search-submit:hover {
    background: #e01f1f;
}

body.dark-theme .newsum-search-form .search-form-group {
    background: var(--bg-card, #18181b);
    border-color: var(--border-color, #27272a);
}

body.dark-theme .newsum-search-form .search-field {
    color: var(--text-main, #f8fafc);
}

/* ==========================================================================
   NewSum Custom Widgets System
   ========================================================================== */

/* Universal Sidebar Widget Container */
.sidebar-column .sidebar-widget,
.sidebar-column .widget,
.archive-sidebar .sidebar-widget,
.archive-sidebar .widget,
.widget-area .sidebar-widget,
.widget-area .widget {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 2rem;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-column .sidebar-widget:hover,
.archive-sidebar .sidebar-widget:hover,
.widget-area .widget:hover {
    border-color: rgba(255, 42, 42, 0.4);
}

/* Universal Widget Header / Title */
.sidebar-widget-title,
.sidebar-widget .widget-title,
.sidebar-column .widget .widget-title,
.archive-sidebar .widget .widget-title,
.widget-area .widget .widgettitle,
.widget-area .widget-title {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-color, #ff2a2a);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

/* Author Profile Widget */
.newsum-author-profile-widget {
    margin: 0;
}

.newsum-author-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.newsum-author-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.newsum-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--accent-color, #ff2a2a);
    padding: 2px;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsum-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.newsum-author-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 42, 42, 0.12);
    color: var(--accent-color, #ff2a2a);
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsum-author-meta {
    flex: 1;
    min-width: 0;
}

.newsum-author-name {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.newsum-author-role {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-color, #ff2a2a);
    font-family: var(--font-mono);
}

.newsum-author-bio {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 16px;
}

.newsum-author-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.newsum-author-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    text-decoration: none;
}

.newsum-author-socials a:hover {
    background: var(--accent-color, #ff2a2a);
    color: #ffffff;
    border-color: var(--accent-color, #ff2a2a);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 42, 42, 0.3);
}

/* Trending Stories (Ranked) Widget */
.newsum-trending-widget {
    margin: 0;
}

.newsum-trending-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.newsum-trending-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.2s ease;
}

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

.newsum-trending-rank {
    font-size: 1.25rem;
    font-weight: 900;
    font-family: var(--font-mono, monospace);
    color: var(--accent-color, #ff2a2a);
    line-height: 1;
    min-width: 26px;
    flex-shrink: 0;
    padding-top: 2px;
}

.newsum-trending-content {
    flex: 1;
    min-width: 0;
}

.newsum-trending-cat {
    display: inline-block;
    font-family: var(--font-mono, monospace);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-color, #ff2a2a);
    margin-bottom: 3px;
}

.newsum-trending-title {
    margin: 0 0 5px;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    font-family: var(--font-heading);
}

.newsum-trending-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.newsum-trending-title a:hover {
    color: var(--accent-color, #ff2a2a);
}

.newsum-trending-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.newsum-trending-thumb {
    width: 58px;
    height: 58px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

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

.newsum-trending-thumb:hover img {
    transform: scale(1.08);
}

/* Editorial Newsroom Team Widget (Pro) */
.newsum-editorial-team-widget {
    margin: 0;
}

.newsum-team-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsum-team-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.newsum-team-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color, #ff2a2a);
    transform: translateX(3px);
}

.newsum-team-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-color, #ff2a2a);
    padding: 1.5px;
    flex-shrink: 0;
    background: var(--bg-color);
}

.newsum-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.newsum-team-meta {
    flex: 1;
    min-width: 0;
}

.newsum-team-name {
    margin: 0 0 2px;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.newsum-team-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.newsum-team-name a:hover {
    color: var(--accent-color, #ff2a2a);
}

.newsum-team-count {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

/* Table of Contents Widget (Pro) */
.newsum-toc-widget {
    margin: 0;
}

.newsum-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.newsum-toc-item a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 3px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.newsum-toc-item a:hover,
.newsum-toc-item.active a {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border-left-color: var(--accent-color, #ff2a2a);
}

/* Standard Core WordPress Widgets Styling */
.widget_categories ul,
.widget_archive ul,
.widget_recent_entries ul,
.widget_meta ul,
.widget_pages ul,
.widget_nav_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget_categories li,
.widget_archive li,
.widget_recent_entries li,
.widget_meta li,
.widget_pages li,
.widget_nav_menu li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.widget_categories li:last-child,
.widget_archive li:last-child,
.widget_recent_entries li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget_categories li a,
.widget_archive li a,
.widget_recent_entries li a,
.widget_meta li a,
.widget_pages li a,
.widget_nav_menu li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.widget_categories li a:hover,
.widget_archive li a:hover,
.widget_recent_entries li a:hover,
.widget_meta li a:hover,
.widget_pages li a:hover,
.widget_nav_menu li a:hover {
    color: var(--accent-color, #ff2a2a);
}

.widget_tag_cloud .tagcloud,
.wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.widget_tag_cloud a,
.wp-block-tag-cloud a {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem !important;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.widget_tag_cloud a:hover,
.wp-block-tag-cloud a:hover {
    background: var(--accent-color, #ff2a2a);
    color: #ffffff;
    border-color: var(--accent-color, #ff2a2a);
}

/* Light Theme Overrides for Clean Contrast */
html.light-theme .newsum-author-socials a,
body.light-theme .newsum-author-socials a,
html.light-theme .newsum-team-card,
body.light-theme .newsum-team-card,
html.light-theme .widget_tag_cloud a,
body.light-theme .widget_tag_cloud a {
    background: #f4f4f5;
}

html.light-theme .newsum-team-card:hover,
body.light-theme .newsum-team-card:hover {
    background: #e4e4e7;
}