: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%);
    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;
}

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

.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-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;
}

.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;
}

.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-card ul,
.side-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

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

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

.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);
}

.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;
}

.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__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__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;
}

.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 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;
}

.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;
}

.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: 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-image-wrap img {
        max-height: 320px;
    }

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

    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);
    }

    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;
    }

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

    .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;
    }

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

    .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 .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;
    }
}
