/* Zartnir index2 — Rambler-inspired section layout (preview only)
   Colors stay Zartnir (red accent). Structure/spacing matches portal pattern. */

:root {
    --r2-bg: #f5f7ff;
    --r2-surface: transparent;
    --r2-text: #111827;
    --r2-muted: #6b7280;
    --r2-line: transparent;
    --r2-hairline: rgba(17, 24, 39, 0.06);
    --r2-accent: #dc2626;
    --r2-accent-soft: #fee2e2;
    --r2-radius: 20px;
    --r2-radius-sm: 14px;
    --r2-rail: 280px;
    --r2-aside: 300px; /* exact AdSense 300×250 width */
    --r2-pad: clamp(16px, 2.5vw, 40px);
    --r2-media-ratio: 16 / 9;
    --r2-widget-gap: 700px;
    --r2-card: rgba(255,255,255,0.72);
    --r2-surface-2: #f3f4f6;
}

html {
    overflow-x: clip;
    max-width: 100%;
}
body.r2-body {
    font-family: 'Manrope', 'SB Sans Text', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 500;
    background: var(--r2-bg);
    color: var(--r2-text);
    margin: 0;
    /* clip keeps horizontal overflow in check without killing position:sticky */
    overflow-x: clip;
    max-width: 100%;
    letter-spacing: -0.01em;
}

body.r2-body.dark-mode {
    --r2-bg: #171f30;
    --r2-surface: #353b4e;
    --r2-surface-2: #1f2937;
    --r2-text: #e5e7eb;
    --r2-muted: #9ca3af;
    --r2-line: rgba(255, 255, 255, 0.1);
    --r2-hairline: rgba(255, 255, 255, 0.1);
    --r2-accent-soft: rgba(220, 38, 38, 0.22);
    --r2-card: #353b4e;
    color-scheme: dark;
}


/* ---- Rambler aurora technique (layered radials, fixed, z-index -1) ---- */
.r2-aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #f5f7ff;
}
.r2-aurora-blob {
    position: absolute;
    top: 0;
    width: 800px;
    height: 1800px;
    opacity: 0.16;
    /* ~-60deg like Rambler matrix(0.5,-0.866,0.866,0.5,...) */
    transform: rotate(-60deg) translate(-400px, -900px);
    background: radial-gradient(50% 50%, var(--blob) 0%, rgba(0,0,0,0) 100%);
}
.r2-aurora-blob--1 { left: 0;    --blob: #ff8a80; }
.r2-aurora-blob--2 { left: 400px; --blob: #ff5252; }
.r2-aurora-blob--3 { left: 800px; --blob: rgba(220, 38, 38, 0.85); }
.r2-aurora-blob--4 { left: 1200px; --blob: #ffab91; }
.r2-aurora-blob--5 { left: 1600px; --blob: #ef5350; }
.r2-aurora-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(245,247,255,0) 50%, #f5f7ff 100%);
}
body.dark-mode .r2-aurora { background: #171f30; }
body.dark-mode .r2-aurora-fade {
    background: linear-gradient(rgba(23,31,48,0) 50%, #171f30 100%);
}
body.dark-mode .r2-aurora-blob {
    opacity: 0.35;
    filter: blur(80px) saturate(0.85);
}

.r2-brandrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}
.r2-rail-brand--inline {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.r2-live-chip {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--r2-muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
}
.r2-live-chip:hover { color: var(--r2-accent); text-decoration: none; }

.r2-rail-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}
.r2-rail-item {
    gap: 12px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
}
.r2-rail-dot { display: none !important; }
.r2-rail-services {
    margin-top: 28px;
    padding-top: 8px;
}
.r2-rail-services-title {
    margin: 0 0 8px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--r2-muted);
}
.r2-search-shell {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
body.dark-mode .r2-search-shell {
    box-shadow: none;
}
.r2-smart-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.r2-smart-head .r2-widget-title { margin: 0; }
.r2-smart-head img { width: 28px; height: 28px; }
.r2-digest-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(93deg, #dc2626 0%, #b91c1c 50%, #dc2626 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25);
}
.r2-digest-cta:hover { filter: brightness(1.05); }
.r2-digest-cta img { width: 22px; height: 22px; }

/* Rambler-like weather glass + mini FX */
.r2-meteo {
    background: var(--r2-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 14px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.r2-weather-city {
    appearance: none;
    border: 0;
    background: rgba(255,255,255,0.65);
    border-radius: 999px;
    padding: 6px 28px 6px 12px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--r2-text);
    margin-bottom: 10px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.r2-meteo-forecast {
    display: flex;
    align-items: center;
    gap: 12px;
}
.r2-meteo-icon {
    font-size: 2rem;
    line-height: 1;
    width: 44px;
    text-align: center;
}
.r2-meteo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.r2-meteo-temp {
    font-size: 35px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #1e2332;
}
.r2-meteo-desc {
    font-size: 15px;
    font-weight: 400;
    color: #1e2332;
    opacity: 0.85;
    text-transform: lowercase;
}
.r2-meteo-fx {
    display: grid;
    gap: 8px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 0;
}
.r2-fx-calc .r2-meteo-fx {
    margin-top: 14px;
    padding-top: 12px;
}
.r2-meteo-extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-top: 14px;
}
.r2-meteo-extra[hidden] {
    display: none !important;
}
.r2-meteo-extra-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.45);
}
.r2-meteo-extra-row span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--r2-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.r2-meteo-extra-row strong {
    font-size: 0.95rem;
    font-weight: 700;
}
body.dark-mode .r2-meteo-extra-row { background: rgba(255,255,255,0.06); }
.r2-meteo-fx-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: baseline;
    font-size: 0.92rem;
}
.r2-meteo-fx-eq {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    color: var(--r2-text, #111827);
}
.r2-meteo-fx-eq strong {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.r2-meteo-fx-sym {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.1em;
    font-weight: 800;
    color: var(--r2-text, #111827);
}
.r2-meteo-fx-code { font-weight: 700; color: var(--r2-muted); }
.r2-meteo-fx-val { font-weight: 600; }
.r2-meteo-fx-delta { font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r2-meteo-fx-delta.is-up { color: #16a34a; }
.r2-meteo-fx-delta.is-down { color: #dc2626; }
.r2-meteo-fx-delta.is-flat { color: var(--r2-muted); }

/* FX calculator */
.r2-fx-calc {
    background: var(--r2-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 14px 16px 16px;
}
.r2-fx-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--r2-muted);
    margin: 4px 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.r2-fx-input {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    background: #fff;
    box-shadow: 0 2px 10px rgba(17,24,39,0.05);
    margin-bottom: 10px;
}
.r2-fx-pair {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}
.r2-fx-select {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    font-weight: 700;
    background: #fff;
    cursor: pointer;
}
.r2-fx-swap {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(17,24,39,0.06);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--r2-accent);
}
.r2-fx-swap:hover { background: var(--r2-accent-soft); }
.r2-fx-out {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.75);
}
.r2-fx-out-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--r2-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.r2-fx-out strong {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.r2-fx-hint {
    margin: 8px 2px 0;
    font-size: 0.8rem;
    color: var(--r2-muted);
}

body.dark-mode .r2-meteo,
body.dark-mode .r2-fx-calc { background: var(--r2-card); }
body.dark-mode .r2-meteo-temp,
body.dark-mode .r2-meteo-desc { color: var(--r2-text); }
body.dark-mode .r2-fx-input,
body.dark-mode .r2-fx-select,
body.dark-mode .r2-fx-swap,
body.dark-mode .r2-fx-out,
body.dark-mode .r2-weather-city { background: var(--r2-surface-2); color: var(--r2-text); border-color: var(--r2-hairline); }


.r2-preview-banner {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: #111827;
    color: #f9fafb;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 6px 12px;
}

.r2-shell {
    display: grid;
    grid-template-columns: var(--r2-rail) minmax(0, 1fr) var(--r2-aside);
    gap: clamp(20px, 2.5vw, 36px);
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 100vh;
    align-items: start;
    align-content: start;
    padding-right: var(--r2-pad);
    overflow: visible;
}
.r2-shell--no-aside {
    grid-template-columns: var(--r2-rail) minmax(0, 1fr);
}
.r2-page-card--flat {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 8px 0 32px !important;
    box-shadow: none !important;
}
body.dark-mode .r2-page-card--flat {
    background: transparent !important;
    box-shadow: none !important;
}
.r2-about-principles {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}
.r2-about-principle {
    border-left: 4px solid var(--r2-accent, #dc2626);
    padding-left: 1.25rem;
}
.r2-about-principle h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--r2-text);
}
.r2-about-contacts p {
    margin-bottom: 0.5rem;
}
.r2-about-contacts a {
    color: var(--r2-accent, #dc2626);
}

/* ---- Left rail column (top band only) + sticky/fixed rail inside ---- */
.r2-rail-col {
    grid-column: 1;
    grid-row: 1; /* only beside hero — frees left column for Важно сейчас below */
    align-self: start;
    min-width: 0;
    min-height: 0;
    height: auto;
    position: relative;
}
.r2-rail {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    height: fit-content;
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 28px 12px 24px var(--r2-pad);
    z-index: 5;
    background: transparent;
    box-sizing: border-box;
}
body.dark-mode .r2-rail {
    background: transparent;
}

/* Desktop: pin rail to viewport (sticky is unreliable with body overflow / grid) */
@media (min-width: 1101px) {
    .r2-rail {
        position: fixed;
        top: 0;
        left: 0;
        width: var(--r2-rail);
        height: auto;
        max-height: 100vh;
        z-index: 40;
    }
    .r2-rail-col {
        /* keeps the grid gutter so main doesn't jump under the fixed rail */
        width: var(--r2-rail);
        min-height: 0;
        height: auto;
        pointer-events: none;
    }
    .r2-rail-col .r2-rail {
        pointer-events: auto;
    }
}

/* Lower band: Важно сейчас + topics span LEFT + MIDDLE; timeline on the right */
.r2-below {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--r2-aside);
    gap: clamp(20px, 2.5vw, 36px);
    align-items: start;
    padding-left: var(--r2-pad);
    width: 100%;
    box-sizing: border-box;
}
.r2-below-main {
    min-width: 0;
}
.r2-aside--top {
    align-self: start;
    display: flex;
    flex-direction: column;
}
.r2-aside--timeline {
    position: sticky;
    top: 12px;
    align-self: start;
    max-height: none;
    display: flex;
    flex-direction: column;
}

.r2-rail-brand {
    display: block;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--r2-text);
    text-decoration: none;
    margin: 0 0 22px 10px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.r2-rail-brand span { color: var(--r2-accent); }

.r2-rail-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.r2-rail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--r2-text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 0.15s ease;
}
.r2-rail-item:hover,
.r2-rail-item.is-active {
    background: rgba(220, 38, 38, 0.08);
    text-decoration: none;
}
body.dark-mode .r2-rail-item:hover,
body.dark-mode .r2-rail-item.is-active {
    background: rgba(220, 38, 38, 0.18);
}
.r2-rail-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.r2-rail-social {
    margin-top: 28px;
    display: flex;
    gap: 8px;
}
.r2-rail-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.55);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--r2-muted);
    text-decoration: none;
}
.r2-rail-social a:hover { color: var(--r2-accent); background: #fff; }

/* ---- Main column ---- */
.r2-main {
    padding: 20px var(--r2-pad) 32px 28px;
    max-width: none;
    width: 100%;
}

.r2-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.r2-topbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--r2-text);
    text-decoration: none;
}
.r2-icon-btn {
    width: 40px;
    height: 40px;
    border: 0;
    background: var(--r2-surface);
    border-radius: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--r2-text);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.r2-topbar-spacer {
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
    background: transparent;
}

/* Burger panel */
.r2-burger-panel {
    position: fixed;
    right: 12px;
    top: 70px;
    width: min(280px, calc(100vw - 24px));
    max-height: 70vh;
    overflow: auto;
    background: var(--r2-surface);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 1200;
}
.r2-burger-panel.menu-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.r2-burger-inner { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.r2-burger-link {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--r2-text);
    text-decoration: none;
    font-weight: 500;
}
.r2-burger-link:hover { background: var(--r2-accent-soft); color: var(--r2-accent); text-decoration: none; }

.burger-icon { width: 18px; height: 14px; position: relative; display: block; }
.burger-line {
    position: absolute; left: 0; right: 0; height: 2px;
    background: currentColor; border-radius: 2px; transition: 0.2s;
}
.burger-line-1 { top: 0; }
.burger-line-2 { top: 6px; }
.burger-line-3 { top: 12px; }
#burger-toggle.active .burger-line-1 { top: 6px; transform: rotate(45deg); }
#burger-toggle.active .burger-line-2 { opacity: 0; }
#burger-toggle.active .burger-line-3 { top: 6px; transform: rotate(-45deg); }

/* ---- Search ---- */
.r2-search {
    position: relative;
    background: transparent;
    border-radius: 0;
    padding: 8px 0 4px;
    margin-bottom: 28px;
}
.r2-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 999px;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.06);
    border: 2px solid transparent;
    transform: scale(1);
    transform-origin: center center;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        padding 0.28s ease;
}
.r2-search-form:focus-within {
    transform: scale(1.035);
    border-color: var(--r2-accent);
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.12);
    padding: 8px 8px 8px 22px;
}
body.dark-mode .r2-search-form {
    background: var(--r2-surface-2);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
body.dark-mode .r2-search-form:focus-within {
    border-color: #f87171;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
.r2-search-input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: var(--r2-text);
    min-width: 0;
    padding: 10px 0;
}
.r2-search-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--r2-accent);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
}
.r2-trends {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 4px 6px;
}
.r2-trend-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--r2-card);
    border: 0;
    color: var(--r2-text);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}
.r2-trend-pill:hover {
    color: var(--r2-accent);
    background: #fff;
    text-decoration: none;
}
.r2-search-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
    z-index: 9999;
    max-height: 22rem;
    overflow-y: auto;
    padding: 8px;
}
body.dark-mode .r2-search-dropdown {
    background: rgba(53, 59, 78, 0.96);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

/* ---- Hero / tabs / lead / feed ---- */
.r2-hero {
    background: transparent;
    border-radius: 0;
    padding: 4px 0 8px;
    border: 0;
}

.r2-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    padding: 4px 0 16px;
    border-bottom: 0;
    margin-bottom: 8px;
    scrollbar-width: none;
}
.r2-tabs::-webkit-scrollbar { display: none; }
.r2-tab {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--r2-muted);
    text-decoration: none;
}
.r2-tab.is-active,
.r2-tab:hover {
    background: #fff;
    color: var(--r2-text);
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}
body.dark-mode .r2-tab.is-active,
body.dark-mode .r2-tab:hover { background: var(--r2-surface); }
.r2-tabs-time {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--r2-muted);
    white-space: nowrap;
    padding-left: 12px;
}

.r2-hero-grid {
    display: block;
}

.r2-tabs-more {
    position: relative;
    flex-shrink: 0;
}
.r2-tabs-more > summary {
    list-style: none;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--r2-muted);
}
.r2-tabs-more > summary::-webkit-details-marker { display: none; }
.r2-tabs-more[open] > summary,
.r2-tabs-more > summary:hover {
    background: #f3f4f6;
    color: var(--r2-text);
}
.r2-tabs-more-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    padding: 8px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.r2-tabs-more-menu a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--r2-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}
.r2-tabs-more-menu a:hover {
    background: var(--r2-accent-soft);
    color: var(--r2-accent);
    text-decoration: none;
}

.r2-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.95fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 8px;
    padding-bottom: 18px;
}
.r2-lead-carousel {
    margin-bottom: 8px;
}
.r2-lead-track {
    display: grid;
    isolation: isolate;
}
/* Stack slides; crossfade via opacity + slight rise */
.r2-lead-carousel .r2-lead {
    grid-area: 1 / 1;
    display: grid;
    margin-bottom: 0;
    padding-bottom: 12px;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    z-index: 0;
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.r2-lead-carousel .r2-lead.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2;
}
.r2-lead-carousel[data-single="1"] .r2-lead {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    z-index: 2;
}
.r2-lead-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 4px 0 14px;
    position: relative;
    z-index: 3;
}
.r2-lead-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
.r2-lead-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.22);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}
.r2-lead-dot.is-active {
    width: 22px;
    background: var(--r2-accent, #dc2626);
}
.r2-lead-dot:focus-visible {
    outline: 2px solid var(--r2-accent, #dc2626);
    outline-offset: 2px;
}
body.dark-mode .r2-lead-dot { background: rgba(255,255,255,0.28); }
body.dark-mode .r2-lead-dot.is-active { background: var(--r2-accent, #dc2626); }
@media (prefers-reduced-motion: reduce) {
    .r2-lead-carousel .r2-lead {
        transition: none;
        transform: none;
    }
}
.r2-lead-title {
    font-family: 'Manrope', 'SB Sans Display', system-ui, sans-serif;
    font-size: clamp(1.5rem, 2.2vw, 1.75rem);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.r2-lead-title a { color: inherit; text-decoration: none; }
.r2-lead-title a:hover { color: var(--r2-accent); }
.r2-lead-dek {
    color: var(--r2-muted);
    font-size: 1rem;
    line-height: 1.45;
    margin: 0 0 16px;
}
.r2-lead-media {
    display: block;
    border-radius: var(--r2-radius);
    overflow: hidden;
    aspect-ratio: var(--r2-media-ratio);
    background: #e5e7eb;
}
.r2-lead-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.r2-feed-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-top: 0;
}
.r2-feed-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.r2-feed-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.r2-feed-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.r2-feed-pill:hover { filter: brightness(0.97); text-decoration: none; }
body.dark-mode .r2-feed-pill { background: var(--r2-surface-2); color: #93c5fd; }

.r2-feed-more { margin-top: 12px; }
.r2-feed-more > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
}
.r2-feed-more > summary::-webkit-details-marker { display: none; }
.r2-feed-more[open] > summary { display: none; }

/* Evergreen / important */
.r2-important { margin-top: 32px; }
.r2-evergreen { display: flex; flex-direction: column; gap: 14px; }
.r2-evergreen-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(96px, 25%) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    border-radius: 0;
    overflow: visible;
    aspect-ratio: auto;
    color: inherit;
    text-decoration: none;
    background: transparent;
}
.r2-evergreen-hero:not(:has(.r2-evergreen-hero-img)) {
    grid-template-columns: 1fr;
}
.r2-evergreen-hero-img {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: var(--r2-media-ratio);
    object-fit: cover;
    display: block;
    border-radius: var(--r2-radius-sm);
}
.r2-evergreen-hero-copy {
    position: static;
    inset: auto;
    z-index: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    background: none;
    color: var(--r2-text);
}
.r2-evergreen-badge {
    align-self: flex-start;
    margin-bottom: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.92);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}
.r2-evergreen-hero-copy h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--r2-text);
}
.r2-evergreen-hero:hover .r2-evergreen-hero-copy h3 {
    color: var(--r2-accent);
}
.r2-evergreen-hero-copy p {
    margin: 6px 0 0;
    opacity: 1;
    max-width: 42rem;
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--r2-muted);
}
.r2-evergreen-hero-copy .r2-evergreen-card-date {
    margin-top: 4px;
}
.r2-evergreen-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.r2-evergreen-card {
    display: grid;
    grid-template-columns: minmax(72px, 18%) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    text-decoration: none;
    color: inherit;
    padding: 12px 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}
.r2-evergreen-card:last-child { border-bottom: 0; }
.r2-evergreen-card:not(:has(.r2-evergreen-card-img)) {
    grid-template-columns: 1fr;
}
.r2-evergreen-card:hover { box-shadow: none; text-decoration: none; }
.r2-evergreen-card:hover .r2-evergreen-card-title { color: var(--r2-accent); }
.r2-evergreen-card-img {
    width: 100%;
    aspect-ratio: var(--r2-media-ratio);
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: var(--r2-radius-sm);
}
.r2-evergreen-card-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.r2-evergreen-card-title {
    padding: 0;
    font-size: 1.02rem;
    font-weight: 650;
    line-height: 1.35;
}
.r2-evergreen-card-date {
    display: block;
    padding: 0;
    margin-top: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--r2-muted);
}
@media (max-width: 640px) {
    .r2-evergreen-hero {
        grid-template-columns: minmax(88px, 28%) minmax(0, 1fr);
        gap: 12px;
    }
    .r2-evergreen-hero-copy h3 { font-size: 1.02rem; }
    .r2-evergreen-hero-copy p { display: none; }
    .r2-evergreen-card {
        grid-template-columns: minmax(72px, 28%) minmax(0, 1fr);
        gap: 12px;
    }
}

.r2-topic-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.r2-topic-list--wide {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.r2-topic-list--wide li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}
.r2-topic-list--wide li:last-child {
    border-bottom: 0;
}
.r2-topic-list--wide a {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}
.r2-topic-list--wide time {
    font-size: 0.8rem;
    color: var(--r2-muted);
}

/* Wide social media banner (digest-card style) */
.r2-social-banner {
    margin-top: 36px;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    background: #353b4e;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.18);
}
.r2-social-banner-head {
    position: relative;
    min-height: 128px;
    padding: 26px 36px 48px;
    color: #fff;
    background: linear-gradient(115deg, #2563eb 0%, #3b82f6 48%, #38bdf8 100%);
    overflow: hidden;
}
.r2-social-banner-head::after {
    content: '';
    position: absolute;
    left: -12%;
    right: -12%;
    bottom: -40px;
    height: 80px;
    background: #353b4e;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.r2-social-banner-copy {
    position: relative;
    z-index: 1;
    max-width: 68%;
}
.r2-social-banner-eyebrow {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.92;
    margin-bottom: 8px;
}
.r2-social-banner-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.55rem, 2.6vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.r2-social-banner-title svg {
    flex-shrink: 0;
    opacity: 0.95;
}
.r2-social-banner-orb {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-48%);
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,0.95), rgba(191,219,254,0.55) 45%, rgba(59,130,246,0.35) 70%, transparent 72%);
    filter: drop-shadow(0 10px 20px rgba(30, 64, 175, 0.35));
    z-index: 2;
}
.r2-social-banner-spark {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    opacity: 0.9;
    z-index: 1;
}
.r2-social-banner-spark--1 { top: 24px; right: 170px; }
.r2-social-banner-spark--2 { top: 52px; right: 64px; width: 8px; height: 8px; opacity: 0.65; }
.r2-social-banner-spark--3 { top: 78px; left: 46%; width: 9px; height: 9px; opacity: 0.5; }
.r2-social-banner-body {
    position: relative;
    z-index: 1;
    padding: 10px 36px 24px;
    background: #353b4e;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
}
.r2-social-banner-body p {
    margin: 0;
    flex: 1 1 280px;
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #cbd5e1;
}
.r2-social-banner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.r2-social-banner-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff !important;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.r2-social-banner-link:hover { transform: translateY(-1px); filter: brightness(1.06); }
.r2-social-banner-link svg { flex-shrink: 0; }
.r2-social-banner-link--fb { background: #1877f2; }
.r2-social-banner-link--yt { background: #ff0000; }
.r2-social-banner-link--tg { background: #229ed9; }
body.dark-mode .r2-social-banner,
body.dark-mode .r2-social-banner-body,
body.dark-mode .r2-social-banner-head::after {
    background: #2a3142;
}
@media (max-width: 700px) {
    .r2-social-banner-head { padding: 20px 18px 44px; min-height: 110px; }
    .r2-social-banner-copy { max-width: 100%; padding-right: 96px; }
    .r2-social-banner-orb { width: 84px; height: 84px; right: 14px; }
    .r2-social-banner-spark--1 { right: 110px; }
    .r2-social-banner-body { padding: 6px 18px 18px; }
}



.r2-topic-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
    gap: clamp(18px, 3vw, 40px);
}
.r2-topic-side { display: flex; flex-direction: column; gap: 12px; }
.r2-topic-mids { display: flex; flex-direction: column; gap: 10px; }
.r2-topic-mid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 12px;
    align-items: center;
    padding: 4px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    color: inherit;
}
.r2-topic-mid:hover { box-shadow: none; text-decoration: none; }
.r2-topic-mid:hover span { color: var(--r2-accent); }
.r2-topic-mid-img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--r2-media-ratio);
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.r2-topic-mid span {
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.3;
}

/* keep old important strip classes harmless if unused */
.r2-important-row { display: none; }

.r2-pill-cta {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--r2-accent-soft);
    color: var(--r2-accent);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}
.r2-pill-cta:hover { filter: brightness(0.97); text-decoration: none; }

.r2-feed {
    list-style: none;
    margin: 0;
    padding: 0;
}
.r2-feed-link {
    color: var(--r2-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
}
.r2-feed-link:hover { color: var(--r2-accent); }
.r2-feed-meta {
    font-size: 0.75rem;
    color: var(--r2-muted);
    white-space: nowrap;
    margin-top: 4px;
}

.r2-hero-actions { margin-top: 16px; }
.r2-btn-soft {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}
body.dark-mode .r2-btn-soft { background: var(--r2-surface-2); color: #93c5fd; }

/* Side widgets / right aside — scrolls with page */
.r2-aside {
    position: static;
    align-self: start;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 28px 0 48px;
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--r2-text);
    font-family: inherit;
}
.r2-aside--top,
.r2-aside--timeline {
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--r2-text);
    font-family: inherit;
}

/* Compact equal gaps: weather → currency → popular (was 250px; −60% = 100px) */
.r2-aside-stack-gap {
    --r2-aside-stack: 100px;
}
.r2-aside > * + *,
.r2-aside--top > * + *,
.r2-aside--timeline > * + * {
    margin-top: 100px;
}
.r2-aside > .r2-meteo + .r2-fx-calc,
.r2-aside--top > .r2-meteo + .r2-fx-calc {
    margin-top: 100px;
}
.r2-aside > .r2-fx-calc + #r2-popular,
.r2-aside > .r2-fx-calc + .r2-widget,
.r2-aside--top > .r2-fx-calc + #r2-popular,
.r2-aside--top > .r2-fx-calc + .r2-widget {
    margin-top: 100px;
}
.r2-aside > .r2-meteo {
    margin-top: 0;
}
.r2-aside--timeline > .r2-aside-timeline + .r2-cal {
    margin-top: 100px;
}
/* Ads nest under the previous widget */
.r2-aside > .r2-aside-ad,
.r2-aside--timeline > .r2-aside-ad {
    margin-top: 28px;
}
.r2-aside > .r2-aside-ad + * {
    margin-top: 100px;
}

/* Unified right-sidebar text: same size/weight for body copy */
.r2-aside .r2-widget-title,
.r2-aside--top .r2-widget-title,
.r2-aside--timeline .r2-widget-title,
.r2-cal-head strong {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--r2-muted);
    margin: 0 0 12px;
    font-family: inherit;
}
.r2-aside .r2-ranked a,
.r2-aside--top .r2-ranked a,
.r2-aside-timeline-title,
.r2-cal-title,
.r2-meteo-desc,
.r2-fx-label,
.r2-fx-out,
.r2-fx-out-label,
.r2-fx-hint,
.r2-meteo-fx-eq,
.r2-meteo-extra-row span,
.r2-meteo-extra-row strong,
.r2-weather-city,
.r2-fx-input,
.r2-fx-select {
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.4;
}
.r2-aside .r2-ranked a,
.r2-aside--top .r2-ranked a,
.r2-aside-timeline-title,
.r2-cal-title {
    font-weight: 500;
    color: var(--r2-text);
}
.r2-aside-timeline-time,
.r2-cal-date,
.r2-meteo-fx-delta {
    font-family: inherit;
    font-size: 0.82rem;
    line-height: 1.35;
}
.r2-meteo-temp {
    font-family: inherit;
    font-size: 1.35rem;
    font-weight: 700;
}

/* Theme + language prefs widget */
.r2-prefs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    background: var(--r2-card);
    border-radius: var(--r2-radius);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}
body.dark-mode .r2-prefs {
    background: var(--r2-card);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.r2-prefs-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.r2-prefs-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--r2-muted);
}
.r2-prefs-seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    background: rgba(17, 24, 39, 0.06);
    border-radius: 999px;
}
body.dark-mode .r2-prefs-seg {
    background: rgba(23, 31, 48, 0.65);
}
.r2-prefs-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--r2-muted);
    text-align: center;
    text-decoration: none !important;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.r2-prefs-btn:hover {
    color: var(--r2-text);
}
.r2-prefs-btn.is-active {
    background: #fff;
    color: var(--r2-text);
    box-shadow: 0 1px 4px rgba(17, 24, 39, 0.12);
}
body.dark-mode .r2-prefs-btn.is-active {
    background: var(--r2-surface-2);
    color: var(--r2-text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.r2-flag {
    width: 22px;
    height: 15px;
    border-radius: 3px;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.12);
    overflow: hidden;
}
.r2-flag svg {
    display: block;
    width: 100%;
    height: 100%;
}
body.dark-mode .r2-flag {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.r2-aside-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
body.dark-mode .r2-aside-card {
    background: transparent;
}
.r2-aside-ad {
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
    max-width: 100%;
    text-align: center;
    background: transparent;
    min-height: 0;
}
.r2-aside-ad .adsense-unit,
.r2-aside-ad .adsense-sidebar {
    display: block;
    margin: 0 auto !important;
    width: 300px;
    max-width: 100%;
    overflow: hidden;
    line-height: 0;
}
.r2-aside-ad .adsense-sidebar ins.adsbygoogle {
    display: inline-block;
    width: 300px;
    height: 250px;
}
/* Hide empty AdSense shells (no creative / unfill) */
.r2-aside-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.r2-aside-ad:has(ins.adsbygoogle[data-ad-status="unfill-optimized"]) {
    display: none !important;
}

.r2-hero-side { display: none; }
.r2-widget {
    background: var(--r2-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--r2-radius, 18px);
    padding: 16px;
    border: 0;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}
body.dark-mode .r2-widget {
    background: var(--r2-card);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.r2-aside-card.r2-widget { padding: 16px; }
.r2-meteo.r2-aside-card,
.r2-fx-calc.r2-aside-card,
#r2-popular.r2-aside-card,
.r2-widget.r2-aside-card,
.r2-aside-timeline.r2-aside-card,
.r2-cal.r2-aside-card {
    background: var(--r2-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--r2-radius, 18px);
    padding: 16px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}
body.dark-mode .r2-meteo.r2-aside-card,
body.dark-mode .r2-fx-calc.r2-aside-card,
body.dark-mode #r2-popular.r2-aside-card,
body.dark-mode .r2-widget.r2-aside-card,
body.dark-mode .r2-aside-timeline.r2-aside-card,
body.dark-mode .r2-cal.r2-aside-card {
    background: var(--r2-card);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Armenian calendar — month grid + upcoming dates */
.r2-cal {
    padding: 16px;
    overflow: visible;
    background: var(--r2-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--r2-radius, 18px);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}
body.dark-mode .r2-cal {
    background: var(--r2-card);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.r2-cal-head {
    padding: 0 0 10px;
    border-bottom: 0;
    margin-bottom: 4px;
}
.r2-cal-eyebrow {
    display: none;
}
.r2-cal-head strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--r2-muted);
    font-family: inherit;
}
.r2-cal-month {
    margin: 0 0 16px;
}
.r2-cal-month-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--r2-text);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}
.r2-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 4px;
}
.r2-cal-weekdays span {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--r2-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 2px 0;
}
.r2-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.r2-cal-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--r2-text);
    border-radius: 8px;
    line-height: 1;
    position: relative;
}
.r2-cal-cell--empty {
    visibility: hidden;
    pointer-events: none;
}
.r2-cal-cell.is-today {
    background: var(--r2-accent, #dc2626);
    color: #fff;
    font-weight: 700;
}
.r2-cal-cell.is-holiday:not(.is-today)::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--r2-accent, #dc2626);
}
.r2-cal-upcoming-head {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--r2-muted);
    margin: 0 0 4px;
}
.r2-cal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.r2-cal-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}
.r2-cal-list li:last-child { border-bottom: 0; }
.r2-cal-date {
    display: block;
    background: none;
    border-radius: 0;
    padding: 0;
    line-height: 1.2;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--r2-muted);
}
.r2-cal-date em {
    font-style: normal;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
.r2-cal-date span {
    font-size: inherit;
    font-weight: inherit;
    text-transform: none;
    color: inherit;
}
.r2-cal-title {
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--r2-text);
    font-family: inherit;
}
body.dark-mode .r2-cal-list li {
    border-bottom-color: rgba(255,255,255,0.08);
}
body.dark-mode .r2-cal-date { background: none; }
body.dark-mode .r2-cal-date em { color: inherit; }
body.dark-mode .r2-cal-cell.is-today {
    color: #fff;
}

/* Promo card (Rambler horoscope-style) */
.r2-promo {
    display: block;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    background: #353b4e;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.r2-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.22);
}
.r2-promo-head {
    position: relative;
    padding: 18px 18px 34px;
    color: #fff;
    background: linear-gradient(160deg, #2563eb 0%, #38bdf8 100%);
    overflow: hidden;
}
.r2-promo-head::after {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -28px;
    height: 56px;
    background: #353b4e;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.r2-promo-eyebrow {
    display: block;
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.92;
    margin-bottom: 6px;
}
.r2-promo-title {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.r2-promo-orb {
    position: absolute;
    right: 10px;
    bottom: 6px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,0.95), rgba(191,219,254,0.55) 45%, rgba(59,130,246,0.35) 70%, transparent 72%);
    filter: drop-shadow(0 8px 16px rgba(30, 64, 175, 0.35));
    z-index: 2;
}
.r2-promo-spark {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    opacity: 0.85;
    z-index: 1;
}
.r2-promo-spark--1 { top: 18px; right: 78px; }
.r2-promo-spark--2 { top: 42px; right: 36px; width: 7px; height: 7px; opacity: 0.6; }
.r2-promo-spark--3 { top: 58px; left: 24px; width: 8px; height: 8px; opacity: 0.55; }
.r2-promo-body {
    position: relative;
    z-index: 1;
    padding: 8px 18px 18px;
    background: #353b4e;
}
.r2-promo-body p {
    margin: 0 0 14px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #cbd5e1;
}
.r2-promo-cta {
    color: #60a5fa;
    font-weight: 700;
    font-size: 0.95rem;
}
body.dark-mode .r2-promo,
body.dark-mode .r2-promo-body,
body.dark-mode .r2-promo-head::after { background: #2a3142; }
body.dark-mode .r2-promo-body p { color: #cbd5e1; }
body.dark-mode .r2-promo-cta { color: #60a5fa; }

.r2-widget-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--r2-muted);
    margin: 0 0 12px;
    padding-bottom: 0;
    border-bottom: 0;
    font-family: inherit;
}
.r2-ranked {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.r2-ranked li {
    display: block;
}
.r2-ranked li + li {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
body.dark-mode .r2-ranked li + li {
    border-top-color: rgba(255, 255, 255, 0.06);
}
.r2-ranked a {
    color: var(--r2-text);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 500;
    display: block;
    padding: 10px 0;
}
.r2-ranked a:hover { color: var(--r2-accent); }

.r2-fx, .r2-weather {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.88rem;
}
.r2-fx > div, .r2-weather > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
}
.r2-fx span:first-child,
.r2-weather span:first-child {
    color: var(--r2-muted);
    font-weight: 600;
    min-width: 3rem;
}

/* Important strip */
.r2-important { margin-top: 28px; }
.r2-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}
.r2-section-title a { color: inherit; text-decoration: none; }
.r2-section-title a:hover { color: var(--r2-accent); }

.r2-important-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
}
.r2-important-card {
    background: var(--r2-surface);
    border-radius: var(--r2-radius-sm);
    overflow: hidden;
    border: 1px solid var(--r2-line);
    text-decoration: none;
    color: inherit;
    min-width: 200px;
}
.r2-important-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); text-decoration: none; }
.r2-important-img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--r2-media-ratio);
    object-fit: cover;
    display: block;
}
.r2-important-title {
    display: block;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.r2-ad { margin: 28px 0; }

/* Topic blocks */
.r2-topics { margin-top: 48px; display: flex; flex-direction: column; gap: 56px; }
.r2-topic-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.r2-topic-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.85fr);
    gap: 20px;
}
.r2-topic-feature {
    position: relative;
    display: grid;
    grid-template-columns: minmax(96px, 25%) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    border-radius: 0;
    overflow: visible;
    aspect-ratio: auto;
    background: transparent;
    text-decoration: none;
    color: inherit;
}
.r2-topic-feature:not(:has(.r2-topic-feature-img)) {
    grid-template-columns: 1fr;
}
.r2-topic-feature-img {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: var(--r2-media-ratio);
    object-fit: cover;
    display: block;
    border-radius: var(--r2-radius-sm);
}
.r2-topic-feature-copy {
    position: static;
    inset: auto;
    z-index: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    background: none;
    color: var(--r2-text);
}
.r2-topic-feature-copy h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--r2-text);
}
.r2-topic-feature:hover .r2-topic-feature-copy h3 {
    color: var(--r2-accent);
}
.r2-topic-feature-copy p {
    margin: 0;
    opacity: 1;
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--r2-muted);
}
@media (max-width: 640px) {
    .r2-topic-feature {
        grid-template-columns: minmax(88px, 28%) minmax(0, 1fr);
        gap: 12px;
    }
    .r2-topic-feature-copy h3 { font-size: 1.02rem; }
    .r2-topic-feature-copy p { display: none; }
}
.r2-topic-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    background: transparent;
    border-radius: 0;
    border: 0;
}
.r2-topic-list li {
    padding: 12px 0;
    border-bottom: 0;
}
.r2-topic-list li:last-child { border-bottom: 0; }
.r2-topic-list a {
    display: block;
    color: var(--r2-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 4px;
}
.r2-topic-list a:hover { color: var(--r2-accent); }
.r2-topic-list time { font-size: 0.75rem; color: var(--r2-muted); }

.r2-topic-page-head { margin-bottom: 24px; }
.r2-topic-page-head h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 6px;
}
.r2-topic-page-head p { margin: 0; color: var(--r2-muted); }
.r2-topic-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.r2-topic-page-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: 0;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.r2-topic-page-card:hover { box-shadow: none; text-decoration: none; }
.r2-topic-page-img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--r2-media-ratio);
    object-fit: cover;
    display: block;
    border-radius: var(--r2-radius-sm);
}
.r2-topic-page-copy { padding: 0 2px; }
.r2-topic-page-copy h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.r2-topic-page-copy p {
    margin: 0 0 8px;
    color: var(--r2-muted);
    font-size: 0.88rem;
}
.r2-topic-page-copy time { font-size: 0.75rem; color: var(--r2-muted); }

/* Footer — compact, same background */
body.r2-body footer.r2-footer,
body.r2-body .r2-footer {
    margin-top: 24px !important;
    width: 100%;
    max-width: none !important;
    background: transparent !important;
    color: var(--r2-muted) !important;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: none !important;
}
body.r2-body .r2-footer-inner {
    max-width: none !important;
    width: 100%;
    padding: 10px var(--r2-pad) 14px !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 16px;
}
body.r2-body .r2-footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
}
body.r2-body .r2-footer-brand {
    display: inline;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--r2-text);
    letter-spacing: -0.02em;
}
body.r2-body .r2-footer-brand span { color: var(--r2-accent); }
body.r2-body .r2-footer-copy {
    display: inline;
    margin: 0;
    font-size: 0.75rem;
    color: var(--r2-muted);
}
body.r2-body .r2-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    align-items: center;
}
body.r2-body .r2-footer-links a,
body.r2-body .r2-footer-links span {
    font-size: 0.75rem;
    color: var(--r2-muted);
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
}
body.r2-body .r2-footer-links a:hover,
body.r2-body .r2-footer-links span:hover {
    color: var(--r2-text);
}
body.dark-mode .r2-footer {
    border-top-color: rgba(255,255,255,0.08);
}

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

/* Search autocomplete items */
.search-result-item {
    display: block;
    padding: 12px 14px;
    color: var(--r2-text);
    text-decoration: none;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    margin: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}
.search-result-item + .search-result-item {
    margin-top: 2px;
}
.search-result-item:hover,
.search-result-item.active {
    background: rgba(220, 38, 38, 0.08);
}
body.dark-mode .search-result-item:hover,
body.dark-mode .search-result-item.active {
    background: rgba(220, 38, 38, 0.16);
}
.search-result-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--r2-text);
    letter-spacing: -0.01em;
}
.search-result-title mark,
.search-result-title .r2-search-hit {
    background: transparent;
    color: var(--r2-accent);
    font-weight: 800;
    padding: 0;
    border-radius: 0;
}
.search-result-meta { display: none !important; }
.search-result-item.is-enter {
    opacity: 0;
    transform: translateY(10px);
    animation: r2-result-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes r2-result-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide old liquid-nav remnants if any script injects */
#main-nav { display: none !important; }

@media (max-width: 1280px) {
    .r2-shell {
        grid-template-columns: var(--r2-rail) minmax(0, 1fr);
        padding-right: 0;
    }
    .r2-aside--top,
    .r2-aside--timeline,
    .r2-aside {
        grid-column: 2;
        position: static;
        max-height: none;
        overflow: visible;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        padding: 8px var(--r2-pad) 40px;
    }
    .r2-below {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        padding-left: var(--r2-pad);
        padding-right: var(--r2-pad);
    }
    .r2-aside > * + *,
    .r2-aside > .r2-meteo + .r2-fx-calc,
    .r2-aside > .r2-aside-ad,
    .r2-aside > .r2-aside-ad + * {
        margin-top: 0;
    }
    .r2-promo { grid-column: 1 / -1; }
    .r2-aside-ad { width: 100%; max-width: 300px; }
}
@media (max-width: 1100px) {
    :root { --r2-pad: 18px; }
    .r2-shell {
        grid-template-columns: 1fr;
        padding-left: max(var(--r2-pad), env(safe-area-inset-left, 0px));
        padding-right: max(var(--r2-pad), env(safe-area-inset-right, 0px));
        box-sizing: border-box;
        max-width: 100%;
    }
    .r2-rail-col {
        grid-column: 1;
        grid-row: 1;
        width: 0;
        height: 0;
        min-height: 0;
        overflow: visible;
        pointer-events: none;
        z-index: 1300;
    }
    .r2-main {
        grid-column: 1;
        grid-row: 1;
    }
    .r2-rail {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: min(var(--r2-rail), calc(100vw - 56px));
        height: 100%;
        max-height: 100dvh;
        transform: translate3d(-105%, 0, 0);
        transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
        background: #fff;
        box-shadow: 8px 0 32px rgba(17, 24, 39, 0.18);
        padding-top: max(20px, env(safe-area-inset-top));
        z-index: 1301;
        pointer-events: auto;
    }
    body.dark-mode .r2-rail {
        background: #1f2937;
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.45);
    }
    body.r2-nav-open .r2-rail,
    .r2-rail.is-open {
        transform: translate3d(0, 0, 0);
    }
    .r2-nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.46);
        z-index: 1290;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
    }
    body.r2-nav-open .r2-nav-overlay {
        display: block;
    }
    body.r2-nav-open {
        overflow: hidden;
    }
    #burger-toggle {
        position: relative;
        z-index: 1311;
    }
    .r2-burger-panel { display: none !important; }
    .r2-below { padding-left: 0; padding-right: 0; grid-template-columns: 1fr; width: auto; max-width: 100%; min-width: 0; }
    .r2-aside--top,
    .r2-aside--timeline,
    .r2-aside {
        display: grid;
        grid-template-columns: 1fr;
        padding: 8px 0 32px;
        width: auto;
        max-width: 100%;
        min-width: 0;
    }
    .r2-brandrow { display: none; }
    .r2-topbar { display: flex; }
    .r2-main { padding: 12px 0 24px; width: auto; max-width: 100%; min-width: 0; box-sizing: border-box; }
    .r2-aside {
        grid-column: 1;
        grid-template-columns: 1fr;
        padding: 0 0 40px;
    }
    .r2-hero-grid { grid-template-columns: 1fr; }
    .r2-lead { grid-template-columns: 1fr; }
    .r2-topic-grid,
    .r2-topic-layout { grid-template-columns: 1fr; }
    .r2-topic-page-grid { grid-template-columns: 1fr 1fr; }
    .r2-feed-item { grid-template-columns: minmax(0, 1fr); }
    .r2-feed-aside { display: none; }
    .r2-feed-meta { display: block; }

    /* Home: widget → articles → widget instead of a widget stack */
    .r2-shell--home .r2-aside--top,
    .r2-shell--home .r2-below,
    .r2-shell--home .r2-below-main,
    .r2-shell--home .r2-topics,
    .r2-shell--home .r2-aside--timeline {
        display: contents;
    }
    .r2-shell--home .r2-main {
        grid-row: auto;
        order: 10;
    }
    .r2-shell--home .r2-meteo { order: 20; }
    .r2-shell--home .r2-important { order: 30; }
    .r2-shell--home .r2-fx-calc { order: 40; }
    .r2-shell--home .r2-topic-block:nth-of-type(1),
    .r2-shell--home .r2-topic-page-head { order: 50; }
    .r2-shell--home .r2-topic-page-grid { order: 51; }
    .r2-shell--home #r2-popular { order: 60; }
    .r2-shell--home .r2-topic-block:nth-of-type(2) { order: 70; }
    .r2-shell--home .r2-aside-timeline { order: 80; }
    .r2-shell--home .r2-topic-block:nth-of-type(3) { order: 90; }
    .r2-shell--home .r2-cal { order: 100; }
    .r2-shell--home .r2-social-banner { order: 110; }
    .r2-shell--home .r2-topic-block:nth-of-type(n+4) { order: 120; }
    .r2-shell--home .r2-aside-ad { order: 130; }
    .r2-shell--home .r2-aside--top > * + *,
    .r2-shell--home .r2-aside--top > .r2-meteo + .r2-fx-calc,
    .r2-shell--home .r2-aside--top > .r2-fx-calc + #r2-popular,
    .r2-shell--home .r2-aside--top > .r2-fx-calc + .r2-widget,
    .r2-shell--home .r2-aside--timeline > * + *,
    .r2-shell--home .r2-aside--timeline > .r2-aside-timeline + .r2-cal {
        margin-top: 0;
    }
    .r2-shell--home .r2-meteo,
    .r2-shell--home .r2-fx-calc,
    .r2-shell--home #r2-popular,
    .r2-shell--home .r2-aside-timeline,
    .r2-shell--home .r2-cal,
    .r2-shell--home .r2-important,
    .r2-shell--home .r2-social-banner,
    .r2-shell--home .r2-topic-block,
    .r2-shell--home .r2-topic-page-head,
    .r2-shell--home .r2-topic-page-grid,
    .r2-shell--home .r2-aside-ad {
        margin-left: 0;
        margin-right: 0;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .r2-shell img,
    .r2-shell iframe,
    .r2-shell video,
    .r2-shell table,
    .article-content img,
    .article-content iframe,
    .article-content table,
    .adsense-unit,
    .adsense-sidebar,
    .adsense-media,
    .adsense-multiplex {
        max-width: 100%;
    }
    .r2-aside-ad,
    .r2-aside-ad .adsense-unit,
    .r2-aside-ad .adsense-sidebar {
        width: 100%;
        max-width: 300px;
    }
    .r2-aside-ad ins.adsbygoogle {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .r2-topic-page-grid { grid-template-columns: 1fr; }
    .r2-tabs-time { display: none; }
    .r2-topic-mid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

/* Inner pages (article2 / search2 / static *2) */
.r2-page-wrap { min-width: 0; }
.r2-page-card,
.r2-article-card {
    background: var(--r2-card);
    border-radius: var(--r2-radius);
    padding: clamp(20px, 3vw, 36px);
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}
.r2-article-card.r2-article-card--flat {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
body.dark-mode .r2-page-card,
body.dark-mode .r2-article-card {
    background: #353b4e;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
body.dark-mode .r2-article-card.r2-article-card--flat {
    background: transparent;
    box-shadow: none;
}
.r2-page-title,
.r2-article-card h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--r2-text);
}
.r2-page-intro {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--r2-muted);
    margin-bottom: 1.5rem;
}
.r2-page-prose h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.75rem 0 0.6rem;
    color: var(--r2-text);
}
.r2-page-prose p,
.r2-page-prose li {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 0.85rem;
}
body.dark-mode .r2-page-prose p,
body.dark-mode .r2-page-prose li,
body.dark-mode .r2-page-intro { color: #cbd5e1; }
.r2-page-prose ul { list-style: disc; padding-left: 1.35rem; margin-bottom: 1rem; }
.r2-page-prose a { color: #dc2626; text-decoration: underline; }
.r2-page-updated {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--r2-muted);
}
.r2-article-card .article-content,
.r2-article-card .article-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #1f2937;
}
body.dark-mode .r2-article-card .article-content,
body.dark-mode .r2-article-card .article-content p { color: #e5e7eb; }
.r2-article-card .article-content img {
    border-radius: 14px;
    max-width: 100%;
    height: auto;
}
.r2-footer {
    margin-top: 28px;
    padding: 20px var(--r2-pad) 40px;
}
.r2-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    justify-content: space-between;
    color: var(--r2-muted);
    font-size: 0.85rem;
}
.r2-footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.r2-footer-links a {
    color: var(--r2-muted);
    text-decoration: none;
    font-weight: 600;
}
.r2-footer-links a:hover { color: var(--r2-accent); }
.r2-search-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.r2-search-hit {
    display: block;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--r2-card);
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.15s ease;
}
.r2-search-hit:hover { transform: translateY(-1px); }
body.dark-mode .r2-search-hit { background: #353b4e; }
.r2-search-hit-title {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.r2-search-hit-meta {
    font-size: 0.8rem;
    color: var(--r2-muted);
}

/* —— Inner pages (article / search / static) —— */
.r2-page-card {
    background: var(--r2-card);
    border-radius: var(--r2-radius);
    padding: clamp(20px, 3vw, 36px);
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
    margin-bottom: 28px;
}
body.dark-mode .r2-page-card {
    background: var(--r2-card);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.r2-page-title {
    margin: 0 0 16px;
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--r2-text);
}
.r2-page-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--r2-muted);
    margin-bottom: 24px;
}
.r2-page-prose h2 {
    font-size: 1.25rem;
    font-weight: 750;
    margin: 1.75rem 0 0.65rem;
    color: var(--r2-text);
}
.r2-page-prose p,
.r2-page-prose li {
    line-height: 1.7;
    color: #374151;
    margin-bottom: 0.85rem;
}
body.dark-mode .r2-page-prose p,
body.dark-mode .r2-page-prose li {
    color: #cbd5e1;
}
.r2-page-prose ul {
    list-style: disc;
    padding-left: 1.35rem;
    margin-bottom: 1rem;
}
.r2-page-prose a {
    color: #dc2626;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.r2-page-updated {
    margin-top: 2rem;
    font-size: 0.78rem;
    color: var(--r2-muted);
}

.r2-article-card {
    background: var(--r2-card);
    border-radius: var(--r2-radius);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
    margin-bottom: 28px;
}
.r2-article-card--flat {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    margin-bottom: 12px;
}
.r2-article-card--flat .r2-article-inner {
    padding: 0;
}
body.dark-mode .r2-article-card {
    background: #353b4e;
}
body.dark-mode .r2-article-card--flat {
    background: transparent;
}
.r2-article-inner {
    padding: clamp(20px, 3vw, 40px);
}
.r2-article-title {
    margin: 0 0 14px;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--r2-text);
}
body.dark-mode .r2-article-title { color: #f1f5f9; }
.r2-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--r2-muted);
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--r2-hairline);
}
.r2-article-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #1f2937;
}
body.dark-mode .r2-article-content { color: #e2e8f0; }
.r2-article-content p { margin: 0 0 1.1rem; }
.r2-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1rem 0;
}
.r2-article-content a { color: #dc2626; }
.r2-article-content h2,
.r2-article-content h3 {
    font-weight: 750;
    margin: 1.6rem 0 0.7rem;
    letter-spacing: -0.02em;
}
.r2-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.r2-result-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border-radius: 16px;
    background: var(--r2-card);
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.15s ease;
}
.r2-result-item:hover { transform: translateY(-1px); }
body.dark-mode .r2-result-item { background: #353b4e; }
.r2-result-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    background: #e5e7eb;
}
.r2-result-title {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.35;
    color: var(--r2-text);
}
body.dark-mode .r2-result-title { color: #f1f5f9; }
.r2-result-meta {
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--r2-muted);
}
@media (max-width: 640px) {
    .r2-result-item { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
    .r2-result-item img { width: 88px; height: 64px; }
}

.r2-empty {
    padding: 36px 20px;
    text-align: center;
    color: var(--r2-muted);
    font-size: 1.05rem;
}
.r2-result-ph {
    display: block;
    width: 120px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(220,38,38,0.08));
}
.r2-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.r2-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--r2-card);
    color: var(--r2-text);
    text-decoration: none !important;
    font-weight: 700;
}
.r2-page-btn.is-active {
    background: #dc2626;
    color: #fff;
}
body.dark-mode .r2-page-btn { background: #353b4e; color: #e2e8f0; }
body.dark-mode .r2-page-btn.is-active { background: #dc2626; color: #fff; }

.r2-author-head {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
}
.r2-author-head img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(220,38,38,0.25);
}
.r2-author-role {
    margin: 4px 0 0;
    color: #dc2626;
    font-weight: 650;
    font-size: 0.92rem;
}
.r2-author-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.r2-author-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--r2-hairline);
}
.r2-author-list a {
    color: var(--r2-text);
    text-decoration: none !important;
    font-weight: 650;
}
.r2-author-list a:hover { color: #dc2626; }
.r2-author-list time {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--r2-muted);
}
@media (max-width: 640px) {
    .r2-result-ph { width: 88px; height: 64px; }
}

.r2-search-panel {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.35);
}
body.dark-mode .r2-search-panel {
    background: rgba(53,59,78,0.55);
}
.r2-search-advanced label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--r2-muted);
    margin-bottom: 6px;
}
.r2-search-advanced input[type="text"],
.r2-search-advanced input[type="date"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(17,24,39,0.1);
    background: #fff;
    color: var(--r2-text);
    font: inherit;
}
body.dark-mode .r2-search-advanced input[type="text"],
body.dark-mode .r2-search-advanced input[type="date"] {
    background: #2a3142;
    border-color: rgba(255,255,255,0.08);
    color: #e2e8f0;
}
.r2-search-advanced button[type="submit"] {
    width: 100%;
    margin-top: 8px;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: #dc2626;
    color: #fff;
    font-weight: 750;
    cursor: pointer;
}
.r2-search-advanced button[type="submit"]:hover { filter: brightness(1.05); }

.r2-timeline-card {
    margin: 0;
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
}
.r2-article-body {
    background: transparent;
}
.r2-article-card .bg-white {
    background: transparent;
}
body.dark-mode .r2-article-card .text-gray-900 { color: #f1f5f9; }
body.dark-mode .r2-article-card .text-gray-800 { color: #e2e8f0; }
body.dark-mode .r2-article-card .text-gray-600,
body.dark-mode .r2-article-card .text-gray-500 { color: #94a3b8; }
body.dark-mode .r2-article-card .border-gray-200 { border-color: rgba(255,255,255,0.08); }
body.dark-mode .r2-article-card .bg-gray-50 { background: rgba(255,255,255,0.04); }

.r2-about-body {
    /* content sits inside .r2-page-card already */
}
.r2-about-body h2,
.r2-about-body h3 {
    font-weight: 750;
    letter-spacing: -0.02em;
    margin: 1.5rem 0 0.65rem;
}


/* Inner-page article stack (article2) */
.r2-article-stack { min-width: 0; }
.r2-article-primary { min-width: 0; }
.r2-article-card { margin-top: 0; }
.r2-article-inner { padding: 0; }
.r2-article-main { min-width: 0; }
.r2-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.r2-related-card {
    display: block;
    background: var(--r2-surface, #fff);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 0 rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.05);
    transition: transform .18s ease, box-shadow .18s ease;
}
.r2-related-card:hover { transform: translateY(-2px); }
body.dark-mode .r2-related-card { background: #353b4e; }
.r2-related-card img,
.r2-related-card .relative { width: 100%; }
.r2-related-card .relative { height: 140px; overflow: hidden; }
.r2-related-card .relative img { width: 100%; height: 100%; object-fit: cover; }
.r2-related-card .p-4 { padding: 12px 14px; }
.r2-section-title {
    font-size: 0.9rem;
    font-weight: 750;
    color: #2563eb;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 14px;
}
body.dark-mode .r2-section-title { color: #93c5fd; }
.r2-carousel-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}
.r2-carousel-row .r2-important-card { flex: 0 0 240px; }

/* ---- Article after-blocks ---- */
.r2-after {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.r2-after-block {
    border-top: 1px solid var(--r2-line, #e5e7eb);
    padding-top: 16px;
}
body.dark-mode .r2-after-block { border-top-color: rgba(255,255,255,0.08); }
.r2-after-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.r2-after-head h2 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--r2-muted, #6b7280);
}
.r2-after-head h2 a {
    color: #dc2626;
    text-decoration: none;
}
.r2-after-head h2 a:hover { text-decoration: underline; }
.r2-after-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.r2-after-list li + li { border-top: 1px solid rgba(15,23,42,0.06); }
body.dark-mode .r2-after-list li + li { border-top-color: rgba(255,255,255,0.06); }
.r2-after-list a {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 2px;
    text-decoration: none;
    color: inherit;
}
.r2-after-list--text a {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 16px;
}
.r2-after-thumb {
    display: block;
    width: 72px;
    height: 54px;
    border-radius: 10px;
    overflow: hidden;
    background: #e5e7eb;
}
.r2-after-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.r2-after-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.r2-after-title {
    font-size: 0.98rem;
    font-weight: 650;
    line-height: 1.35;
    color: var(--r2-text, #111827);
}
.r2-after-list a:hover .r2-after-title { color: #dc2626; }
.r2-after-meta {
    font-size: 0.78rem;
    color: var(--r2-muted, #6b7280);
    white-space: nowrap;
}
.r2-after-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 14px 0 4px;
    border-top: 1px solid var(--r2-line, #e5e7eb);
}
body.dark-mode .r2-after-social { border-top-color: rgba(255,255,255,0.08); }
.r2-after-social-label {
    font-size: 0.88rem;
    font-weight: 650;
    color: var(--r2-text, #111827);
}
.r2-after-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.r2-after-social-links a {
    font-size: 0.88rem;
    font-weight: 650;
    color: #dc2626;
    text-decoration: none;
}
.r2-after-social-links a:hover { text-decoration: underline; }

/* In-article gallery */
.r2-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.r2-gallery-item {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    display: block;
}
.r2-gallery-item img { width: 100%; height: auto; display: block; }


/* Theme/lang prefs in left rail (static) */
.r2-prefs--rail {
    margin-top: 28px;
    padding: 16px 10px 12px;
    box-shadow: none;
    background: transparent;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0;
}
body.dark-mode .r2-prefs--rail {
    border-top-color: rgba(255, 255, 255, 0.08);
    background: transparent;
    box-shadow: none;
}
.r2-prefs--rail .r2-prefs-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Right-aside news timeline */
.r2-aside-timeline {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 16px;
    background: var(--r2-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--r2-radius, 18px);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}
body.dark-mode .r2-aside-timeline {
    background: var(--r2-card);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.r2-aside-timeline .r2-widget-title {
    margin: 0 0 12px;
    flex-shrink: 0;
}
.r2-aside-timeline-scroll {
    overflow: visible;
    flex: 1;
    min-height: 0;
    padding-right: 0;
}
.r2-aside-timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.r2-aside-timeline-list li + li {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
body.dark-mode .r2-aside-timeline-list li + li {
    border-top-color: rgba(255, 255, 255, 0.06);
}
.r2-aside-timeline-list a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 2px;
    text-decoration: none;
    color: inherit;
}
.r2-aside-timeline-time {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--r2-muted, #6b7280);
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.r2-aside-timeline-day {
    font-weight: 650;
    opacity: 0.85;
}
.r2-aside-timeline-title {
    font-size: 0.92rem;
    line-height: 1.4;
    font-weight: 500;
    color: var(--r2-text, #111827);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.r2-aside-timeline-list a:hover .r2-aside-timeline-title { color: #dc2626; }
.r2-aside-timeline-empty {
    margin: 0;
    font-size: 0.85rem;
    color: var(--r2-muted, #6b7280);
}

.r2-after-excerpt {
    display: block;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--r2-muted, #4b5563);
    margin-top: 2px;
}
.r2-after-list--text a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    grid-template-columns: none;
}
.r2-after-list--text .r2-after-meta {
    white-space: normal;
}
.r2-article-card .article-content > p:first-child {
    margin-top: 0;
}
.r2-after > .r2-important,
.r2-after > .r2-social-banner {
    margin-bottom: 8px;
}

/* More from topic — clean continuing-read cards */
.r2-more-topic-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.r2-more-topic-list li + li {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
body.dark-mode .r2-more-topic-list li + li {
    border-top-color: rgba(255, 255, 255, 0.06);
}
.r2-more-topic-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 2px;
    text-decoration: none;
    color: inherit;
}
.r2-more-topic-thumb {
    display: block;
    width: 96px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #e5e7eb;
    flex-shrink: 0;
}
body.dark-mode .r2-more-topic-thumb { background: #1f2937; }
.r2-more-topic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.r2-more-topic-thumb--empty {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}
body.dark-mode .r2-more-topic-thumb--empty {
    background: linear-gradient(135deg, #3f1d1d, #7f1d1d);
}
.r2-more-topic-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.r2-more-topic-title {
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
    color: var(--r2-text, #111827);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.r2-more-topic-card:hover .r2-more-topic-title { color: #dc2626; }
.r2-more-topic-excerpt {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--r2-muted, #4b5563);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.r2-more-topic-date {
    font-size: 0.78rem;
    color: var(--r2-muted, #6b7280);
    margin-top: 2px;
}
@media (max-width: 640px) {
    .r2-more-topic-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 0;
    }
    .r2-more-topic-thumb {
        width: 72px;
        height: 54px;
        border-radius: 8px;
    }
}

/* Left rail news feed */
.r2-rail-feed {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(15,23,42,0.08);
    min-width: 0;
}
body.dark-mode .r2-rail-feed { border-top-color: rgba(255,255,255,0.08); }
.r2-rail-feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.r2-rail-feed-list a {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 0.78rem;
    line-height: 1.3;
}
.r2-rail-feed-list time {
    color: var(--r2-muted, #6b7280);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.r2-rail-feed-list span {
    color: var(--r2-text, #111827);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.r2-rail-feed-list a:hover span { color: #dc2626; }

/* Right aside latest */
.r2-aside-latest {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.r2-aside-latest a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 0.86rem;
    line-height: 1.35;
}
.r2-aside-latest time {
    color: var(--r2-muted, #6b7280);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.r2-aside-latest span {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.r2-aside-latest a:hover span { color: #dc2626; }

@media (max-width: 1100px) {
    .r2-rail-feed { display: none; }
}

/* Article2 desktop: Share → Важно сейчас. Beats .r2-shell gap + .r2-important margin-top. */
@media (min-width: 1101px) {
    .r2-shell.r2-shell--article {
        gap: 14px clamp(20px, 2.5vw, 36px) !important;
    }
    .r2-shell.r2-shell--article > .r2-main {
        padding-bottom: 13px !important;
    }
    .r2-shell.r2-shell--article .r2-article-card,
    .r2-shell.r2-shell--article .r2-article-card--flat {
        margin-bottom: 5px !important;
    }
    .r2-shell.r2-shell--article .r2-after {
        margin-top: 11px !important;
    }
    .r2-shell.r2-shell--article .r2-important,
    .r2-shell.r2-shell--article .r2-after .r2-important {
        margin-top: 11px !important;
    }
}
