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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --bg-dark: #0c0a09;
    --bg-card: #161412;
    --bg-card-hover: #1c1a17;
    --text-primary: #ece8e4;
    --text-secondary: #a8a4a0;
    --text-muted: #858078;
    --accent-red: #dc2626;
    --accent-red-dim: #991b1b;
    --accent-gold: #d4a520;
    --border: #242220;
    --font-serif: 'Newsreader', Georgia, serif;
    --font-sans: 'Instrument Sans', -apple-system, sans-serif;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* Content links — red and underlined (exclude cards and nav) */
.report-body a,
.investigation-article a,
main p a,
main li a,
.sources-section a,
.disclaimer-box a,
.pull-quote a,
.cross-connection a {
    color: var(--accent-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Cards — no underlines anywhere */
a.report-card,
a.report-card * {
    text-decoration: none !important;
}

/* Share buttons — override content link styles */
.share-btn {
    color: white !important;
    text-decoration: none !important;
}

/* Headers and cards should not be underlined */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.report-header a,
.site-title a,
.report-card a,
.report-card h3,
.report-card .read-more,
.report-card p {
    text-decoration: none;
}
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; height: auto; }

/* === HEADER === */
.site-header {
    border-bottom: none;
    padding: 24px 0 0;
    position: relative;
    background: var(--bg-dark);
}

.masthead {
    text-align: center;
    margin-bottom: 16px;
}

.site-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    border-top: 3px solid var(--accent-red);
    border-bottom: 3px solid var(--accent-red);
    padding: 8px 0;
    display: inline-block;
}

.site-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
    letter-spacing: 1px;
}

.site-nav {
    position: relative;
    z-index: 200;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

@media (min-width: 769px) {
    .site-nav {
        position: sticky;
        top: 0;
    }
}

.site-nav .container {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
}

.site-nav a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text-primary);
    border-bottom-color: var(--accent-red);
}

/* === HERO === */
.hero {
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: none;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 560px;
    display: block;
    margin-bottom: 24px;
    object-fit: cover;
    object-position: center center;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.breaking-badge {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 12px;
    margin-bottom: 16px;
    animation: pulse 2s ease-in-out 3;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--accent-red-dim);
}

/* === REPORTS GRID === */
.reports-grid {
    padding: 48px 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-red);
    display: inline-block;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.report-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 28px;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.report-card:hover {
    background: var(--bg-card-hover);
    border-color: #333;
    transform: translateY(-2px);
}

.report-card.latest {
    grid-column: 1 / -1;
    border-left: 4px solid var(--accent-red);
}

.day-badge {
    display: inline-block;
    background: var(--accent-red-dim);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 2px 8px;
    margin-bottom: 8px;
}

.report-card .date {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.report-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.report-card.latest h3 {
    font-size: 1.5rem;
}

.report-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.read-more {
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 600;
}

/* === KEY FACTS === */
.key-facts {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.fact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px 16px;
    text-align: center;
}

.fact-number {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--accent-red);
    margin-bottom: 4px;
}

.fact-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.fact-detail {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* === REPORT PAGE === */
.report-header {
    padding: 16px 0 32px;
    border-bottom: 1px solid var(--border);
}

.report-header .day-badge {
    font-size: 0.8rem;
    padding: 4px 12px;
}

.report-header .breaking-badge {
    vertical-align: middle;
}

.report-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
    font-weight: 900;
    line-height: 1.3;
    margin: 16px 0;
}

.report-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.report-body {
    padding: 24px 0;
}

.report-body h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.report-body h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.report-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 24px 0 8px;
    color: var(--accent-gold);
}

.report-body a {
    color: var(--accent-red);
}

.report-body p {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.report-body strong {
    color: var(--text-primary);
}

.report-body ul, .report-body ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-secondary);
}

.report-body li {
    margin-bottom: 8px;
}

.report-body figure {
    margin: 24px 0;
    padding: 0;
}

.report-body figure img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
}

.report-body figure figcaption {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
}

.report-body figure figcaption a {
    color: var(--accent-red);
}

.report-body blockquote {
    border-left: 3px solid var(--accent-red);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg-card);
    font-style: italic;
    color: var(--text-secondary);
}

.report-nav {
    display: flex;
    justify-content: space-between;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.report-nav a {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.9rem;
}

.report-nav a:hover {
    text-decoration: underline;
}

/* === FOOTER === */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.site-footer p {
    margin-bottom: 8px;
}

.footer-links {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-muted);
    margin: 0 8px;
}

.disclaimer a {
    color: var(--accent-red);
}

.disclaimer {
    font-style: italic;
}

/* === INDICATORS === */
.sentiment {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 3px;
}

.sentiment-strong {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.sentiment-positive {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
}

.sentiment-mixed {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.sentiment-neutral {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
}

.warning-label {
    display: inline-block;
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: middle;
}

.update-label {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
    text-transform: uppercase;
}

.update-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    margin-right: 2px;
    vertical-align: middle;
}

.analyst-label {
    display: inline-block;
    background: rgba(100, 149, 237, 0.15);
    color: #6495ed;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: middle;
}

/* === SOURCE LINKS === */
.source-link {
    color: var(--accent-red);
}

/* === SHARE BUTTONS === */
.share-btn {
    color: white;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.share-twitter { background: #1DA1F2; }
.share-reddit { background: #FF4500; }
.share-telegram { background: #0088cc; }
.share-whatsapp { background: #25D366; }
.share-bluesky { background: #0085ff; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .site-title { font-size: 1.5rem; letter-spacing: 3px; }
    .hero h2 { font-size: 1.6rem; }
    .grid { grid-template-columns: 1fr; }
    .report-card.latest { grid-column: 1; }
    .site-nav { gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 0.75rem; padding: 8px 12px; }
    .site-nav a { letter-spacing: 1px; }
    .report-header h1 { font-size: 1.6rem; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .facts-grid { grid-template-columns: 1fr; }
    .site-title { font-size: 1.2rem; }
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-red-dim); transform: translateY(-2px); }

/* === READING PROGRESS === */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-red);
    z-index: 999;
    transition: width 0.1s;
    width: 0%;
}

/* === HAMBURGER MENU === */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .site-nav .container {
        flex-direction: column;
        gap: 0;
    }
    .site-nav .nav-toggle-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .site-nav .nav-links {
        display: none;
        flex-direction: column;
        gap: 12px;
        padding: 12px 0;
        width: 100%;
        text-align: center;
    }
    .site-nav .nav-links.open { display: flex; }
    .site-nav .search-trigger {
        margin: 0;
        padding: 6px 12px;
    }
    .search-trigger kbd {
        display: none;
    }
    .search-overlay,
    .search-overlay.active {
        padding: 24px 12px 12px !important;
        align-items: flex-start !important;
    }
    .search-modal {
        max-width: 100% !important;
        border-radius: 12px !important;
    }
    .search-results {
        max-height: 60vh;
    }
    .search-footer {
        display: none;
    }
}

@media (min-width: 769px) {
    .nav-links { display: flex !important; gap: 24px; order: 1; }
    .nav-toggle-row { display: flex; order: 2; margin-left: auto; flex-shrink: 0; }
    .nav-toggle-row .hamburger { display: none; }
}

/* === REPORT CARD THUMBNAILS === */
.report-card .card-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}

/* Active page indicator */
.site-nav a[aria-current="page"] {
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-red);
}

/* === FOCUS STYLES === */
:focus-visible {
    outline: 3px solid var(--accent-red);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.2);
}
:focus:not(:focus-visible) {
    outline: none;
}

/* === ACTIVE STATES === */
.btn-primary:active { transform: scale(0.98); }
.report-card:active { transform: translateY(0); }

/* === SKIP LINK === */
.skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    padding: 12px 24px;
    background: var(--accent-red);
    color: white;
    font-weight: 600;
    z-index: 10000;
    overflow: visible;
}

/* === INLINE STYLE REPLACEMENTS === */
.hero-updated {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 12px 0 24px;
}

.badge-live-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.badge-live-small {
    font-size: 0.65rem;
    padding: 2px 8px;
}

.featured-card-gold {
    border-left-color: var(--accent-gold);
}

.badge-gold {
    background: var(--accent-gold);
}

.read-more-gold {
    color: var(--accent-gold);
}

/* === ABOUT PAGE STATS GRID MOBILE === */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* === SEARCH === */
.search-trigger {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: var(--font-sans);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: nowrap;
    margin-left: auto;
}

.search-trigger:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
}

.search-trigger kbd {
    font-size: 0.6rem;
    background: rgba(255,255,255,0.06);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-sans);
    color: var(--text-muted);
}

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: max(10vh, 80px) 16px 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0.15s;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-modal {
    background: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    width: 100%;
    max-width: 580px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 32px 80px rgba(0, 0, 0, 0.7);
    transform: translateY(-8px) scale(0.98);
    transition: transform 0.15s;
}

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

.search-header {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.search-header svg {
    flex-shrink: 0;
    color: var(--accent-red);
    opacity: 0.7;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: var(--font-sans);
    outline: none;
    caret-color: var(--accent-red);
}

.search-input::placeholder {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.search-close {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--accent-red);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 5px;
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
    transition: all 0.15s;
}

.search-close:hover {
    background: rgba(220, 38, 38, 0.2);
    color: var(--accent-red);
}

.search-results {
    max-height: 50vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.search-result-item {
    display: block;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.1s;
}

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

.search-result-item:hover {
    background: rgba(220, 38, 38, 0.06);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.result-title {
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.3;
}

.result-snippet {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-badge {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 4px;
    flex-shrink: 0;
}

.search-badge-report { background: rgba(220, 38, 38, 0.15); color: #f87171; }
.search-badge-economics { background: rgba(37, 99, 235, 0.15); color: #60a5fa; }
.search-badge-investigation { background: rgba(217, 119, 6, 0.15); color: #fbbf24; }
.search-badge-page { background: rgba(255,255,255,0.06); color: var(--text-muted); }

.search-result-item mark {
    background: rgba(220, 38, 38, 0.25);
    color: inherit;
    padding: 0;
    border-radius: 0;
}

.search-no-results, .search-hint {
    padding: 32px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.5;
}

.search-footer {
    padding: 10px 18px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 16px;
    justify-content: center;
}

.search-footer span {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.search-footer kbd {
    font-size: 0.6rem;
    background: rgba(255,255,255,0.06);
    padding: 1px 5px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.08);
    font-family: var(--font-sans);
}

/* === BREADCRUMBS === */
.breadcrumb {
    margin-top: 24px;
}

.report-header .breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.breadcrumb .separator {
    margin: 0 6px;
    color: var(--text-muted);
}

/* === READING TIME === */
.reading-time {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 8px;
}

/* === PRINT STYLESHEET === */
@media print {
    body {
        background: white;
        color: black;
    }

    .site-header,
    .site-nav,
    .site-footer,
    .back-to-top,
    .reading-progress,
    .search-trigger,
    .search-overlay,
    .share-btn,
    .report-nav,
    .breadcrumb,
    .breaking-badge,
    .hamburger {
        display: none !important;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .report-header,
    .report-body {
        max-width: 100%;
    }

    .report-header {
        border-bottom: 1px solid #ccc;
    }

    .report-body a {
        color: black;
        text-decoration: underline;
    }

    .report-body a::after {
        content: " (" attr(href) ")";
        font-size: 0.75rem;
        color: #666;
    }

    .report-body a[href^="#"]::after,
    .report-body a[href^="javascript"]::after {
        content: "";
    }

    .report-body figure img {
        max-width: 100%;
        border: 1px solid #ccc;
    }

    .hero, .key-facts, .reports-grid {
        break-inside: avoid;
    }

    .day-badge {
        background: white;
        color: black;
        border: 1px solid #ccc;
    }

    * {
        box-shadow: none !important;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === NEWSLETTER CTA === */
.newsletter-cta {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(220, 38, 38, 0.02));
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin: 48px 0;
}

.newsletter-cta h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter-cta p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

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

.newsletter-input {
    flex: 1;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    outline: none;
}

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

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

.newsletter-btn {
    padding: 10px 20px;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.newsletter-btn:hover {
    opacity: 0.9;
}

.newsletter-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.newsletter-form .hp-field {
    display: none;
}

.shake {
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* === SUBSCRIBE POPUP === */
.subscribe-popup {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.subscribe-popup.active {
    opacity: 1;
    visibility: visible;
}

.subscribe-popup-card {
    background: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 440px;
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
    position: relative;
}

.subscribe-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

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

.subscribe-popup h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin: 0 0 8px;
    color: var(--text-primary);
}

.subscribe-popup p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0 0 20px;
    line-height: 1.5;
}

.subscribe-popup .newsletter-form {
    max-width: 100%;
}

.subscribe-popup .newsletter-note {
    margin-top: 12px;
    font-size: 0.75rem;
}

.subscribe-popup .no-thanks {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
}

.subscribe-popup .no-thanks:hover {
    color: var(--text-secondary);
}

/* Search input clear button (native browser X) */
.search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 14px;
    width: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center/contain no-repeat;
    cursor: pointer;
}
