:root {
    --ink-900: #0c2340;
    --ink-800: #12345c;
    --ink-700: #1b4677;
    --accent-500: #f08a24;
    --accent-600: #dc7615;
    --neutral-50: #f4f6f9;
    --neutral-100: #ebeff4;
    --neutral-300: #c9d3df;
    --neutral-600: #5b6672;
    --neutral-900: #1a2230;
    --white: #ffffff;
    --shadow: 0 12px 34px rgba(12, 35, 64, 0.11);
    --radius-lg: 18px;
    --radius-md: 12px;
    --font-size-sm: 15px;
    --font-size-md: 16px;
    --font-size-lg: 17.5px;
    --font-size-xl: 28px;
    --article-side-offset: 92px;
}

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

html {
    --app-font-size: var(--font-size-md);
    font-size: var(--app-font-size);
    scroll-behavior: smooth;
}

html[data-font-scale="sm"] {
    --app-font-size: var(--font-size-sm);
}

html[data-font-scale="md"] {
    --app-font-size: var(--font-size-md);
}

html[data-font-scale="lg"] {
    --app-font-size: var(--font-size-lg);
}

html[data-font-scale="xl"] {
    --app-font-size: var(--font-size-xl);
}

body {
    margin: 0;
    color: var(--neutral-900);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(240, 138, 36, 0.08), transparent 38%),
        radial-gradient(circle at 92% 8%, rgba(27, 70, 119, 0.1), transparent 35%),
        linear-gradient(180deg, #f7f9fc 0%, #edf2f7 100%);
}

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

a {
    color: var(--ink-700);
    text-decoration: none;
}

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

h1,
h2,
h3 {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    color: var(--ink-900);
    line-height: 1.22;
}

p {
    margin: 0;
    line-height: 1.6;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

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

.top-stripe {
    height: 6px;
    background: linear-gradient(90deg, var(--ink-900), var(--ink-700) 55%, var(--accent-500));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background: rgba(245, 248, 252, 0.94);
    border-bottom: 1px solid rgba(12, 35, 64, 0.08);
    transition: transform 260ms ease, opacity 220ms ease, border-color 220ms ease, background 220ms ease;
    transform: translate3d(0, 0, 0);
    opacity: 1;
    will-change: transform;
}

.site-header.site-header-hidden {
    transform: translate3d(0, -100%, 0);
    opacity: 0.98;
    pointer-events: none;
}

.site-header--article {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(245, 248, 252, 0.98);
}

.site-header--article .top-stripe {
    height: 3px;
}

.site-header--article .header-inner {
    min-height: 74px;
    justify-content: flex-start;
}

.site-header--article .brand {
    gap: 0.45rem;
}

.site-header--article .brand img {
    width: 68px;
    height: 68px;
}

.site-header--article .main-nav {
    border-top-color: rgba(12, 35, 64, 0.06);
}

.site-header--article .nav-inner {
    padding: 0.55rem 0;
}

.site-header--article .nav-inner a {
    font-size: 0.94rem;
    padding-bottom: 0.28rem;
}

.site-header--article .nav-wrap {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.site-header--article .nav-arrow {
    display: inline-flex;
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand img {
    width: 72px;
    height: 72px;
}

.brand-text strong {
    display: block;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.2rem;
    color: var(--ink-900);
}

.brand-text span {
    color: var(--neutral-600);
    font-size: 0.9rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.header-search {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.header-search input {
    width: min(280px, 100%);
    min-height: 42px;
    height: auto;
    border-radius: 999px;
    border: 1px solid var(--neutral-300);
    padding-inline: 1rem;
    padding-block: 0.55em;
    background: var(--white);
}

.header-search button {
    min-height: 42px;
    height: auto;
    border-radius: 999px;
    border: 0;
    padding-inline: 1rem;
    padding-block: 0.55em;
    background: var(--ink-800);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
}

.header-reader-area {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.header-reader-name {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    color: var(--ink-900);
    font-weight: 600;
}

.header-logout-form {
    margin: 0;
}

.header-auth-button {
    min-height: 42px;
    height: auto;
    border-radius: 999px;
    border: 1px solid var(--ink-800);
    padding-inline: 1rem;
    padding-block: 0.55em;
    background: var(--ink-800);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
}

.header-auth-button--ghost {
    background: var(--white);
    color: var(--ink-800);
}

.mobile-header-tools,
.mobile-header-panels {
    display: none;
}

.mobile-icon-button {
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(12, 35, 64, 0.16);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink-800);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.mobile-icon-button svg {
    width: 18px;
    height: 18px;
}

.mobile-icon-button:hover,
.mobile-icon-button:focus-visible,
.mobile-icon-button[aria-expanded="true"] {
    border-color: rgba(18, 52, 92, 0.34);
    background: rgba(240, 244, 250, 0.9);
}

.mobile-icon-button--menu svg {
    fill: currentColor;
}

.mobile-icon-button--search svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-header-panel {
    background: var(--white);
    border: 1px solid rgba(12, 35, 64, 0.12);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(12, 35, 64, 0.1);
    padding: 0.62rem;
}

.mobile-header-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-header-search input {
    width: 100%;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid var(--neutral-300);
    padding-inline: 0.9rem;
}

.mobile-header-search button {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    background: var(--ink-800);
    color: var(--white);
    font-weight: 700;
    padding-inline: 0.85rem;
}

.mobile-header-menu-links {
    display: grid;
    gap: 0.22rem;
}

.mobile-header-menu-links a {
    font-weight: 700;
    color: var(--ink-800);
    border-radius: 8px;
    padding: 0.45rem 0.5rem;
}

.mobile-header-menu-links a.active {
    background: rgba(240, 138, 36, 0.18);
    color: var(--ink-900);
}

.font-scale-rail {
    position: fixed;
    top: 50%;
    left: max(0.45rem, calc((100vw - 1180px) / 2 - 5rem));
    transform: translateY(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.72rem;
    z-index: 995;
}

.font-scale-control {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(12, 35, 64, 0.1);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 36px rgba(12, 35, 64, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.font-scale-control__label {
    color: var(--neutral-600);
    font-family: "Merriweather", Georgia, serif;
    font-weight: 700;
    line-height: 1;
}

.font-scale-control__label--small {
    font-size: 15px;
}

.font-scale-control__label--large {
    font-size: 24px;
}

.font-scale-control__track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 92px;
    isolation: isolate;
}

.font-scale-control__track::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(12, 35, 64, 0.16);
    z-index: 0;
}

.font-scale-control__option {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: transform 180ms ease;
}

.font-scale-control__option::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(91, 102, 114, 0.62);
    transition: width 180ms ease, height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.font-scale-control__option:hover::before,
.font-scale-control__option:focus-visible::before {
    background: rgba(27, 70, 119, 0.72);
}

.font-scale-control__option.is-active::before {
    width: 16px;
    height: 16px;
    background: #4a85cb;
    box-shadow: 0 0 0 5px rgba(74, 133, 203, 0.18);
}

.font-scale-control__option:focus-visible {
    outline: 2px solid rgba(27, 70, 119, 0.42);
    outline-offset: 3px;
}

.font-scale-control--desktop {
    flex-direction: column;
    border-radius: 28px;
    padding: 13px 9px;
}

.font-scale-control--desktop .font-scale-control__track {
    flex-direction: column;
    min-width: 0;
    min-height: 126px;
    width: 18px;
    padding: 4px 0;
}

.font-scale-control--desktop .font-scale-control__track::before {
    top: 8px;
    bottom: 8px;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
}

.font-scale-control--mobile {
    display: none;
}

.site-audio-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 16px;
    border: 1px solid rgba(12, 35, 64, 0.12);
    background: rgba(255, 255, 255, 0.93);
    color: #18406d;
    box-shadow: 0 14px 32px rgba(12, 35, 64, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
}

.site-audio-toggle--mobile {
    display: none;
}

.site-audio-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(12, 35, 64, 0.2);
}

.site-audio-toggle:focus-visible {
    outline: 2px solid rgba(27, 70, 119, 0.42);
    outline-offset: 3px;
}

.site-audio-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.site-audio-toggle__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-audio-toggle__icon--off {
    display: none;
}

html[data-site-audio="off"] .site-audio-toggle {
    color: #6f7f91;
    background: rgba(245, 248, 251, 0.95);
}

html[data-site-audio="off"] .site-audio-toggle__icon--on {
    display: none;
}

html[data-site-audio="off"] .site-audio-toggle__icon--off {
    display: inline-flex;
}

.main-nav {
    border-top: 1px solid rgba(12, 35, 64, 0.08);
}

.header-marquee {
    border-top: 1px solid #9fc7ec;
    border-bottom: 1px solid #8db7df;
    background: linear-gradient(90deg, #e7f4ff 0%, #cfe8ff 100%);
    color: #0f2f4f;
    overflow: hidden;
}

.header-marquee__track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-width: 200%;
    animation: header-marquee-scroll 36s linear infinite;
    will-change: transform;
}

.header-marquee__copy {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-width: 50%;
    white-space: nowrap;
    padding: 0.56rem 0;
    padding-left: 1rem;
    padding-right: 3rem;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.012em;
}

.header-marquee__word--knowledge {
    color: #148a2d;
}

.header-marquee__word--system {
    color: #c62323;
}

@keyframes header-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.nav-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
}

.nav-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.nav-scroll::-webkit-scrollbar {
    display: none;
}

.nav-scroll.dragging {
    cursor: grabbing;
    user-select: none;
}

.nav-inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.72rem 0;
    min-width: max-content;
}

.nav-inner a {
    white-space: nowrap;
    font-weight: 600;
    color: var(--ink-800);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.35rem;
}

.nav-inner a.active,
.nav-inner a:hover {
    color: var(--accent-600);
    border-color: var(--accent-500);
}

.nav-arrow {
    min-width: 34px;
    min-height: 34px;
    width: max(34px, 1.95em);
    height: max(34px, 1.95em);
    border: 1px solid var(--neutral-300);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink-800);
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-arrow:hover {
    border-color: var(--ink-700);
    color: var(--ink-900);
}

.nav-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.site-main {
    padding: 1.5rem 0 2.75rem;
}

.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.hero-main {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 1.25rem;
    min-width: 0;
}

.hero-section--expanded {
    grid-template-columns: minmax(0, 1fr);
}

.hero-section--expanded .hero-card {
    min-height: 460px;
}

.hero-section--expanded .hero-side {
    display: none;
}

.hero-main > .ad-inline-section--top {
    margin-top: 0;
    height: 100%;
}

.hero-main > .ad-inline-section--top .ad-slot {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-main > .ad-inline-section--top .ad-slot__body {
    flex: 1;
}

.hero-card {
    background: linear-gradient(160deg, #ffffff 0%, #f6f8fb 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 420px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    animation: fade-up 0.45s ease both;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    padding: 1.35rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hero-content h1 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.hero-content h1 a {
    color: var(--ink-900);
}

.hero-content h1 a:hover {
    color: var(--accent-600);
}

.hero-content p {
    color: #2b3441;
}

.hero-dots {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(11, 30, 56, 0.24);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-dot.is-active {
    transform: scale(1.15);
    background: var(--accent-500);
}

.hero-dot:hover:not(.is-active) {
    background: rgba(11, 30, 56, 0.38);
}

.hero-progress {
    margin-top: 0.35rem;
    width: 100%;
    height: 4px;
    background: rgba(11, 30, 56, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.hero-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-500), var(--accent-600));
    transition: width 0.18s linear;
}

.hero-hot-label {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 12px;
    padding: 7px 14px 7px 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fffaf2 0%, #fff2de 100%);
    border: 1px solid rgba(240, 138, 36, 0.32);
    color: #a04d0e;
    box-shadow: 0 6px 18px rgba(160, 77, 14, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    font-weight: 700;
}

.hero-hot-label__icon-wrap {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #ffd9a8 0%, #ffbf78 100%);
    color: #7d3a09;
    box-shadow: inset 0 0 0 1px rgba(125, 58, 9, 0.16);
}

.hero-hot-label__icon {
    width: 13px;
    height: 13px;
    display: block;
}

.hero-hot-label__text {
    line-height: 1;
}

.hero-hot-label__pulse {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #f08a24;
    box-shadow: 0 0 0 0 rgba(240, 138, 36, 0.5);
    animation: pulse-hot-label 1.8s infinite;
}

.columnists-hero-controls {
    margin-top: -0.4rem;
    display: grid;
    gap: 0.38rem;
}

@keyframes pulse-hot-label {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(240, 138, 36, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(240, 138, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(240, 138, 36, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-hot-label__pulse {
        animation: none;
    }
}

@media (max-width: 768px) {
    .hero-hot-label {
        margin-bottom: 10px;
        padding: 6px 12px 6px 8px;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .hero-hot-label__icon-wrap {
        width: 22px;
        height: 22px;
    }

    .hero-hot-label__icon {
        width: 12px;
        height: 12px;
    }
}

.empty-state {
    display: flex;
    align-items: center;
}

.btn-primary {
    display: inline-block;
    align-self: flex-start;
    background: var(--accent-500);
    color: var(--white);
    font-weight: 700;
    padding: 0.62rem 1rem;
    border-radius: 999px;
}

.news-read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 46px;
    min-width: 168px;
    padding: 0.84rem 1.35rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #0d1730 0%, #081325 100%);
    color: #f5fbff;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 12px 24px rgba(8, 19, 37, 0.14);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.news-read-more-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 16px 28px rgba(8, 19, 37, 0.18);
}

.news-read-more-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(127, 231, 255, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 16px 28px rgba(8, 19, 37, 0.18);
}

.hero-side {
    display: grid;
    gap: 1rem;
}

.hero-side-mobile-top-ad {
    display: none;
}

.stats-card,
.top-news-card,
.side-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 1rem 1.1rem;
}

.stats-card h2,
.top-news-card h2,
.side-card h2 {
    font-size: 1.07rem;
    margin-bottom: 0.85rem;
}

.stats-card dl {
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.stats-card dt {
    color: var(--neutral-600);
    font-size: 0.9rem;
}

.stats-card dd {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-weight: 900;
    color: var(--ink-800);
}

.top-news-list,
.side-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.top-news-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.top-news-card__header h2 {
    margin: 0;
}

.top-news-card__hint {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: var(--neutral-600);
}

.top-news-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.68rem;
    align-items: flex-start;
    padding-top: 0.72rem;
    border-top: 1px solid var(--neutral-100);
}

.top-news-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.top-news-item__rank {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf3fa;
    color: var(--ink-800);
    font-family: "Merriweather", Georgia, serif;
    font-size: 0.83rem;
    font-weight: 900;
    line-height: 1;
    margin-top: 0.05rem;
    flex-shrink: 0;
}

.top-news-item.is-highlight {
    border: 1px solid #d9e3ef;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
    padding: 0.78rem 0.74rem;
}

.top-news-item.is-highlight .top-news-item__rank {
    background: var(--accent-500);
    color: var(--white);
}

.top-news-item__body {
    display: grid;
    gap: 0.24rem;
}

.top-news-item__body a,
.side-list a {
    display: block;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.35;
}

.top-news-item__body small,
.side-list small {
    color: var(--neutral-600);
}

.top-news-card__empty {
    margin: 0;
    color: var(--neutral-600);
}

.top-news-card--mobile-inline {
    display: none;
}

.latest-section,
.category-section,
.search-section {
    margin-top: 1.4rem;
}

.section-title {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.section-title h1,
.section-title h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.section-title p {
    color: var(--neutral-600);
}

.section-title__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.home-viewed-toggle {
    border: 1px solid var(--neutral-300);
    border-radius: 999px;
    padding: 0.42rem 0.92rem;
    min-height: 2rem;
    background: #f6f9fc;
    color: var(--ink-800);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.1;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
    cursor: pointer;
}

.home-viewed-toggle:hover,
.home-viewed-toggle:focus-visible {
    border-color: var(--ink-700);
    background: #eaf1f8;
    color: var(--ink-900);
    transform: translateY(-1px);
}

.home-viewed-toggle:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: fade-up 0.4s ease both;
}

.news-card:nth-child(2n) {
    animation-delay: 0.05s;
}

.news-card:nth-child(3n) {
    animation-delay: 0.1s;
}

.card-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.card-content {
    padding: 0.9rem 1rem 1.05rem;
    display: grid;
    gap: 0.65rem;
}

.card-content h2,
.card-content h3 {
    font-size: 1.2rem;
}

.card-content p {
    color: #303a48;
}

.latest-section--feed {
    margin-top: 1.6rem;
}

.latest-section--feed .section-title {
    max-width: none;
    margin: 0 0 1rem;
}

.home-feed-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 300px;
    gap: 1.2rem;
    align-items: start;
}

.home-feed-center {
    min-width: 0;
}

.home-feed-rail {
    display: grid;
    gap: 1rem;
    align-content: start;
    position: sticky;
    top: calc(var(--article-side-offset) - 8px);
}

.home-feed-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 16px;
    border: 1px solid rgba(12, 35, 64, 0.08);
    box-shadow: 0 14px 28px rgba(12, 35, 64, 0.1);
    padding: 0.95rem;
}

.home-feed-panel h3 {
    margin: 0 0 0.75rem;
    font-size: 1.02rem;
}

.home-feed-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.home-feed-panel__header h3 {
    margin: 0;
}

.home-feed-panel__hint {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: var(--neutral-600);
    text-align: right;
}

.home-feed-panel__empty {
    margin: 0;
    color: var(--neutral-600);
}

.home-feed-nav {
    display: grid;
    gap: 0.32rem;
}

.home-feed-nav a {
    display: block;
    padding: 0.5rem 0.62rem;
    border-radius: 10px;
    color: var(--ink-800);
    font-weight: 700;
}

.home-feed-nav a:hover,
.home-feed-nav a.is-active {
    background: #eaf1f9;
    color: var(--ink-900);
}

.home-feed-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.home-feed-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 0.2rem 0.68rem;
    background: #ecf3fb;
    border: 1px solid #d5e3f3;
    color: var(--ink-800);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.home-feed-chip:hover {
    background: #dfeefd;
}

.home-trending-list,
.home-follow-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.64rem;
}

.home-trending-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.52rem;
    align-items: start;
}

.home-trending-list__rank {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #ecf2f9;
    color: var(--ink-800);
    font-family: "Merriweather", Georgia, serif;
    font-size: 0.77rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-trending-list a {
    color: var(--ink-900);
    font-weight: 700;
    line-height: 1.33;
}

.home-trending-rotator {
    display: grid;
    gap: 0.9rem;
}

.home-trending-featured-card {
    display: grid;
    gap: 0.9rem;
    animation: fade-up 0.35s ease both;
}

.home-trending-featured-card.is-hidden {
    display: none !important;
}

.home-trending-featured-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #ecf2f9;
}

.home-trending-featured-card__image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.home-trending-featured-card__rank {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--accent-500);
    color: var(--white);
    font-family: "Merriweather", Georgia, serif;
    font-size: 0.95rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(240, 138, 36, 0.25);
}

.home-trending-featured-card__body {
    display: grid;
    gap: 0.72rem;
    align-content: start;
    min-height: 13.5rem;
}

.home-trending-featured-card__meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.7rem;
    color: var(--neutral-600);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-trending-featured-card__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
    min-height: calc(2 * 1.2em);
}

.home-trending-featured-card__title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: var(--ink-900);
}

.home-trending-featured-card__excerpt {
    margin: 0;
    color: #344154;
    line-height: 1.55;
    min-height: calc(2 * 1.55em);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.home-trending-featured-card__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-weight: 700;
    color: var(--accent-600);
}

.home-trending-featured-card__link:hover {
    color: var(--ink-900);
}

.home-trending-featured-card__link.news-read-more-btn--trending {
    min-width: 118px;
    min-height: 40px;
    padding: 0.68rem 1.08rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    color: #f5fbff;
    text-decoration: none;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 10px 20px rgba(8, 19, 37, 0.14);
}

.home-trending-featured-card__link.news-read-more-btn--trending:hover,
.home-trending-featured-card__link.news-read-more-btn--trending:focus-visible {
    color: #f5fbff;
}

.home-trending-rotator__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.home-trending-rotator__dot {
    width: 0.52rem;
    height: 0.52rem;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(18, 52, 92, 0.2);
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.home-trending-rotator__dot.is-active {
    background: var(--accent-500);
    transform: scale(1.25);
}

.home-trending-rotator__progress {
    height: 0.2rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(18, 52, 92, 0.08);
}

.home-trending-rotator__progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #f08a24 0%, #12345c 100%);
}

.home-follow-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.58rem;
}

.home-follow-list__avatar {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: linear-gradient(140deg, #12345c, #3f73a9);
    color: #f3f8ff;
    font-family: "Merriweather", Georgia, serif;
    font-size: 0.8rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-follow-list__body {
    min-width: 0;
}

.home-follow-list__body a {
    color: var(--ink-900);
    font-weight: 700;
}

.home-follow-list__body small {
    display: block;
    color: var(--neutral-600);
    font-size: 0.78rem;
}

.home-follow-list__action {
    border: 1px solid #cfdceb;
    border-radius: 999px;
    background: #f1f7ff;
    color: var(--ink-800);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.18rem 0.62rem;
}

.news-grid--feed {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
    margin: 0;
    gap: 1rem;
}

.news-card--feed {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border: 1px solid rgba(12, 35, 64, 0.08);
    border-radius: 16px;
    box-shadow: 0 16px 28px rgba(12, 35, 64, 0.11);
}

.news-card--ad-inline {
    border-color: rgba(240, 138, 36, 0.34);
    background: linear-gradient(160deg, #fffdf7 0%, #ffffff 52%, #f4f8ff 100%);
}

.news-card--ad-inline .card-content--ad-inline {
    padding: 0.92rem 1rem 1rem;
    gap: 0.72rem;
}

.news-post-head__avatar--ad {
    background: linear-gradient(140deg, #f08a24, #b7600e);
}

.news-post-head--ad-inline .news-post-head__source {
    color: #9a4f00;
}

.news-post-head--ad-inline .news-post-head__time {
    color: #4d5c73;
    font-weight: 600;
}

.ad-slot--feed-inline .ad-slot__body {
    width: 100%;
    min-height: 0;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(12, 35, 64, 0.12);
    background: #f4f7fb;
    aspect-ratio: 16 / 9;
}

.ad-slot--feed-inline .ad-slot__body--has-media .ad-slot__link,
.ad-slot--feed-inline .ad-slot__body--has-media .ad-slot__image {
    width: 100%;
    height: 100%;
    display: block;
}

.ad-slot--feed-inline .ad-slot__body--has-media .ad-slot__image {
    object-fit: cover;
}

.news-card--with-edit-shortcut {
    position: relative;
}

.news-card-edit-shortcut {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    border: 1px solid var(--neutral-300);
    background: var(--white);
    color: var(--ink-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(12, 35, 64, 0.2);
    line-height: 0;
    z-index: 5;
    transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.news-card-edit-shortcut svg {
    width: 0.88rem;
    height: 0.88rem;
    display: block;
    fill: currentColor;
}

.news-card-edit-shortcut:hover,
.news-card-edit-shortcut:focus-visible {
    color: var(--white);
    background: var(--ink-700);
    transform: translateY(-1px);
}

.news-card--feed .card-image {
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.news-card--feed .card-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.news-card--feed .card-content {
    padding: 1rem 1rem 0.95rem;
    display: grid;
    gap: 0.8rem;
}

.news-card--feed .card-content h3 {
    font-size: 1.16rem;
    line-height: 1.32;
}

.news-post-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.62rem;
}

.news-post-head__avatar {
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #12345c, #295f95);
    color: #f4f9ff;
    font-family: "Merriweather", Georgia, serif;
    font-size: 0.78rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.news-post-head__meta {
    display: grid;
    gap: 0.08rem;
}

.news-post-head__source {
    color: var(--ink-800);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-post-head__time {
    color: var(--neutral-600);
    font-size: 0.82rem;
}

.news-post-title a {
    color: var(--ink-900);
}

.news-post-title a:hover {
    color: var(--accent-600);
}

.news-post-excerpt {
    color: #2f3b4c;
}

.news-post-footer {
    display: flex;
}

.news-read-more-btn--inline {
    min-width: 118px;
    min-height: 40px;
    padding: 0.68rem 1.08rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    color: #f5fbff;
    text-decoration: none;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 10px 20px rgba(8, 19, 37, 0.14);
}

.news-read-more-btn--inline:hover,
.news-read-more-btn--inline:focus-visible {
    color: #f5fbff;
}

.news-read-more-btn--inline:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(127, 231, 255, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 16px 28px rgba(8, 19, 37, 0.18);
}

.news-post-actions {
    margin-top: 0.08rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--neutral-100);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
}

.news-post-action-form {
    margin: 0;
    display: flex;
}

.news-post-action-form .news-post-action {
    width: 100%;
}

.news-post-action {
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #3c4c61;
    min-height: 2.2rem;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0 0.4rem;
    cursor: pointer;
    transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.news-post-action__icon {
    font-size: 0.88rem;
    line-height: 1;
}

.news-post-action:hover,
.news-post-action:focus-visible {
    border-color: #d2ddea;
    background: #eef4fb;
    color: var(--ink-800);
    outline: none;
}

.news-post-action[aria-pressed="true"] {
    border-color: #bfd3e8;
    background: #e4effb;
    color: var(--ink-900);
}

body.news-comments-open {
    overflow: hidden;
}

.news-comments-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    justify-content: flex-end;
}

.news-comments-drawer[hidden] {
    display: none !important;
}

.news-comments-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 18, 34, 0.58);
    backdrop-filter: blur(2px);
}

.news-comments-drawer__panel {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    height: 100%;
    background: #f4f7fb;
    box-shadow: -18px 0 42px rgba(7, 20, 38, 0.26);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.news-comments-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 1.05rem 1.1rem 0.9rem;
    border-bottom: 1px solid #dbe4f2;
    background: #fff;
}

.news-comments-drawer__eyebrow {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
    color: #5f7187;
}

.news-comments-drawer__title {
    margin: 0.2rem 0 0;
    font-size: 1rem;
    line-height: 1.25;
    color: var(--ink-900);
}

.news-comments-drawer__close {
    width: 2rem;
    height: 2rem;
    border: 1px solid #d5dfec;
    border-radius: 999px;
    background: #fff;
    color: #2d4159;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.news-comments-drawer__close:hover,
.news-comments-drawer__close:focus-visible {
    border-color: #b9c8db;
    background: #eef3fa;
    outline: none;
}

.news-comments-drawer__body {
    overflow: auto;
    padding: 0.95rem 1.05rem;
}

.news-comments-drawer__status {
    margin: 0 0 0.8rem;
    border: 1px solid #d7e2f1;
    border-radius: 10px;
    padding: 0.55rem 0.72rem;
    font-size: 0.87rem;
    background: #edf3fb;
    color: #1f3f62;
}

.news-comments-drawer__status[data-tone="error"] {
    border-color: #f3c8cf;
    background: #fceef1;
    color: #8f1e30;
}

.news-comments-drawer__status[data-tone="success"] {
    border-color: #cde9d9;
    background: #edf9f2;
    color: #1f6b43;
}

.news-comments-drawer__list {
    display: grid;
    gap: 0.78rem;
}

.news-comments-drawer__empty {
    border: 1px dashed #ccd8e8;
    border-radius: 12px;
    padding: 1rem 0.85rem;
    font-size: 0.9rem;
    color: #44556e;
    background: #f9fbfe;
}

.news-comments-drawer__composer {
    display: grid;
    gap: 0.55rem;
    padding: 0.88rem 1.05rem 1rem;
    border-top: 1px solid #dbe4f2;
    background: #fff;
}

.news-comments-drawer__replying {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #405873;
}

.news-comments-drawer__replying button {
    border: none;
    background: transparent;
    color: var(--accent-600);
    font-weight: 700;
    cursor: pointer;
}

.news-comments-drawer__textarea {
    width: 100%;
    min-height: 84px;
    resize: vertical;
    border: 1px solid #cad7e9;
    border-radius: 12px;
    padding: 0.68rem 0.75rem;
    font: inherit;
    color: var(--ink-900);
    background: #fff;
}

.news-comments-drawer__textarea:focus-visible {
    outline: none;
    border-color: #9fb5d3;
    box-shadow: 0 0 0 3px rgba(61, 114, 178, 0.16);
}

.news-comments-drawer__composer-actions {
    display: flex;
    justify-content: flex-end;
}

.news-comments-drawer__submit,
.news-comments-drawer__login {
    border: none;
    border-radius: 999px;
    min-height: 2.35rem;
    padding: 0 1rem;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
}

.news-comments-drawer__submit {
    background: #0d2f58;
    color: #fff;
}

.news-comments-drawer__submit:hover,
.news-comments-drawer__submit:focus-visible {
    background: #113c6f;
    outline: none;
}

.news-comments-drawer__submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.news-comments-drawer__login {
    border: 1px solid #b8c9de;
    background: #f3f8ff;
    color: #1e446d;
}

.news-comments-drawer__login:hover,
.news-comments-drawer__login:focus-visible {
    border-color: #95adca;
    background: #e9f2ff;
    outline: none;
}

.news-comment-card {
    border: 1px solid #d6e0ee;
    border-radius: 12px;
    padding: 0.75rem 0.8rem;
    background: #fff;
}

.news-comment-card > header {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}

.news-comment-card > header strong {
    color: #0f2744;
}

.news-comment-card > header span {
    color: #607289;
    font-size: 0.78rem;
}

.news-comment-card > p {
    margin: 0 0 0.55rem;
    color: #1f324a;
    white-space: pre-wrap;
    word-break: break-word;
}

.news-comment-card__actions {
    display: flex;
    justify-content: flex-end;
}

.news-comment-card__reply {
    border: 1px solid #c8d7ea;
    border-radius: 999px;
    background: #f1f6fd;
    color: #203d5f;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.22rem 0.68rem;
    cursor: pointer;
}

.news-comment-card__reply:hover,
.news-comment-card__reply:focus-visible {
    border-color: #9fb7d2;
    background: #e4eef9;
    outline: none;
}

.news-comment-card__children {
    margin-top: 0.62rem;
    display: grid;
    gap: 0.62rem;
}

.news-comment-card--reply {
    margin-left: 0.95rem;
    border-left: 3px solid #d2e0f2;
}

.news-card__media {
    border-top: 1px solid var(--neutral-100);
    background: #fff;
    padding: 0.75rem 0.9rem 1rem;
    display: flex;
    justify-content: center;
}

.news-feed-video {
    position: relative;
    width: min(100%, 720px);
    aspect-ratio: 16 / 9;
    background: #0d141d;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(12, 35, 64, 0.16);
}

.news-feed-video--vertical {
    width: min(100%, 440px);
    aspect-ratio: 9 / 16;
    max-height: min(84vh, 760px);
}

.news-feed-video--instagram-fallback {
    --instagram-feed-crop-top: 92px;
    --instagram-feed-crop-bottom: 540px;
    --instagram-feed-crop-side: 8px;
}

.news-feed-video--instagram-fallback .news-feed-video__iframe {
    position: absolute;
    top: calc(-1 * var(--instagram-feed-crop-top));
    left: calc(-1 * var(--instagram-feed-crop-side));
    width: calc(100% + (var(--instagram-feed-crop-side) * 2));
    height: calc(100% + var(--instagram-feed-crop-top) + var(--instagram-feed-crop-bottom));
    max-width: none !important;
    z-index: 0;
}

.news-feed-video--instagram-fallback::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(62px, 7vw, 80px);
    pointer-events: none;
    z-index: 1;
    background: #0d141d;
}

.news-feed-video__iframe,
.news-feed-video__native {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.news-feed-video__native {
    object-fit: cover;
    background: #0d141d;
}

.news-feed-video--vertical .news-feed-video__native {
    object-fit: contain;
}

.news-inline-read-more {
    margin: 0 1.05rem 1rem;
    padding: 1rem 1rem 1.1rem;
    border: 1px solid var(--neutral-200);
    border-radius: 14px;
    background: #f8fbff;
}

.news-inline-read-more__header {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.news-inline-read-more__title {
    margin: 0;
    font-size: clamp(1.25rem, 2.1vw, 1.7rem);
    line-height: 1.2;
    color: var(--ink-900);
}

.news-inline-read-more__subtitle {
    margin: 0;
    color: #2f3c4f;
    font-size: 1.03rem;
}

.news-inline-read-more__meta {
    margin: 0;
    color: var(--neutral-600);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-inline-read-more__meta span + span::before {
    content: "•";
    margin-right: 0.5rem;
    color: var(--neutral-500);
}

.news-inline-read-more__figure {
    margin: 0 0 0.95rem;
    border-radius: 12px;
    overflow: hidden;
}

.news-inline-read-more__figure img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.news-inline-read-more__social {
    margin: 0 0 0.92rem;
}

.news-inline-read-more__social .news-post-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.news-inline-read-more__body {
    color: #1f2f47;
    line-height: 1.68;
}

.news-inline-read-more__body > * + * {
    margin-top: 0.95rem;
}

.news-inline-read-more__body img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.news-inline-read-more__media {
    margin-top: 1rem;
}

.news-inline-read-more__actions {
    margin-top: 1rem;
    display: flex;
}

.news-inline-read-more__collapse {
    width: 100%;
    justify-content: center;
}

.news-card.is-inline-expanded > .card-content,
.news-card.is-inline-expanded > .news-card__media,
.news-card.is-inline-expanded > .news-card-edit-shortcut,
.hero-card.is-inline-expanded > .hero-content,
.hero-card.is-inline-expanded > .hero-image-wrap {
    display: none !important;
}

.news-feed-loader {
    max-width: 860px;
    margin: 0.9rem auto 0;
    min-height: 44px;
    display: grid;
    place-items: center;
}

.home-feed-center .news-feed-loader {
    max-width: none;
    margin: 0.9rem 0 0;
}

.news-feed-loader span {
    font-size: 0.92rem;
    color: var(--neutral-600);
}

.chip {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    color: var(--ink-700);
    font-weight: 700;
}

.article-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-category-chips .chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: #eef3f8;
    text-decoration: none;
}

.article-category-chips .chip-primary {
    background: rgba(240, 138, 36, 0.18);
    color: var(--ink-900);
}

.meta-line {
    display: flex;
    gap: 0.8rem;
    color: var(--neutral-600);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.article-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.3rem;
    align-items: start;
}

.article-wrapper--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
}

.article-wrapper--with-ad {
    grid-template-columns: minmax(0, 1fr) 320px;
    max-width: 1180px;
}

.article-side {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.article-side--ad {
    position: sticky;
    top: var(--article-side-offset);
    transition: top 0.24s ease;
}

.article-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.4rem;
}

.article-wrapper[data-news-swipe] {
    touch-action: pan-y;
    overscroll-behavior-x: contain;
    will-change: transform;
}

.article-wrapper.news-swipe-dragging {
    transition: none !important;
}

.article-wrapper.news-swipe-animating {
    transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.article-wrapper.news-swipe-dragging .article-content {
    box-shadow: 0 20px 44px rgba(12, 35, 64, 0.18);
}

body.news-swipe-active {
    overflow-x: hidden;
}

.article-header {
    display: grid;
    gap: 0.8rem;
}

.article-header h1 {
    font-size: clamp(1.55rem, 3.2vw, 2.3rem);
}

.article-subtitle {
    font-size: 1.15rem;
    color: #2a3442;
}

.article-meta {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    color: var(--neutral-600);
    font-size: 0.92rem;
}

.article-figure {
    margin: 1rem 0 1.3rem;
}

.article-figure img {
    border-radius: 14px;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.article-share {
    margin: 0 0 1.45rem;
    display: grid;
    gap: 0.7rem;
}

.article-share__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
    align-items: center;
}

.article-share__button {
    --share-accent: rgba(12, 35, 64, 0.16);
    position: relative;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid rgba(12, 35, 64, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f6fb 100%);
    color: var(--neutral-900);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(12, 35, 64, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.article-share__button::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 4px;
    border-radius: 999px;
    background: var(--share-accent);
    opacity: 0.95;
}

.article-share__button:hover,
.article-share__button:focus-visible {
    transform: translateY(-2px);
    border-color: var(--share-accent);
    box-shadow: 0 18px 34px rgba(12, 35, 64, 0.14);
    outline: none;
}

.article-share__button--whatsapp {
    --share-accent: #25d366;
}

.article-share__button--facebook {
    --share-accent: #1877f2;
}

.article-share__button--telegram {
    --share-accent: #27a7e7;
}

.article-share__button--twitter {
    --share-accent: #0f1419;
}

.article-share__button--email {
    --share-accent: #7d8794;
}

.article-share__button--more {
    --share-accent: #f08a24;
}

.article-share__button--edit {
    --share-accent: #1b4677;
}

.article-share__fallback,
.article-share__animation {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.article-share__fallback {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--share-accent);
    transition: opacity 160ms ease, transform 160ms ease;
}

.article-share__fallback--icon svg {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
}

.article-share__animation {
    width: 36px;
    height: 36px;
    margin: auto;
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
}

.article-share__animation svg {
    width: 100%;
    height: 100%;
    display: block;
}

.article-share__button.is-lottie-ready .article-share__animation {
    opacity: 1;
}

.article-share__button.is-lottie-ready .article-share__fallback {
    opacity: 0;
    transform: scale(0.84);
}

.article-share__status {
    min-height: 1.15rem;
    margin: 0;
    font-size: 0.88rem;
    color: var(--neutral-600);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.article-share__status.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.article-share__status[data-tone="success"] {
    color: #17633a;
}

.article-share__status[data-tone="warning"] {
    color: #7a4a0c;
}

.article-share__status[data-tone="error"] {
    color: #8a1f1d;
}

.article-body {
    font-size: 1.16rem;
    line-height: 1.78;
    color: #1f2935;
}

.article-body > * + * {
    margin-top: 1rem;
}

.article-body h2,
.article-body h3 {
    margin-top: 1.6rem;
}

.article-body a {
    text-decoration: underline;
}

.article-body a[href*="youtube.com"],
.article-body a[href*="youtu.be"] {
    display: block;
    width: 100%;
    max-width: 100%;
    text-decoration: none;
}

.article-body a[href*="youtube.com"] img,
.article-body a[href*="youtu.be"] img,
.article-body img[src*="ytimg.com"] {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.article-body blockquote {
    margin: 1.3rem 0;
    border-left: 4px solid var(--accent-500);
    padding: 0.7rem 1rem;
    background: #fff8ee;
    border-radius: 0 8px 8px 0;
}

.article-body img {
    margin: 1rem auto;
    border-radius: 12px;
}

.article-body .article-paragraph-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(12, 35, 64, 0.12);
}

.article-related-media,
.article-related-link {
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--neutral-100);
    width: 100%;
    max-width: 100%;
}

.article-related-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
}

.article-related-media h2 {
    font-size: 1.08rem;
    margin: 0;
    line-height: 1.28;
}

.article-video-player {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #0d141d;
    box-shadow: 0 14px 30px rgba(12, 35, 64, 0.16);
}

.article-related-media .article-video-player,
.article-related-media .article-video-player__iframe,
.article-related-media .article-video-player__native {
    width: 100% !important;
    max-width: 100% !important;
}

.article-video-player--vertical {
    max-width: 100%;
    aspect-ratio: 9 / 16;
}

.article-video-player--instagram {
    aspect-ratio: 9 / 16;
}

.article-video-player--instagram-fallback {
    aspect-ratio: 4 / 5;
    --instagram-embed-crop-top: 92px;
    --instagram-embed-crop-bottom: 440px;
    --instagram-embed-crop-side: 8px;
}

.article-video-player--instagram-fallback .article-video-player__iframe {
    position: absolute;
    top: calc(-1 * var(--instagram-embed-crop-top));
    left: calc(-1 * var(--instagram-embed-crop-side));
    width: calc(100% + (var(--instagram-embed-crop-side) * 2));
    height: calc(100% + var(--instagram-embed-crop-top) + var(--instagram-embed-crop-bottom));
    max-width: none !important;
    z-index: 0;
}

.article-video-player--instagram-fallback::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(56px, 7vw, 72px);
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 19, 37, 0) 0%, rgba(8, 19, 37, 0.82) 34%, #081325 100%);
}

.article-video-player__preview {
    border: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
    display: block;
    background: #0d141d;
}

.article-video-player__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-video-player__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.66);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.article-video-player__preview:hover .article-video-player__play {
    transform: translate(-50%, -50%) scale(1.05);
}

.article-video-player__iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.article-video-player__native {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
    background: #0d141d;
}

.article-related-link p {
    color: #2b3441;
    font-weight: 600;
    margin: 0;
}

.article-related-link a {
    margin-left: 0.25rem;
    text-decoration: underline;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.article-recommendations {
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--neutral-100);
    display: grid;
    gap: 1rem;
}

.article-recommendations h2 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.article-recommendations-grid {
    margin-top: 0.1rem;
}

.article-recommendation-card {
    height: 100%;
}

.article-recommendation-card .card-image img {
    height: 170px;
}

.article-recommendation-card .card-content {
    gap: 0.5rem;
}

.article-recommendation-card .card-content h3 {
    font-size: 1.08rem;
    line-height: 1.35;
}

.article-recommendation-card .meta-line {
    font-size: 0.82rem;
}

.article-pagination {
    margin-top: 1.45rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-100);
    display: grid;
    gap: 0.65rem;
}

.article-pagination a {
    display: grid;
    gap: 0.25rem;
    border: 1px solid var(--neutral-300);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    background: var(--white);
    color: var(--ink-900);
}

.article-pagination a small {
    color: var(--neutral-600);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.article-pagination a span {
    font-weight: 700;
    line-height: 1.35;
}

.article-pagination a:hover {
    border-color: var(--ink-700);
    box-shadow: 0 8px 20px rgba(12, 35, 64, 0.08);
}

.pagination {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.pagination a {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--neutral-300);
    background: var(--white);
}

.pagination a.active,
.pagination a:hover {
    border-color: var(--ink-700);
    background: var(--ink-700);
    color: var(--white);
}

body.auth-modal-open {
    overflow: hidden;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
}

.auth-modal[hidden] {
    display: none !important;
}

.auth-modal.is-open {
    display: grid;
    place-items: center;
}

.auth-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 14, 28, 0.65);
}

.auth-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(580px, calc(100% - 1.4rem));
    max-height: calc(100vh - 1.5rem);
    overflow-y: auto;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 30px 70px rgba(5, 14, 28, 0.28);
    padding: 1.1rem;
    display: grid;
    gap: 0.85rem;
}

.auth-modal__close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--neutral-300);
    background: var(--white);
    color: var(--ink-900);
    font-size: 1.2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.auth-modal h2 {
    margin: 0;
}

.auth-modal__subtitle {
    margin: 0;
    color: var(--neutral-600);
}

.auth-modal__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.auth-modal__tab {
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid var(--neutral-300);
    background: var(--white);
    color: var(--ink-900);
    font-weight: 700;
    cursor: pointer;
}

.auth-modal__tab.is-active {
    border-color: var(--ink-800);
    background: var(--ink-800);
    color: var(--white);
}

.auth-modal__panel[hidden] {
    display: none;
}

.auth-modal__form {
    display: grid;
    gap: 0.7rem;
}

.auth-modal__form label {
    font-weight: 700;
    color: var(--ink-900);
}

.auth-modal__form input,
.auth-modal__form button {
    height: 44px;
    border-radius: 10px;
}

.auth-modal__form input {
    border: 1px solid var(--neutral-300);
    padding: 0 0.9rem;
}

.auth-modal__helper {
    margin: -0.2rem 0 0;
    text-align: right;
}

.auth-modal__helper--left {
    text-align: left;
}

.auth-modal__helper a,
.auth-modal__helper button {
    font-size: 0.9rem;
    font-weight: 600;
}

.auth-modal__helper-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink-700);
    font: inherit;
    cursor: pointer;
}

.auth-modal__helper-button:hover,
.auth-modal__helper-button:focus-visible {
    color: var(--accent-600);
    text-decoration: underline;
}

.auth-modal__form button {
    border: 0;
    background: var(--ink-800);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
}

.auth-section {
    display: grid;
    place-items: center;
    min-height: 60vh;
}

.auth-card {
    width: min(520px, 100%);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: grid;
    gap: 0.9rem;
}

.auth-card form {
    display: grid;
    gap: 0.7rem;
}

.auth-card label {
    font-weight: 700;
    color: var(--ink-900);
}

.auth-card input,
.auth-card button {
    height: 44px;
    border-radius: 10px;
}

.auth-card input {
    border: 1px solid var(--neutral-300);
    padding: 0 0.9rem;
}

.auth-card button {
    border: 0;
    background: var(--ink-800);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
}

.alert {
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    font-weight: 600;
}

.alert-success {
    background: #e6f8ec;
    color: #17633a;
}

.alert-error {
    background: #ffe9e8;
    color: #8a1f1d;
}

.alert-warning {
    background: #fff7e7;
    color: #7a4a0c;
}

.alert-info {
    background: #ebf2ff;
    color: #0e3f87;
}

.social-auth-section {
    padding-block: 1.2rem 1.4rem;
}

.social-auth-grid {
    display: grid;
    gap: 1rem;
}

.social-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.social-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid var(--ink-800);
    background: var(--ink-800);
    color: var(--white);
    font-weight: 700;
    padding: 0.58rem 1rem;
}

.social-link-button:hover {
    color: var(--white);
    background: var(--ink-700);
}

.social-link-button--ghost {
    background: var(--white);
    color: var(--ink-800);
}

.social-link-button--danger {
    background: #c4392e;
    border-color: #c4392e;
}

.community-layout {
    display: grid;
    gap: 1rem;
    padding-block: 1rem 1.4rem;
}

.columnists-home-intro {
    padding-block: 1rem 0.45rem;
    gap: 0.8rem;
}

.columnists-home-intro .community-header {
    align-items: center;
}

.columnists-home-intro .community-header p {
    margin-top: 0.28rem;
}

.columnists-compose-card h2 {
    margin-bottom: 0.7rem;
}

.columnists-compose-card .social-link-button--ghost {
    border-color: var(--neutral-300);
}

.columnists-feed-empty {
    margin-bottom: 0.35rem;
}

.community-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.community-header p {
    margin-top: 0.35rem;
    color: var(--neutral-600);
}

.community-compose-card,
.community-card,
.community-comments,
.article-social {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(12, 35, 64, 0.09);
    box-shadow: var(--shadow);
    padding: 1rem;
}

.community-compose-card--menu {
    display: grid;
    gap: 0.7rem;
}

.community-compose-card--menu p {
    margin: 0;
    color: var(--neutral-600);
}

.community-compose-card--menu .social-link-button {
    width: max-content;
}

.community-compose-card form,
.community-comments__form,
.article-social__comment-form {
    display: grid;
    gap: 0.65rem;
}

.community-compose-card input,
.community-compose-card textarea,
.community-comments__form textarea,
.article-social__comment-form textarea {
    border: 1px solid var(--neutral-300);
    border-radius: 10px;
    padding: 0.62rem 0.72rem;
    font: inherit;
}

.community-compose-card button,
.community-comments__form button,
.article-social__comment-form button,
.social-action-button {
    min-height: 40px;
    border: 1px solid var(--ink-800);
    border-radius: 10px;
    background: var(--ink-800);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    padding: 0.5rem 0.85rem;
}

.social-action-button.is-active {
    background: #11497c;
    border-color: #11497c;
}

.social-action-button--danger {
    background: #c4392e;
    border-color: #c4392e;
}

.social-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--neutral-300);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink-800);
    font-weight: 700;
}

.community-feed {
    display: grid;
    gap: 0.9rem;
}

.columnist-publish-popup {
    position: fixed;
    inset: 0;
    z-index: 1250;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.columnist-publish-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 19, 36, 0.62);
}

.columnist-publish-popup__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, calc(100% - 1rem));
    border-radius: 16px;
    border: 1px solid rgba(12, 35, 64, 0.16);
    background: var(--white);
    box-shadow: 0 18px 48px rgba(7, 19, 36, 0.28);
    padding: 1rem;
    display: grid;
    gap: 0.7rem;
}

.columnist-publish-popup__dialog h2 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.25;
}

.columnist-publish-popup__dialog p {
    margin: 0;
    color: var(--neutral-600);
}

.columnist-publish-popup__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.columnist-publish-popup__actions .social-link-button {
    flex: 1 1 150px;
    justify-content: center;
    text-align: center;
}

.community-card__meta,
.community-home-card__meta,
.article-social__comment-card header,
.community-comment-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    font-size: 0.86rem;
    color: var(--neutral-600);
    margin-bottom: 0.55rem;
}

.community-card__summary {
    color: var(--ink-900);
    font-weight: 600;
}

.community-card__body p,
.article-social__comment-card p,
.community-comment-card p {
    margin: 0 0 0.55rem;
}

.community-card__source {
    font-size: 0.88rem;
    color: var(--neutral-600);
}

.community-card__actions,
.article-social__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-top: 0.6rem;
}

.community-comments {
    display: grid;
    gap: 0.9rem;
}

.community-comment-card,
.article-social__comment-card {
    border: 1px solid rgba(12, 35, 64, 0.1);
    border-radius: 12px;
    padding: 0.7rem 0.75rem;
    background: #fbfdff;
}

.article-social {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.8rem;
}

.article-social__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.article-social__heading span {
    color: var(--neutral-600);
    font-size: 0.9rem;
}

.community-home-section {
    padding-bottom: 0.8rem;
}

.community-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.community-home-card {
    background: var(--white);
    border: 1px solid rgba(12, 35, 64, 0.09);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.5rem;
}

.community-home-card__stats {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--neutral-600);
    font-size: 0.86rem;
}

.community-feed--news-style {
    gap: 1rem;
}

.community-feed--news-style .community-feed__title {
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.community-feed--news-style .community-feed__grid {
    width: 100%;
}

.community-feed--news-style .community-card--news-style {
    border: none;
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
}

.community-feed--news-style .community-card--news-style .card-content {
    gap: 0.72rem;
}

.community-feed--news-style .community-card--news-style .chip {
    width: fit-content;
}

.community-feed--news-style .community-card__author-chip {
    text-transform: none;
    letter-spacing: 0.01em;
}

.community-feed--news-style .community-card__summary--news-style {
    margin: 0;
    color: #303a48;
    font-weight: 400;
}

.community-feed--news-style .community-card__meta-line {
    justify-content: space-between;
    align-items: center;
    row-gap: 0.35rem;
}

.community-feed--news-style .community-card__source--news-style {
    margin: 0;
}

.community-feed--news-style .community-card__source--video {
    margin: 0 1.05rem 0.95rem;
}

.community-feed--news-style .community-card__actions--news-style {
    margin: 0;
    padding: 0.82rem 1.05rem 0.95rem;
    border-top: 1px solid var(--neutral-100);
}

.saved-news-layout {
    display: grid;
    gap: 0.9rem;
    padding-block: 1rem 1.35rem;
}

.saved-news-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
}

.saved-news-header p {
    margin-top: 0.35rem;
    color: var(--neutral-600);
}

.site-footer {
    border-top: 1px solid rgba(12, 35, 64, 0.1);
    background: #f8fbff;
    margin-top: 1.2rem;
}

.footer-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.92rem;
    color: var(--neutral-600);
}

.footer-links {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.ad-inline-section {
    margin-top: 1.15rem;
}

.ad-inline-section--top,
.ad-inline-section--mid {
    margin-top: 1.25rem;
}

.ad-inline-section--article-side {
    margin-top: 0;
}

.ad-slot {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.ad-slot__label {
    display: none;
    align-items: center;
    padding: 0.4rem 0.7rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--neutral-600);
    background: rgba(12, 35, 64, 0.06);
}

.ad-slot__body {
    min-height: 90px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    color: var(--ink-800);
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.ad-slot__body--has-media {
    padding: 0;
    background: #fff;
}

.ad-slot__body--has-media,
.ad-slot__body--has-media .ad-creative-item,
.ad-slot__body--has-media .ad-slot__link {
    line-height: 0;
}

.ad-slot__link {
    width: 100%;
    height: 100%;
    display: block;
}

.ad-slot__image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    background: #fff;
    border-radius: 0;
}

.ad-slot--article-side .ad-slot__body {
    min-height: 560px;
}

.sticky-ad {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -2px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.sticky-ad.is-hidden {
    display: none;
}

.sticky-ad__panel {
    width: min(1180px, calc(100% - 1rem));
    pointer-events: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: transform 0.28s ease;
}

.sticky-ad.is-collapsed .sticky-ad__panel {
    transform: translateY(calc(100% - 28px));
}

.sticky-ad__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.6rem 0 auto;
    width: 28px;
    height: 28px;
    min-height: 28px;
    min-width: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(248, 251, 255, 0.9);
    color: rgba(18, 52, 92, 0.72);
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(12, 35, 64, 0.14);
}

.sticky-ad__toggle:hover {
    background: rgba(248, 251, 255, 0.98);
    color: rgba(18, 52, 92, 0.9);
}

.sticky-ad__icon {
    display: flex;
    width: 14px;
    height: 14px;
}

.sticky-ad__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.sticky-ad.is-collapsed .sticky-ad__icon svg {
    transform: rotate(180deg);
}

.sticky-ad__body {
    padding: 0 0.85rem 0;
}

.sticky-ad .ad-slot {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.sticky-ad .ad-slot__body--has-media,
.sticky-ad .ad-creative-item {
    line-height: 0;
}

.sticky-ad .ad-slot__link {
    display: block;
}

body.has-sticky-ad {
    padding-bottom: 0;
}

body.has-sticky-ad.sticky-ad-collapsed {
    padding-bottom: 0;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1279px) and (min-width: 1001px) {
    .home-feed-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .home-feed-rail--left {
        display: none;
    }
}

@media (max-width: 1000px) {
    .font-scale-rail {
        left: 0.35rem;
    }

    .ad-inline-section {
        display: none;
    }

    .hero-section,
    .article-wrapper {
        grid-template-columns: 1fr;
    }

    .article-side--ad {
        display: none;
    }

    .hero-side-mobile-top-ad {
        display: block;
    }

    .hero-side-mobile-top-ad .ad-slot__body {
        min-height: 100px;
        padding: 0;
    }

    .hero-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-section--expanded .hero-side {
        display: block;
    }

    .hero-image-wrap img {
        max-height: 320px;
    }

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

    .news-grid--feed {
        grid-template-columns: minmax(0, 1fr);
        max-width: none;
    }

    .latest-section--feed .section-title {
        max-width: none;
    }

    .news-card--feed .card-image img {
        height: 220px;
    }

    .home-feed-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-feed-rail {
        position: static;
    }

    .home-feed-rail--left,
    .home-feed-rail--right {
        display: none;
    }

    body.has-sticky-ad {
        padding-bottom: 0;
    }
}

@media (max-width: 760px) {
    :root {
        --font-size-sm: 15.5px;
        --font-size-md: 17px;
        --font-size-lg: 20px;
        --font-size-xl: 27px;
    }

    .header-inner {
        min-height: 72px;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        padding: 0.5rem 0;
    }

    .brand {
        max-width: calc(100% - 7rem);
    }

    .brand img {
        width: 56px;
        height: 56px;
    }

    .brand-text strong {
        font-size: 1.05rem;
    }

    .header-actions {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .header-search {
        width: 100%;
        flex: 1 1 auto;
    }

    .header-search input {
        width: 100%;
    }

    .header-reader-area {
        flex-shrink: 0;
    }

    .header-reader-name {
        display: none;
    }

    .font-scale-rail {
        display: none;
    }

    .font-scale-control--mobile {
        position: absolute;
        top: 0.45rem;
        right: 0;
        display: inline-flex;
        padding: 6px 8px;
        gap: 7px;
        box-shadow: 0 10px 24px rgba(12, 35, 64, 0.1);
    }

    .font-scale-control--mobile .font-scale-control__label--small {
        font-size: 13px;
    }

    .font-scale-control--mobile .font-scale-control__label--large {
        font-size: 20px;
    }

    .font-scale-control--mobile .font-scale-control__track {
        min-width: 84px;
        gap: 5px;
    }

    .font-scale-control--mobile .font-scale-control__track::before {
        left: 7px;
        right: 7px;
    }

    .font-scale-control--mobile .font-scale-control__option {
        width: 16px;
        height: 16px;
    }

    .font-scale-control--mobile .font-scale-control__option::before {
        width: 8px;
        height: 8px;
    }

    .font-scale-control--mobile .font-scale-control__option.is-active::before {
        width: 14px;
        height: 14px;
        box-shadow: 0 0 0 4px rgba(74, 133, 203, 0.16);
    }

    .site-audio-toggle--mobile {
        position: absolute;
        top: calc(0.45rem + 2.05rem);
        right: 0;
        display: inline-flex;
        width: 38px;
        height: 38px;
        border-radius: 12px;
        z-index: 3;
        transition: box-shadow 180ms ease, color 180ms ease, background 180ms ease;
    }

    .site-audio-toggle--mobile:hover,
    .site-audio-toggle--mobile:active,
    .site-audio-toggle--mobile:focus-visible {
        transform: none;
        box-shadow: 0 14px 32px rgba(12, 35, 64, 0.14);
    }

    .site-audio-toggle--mobile .site-audio-toggle__icon {
        width: 18px;
        height: 18px;
    }

    html[data-font-scale="xl"] .brand {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        grid-template-areas:
            "logo title"
            "tagline tagline";
        align-items: center;
        column-gap: 0.85rem;
        row-gap: 0.25rem;
        max-width: 100%;
    }

    html[data-font-scale="xl"] .brand img {
        grid-area: logo;
    }

    html[data-font-scale="xl"] .brand-text {
        display: contents;
    }

    html[data-font-scale="xl"] .brand-text strong {
        grid-area: title;
        padding-right: 7rem;
    }

    html[data-font-scale="xl"] .brand-text span {
        grid-area: tagline;
        display: block;
        line-height: 1.35;
    }

    .nav-wrap {
        gap: 0.3rem;
    }

    .nav-arrow {
        min-width: 30px;
        min-height: 30px;
        width: max(30px, 1.8em);
        height: max(30px, 1.8em);
        font-size: 1.2rem;
    }

    .header-marquee__track {
        animation-duration: 28s;
    }

    .header-marquee__copy {
        font-size: 0.86rem;
        padding-top: 0.48rem;
        padding-bottom: 0.48rem;
        padding-right: 2rem;
    }

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

    .news-grid--feed {
        max-width: 100%;
        gap: 1rem;
    }

    .latest-section--feed .section-title {
        max-width: 100%;
    }

    .community-feed--news-style .community-feed__title {
        max-width: 100%;
    }

    .news-card--feed .card-image img {
        height: 200px;
    }

    .news-card--feed .card-content {
        padding: 0.88rem 0.9rem 0.82rem;
    }

    .news-post-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-feed--news-style .community-card__source--video {
        margin: 0 0.9rem 0.82rem;
    }

    .community-feed--news-style .community-card__actions--news-style {
        padding: 0.72rem 0.9rem 0.82rem;
    }

    .news-card--feed .card-content h3 {
        font-size: 1.06rem;
    }

    .news-inline-read-more {
        margin: 0 0.9rem 0.9rem;
        padding: 0.85rem 0.82rem 0.95rem;
    }

    .news-inline-read-more__title {
        font-size: 1.18rem;
    }

    .news-card-edit-shortcut {
        width: 1.65rem;
        height: 1.65rem;
        top: 0.58rem;
        right: 0.58rem;
    }

    .news-card-edit-shortcut svg {
        width: 0.8rem;
        height: 0.8rem;
    }

    .news-card__media {
        padding: 0.65rem 0.6rem 0.85rem;
    }

    .news-feed-video {
        width: min(100%, 740px);
    }

    .news-feed-video--vertical {
        width: min(100%, 420px);
        max-height: min(76vh, 640px);
    }

    .news-feed-video--instagram-fallback {
        --instagram-feed-crop-top: 88px;
        --instagram-feed-crop-bottom: 500px;
        --instagram-feed-crop-side: 6px;
    }

    .article-recommendations-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .article-share__buttons {
        gap: 0.58rem;
    }

    .article-share__button {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .article-share__button::after {
        left: 10px;
        right: 10px;
        bottom: 7px;
    }

    .article-share__animation {
        width: 30px;
        height: 30px;
    }

    .article-share__fallback {
        font-size: 0.82rem;
    }

    .article-recommendation-card {
        min-width: 0;
    }

    .article-recommendation-card .card-image img {
        height: 88px;
    }

    .article-recommendation-card .card-content {
        padding: 0.5rem 0.45rem 0.65rem;
        gap: 0.35rem;
    }

    .article-recommendation-card .card-content h3 {
        font-size: 0.82rem;
        line-height: 1.22;
    }

    .article-recommendation-card .meta-line {
        font-size: 0.68rem;
        gap: 0.2rem;
    }

    .article-video-player--instagram-fallback {
        --instagram-embed-crop-top: 88px;
        --instagram-embed-crop-bottom: 420px;
        --instagram-embed-crop-side: 6px;
    }

    .top-news-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.18rem;
    }

    .top-news-item {
        gap: 0.55rem;
    }

    .top-news-item__rank {
        width: 1.56rem;
        height: 1.56rem;
        font-size: 0.76rem;
    }

    .hero-side > .top-news-card--ranked {
        display: none;
    }

    .top-news-card--mobile-inline {
        display: block;
        padding: 0.78rem 0.82rem;
        border-radius: 12px;
    }

    .top-news-card--mobile-inline .top-news-card__header {
        margin-bottom: 0.58rem;
    }

    .top-news-card--mobile-inline .top-news-card__header h2 {
        font-size: 1rem;
        line-height: 1.2;
    }

    .top-news-card--mobile-inline .top-news-card__hint {
        font-size: 0.66rem;
    }

    .top-news-card--mobile-inline .top-news-list {
        gap: 0.48rem;
    }

    .top-news-card--mobile-inline .top-news-item {
        gap: 0.48rem;
        padding-top: 0.5rem;
    }

    .top-news-card--mobile-inline .top-news-item.is-highlight {
        padding: 0.55rem 0.56rem;
        border-radius: 10px;
    }

    .top-news-card--mobile-inline .top-news-item__rank {
        width: 1.36rem;
        height: 1.36rem;
        font-size: 0.69rem;
    }

    .top-news-card--mobile-inline .top-news-item__body a {
        font-size: 0.99rem;
    }

    .top-news-card--mobile-inline .top-news-item__body small {
        font-size: 0.84rem;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .home-viewed-toggle {
        width: 100%;
        justify-content: center;
    }

    .community-home-grid {
        grid-template-columns: 1fr;
    }

    .community-header,
    .saved-news-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sticky-ad__panel {
        width: calc(100% - 0.5rem);
    }

    .sticky-ad.is-collapsed .sticky-ad__panel {
        transform: translateY(calc(100% - 26px));
    }

    .sticky-ad__toggle {
        margin-right: 0.45rem;
        width: 26px;
        height: 26px;
        min-height: 26px;
        min-width: 26px;
        padding: 0;
    }

    .sticky-ad__icon {
        width: 13px;
        height: 13px;
    }

    .sticky-ad__body {
        padding: 0 0.55rem 0;
    }

    .sticky-ad .ad-slot__body {
        min-height: 72px;
        padding: 0.65rem 0.6rem;
        font-size: 0.87rem;
    }

    body.has-sticky-ad {
        padding-bottom: 0;
    }

    body.has-sticky-ad.sticky-ad-collapsed {
        padding-bottom: 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 0;
    }

    .site-header--article .top-stripe {
        height: 2px;
    }

    .site-header--article .header-inner {
        min-height: 54px;
        padding: 0.34rem 0;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.6rem;
    }

    .site-header--article .brand {
        grid-column: 2;
        justify-self: center;
        max-width: none;
        gap: 0.35rem;
    }

    .site-header--article .brand-text {
        display: none;
    }

    .site-header--article .brand img {
        width: 118px;
        height: auto;
    }

    .site-header--article .font-scale-control--mobile {
        display: none;
    }

    .site-header--article .site-audio-toggle--mobile {
        display: none;
    }

    .site-header--article .mobile-header-tools {
        grid-column: 1;
        justify-self: start;
        display: inline-flex;
        align-items: center;
        gap: 0.36rem;
    }

    .site-header--article .header-actions {
        grid-column: 3;
        justify-self: end;
        width: auto;
        gap: 0.4rem;
        margin-left: 0;
    }

    .site-header--article .header-search {
        display: none;
    }

    .site-header--article .header-reader-area {
        gap: 0.2rem;
    }

    .site-header--article .header-reader-name {
        display: none;
    }

    .site-header--article .header-auth-button,
    .site-header--article .header-auth-button--ghost {
        min-height: 34px;
        padding-inline: 0.78rem;
        font-size: 0.84rem;
    }

    .site-header--article .main-nav {
        display: none;
    }

    .site-header--article .mobile-header-panels {
        display: grid;
        gap: 0.42rem;
        padding-bottom: 0.55rem;
    }

    .site-header--article .mobile-header-panel[hidden] {
        display: none !important;
    }

    .site-header--article .mobile-header-panel {
        padding: 0.55rem;
    }

    .site-header--article .mobile-header-search {
        gap: 0.4rem;
    }

    .site-header--article .mobile-header-search input {
        min-height: 36px;
        font-size: 0.95rem;
    }

    .site-header--article .mobile-header-search button {
        min-height: 36px;
        padding-inline: 0.82rem;
        font-size: 0.88rem;
    }

    .site-header--article .mobile-header-menu-links {
        gap: 0.16rem;
    }

    .site-header--article .mobile-header-menu-links a {
        padding: 0.4rem 0.45rem;
        font-size: 0.95rem;
    }

    .auth-modal__dialog {
        width: min(560px, calc(100% - 0.9rem));
        max-height: calc(100vh - 0.9rem);
        padding: 1rem;
    }
}
