/*
Theme Name: OmenCheck
Theme URI: https://omencheck.top
Author: OmenCheck
Description: Riot Brief theme for OmenCheck dispute Topics in Apple 17 Liquid Glass style.
Version: 0.4.1
Text Domain: omencheck
*/

:root {
    --oc-bg: #03050e;
    --oc-surface: rgba(255, 255, 255, 0.035);
    --oc-surface-soft: rgba(255, 255, 255, 0.015);
    --oc-surface-hover: rgba(255, 255, 255, 0.07);
    --oc-text: #f8fafc;
    --oc-muted: #94a3b8;
    --oc-line: rgba(255, 255, 255, 0.07);
    --oc-line-strong: rgba(255, 255, 255, 0.15);
    --oc-brand: #3b82f6;
    --oc-brand-glow: rgba(59, 130, 246, 0.15);
    --oc-accent: #f59e0b;
    --oc-accent-dark: #d97706;
    --oc-for: #10b981;
    --oc-for-border: rgba(16, 185, 129, 0.3);
    --oc-for-glow: rgba(16, 185, 129, 0.05);
    --oc-against: #ef4444;
    --oc-against-border: rgba(239, 68, 68, 0.3);
    --oc-against-glow: rgba(239, 68, 68, 0.05);
    --oc-evidence: #38bdf8;
    --oc-warn: #f59e0b;
    --oc-glass-blur: blur(25px) saturate(180%);
    --oc-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --oc-shadow-sm: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --oc-radius-lg: 32px;
    --oc-radius-md: 20px;
    --oc-radius-sm: 12px;
    --oc-max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--oc-bg);
}

body {
    margin: 0;
    background-color: var(--oc-bg);
    color: var(--oc-text);
    font-family: 'Outfit', Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Floating Liquid Glow Blobs in Background */
.oc-glow-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.oc-glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.28;
    mix-blend-mode: screen;
}

.oc-glow-blob--1 {
    top: -10vw;
    left: -10vw;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    animation: floatBlob1 25s infinite alternate ease-in-out;
}

.oc-glow-blob--2 {
    bottom: -15vw;
    right: -15vw;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, transparent 70%);
    animation: floatBlob2 30s infinite alternate ease-in-out;
}

.oc-glow-blob--3 {
    top: 35vh;
    left: 45vw;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
    animation: floatBlob3 22s infinite alternate ease-in-out;
}

@keyframes floatBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8%, 10%) scale(1.1); }
}

@keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10%, -8%) scale(0.9); }
}

@keyframes floatBlob3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5%, 8%) scale(1.15); }
}

img {
    height: auto;
    max-width: 100%;
    border-radius: var(--oc-radius-md);
}

a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover,
a:focus-visible {
    color: #93c5fd;
}

button,
input,
textarea,
select {
    font: inherit;
    background: transparent;
    border: none;
    color: inherit;
}

input[type="search"],
input[type="text"] {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--oc-line);
    border-radius: 999px;
    color: #fff;
    min-height: 48px;
    padding: 0 20px;
    outline: none;
    transition: all 0.3s ease;
}

input[type="search"]:focus,
input[type="text"]:focus {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

/* Glass Buttons */
button,
.oc-button,
.oc-read-link {
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    text-decoration: none;
    box-shadow: var(--oc-shadow-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

button:hover,
button:focus-visible,
.oc-button:hover,
.oc-button:focus-visible,
.oc-read-link:hover,
.oc-read-link:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.oc-button--secondary {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.oc-button--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.screen-reader-text,
.oc-skip-link {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.oc-site-header,
.oc-site-footer,
.oc-topic,
.oc-index {
    margin: 0 auto;
    max-width: var(--oc-max);
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
}

/* Header Redesign */
.oc-site-header {
    padding-top: 30px;
    padding-bottom: 20px;
}

.oc-site-header__inner {
    align-items: center;
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.oc-site-header__brand {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-family: 'Lora', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    gap: 12px;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.oc-brand-mark {
    align-items: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50%;
    color: #a78bfa;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.25);
    transition: all 0.3s ease;
}

.oc-site-header__brand:hover .oc-brand-mark {
    transform: rotate(45deg) scale(1.05);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.45);
}

.oc-brand-mark svg {
    width: 22px;
    height: 22px;
}

.oc-site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.oc-site-nav a {
    color: var(--oc-muted);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 6px 0;
}

.oc-site-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 99px;
}

.oc-site-nav a:hover {
    color: #fff;
}

.oc-site-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.oc-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.oc-header-search {
    min-width: min(280px, 28vw);
}

.oc-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--oc-line);
    border-radius: 999px;
    padding: 6px 6px 6px 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.oc-search-input-wrapper:focus-within {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
}

.oc-search-input-wrapper input {
    border: none !important;
    background: transparent !important;
    color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100%;
    height: 32px;
    font-size: 14px;
}

.oc-search-input-wrapper button {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.oc-search-input-wrapper button:hover {
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.oc-search-input-wrapper button svg {
    width: 15px;
    height: 15px;
}

.oc-theme-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--oc-line);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--oc-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.oc-theme-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.oc-theme-toggle svg {
    width: 20px;
    height: 20px;
}

.oc-site-tagline {
    color: var(--oc-muted);
    font-size: 14px;
    font-weight: 500;
    margin: 10px 0 0 54px;
}

/* Footer Styling */
.oc-site-footer {
    color: var(--oc-muted);
    padding-bottom: 50px;
    padding-top: 60px;
}

.oc-site-footer__inner {
    border-top: 1px solid var(--oc-line);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.oc-site-footer__brand {
    color: #fff;
    font-family: 'Lora', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.oc-site-footer p {
    margin: 10px 0 0;
    max-width: 500px;
    font-size: 14px;
}

.oc-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.oc-footer-nav a {
    color: var(--oc-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.oc-footer-nav a:hover {
    color: #fff;
}

/* Hero Section */
.oc-index {
    padding-bottom: 80px;
}

.oc-hero {
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
    margin-top: 30px;
    align-items: center;
}

.oc-hero__content {
    padding: clamp(30px, 6vw, 60px);
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow);
}

.oc-hero h1,
.oc-search-results h1,
.oc-topic h1 {
    font-size: clamp(38px, 6vw, 68px);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0 0 24px;
}

.oc-hero h1 span,
.oc-hero h1 strong,
.oc-hero h1 em,
.oc-category-hub h1 span {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.oc-hero p {
    color: var(--oc-muted);
    font-size: clamp(16px, 1.8vw, 20px);
    max-width: 620px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.oc-hero .oc-hero-search {
    margin-bottom: 24px;
}

.oc-hero-search .oc-search-input-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    padding: 8px 8px 8px 24px;
}

.oc-hero-search .oc-search-input-wrapper:focus-within {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
}

.oc-hero-search input {
    height: 44px;
    font-size: 16px;
}

.oc-hero-search button {
    width: 44px;
    height: 44px;
}

.oc-hero-search button svg {
    width: 20px;
    height: 20px;
}

.oc-hero__patterns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.oc-hero__patterns a,
.oc-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--oc-line);
    border-radius: 999px;
    color: var(--oc-muted);
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    padding: 8px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.oc-hero__patterns a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.oc-pill span {
    color: #a78bfa;
    font-weight: 700;
}

/* Balance Scale Graphic */
.oc-hero-graphic-card {
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.oc-hero-graphic {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.oc-scale-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

@keyframes balance {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(1.2deg); }
    100% { transform: rotate(-1.2deg); }
}

.oc-scale-bar {
    transform-origin: 200px 130px;
    animation: balance 6s infinite alternate ease-in-out;
}

/* Kickers & Section Headers */
.oc-section-kicker,
.oc-topic__eyebrow {
    color: #a78bfa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.oc-section-heading {
    margin-bottom: 24px;
}

.oc-section-heading h2 {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 10px;
}

.oc-section-heading p {
    color: var(--oc-muted);
    font-size: 16px;
    margin: 0;
}

/* Why OmenCheck Foundation Section */
.oc-foundation {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 40px 0;
}

.oc-foundation article {
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow-sm);
    padding: 30px;
    transition: all 0.3s ease;
}

.oc-foundation article:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.oc-foundation h2 {
    font-family: 'Lora', Georgia, serif;
    font-size: 24px;
    color: #fff;
    margin: 0 0 12px;
}

.oc-foundation p {
    color: var(--oc-muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Topic Card Grid and Cards */
.oc-topic-grid,
.oc-category-grid,
.oc-related__grid {
    display: grid;
    gap: 20px;
}

.oc-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oc-topic-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.oc-topic-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.05);
}

.oc-topic-card--has-thumbnail {
    border-color: rgba(255, 255, 255, 0.06);
}

.oc-topic-card--has-thumbnail:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.oc-topic-card__meta,
.oc-topic-card__signals,
.oc-topic__header-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.oc-topic-card__meta {
    margin-bottom: 14px;
}

.oc-topic-card__meta .oc-pill {
    padding: 4px 10px;
    font-size: 11px;
}

.oc-topic-card h3 {
    margin: 0 0 12px;
}

.oc-topic-card h3 a {
    color: #fff;
    font-family: 'Lora', Georgia, serif;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.oc-topic-card h3 a:hover {
    color: #60a5fa;
}

.oc-topic-card p {
    color: var(--oc-muted);
    font-size: 14px;
    margin: 0 0 20px;
    flex-grow: 1;
}

.oc-topic-card__signals {
    margin-top: auto;
    margin-bottom: 20px;
}

.oc-topic-card__signals .oc-pill {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.04);
    font-size: 11px;
    padding: 4px 8px;
}

.oc-topic-card .oc-read-link {
    width: 100%;
    margin-top: 0;
}

/* Category Grid & Cards (V2) */
.oc-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.oc-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--oc-shadow-sm);
    text-decoration: none;
}

.oc-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.oc-category-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.oc-category-card__icon svg {
    width: 22px;
    height: 22px;
}

.oc-category-card__icon--spirituality {
    background: rgba(139, 92, 246, 0.1);
    color: #c084fc;
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}
.oc-category-card__icon--relationships {
    background: rgba(236, 72, 153, 0.1);
    color: #f472b6;
    border-color: rgba(236, 72, 153, 0.25);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.15);
}
.oc-category-card__icon--lifestyle {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}
.oc-category-card__icon--career {
    background: rgba(249, 115, 22, 0.1);
    color: #fb923c;
    border-color: rgba(249, 115, 22, 0.25);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}
.oc-category-card__icon--money {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}
.oc-category-card__icon--housing {
    background: rgba(234, 179, 8, 0.1);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.25);
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.15);
}
.oc-category-card__icon--technology {
    background: rgba(6, 182, 212, 0.1);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.25);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}
.oc-category-card__icon--health {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

.oc-category-card strong {
    font-size: 16px;
    font-weight: 700;
    margin-top: 14px;
    margin-bottom: 0;
    color: #fff;
    letter-spacing: -0.01em;
}

.oc-category-card span {
    font-size: 13px;
    color: var(--oc-muted);
    margin-top: 6px;
    line-height: 1.4;
    display: none;
}

@media (min-width: 1024px) {
    .oc-category-card {
        align-items: flex-start;
        text-align: left;
        padding: 24px;
    }
    .oc-category-card strong {
        font-size: 18px;
    }
    .oc-category-card span {
        display: block;
    }
}

/* Decision Paths section */
.oc-paths {
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow);
    padding: clamp(24px, 5vw, 48px);
}

.oc-paths__rail {
    display: grid;
    gap: 16px;
}

.oc-paths__rail span {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-sm);
    color: #fff;
    display: block;
    font-weight: 600;
    padding: 16px 20px;
    position: relative;
}

.oc-paths__rail span + span::before {
    color: #a78bfa;
    content: "↓";
    display: block;
    font-size: 20px;
    left: 24px;
    position: absolute;
    top: -24px;
}

/* Search results area */
.oc-search-results {
    margin-bottom: 30px;
    padding: clamp(30px, 5vw, 60px);
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow);
}

.oc-search-results h1 {
    font-size: clamp(32px, 5vw, 54px);
    margin-bottom: 12px;
}

.oc-search-results__form {
    margin-top: 24px;
}

/* Single Topic Page Redesign (2 Columns) */
.oc-topic {
    padding-top: 30px;
    padding-bottom: 80px;
}

.oc-topic__article {
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow);
    padding: clamp(24px, 5vw, 60px);
}

.oc-breadcrumb {
    color: var(--oc-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 8px;
    margin-bottom: 24px;
}

.oc-breadcrumb a {
    color: var(--oc-muted);
}

.oc-breadcrumb a:hover {
    color: #fff;
}

.oc-topic__header {
    margin-bottom: 30px;
}

.oc-topic__subtitle {
    color: var(--oc-muted);
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.45;
    margin: 0 0 24px;
}

.oc-topic__header-pills {
    margin-bottom: 24px;
}

.oc-topic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Glass Tabs (sticky at top) */
.oc-topic-tabs {
    backdrop-filter: blur(28px) saturate(180%);
    background: rgba(3, 5, 14, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    display: flex;
    gap: 4px;
    margin: 40px 0;
    overflow-x: auto;
    padding: 6px;
    position: sticky;
    top: 15px;
    z-index: 90;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.oc-topic-tabs a {
    border-radius: 999px;
    color: var(--oc-muted);
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    min-width: 100px;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.oc-topic-tabs a:hover,
.oc-topic-tabs a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.oc-topic-tabs a.active,
.oc-topic-tabs a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #fff;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

/* Main 2-column layout */
.oc-topic__layout {
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 340px;
    margin-top: 30px;
}

.oc-topic__main {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.oc-topic__sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
    height: fit-content;
}

/* Sidebar Widgets (V2 Glass) */
.oc-sidebar-widget {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    padding: 24px;
    box-shadow: var(--oc-shadow-sm);
}

.oc-sidebar-widget__title {
    color: #fff;
    font-family: 'Lora', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--oc-line);
    padding-bottom: 10px;
}

.oc-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oc-sidebar-nav__item {
    color: var(--oc-muted);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: var(--oc-radius-sm);
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.oc-sidebar-nav__item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.oc-sidebar-nav__item--active {
    color: #fff;
    background: rgba(99, 102, 241, 0.08);
    border-left-color: #6366f1;
}

/* Decision Graph visualization */
.oc-decision-graph-visual {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-sm);
    padding: 10px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-decision-graph-visual svg {
    width: 100%;
    max-width: 240px;
    height: auto;
}

.oc-related__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oc-related__item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-sm);
    padding: 12px 14px;
    transition: all 0.3s ease;
}

.oc-related__item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.oc-related__item span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #a78bfa;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.oc-related__item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.oc-related__item-content a,
.oc-related__item-content strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.oc-related__arrow {
    width: 14px;
    height: 14px;
    color: var(--oc-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.oc-related__item:hover .oc-related__arrow {
    transform: translateX(3px);
    color: #fff;
}

/* Share Card Sidebar Widget */
.oc-share-card .oc-share-kicker {
    margin-bottom: 6px;
}

.oc-share-card .oc-share-text {
    font-family: 'Lora', Georgia, serif;
    font-size: 15px;
    color: #fff;
    line-height: 1.4;
    margin: 0 0 18px;
    font-style: italic;
}

.oc-share-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.oc-share-icon-btn {
    flex: 1;
    height: 40px;
    border-radius: var(--oc-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--oc-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

.oc-share-icon-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.oc-share-icon-btn svg {
    width: 18px;
    height: 18px;
}

.oc-copy-link-btn {
    width: 100%;
    min-height: 40px;
    border-radius: var(--oc-radius-sm);
    font-size: 14px;
}

/* Sections styled as frosted cards inside main flow */
.oc-decision-card,
.oc-sides,
.oc-flashpoints,
.oc-hot-takes,
.oc-topic__content,
.oc-evidence,
.oc-questions,
.oc-faq {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    padding: clamp(20px, 4vw, 36px);
    box-shadow: var(--oc-shadow-sm);
    margin-top: 0;
}

.oc-decision-card dl {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 20px 0 0;
}

.oc-decision-card dl div {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    min-height: 110px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.oc-decision-card dt {
    color: var(--oc-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.oc-decision-card dd {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    flex-grow: 1;
}

.oc-decision-card dd span.val-teal { color: #34d399; }
.oc-decision-card dd span.val-orange { color: #fb923c; }

/* Both Sides column design (cyan/red neon highlights) */
.oc-sides__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oc-sides__column {
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    padding: clamp(20px, 3vw, 32px);
    box-shadow: var(--oc-shadow-sm);
    transition: all 0.3s ease;
}

.oc-sides__column--for {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(3, 5, 14, 0.4) 100%);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: inset 0 1px 0 rgba(16, 185, 129, 0.15);
}

.oc-sides__column--against {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, rgba(3, 5, 14, 0.4) 100%);
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: inset 0 1px 0 rgba(239, 68, 68, 0.15);
}

.oc-sides__column:hover {
    border-color: var(--oc-line-strong);
}

.oc-sides__column--for:hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.08), inset 0 1px 0 rgba(16, 185, 129, 0.25);
}

.oc-sides__column--against:hover {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 15px 30px rgba(239, 68, 68, 0.08), inset 0 1px 0 rgba(239, 68, 68, 0.25);
}

.oc-sides__column h3 {
    color: #fff;
    font-family: 'Lora', Georgia, serif;
    font-size: 26px;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 16px;
}

.oc-argument-list,
.oc-question-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding-left: 20px;
}

.oc-argument-list li {
    padding-left: 4px;
    color: #fff;
}

.oc-argument-list li strong {
    font-size: 15px;
    font-weight: 700;
}

.oc-argument-list p {
    color: var(--oc-muted);
    font-size: 13.5px;
    margin: 6px 0 0;
    line-height: 1.5;
}

.oc-argument-target {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(244, 63, 94, 0.28);
    border-radius: 999px;
    color: #fecdd3;
    background: rgba(244, 63, 94, 0.08);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin-top: 10px;
    max-width: 100%;
    padding: 7px 10px;
    text-transform: uppercase;
}

.oc-hot-take-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oc-hot-take {
    background:
        linear-gradient(135deg, rgba(244, 63, 94, 0.08), rgba(20, 184, 166, 0.05)),
        rgba(255, 255, 255, 0.018);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--oc-radius-md);
    min-height: 150px;
    padding: 18px;
}

.oc-hot-take span {
    color: #fda4af;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.oc-hot-take p {
    color: #fff;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.45;
    margin: 0;
}

.oc-hot-take small {
    color: var(--oc-muted);
    display: block;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 12px;
}

.oc-flashpoint-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oc-flashpoint {
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid rgba(251, 191, 36, 0.18);
    border-radius: var(--oc-radius-md);
    padding: 18px;
}

.oc-flashpoint strong {
    color: #fde68a;
    display: block;
    font-size: 15px;
    line-height: 1.35;
}

.oc-flashpoint p {
    color: var(--oc-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0 0;
}

/* Receipts and weak spots table */
.oc-evidence__table-wrap {
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.15);
}

.oc-evidence__table {
    border-collapse: collapse;
    min-width: 680px;
    width: 100%;
}

.oc-evidence__table th,
.oc-evidence__table td {
    border-bottom: 1px solid var(--oc-line);
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.oc-evidence__table th {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.oc-evidence__table tr:last-child td {
    border-bottom: none;
}

.oc-evidence__table td a {
    text-decoration: underline;
}

.oc-evidence__table td p {
    color: var(--oc-muted);
    font-size: 13px;
    line-height: 1.45;
    margin: 6px 0 0;
}

.oc-stance-pill {
    align-items: center;
    background: rgba(20, 184, 166, 0.09);
    border: 1px solid rgba(20, 184, 166, 0.24);
    border-radius: 999px;
    color: #99f6e4;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.2;
    padding: 7px 10px;
    text-transform: uppercase;
    white-space: normal;
}

.oc-evidence-limits {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.oc-evidence-limits div,
.oc-risk-note {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    padding: 24px;
}

.oc-evidence-limits h3 {
    color: #fff;
    font-family: 'Lora', Georgia, serif;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

.oc-evidence-limits p {
    color: var(--oc-muted);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
}

.oc-risk-note {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.25);
    background: rgba(245, 158, 11, 0.03);
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}

/* Fancy Questions Cards (Mobile Screen 3 mockup style) */
.oc-question-list-fancy {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oc-question-fancy-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.oc-question-fancy-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.04);
}

.oc-question-fancy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.oc-question-fancy-icon svg {
    width: 18px;
    height: 18px;
}

.oc-question-fancy-text {
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    flex-grow: 1;
    line-height: 1.4;
}

.oc-question-fancy-arrow {
    color: var(--oc-muted);
    display: inline-flex;
    transition: transform 0.2s ease;
}

.oc-question-fancy-arrow svg {
    width: 16px;
    height: 16px;
}

.oc-question-fancy-item:hover .oc-question-fancy-arrow {
    transform: translateX(2px);
    color: #fff;
}

/* Question icon coloring */
.oc-question-fancy-item--purple .oc-question-fancy-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #c084fc;
    border-color: rgba(139, 92, 246, 0.2);
}
.oc-question-fancy-item--gold .oc-question-fancy-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.2);
}
.oc-question-fancy-item--green .oc-question-fancy-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.2);
}
.oc-question-fancy-item--blue .oc-question-fancy-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.2);
}
.oc-question-fancy-item--red .oc-question-fancy-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.2);
}

/* FAQ Details/Summary */
.oc-faq details {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    margin-top: 12px;
    padding: 16px 20px;
    transition: all 0.3s ease;
}

.oc-faq details[open] {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.035);
}

.oc-faq summary {
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    outline: none;
}

.oc-faq details p {
    color: var(--oc-muted);
    font-size: 14px;
    margin: 12px 0 0;
    line-height: 1.5;
}

/* Ending Hook / Banner */
.oc-ending-hook {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.08) 50%, rgba(236, 72, 153, 0.08) 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: var(--oc-radius-lg);
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.oc-ending-hook__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.45);
    color: #c084fc;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.oc-ending-hook__icon svg {
    width: 26px;
    height: 26px;
}

.oc-ending-hook__text {
    color: #fff;
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
    max-width: 580px;
}

.oc-empty-note {
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed var(--oc-line-strong);
    border-radius: var(--oc-radius-md);
    color: var(--oc-muted);
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

/* Pagination */
.pagination,
.nav-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--oc-line);
    background: rgba(255, 255, 255, 0.02);
    color: var(--oc-muted);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.page-numbers:hover,
.page-numbers.current {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.page-numbers.current {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.15);
    color: #c084fc;
}

/* Category Hub layout */
.oc-category-hub {
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow);
    padding: clamp(30px, 6vw, 60px);
    margin-bottom: 40px;
}

.oc-category-hub h1 {
    font-size: clamp(34px, 5vw, 58px);
    margin-bottom: 12px;
}

.oc-category-hub > p {
    color: var(--oc-muted);
    font-size: clamp(16px, 1.8vw, 19px);
    max-width: 720px;
    margin-bottom: 28px;
}

.oc-category-hub .oc-hero-search {
    margin-top: 24px;
    margin-bottom: 0;
}

/* Saved fights widget */
.oc-saved-shell {
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow);
    padding: clamp(30px, 6vw, 60px);
    margin-top: 40px;
}

.oc-saved-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.oc-saved-item {
    align-items: center;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px 20px;
    transition: all 0.25s ease;
}

.oc-saved-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.oc-saved-item a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
}

.oc-saved-item span {
    color: var(--oc-muted);
    font-size: 12px;
    font-weight: 500;
}

/* Mobile Bottom Navigation Bar (Frosted Glass) */
.oc-mobile-nav {
    display: none;
}

/* Language layer */
.oc-language-switcher {
    position: relative;
    z-index: 20;
}

.oc-language-switcher summary {
    align-items: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-sm);
    color: #fff;
    cursor: pointer;
    display: flex;
    gap: 8px;
    list-style: none;
    min-height: 42px;
    padding: 9px 12px;
}

.oc-language-switcher summary::-webkit-details-marker {
    display: none;
}

.oc-language-switcher summary span,
.oc-locale-card__code {
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 999px;
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 7px;
}

.oc-language-switcher summary strong {
    font-size: 13px;
}

.oc-language-menu {
    background: rgba(3, 5, 14, 0.96);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    box-shadow: var(--oc-shadow);
    display: grid;
    gap: 6px;
    min-width: 260px;
    padding: 10px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
}

.oc-language-menu a {
    border-radius: var(--oc-radius-sm);
    color: var(--oc-muted);
    display: grid;
    gap: 3px;
    padding: 10px;
    text-decoration: none;
}

.oc-language-menu a:hover,
.oc-language-menu a[aria-current="true"] {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.oc-language-menu strong {
    color: #fff;
}

.oc-language-menu small {
    font-size: 12px;
}

.oc-languages-page,
.oc-locale-home {
    margin: 0 auto;
    max-width: var(--oc-max);
    padding: clamp(24px, 5vw, 56px) 20px;
}

.oc-locale-hero {
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow);
    margin-bottom: 28px;
    padding: clamp(28px, 6vw, 64px);
}

.oc-locale-hero h1 {
    color: #fff;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 0.98;
    margin: 0 0 18px;
    max-width: 900px;
}

.oc-locale-hero p {
    color: var(--oc-muted);
    font-size: 18px;
    line-height: 1.75;
    margin: 0;
    max-width: 820px;
}

.oc-locale-hero__meta,
.oc-locale-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.oc-locale-hero__meta span,
.oc-locale-card__meta span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--oc-line);
    border-radius: 999px;
    color: var(--oc-muted);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 10px;
}

.oc-locale-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oc-locale-card {
    background: rgba(255, 255, 255, 0.024);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    display: grid;
    gap: 12px;
    padding: 20px;
}

.oc-locale-card h2 {
    color: #fff;
    font-size: 24px;
    margin: 0;
}

.oc-locale-card p {
    color: var(--oc-muted);
    line-height: 1.65;
    margin: 0;
}

.oc-rtl {
    text-align: right;
}

.oc-rtl .oc-language-menu {
    left: 0;
    right: auto;
}

.oc-rtl .oc-topic-tabs,
.oc-rtl .oc-locale-hero__meta,
.oc-rtl .oc-locale-card__meta {
    direction: rtl;
}

.oc-locale-home--rtl .oc-topic-card {
    direction: rtl;
    text-align: right;
}

/* Reader discussion */
.oc-community-panel {
    background: var(--oc-surface);
    backdrop-filter: var(--oc-glass-blur);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow);
    margin: 42px auto 0;
    max-width: var(--oc-max);
    padding: clamp(24px, 5vw, 44px);
}

.oc-comment-gate {
    align-items: center;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 24px 0;
    padding: 18px;
}

.oc-comment-gate strong,
.oc-comment-list-wrap h3,
.oc-comment-form-title {
    color: #fff;
}

.oc-comment-gate p,
.oc-comment-note {
    color: var(--oc-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 6px 0 0;
}

.oc-comment-gate__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.oc-comment-list-wrap {
    margin-top: 28px;
}

.oc-comment-list {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.oc-comment-list .comment {
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-md);
    padding: 18px;
}

.oc-comment-list .children {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 14px 0 0 18px;
    padding: 0;
}

.oc-comment-list .comment-meta,
.oc-comment-list .comment-author {
    align-items: center;
    color: var(--oc-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.oc-comment-list .avatar {
    border-radius: 50%;
}

.oc-comment-list .fn,
.oc-comment-list .fn a {
    color: #fff;
    font-style: normal;
    font-weight: 700;
    text-decoration: none;
}

.oc-comment-list .comment-metadata a,
.oc-comment-list .reply a {
    color: #93c5fd;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.oc-comment-list .comment-content {
    color: var(--oc-text);
    font-size: 15px;
    line-height: 1.75;
    margin-top: 12px;
}

.oc-comment-list .comment-awaiting-moderation {
    color: #fbbf24;
    display: block;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    margin-top: 10px;
}

.oc-comment-form {
    border-top: 1px solid var(--oc-line);
    display: grid;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
}

.oc-comment-form label {
    color: #fff;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.oc-comment-form textarea,
.oc-comment-form input[type="text"],
.oc-comment-form input[type="email"],
.oc-comment-form input[type="url"] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--oc-line);
    border-radius: var(--oc-radius-sm);
    color: #fff;
    font: inherit;
    min-height: 44px;
    padding: 12px 14px;
    width: 100%;
}

.oc-comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.oc-comment-form textarea:focus,
.oc-comment-form input:focus {
    border-color: rgba(59, 130, 246, 0.65);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
    outline: none;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .oc-site-header__inner {
        align-items: center;
    }

    .oc-header-search {
        display: none; /* Hide search in header on tablet/mobile, use page search */
    }

    .oc-language-switcher {
        align-self: stretch;
    }

    .oc-language-menu {
        left: 0;
        right: auto;
    }

    .oc-hero {
        grid-template-columns: 1fr;
    }

    .oc-hero-graphic-card {
        min-height: 320px;
    }

    .oc-foundation,
    .oc-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oc-topic__layout {
        grid-template-columns: 1fr;
    }

    .oc-topic__sidebar {
        position: static;
        width: 100%;
        margin-top: 20px;
    }

    .oc-comment-gate {
        align-items: flex-start;
        flex-direction: column;
    }

    .oc-comment-gate__actions {
        justify-content: flex-start;
    }

    .oc-locale-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 72px; /* Pad bottom for mobile nav bar */
    }

    .oc-site-header__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .oc-site-nav {
        justify-content: center;
        gap: 16px;
    }

    .oc-site-tagline {
        margin-left: 0;
        text-align: center;
    }

    .oc-foundation,
    .oc-topic-grid,
    .oc-sides__grid,
    .oc-flashpoint-grid,
    .oc-hot-take-grid,
    .oc-evidence-limits {
        grid-template-columns: 1fr;
    }

    .oc-decision-card dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oc-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* Keep 3-column category grid on mobile */
        gap: 10px;
    }

    .oc-category-card {
        padding: 12px 8px;
        border-radius: var(--oc-radius-sm);
    }

    .oc-category-card__icon {
        width: 40px;
        height: 40px;
    }

    .oc-category-card__icon svg {
        width: 18px;
        height: 18px;
    }

    .oc-category-card strong {
        font-size: 13px;
        margin-top: 8px;
    }

    .oc-topic-tabs {
        border-radius: var(--oc-radius-md);
        margin-left: -10px;
        margin-right: -10px;
        top: 0;
    }

    .oc-topic-tabs a {
        min-width: 80px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .oc-mobile-nav {
        align-items: center;
        background: rgba(3, 5, 14, 0.75);
        backdrop-filter: blur(28px) saturate(180%);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        bottom: 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        left: 0;
        padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
        position: fixed;
        right: 0;
        z-index: 999;
    }

    .oc-mobile-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--oc-muted);
        text-decoration: none;
        font-size: 11px;
        font-weight: 700;
        gap: 4px;
        transition: all 0.25s ease;
    }

    .oc-mobile-nav__item svg {
        width: 20px;
        height: 20px;
        transition: all 0.25s ease;
    }

    .oc-mobile-nav__item:hover,
    .oc-mobile-nav__item--active {
        color: #fff;
    }

    .oc-mobile-nav__item--active svg {
        color: #60a5fa;
        filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.4));
    }

    .oc-comment-list .children {
        margin-left: 0;
    }

    .oc-locale-grid {
        grid-template-columns: 1fr;
    }
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}
