:root {
    color-scheme: dark;
    --bg: #070709;
    --card: rgba(24, 24, 29, 0.86);
    --text: #f4f2f4;
    --muted: rgba(255, 255, 255, 0.62);
    --border: rgba(255, 255, 255, 0.1);
    --accent: #ff3945;
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: Inter, system-ui, sans-serif;
    background:
        radial-gradient(circle at 85% 0%, rgba(255, 57, 69, 0.18), transparent 35rem),
        radial-gradient(circle at 0% 55%, rgba(255, 57, 69, 0.07), transparent 28rem),
        var(--bg);
}

.info-page { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 64px; }
.info-topbar, .info-topbar-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.info-back, .info-brand { color: var(--text); font-weight: 800; text-decoration: none; }
.info-back { padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.04); transition: transform .16s ease, border-color .16s ease; }
.info-back:hover { transform: translateY(-1px); border-color: rgba(255,57,69,.45); }
.info-brand { color: var(--accent); }
.page-language { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .75rem; font-weight: 800; }
.page-language-caption { color: rgba(255,255,255,.48); letter-spacing: .04em; }
.native-language-select { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.custom-language-menu { position: relative; }
.custom-language-button { display: inline-flex; align-items: center; gap: 9px; min-width: 148px; min-height: 42px; padding: 8px 12px; color: var(--text); font: inherit; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035)); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.custom-language-button:hover, .custom-language-button[aria-expanded="true"] { transform: translateY(-1px); border-color: rgba(255,57,69,.55); background: rgba(255,57,69,.1); }
.custom-language-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.7; }
.custom-language-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.custom-language-chevron { width: 8px; height: 8px; flex: 0 0 auto; border-right: 2px solid rgba(255,255,255,.65); border-bottom: 2px solid rgba(255,255,255,.65); transform: rotate(45deg) translateY(-2px); transition: transform .16s ease; }
.custom-language-button[aria-expanded="true"] .custom-language-chevron { transform: rotate(225deg) translate(-1px, -1px); }
.custom-language-options { position: absolute; z-index: 40; top: calc(100% + 8px); right: 0; display: none; min-width: 190px; padding: 7px; border: 1px solid rgba(255,57,69,.3); border-radius: 16px; background: #151519; box-shadow: 0 22px 52px rgba(0,0,0,.5); }
.custom-language-options.is-open { display: grid; gap: 2px; }
.custom-language-option { width: 100%; padding: 9px 11px; color: rgba(255,255,255,.78); text-align: left; font: inherit; font-size: .8rem; font-weight: 700; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.custom-language-option:hover, .custom-language-option:focus-visible { color: #fff; background: rgba(255,57,69,.15); outline: none; }
.custom-language-option.is-selected { color: #fff; background: linear-gradient(135deg, var(--accent), #b71828); }
.info-hero { max-width: 760px; padding: 72px 0 30px; }
.info-kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 900; }
h1 { margin: 12px 0; font-size: clamp(2.4rem, 7vw, 5rem); line-height: .98; letter-spacing: -.06em; }
.info-hero p { margin: 0; max-width: 650px; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.info-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(180px, .85fr); gap: 20px; align-items: end; margin: 0 0 24px; padding: 26px; border: 1px solid rgba(255,57,69,.28); border-radius: 26px; background: linear-gradient(115deg, rgba(255,57,69,.17), rgba(255,255,255,.045)); box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.info-featured h2 { margin: 9px 0; max-width: 760px; font-size: clamp(1.55rem, 4vw, 2.5rem); line-height: 1.06; letter-spacing: -.045em; }
.info-featured p { margin: 0; max-width: 720px; color: var(--muted); line-height: 1.6; }
.info-featured-action { justify-self: end; color: white; border: 1px solid rgba(255,57,69,.45); border-radius: 13px; padding: 11px 14px; background: rgba(255,57,69,.12); font: inherit; font-weight: 800; cursor: pointer; transition: transform .16s ease, background .16s ease; }
.info-featured-action:hover { transform: translateY(-1px); background: rgba(255,57,69,.22); }
.info-browse { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 34px 0 14px; }
.info-browse-heading h2 { margin: 5px 0 0; font-size: 1.5rem; letter-spacing: -.04em; }
.info-results-count { flex: 0 0 auto; color: var(--muted); font-size: .8rem; font-weight: 800; }
.info-search { display: grid; gap: 7px; min-width: min(100%, 340px); color: var(--muted); font-size: .78rem; font-weight: 800; }
.info-search input { width: 100%; color: var(--text); font: inherit; background: rgba(255,255,255,.045); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; outline: none; }
.info-search input:focus { border-color: rgba(255,57,69,.55); box-shadow: 0 0 0 3px rgba(255,57,69,.1); }
.info-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0; }
.info-filters button { color: var(--muted); font: inherit; font-weight: 800; border: 1px solid var(--border); border-radius: 999px; padding: 9px 13px; background: rgba(255,255,255,.035); cursor: pointer; transition: color .16s ease, background .16s ease, border-color .16s ease; }
.info-filters button.is-active { color: white; background: linear-gradient(135deg, var(--accent), #bf1829); border-color: rgba(255,57,69,.55); }
.info-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-card, .info-reader, .info-empty { border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.02)); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.info-card { display: grid; gap: 12px; width: 100%; padding: 20px; color: inherit; text-align: left; font: inherit; cursor: pointer; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.info-card:hover { transform: translateY(-3px); border-color: rgba(255,57,69,.38); }
.info-card:focus-visible, .info-featured-action:focus-visible, .info-reader-close:focus-visible { outline: 3px solid rgba(255,57,69,.58); outline-offset: 3px; }
.info-card h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.info-card p, .info-card time { margin: 0; color: var(--muted); line-height: 1.55; }
.info-category { color: #ffb9bf; font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.info-reader { position: relative; margin: 20px 0; padding: 30px; border-color: rgba(255,57,69,.25); }
.info-reader h2 { margin: 0 0 10px; font-size: clamp(1.65rem, 4vw, 2.6rem); }
.info-reader-meta { color: var(--muted); font-size: .84rem; }
.info-reader-content { margin-top: 22px; white-space: pre-wrap; color: rgba(255,255,255,.86); line-height: 1.75; }
.info-reader-close { margin-top: 22px; color: white; border: 1px solid rgba(255,57,69,.42); border-radius: 12px; padding: 10px 14px; background: rgba(255,57,69,.1); font: inherit; font-weight: 800; cursor: pointer; }
.info-empty { grid-column: 1 / -1; padding: 38px; color: var(--muted); text-align: center; }
.is-hidden { display: none !important; }

@media (max-width: 800px) {
    .info-articles { grid-template-columns: 1fr; }
    .info-hero { padding-top: 52px; }
    .info-topbar { align-items: flex-start; }
    .info-topbar-actions { flex-direction: column-reverse; align-items: flex-end; gap: 8px; }
    .page-language { width: 100%; justify-content: space-between; }
    .custom-language-menu, .custom-language-button { width: min(100%, 220px); }
    .info-featured, .info-browse { grid-template-columns: 1fr; display: grid; }
    .info-featured-action { justify-self: start; }
    .info-search { min-width: 0; }
}
