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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--surface2);
    border-radius: 3px;
}

[x-cloak] {
    display: none !important;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================================
       LAYOUT UTILITY
    ============================================================= */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

/* Article read progress — gold */
.progress-article {
    position: fixed;
    top: 3px;
    left: 0;
    z-index: 200;
    height: 2px;
    background: var(--accent);
    pointer-events: none;
    transition: width 0.15s ease;
}

/* =============================================================
       TOP BAR
    ============================================================= */
.topbar {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 7px 0;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar__date {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text3);
}

.topbar__channels {
    display: flex;
    gap: 16px;
}

.topbar__channels a {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text3);
    transition: color var(--trans);
}

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

/* =============================================================
       HEADER
    ============================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 900;
    color: var(--bg);
    box-shadow: 0 0 18px var(--accent-glow);
    flex-shrink: 0;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo__name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
}

.logo__sub {
    font-size: 10px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 2px;
}

/* Breadcrumb */
.nav-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: var(--text3);
}

.nav-breadcrumb__channel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 100px;
    background: var(--ch-bg);
    border: 1px solid var(--ch-border);
    color: var(--ch);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-breadcrumb__sep {
    color: var(--text3);
    flex-shrink: 0;
}

.nav-breadcrumb__cat {
    color: var(--text2);
    white-space: nowrap;
}

.nav-breadcrumb__title {
    color: var(--text2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all var(--trans);
}

.icon-btn:hover {
    border-color: var(--border2);
    color: var(--text);
}

.icon-btn.active {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-subscribe-sm {
    padding: 7px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(232, 197, 71, 0.3);
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    transition: all var(--trans);
    white-space: nowrap;
}

.btn-subscribe-sm:hover {
    background: var(--accent);
    color: var(--bg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text2);
    border-radius: 2px;
}

/* =============================================================
       MOBILE NAV
    ============================================================= */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    width: 275px;
    background: var(--bg2);
    border-left: 1px solid var(--border);
    padding: 60px 16px 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-drawer__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--text2);
    transition: all var(--trans);
}

.mobile-nav-item:hover {
    background: var(--surface);
    color: var(--text);
}

.mobile-nav-item .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mobile-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

/* =============================================================
       ARTICLE HERO SECTION
    ============================================================= */
.article-hero {
    padding: 52px 0 0;
}

.article-hero__inner {
    max-width: var(--article-w);
    margin: 0 auto;
}

.article-channel-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--ch-bg);
    border: 1px solid var(--ch-border);
    color: var(--ch);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 22px;
    transition: all var(--trans);
}

.article-channel-badge:hover {
    background: rgba(249, 115, 22, 0.14);
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.5vw, 50px);
    font-weight: 900;
    line-height: 1.07;
    letter-spacing: -1.5px;
    color: var(--text);
    margin-bottom: 20px;
}

.article-title em {
    font-style: italic;
    color: var(--ch);
}

.article-subtitle {
    font-size: 18px;
    color: var(--text2);
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 30px;
}

/* Byline row */
.byline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.byline__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--surface2);
    border: 2px solid var(--ch-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--ch);
}

.byline__info {
    flex: 1;
    min-width: 120px;
}

.byline__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.byline__badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    background: var(--ch-bg);
    border: 1px solid var(--ch-border);
    color: var(--ch);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.byline__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text3);
}

.byline__meta .dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--text3);
}

.byline__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-follow {
    padding: 7px 14px;
    border-radius: 100px;
    border: 1px solid var(--ch-border);
    color: var(--ch);
    background: var(--ch-bg);
    font-size: 12px;
    font-weight: 700;
    transition: all var(--trans);
}

.btn-follow:hover,
.btn-follow.following {
    background: rgba(249, 115, 22, 0.18);
}

/* =============================================================
       COVER IMAGE
    ============================================================= */
.cover-wrap {
    padding: 28px 0 0;
}

.cover-image {
    width: 100%;
    aspect-ratio: 16/8;
    background: linear-gradient(135deg, var(--bg3) 0%, var(--surface2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    user-select: none;
}

.cover-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 55%,
            rgba(10, 10, 11, 0.65));
}

.cover-caption {
    font-size: 13px;
    color: var(--text3);
    text-align: center;
    font-style: italic;
    margin-top: 12px;
    padding-bottom: 8px;
}

/* =============================================================
       ARTICLE BODY LAYOUT — THE FIX
       Two-column grid: article content + sticky sidebar
       Critical: sidebar is a sibling, NOT inside article
    ============================================================= */
.article-layout {
    display: grid;
    /* article-w for content, auto for sidebar. Max sidebar 300px */
    grid-template-columns: minmax(0, var(--article-w)) minmax(0, 300px);
    column-gap: 56px;
    align-items: start;
    padding: 40px 0 80px;
    /* Center the two-column block */
    max-width: calc(var(--article-w) + 300px + 56px);
    margin: 0 auto;
}

/* =============================================================
       ARTICLE TYPOGRAPHY
    ============================================================= */
.article-body {
    min-width: 0;
}

/* Critical: prevents grid blowout in Chrome */

.article-body p {
    font-size: 17px;
    line-height: 1.82;
    color: var(--text2);
    margin-bottom: 26px;
}

.article-body>p:first-child {
    color: var(--text);
}

.article-body h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 48px 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.article-body h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin: 36px 0 14px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 26px;
    color: var(--text2);
    font-size: 17px;
    line-height: 1.82;
}

.article-body ul {
    padding: 0;
    list-style: none;
}

.article-body ul li {
    padding: 5px 0 5px 22px;
    position: relative;
}

.article-body ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--ch);
    font-weight: 700;
}

.article-body ol {
    padding-left: 24px;
}

.article-body ol li {
    padding: 5px 0;
}

.article-body blockquote {
    margin: 36px 0;
    padding: 22px 26px;
    border-left: 3px solid var(--ch);
    background: var(--surface);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.article-body blockquote p {
    font-family: var(--font-display);
    font-size: 18px;
    font-style: italic;
    color: var(--text);
    line-height: 1.55;
    margin: 0 0 8px;
    font-weight: 400;
}

.article-body blockquote cite {
    font-size: 13px;
    color: var(--text3);
    font-style: normal;
    font-family: var(--font-mono);
}

.article-body a {
    color: var(--ch);
    border-bottom: 1px solid rgba(249, 115, 22, 0.3);
    transition: border-color var(--trans);
}

.article-body a:hover {
    border-color: var(--ch);
}

.article-body strong {
    color: var(--text);
    font-weight: 600;
}

.article-body em {
    font-style: italic;
    color: var(--text);
}

.article-body code {
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 3px;
    padding: 2px 7px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent);
}

.article-body hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 48px 0;
}

/* Key points callout */
.callout-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--ch);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    margin: 32px 0;
}

.callout-box__heading {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ch);
    margin-bottom: 14px;
}

.callout-box ul {
    margin: 0;
}

.callout-box ul li {
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    padding: 6px 0 6px 20px;
}

.callout-box ul li:last-child {
    border-bottom: none;
}

/* Pull quote */
.pull-quote {
    margin: 40px 0;
    padding: 26px 0;
    text-align: center;
    border-top: 2px solid var(--ch);
    border-bottom: 2px solid var(--ch);
}

.pull-quote p {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.8vw, 26px);
    font-weight: 700;
    font-style: italic;
    color: var(--text);
    line-height: 1.4;
    letter-spacing: -0.3px;
    margin: 0;
}

/* In-article ad */
.in-article-ad {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    margin: 36px 0;
    position: relative;
}

.in-article-ad::after {
    content: "Advertisement";
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 10px;
    color: var(--text3);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.in-article-ad__inner {
    border: 1px dashed var(--border2);
    border-radius: var(--radius);
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text3);
    font-family: var(--font-mono);
}

/* =============================================================
       ARTICLE FOOTER ELEMENTS
    ============================================================= */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 40px 0 0;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.article-tags__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text3);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tag-link {
    padding: 5px 12px;
    border-radius: 100px;
    background: var(--bg3);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    transition: all var(--trans);
}

.tag-link:hover {
    border-color: var(--ch);
    color: var(--ch);
}

/* Share row */
.share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 36px 0;
}

.share-row__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
    transition: all var(--trans);
}

.share-btn:hover {
    border-color: var(--border2);
    color: var(--text);
}

.share-btn.copied {
    border-color: var(--wellness);
    color: var(--wellness);
}

/* Reactions */
.reactions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 0;
}

.reactions__label {
    font-size: 12px;
    color: var(--text3);
    font-family: var(--font-mono);
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 14px;
    font-weight: 600;
    color: var(--text2);
    transition: all var(--trans);
    user-select: none;
}

.reaction-btn:hover {
    transform: scale(1.06);
    border-color: var(--border2);
}

.reaction-btn.reacted {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
}

.reaction-btn .count {
    font-size: 13px;
    font-family: var(--font-mono);
}

/* Author card */
.author-card {
    display: flex;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 36px 0;
}

.author-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--surface2);
    flex-shrink: 0;
    border: 2px solid var(--ch-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--ch);
}

.author-card__name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.author-card__role {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ch);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.author-card__bio {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.65;
}

.author-card__links {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.author-link {
    padding: 6px 12px;
    border-radius: var(--radius);
    background: var(--bg3);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    transition: all var(--trans);
}

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

/* =============================================================
       STICKY SIDEBAR
       min-width: 0 on the column cell + sticky position
    ============================================================= */
.article-sidebar {
    position: sticky;
    top: 80px;
    min-width: 0;
    /* Chrome grid fix */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Read stats */
.read-stats {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat {
    text-align: center;
    padding: 10px 8px;
    background: var(--bg3);
    border-radius: var(--radius);
}

.stat__value {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.stat__label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* Table of Contents */
.toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.toc__header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text3);
}

.toc__toggle {
    font-size: 11px;
    color: var(--text3);
    padding: 3px 7px;
    border-radius: 3px;
    background: var(--bg3);
    border: 1px solid var(--border);
    transition: all var(--trans);
}

.toc__toggle:hover {
    color: var(--text2);
}

.toc__list {
    padding: 8px;
}

.toc__item {
    display: block;
    padding: 8px 10px;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text2);
    border-left: 2px solid transparent;
    transition: all var(--trans);
}

.toc__item:hover {
    color: var(--text);
    background: var(--bg3);
}

.toc__item.active {
    color: var(--ch);
    border-left-color: var(--ch);
    background: var(--ch-bg);
}

.toc__item--h3 {
    padding-left: 22px;
    font-size: 12px;
}

/* Sidebar ad */
.aside-ad {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.aside-ad::after {
    content: "Advertisement";
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 10px;
    color: var(--text3);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.aside-ad__inner {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 11px;
    color: var(--text3);
    font-family: var(--font-mono);
    border: 1px dashed var(--border2);
    margin: 12px;
    border-radius: var(--radius);
}

/* Newsletter mini */
.newsletter-mini {
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg3) 100%);
    border: 1px solid rgba(232, 197, 71, 0.15);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.newsletter-mini h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 7px;
}

.newsletter-mini p {
    font-size: 13px;
    color: var(--text2);
    margin-bottom: 14px;
    line-height: 1.55;
}

.form-input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    padding: 10px 12px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color var(--trans);
    display: block;
}

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

.form-input::placeholder {
    color: var(--text3);
}

.btn-newsletter {
    width: 100%;
    padding: 10px;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--bg);
    font-size: 13px;
    font-weight: 700;
    transition: all var(--trans);
    margin-top: 8px;
}

.btn-newsletter:hover {
    background: var(--accent2);
}

/* =============================================================
       FLOATING SHARE RAIL
    ============================================================= */
.float-share {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.float-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border2);
    color: var(--text2);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--trans);
    position: relative;
}

.float-btn:hover {
    border-color: var(--ch);
    color: var(--ch);
    background: var(--ch-bg);
    transform: scale(1.1);
}

.float-divider {
    width: 1px;
    height: 16px;
    background: var(--border2);
    margin: 0 auto;
}

.float-btn .tooltip {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface2);
    border: 1px solid var(--border2);
    padding: 5px 10px;
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--trans);
    font-family: var(--font-mono);
    color: var(--text);
}

.float-btn:hover .tooltip {
    opacity: 1;
}

/* =============================================================
       RELATED POSTS SLIDER
    ============================================================= */
.related-section {
    padding: 56px 0;
    border-top: 1px solid var(--border);
    background: var(--bg2);
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.related-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.4px;
}

.related-link {
    font-size: 13px;
    color: var(--text3);
    transition: color var(--trans);
}

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

/* Slider — same engine as homepage */
.card-slider {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.card-slider__track {
    display: flex;
    gap: 16px;
    will-change: transform;
}

/* Related card */
.rcard {
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--trans);
    display: flex;
    flex-direction: column;
}

.rcard:hover {
    border-color: var(--border2);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.rcard__thumb {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--bg3);
}

.rcard__body {
    padding: 16px;
    flex: 1;
}

.rcard__ch {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.rcard__title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 8px;
}

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

.rcard__meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text3);
    display: flex;
    gap: 8px;
}

.rcard__meta .dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--text3);
    align-self: center;
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.slider-pills {
    display: flex;
    gap: 6px;
}

.slider-pill {
    height: 4px;
    width: 20px;
    border-radius: 2px;
    background: var(--surface2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-pill.active {
    background: var(--accent);
    width: 36px;
}

.slider-arrows {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    border: 1px solid var(--border2);
    background: var(--surface);
    color: var(--text2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all var(--trans);
}

.icon-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

/* =============================================================
       COMMENTS
    ============================================================= */
.comments-section {
    padding: 56px 0;
}

.comments-inner {
    max-width: var(--article-w);
    margin: 0 auto;
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.comments-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-count {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text2);
}

.sort-group {
    display: flex;
    gap: 6px;
}

.sort-btn {
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 12px;
    font-weight: 600;
    color: var(--text3);
    transition: all var(--trans);
}

.sort-btn.active {
    background: var(--ch-bg);
    border-color: var(--ch-border);
    color: var(--ch);
}

/* Comment form */
.comment-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 32px;
}

.comment-form h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-textarea {
    min-height: 110px;
    resize: vertical;
}

.btn-comment {
    padding: 11px 24px;
    border-radius: var(--radius);
    background: var(--ch);
    color: var(--bg);
    font-size: 14px;
    font-weight: 700;
    transition: all var(--trans);
    margin-top: 4px;
}

.btn-comment:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-comment.posted {
    background: var(--wellness);
}

.form-note {
    font-size: 12px;
    color: var(--text3);
    margin-top: 10px;
}

.form-note a {
    color: var(--ch);
}

/* Comment item */
.comments-list {
    display: flex;
    flex-direction: column;
}

.comment {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.comment:last-child {
    border-bottom: none;
}

.comment__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.comment__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text3);
    border: 1px solid var(--border2);
}

.comment__meta {
    flex: 1;
}

.comment__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.comment__badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    background: var(--ch-bg);
    border: 1px solid var(--ch-border);
    color: var(--ch);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.comment__time {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text3);
}

.comment__body {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 12px;
}

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

.comment__like {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text3);
    font-weight: 600;
    transition: color var(--trans);
}

.comment__like:hover,
.comment__like.liked {
    color: var(--accent);
}

.comment__reply-btn {
    font-size: 13px;
    color: var(--text3);
    font-weight: 600;
    transition: color var(--trans);
}

.comment__reply-btn:hover {
    color: var(--ch);
}

.comment__report {
    font-size: 12px;
    color: var(--text3);
    margin-left: auto;
    transition: color var(--trans);
}

.comment__report:hover {
    color: var(--news);
}

/* Threaded reply */
.comment-reply {
    margin-top: 14px;
    padding: 16px 18px 16px 50px;
    background: var(--bg2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
}

.comment-reply::before {
    content: "↳";
    position: absolute;
    left: 18px;
    top: 16px;
    color: var(--text3);
    font-size: 17px;
}

/* Load more comments */
.comments-more {
    margin-top: 24px;
    text-align: center;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border2);
    color: var(--text2);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--trans);
}

.btn-more:hover:not(:disabled) {
    border-color: var(--ch);
    color: var(--ch);
}

.btn-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid var(--border2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* =============================================================
       FOOTER
    ============================================================= */
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
}

.footer-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    flex-wrap: wrap;
}

.footer-compact p {
    font-size: 13px;
    color: var(--text3);
}

.footer-legal {
    display: flex;
    gap: 18px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text3);
    transition: color var(--trans);
}

.footer-legal a:hover {
    color: var(--text2);
}

.live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--news);
    animation: blink 1.4s ease-in-out infinite;
}

/* =============================================================
       RESPONSIVE
    ============================================================= */
@media (max-width: 1100px) {
    .article-layout {
        grid-template-columns: 1fr;
        max-width: var(--article-w);
    }

    .article-sidebar {
        display: none;
    }

    .float-share {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-breadcrumb {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .topbar__channels {
        display: none;
    }

    .article-title {
        font-size: 26px;
    }

    .article-subtitle {
        font-size: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

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

    .article-hero {
        padding: 32px 0 0;
    }
}

.icon-btn--edit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--text3);
    transition: color .15s, border-color .15s, background .15s;
}

.icon-btn--edit:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(201, 75, 26, .06);
}
