:root {
  --accent: #e31b23;
  --ink: #15171a;
  --ink-2: #24272c;
  --paper: #ffffff;
  --soft: #f3f5f7;
  --soft-2: #e8ebef;
  --muted: #667085;
  --line: #dde1e6;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(21, 23, 26, 0.08);
  --container: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.theme-dark {
  --ink: #f4f5f7;
  --ink-2: #e3e5e8;
  --paper: #111315;
  --soft: #1b1e22;
  --soft-2: #292d32;
  --muted: #a3aab4;
  --line: #30343a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

body.menu-open,
body.search-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 50%, transparent); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.site-main { min-height: 60vh; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  top: 12px; left: 12px; z-index: 9999; width: auto; height: auto;
  padding: 12px 16px; clip: auto; background: var(--paper); color: var(--ink);
}

.utility-bar { background: var(--ink); color: var(--paper); font-size: 12px; }
body.theme-dark .utility-bar { background: #08090a; color: #fff; }
.utility-bar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-bar__date { display: flex; align-items: center; gap: 9px; opacity: 0.85; text-transform: capitalize; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(227, 27, 35, 0.18); }
.utility-nav__menu { display: flex; list-style: none; padding: 0; margin: 0; gap: 20px; }
.utility-nav a { color: inherit; opacity: 0.75; }
.utility-nav a:hover { opacity: 1; }

.site-header { position: relative; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__main { min-height: 112px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-branding { text-align: center; }
.custom-logo-link { display: inline-block; }
.custom-logo { max-height: 68px; width: auto; }
.wordmark { display: inline-flex; align-items: baseline; color: var(--ink); font-weight: 900; font-size: clamp(25px, 3vw, 39px); letter-spacing: -0.06em; line-height: 1; }
.wordmark:hover { color: var(--ink); }
.wordmark__news { padding: 0.16em 0.18em 0.11em; background: var(--accent); color: #fff; letter-spacing: -0.04em; }
.wordmark__almaty { margin-left: 0.11em; }
.wordmark__kz { color: var(--accent); font-size: 0.5em; letter-spacing: -0.02em; }
.site-description { margin: 8px 0 0; color: var(--muted); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.header-actions { justify-self: end; display: flex; gap: 8px; }
.language-switcher { display: flex; align-items: center; margin-right: 4px; }
.language-switcher ul { display: flex; align-items: center; gap: 2px; padding: 0; margin: 0; list-style: none; }
.language-switcher a { min-width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: 0.04em; }
.language-switcher a:hover, .language-switcher a.is-current { background: var(--soft); color: var(--accent); }
.language-switcher--translatepress .trp-language-switcher { width: auto; }
.language-switcher--translatepress .trp-ls-shortcode-current-language,
.language-switcher--translatepress .trp-ls-shortcode-language { width: auto !important; background: var(--paper); border-color: var(--line); }
.icon-button { width: 43px; height: 43px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: 0.2s ease; }
.icon-button:hover { border-color: var(--accent); color: var(--accent); }
.menu-toggle { justify-self: start; display: none; }
.icon-button__bars { display: grid; gap: 4px; }
.icon-button__bars i { width: 18px; height: 2px; background: currentColor; display: block; transition: 0.2s ease; }
.search-icon { width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; width: 7px; height: 2px; background: currentColor; position: absolute; right: -5px; bottom: -2px; transform: rotate(45deg); }
.theme-toggle__icon { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); box-shadow: inset -6px -4px 0 var(--paper); }

.primary-nav-wrap { border-top: 1px solid var(--line); }
.primary-nav__menu, .menu--fallback { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 5px 30px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { display: block; padding: 15px 0 14px; font-size: 13px; font-weight: 750; letter-spacing: 0.045em; text-transform: uppercase; border-bottom: 3px solid transparent; }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu { display: none; position: absolute; left: -18px; top: 100%; min-width: 210px; padding: 8px; margin: 0; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.primary-nav .menu-item-has-children:hover > .sub-menu, .primary-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { padding: 9px 10px; border: 0; border-radius: 4px; text-transform: none; letter-spacing: 0; }
.primary-nav .sub-menu a:hover { background: var(--soft); }

.header-search { background: var(--soft); border-top: 1px solid var(--line); }
.header-search__inner { padding-block: 24px; }
.search-form { display: flex; gap: 10px; width: 100%; }
.search-form__label { flex: 1; }
.search-form__field { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); outline: 0; }
.search-form__field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.button, .search-form__submit { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #fff; font-weight: 750; cursor: pointer; }
.button:hover, .search-form__submit:hover { background: color-mix(in srgb, var(--accent) 86%, #000); color: #fff; }

.ticker { background: var(--soft); border-bottom: 1px solid var(--line); }
.ticker__inner { min-height: 45px; display: flex; align-items: center; overflow: hidden; }
.ticker__label { flex: none; align-self: stretch; display: flex; align-items: center; padding: 0 18px; margin-left: -18px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.08em; }
.ticker__link { min-width: 0; padding-left: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 650; }
.ticker__link time { margin-right: 12px; color: var(--accent); font-weight: 850; }

.home-page { padding-block: 32px 80px; }
.ad-zone { margin-bottom: 28px; padding: 10px; background: var(--soft); border: 1px dashed var(--line); text-align: center; color: var(--muted); font-size: 12px; }
.ad-zone > .widget { margin: 0; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(350px, 1fr); gap: 20px; }
.hero-story { min-height: 515px; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.hero-story__media, .hero-story__media .card-image { width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.88) 100%); }
.card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hero-story:hover .card-image, .news-card:hover .card-image { transform: scale(1.025); }
.card-image--placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #2b2e33, #0e0f11); color: rgba(255,255,255,0.15); font-size: clamp(64px, 10vw, 150px); font-weight: 900; letter-spacing: -0.08em; }
.hero-story__overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 34px; color: #fff; }
.hero-story__title { max-width: 850px; margin: 12px 0 14px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -0.045em; }
.hero-story__title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.eyebrow { display: inline-flex; align-items: center; color: var(--accent); font-size: 11px; line-height: 1; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-story .eyebrow { padding: 7px 9px; border-radius: 4px; background: var(--accent); color: #fff; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); font-size: 12px; }
.post-meta--light { color: rgba(255,255,255,0.72); }
.post-meta__item + .post-meta__item { position: relative; }
.post-meta__item + .post-meta__item::before { content: ""; width: 3px; height: 3px; position: absolute; left: -10px; top: 50%; border-radius: 50%; background: currentColor; }

.hero-grid__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.news-card { min-width: 0; }
.news-card__media { aspect-ratio: 16 / 10; display: block; overflow: hidden; border-radius: 8px; background: var(--soft); }
.news-card__body { padding-top: 13px; }
.news-card__title { margin: 7px 0 10px; font-size: 19px; line-height: 1.25; letter-spacing: -0.025em; }
.news-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.news-card--hero-side .news-card__title { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

.home-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 56px; margin-top: 64px; }
.section-heading { min-height: 48px; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 3px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1; letter-spacing: -0.04em; }
.section-heading > a { flex: none; color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; }
.section-heading > a:hover { color: var(--accent); }
.section-heading__kicker { display: block; margin-bottom: 5px; color: var(--accent); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.12em; }
.news-list-item { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 20px; padding-block: 21px; border-bottom: 1px solid var(--line); }
.news-list-item:first-child { padding-top: 0; }
.news-list-item__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 7px; background: var(--soft); }
.news-list-item__title { margin: 6px 0 8px; font-size: clamp(19px, 2vw, 24px); line-height: 1.2; letter-spacing: -0.03em; }
.news-list-item__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.news-list-item__excerpt { margin: 0 0 10px; color: var(--muted); font-size: 14px; }

.home-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.sidebar-panel--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
body.theme-dark .sidebar-panel--dark { background: #08090a; color: #fff; }
.sidebar-search-panel { padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.sidebar-search-panel h2 { margin: 0 0 13px; font-size: 21px; line-height: 1.1; letter-spacing: -0.025em; }
.sidebar-search-panel .search-form { gap: 8px; }
.sidebar-search-panel .search-form__field { min-height: 44px; padding-inline: 13px; background: var(--paper); font-size: 13px; }
.sidebar-search-panel .search-form__submit { min-height: 44px; padding-inline: 14px; font-size: 13px; }
.section-heading--compact { margin-bottom: 6px; border-bottom-color: var(--accent); }
.section-heading--compact h2 { font-size: 25px; }
.headline-list { padding: 0; margin: 0; list-style: none; counter-reset: headlines; }
.headline-list li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.headline-list li:last-child { border-bottom: 0; }
.headline-list time { color: var(--accent); font-size: 12px; font-weight: 850; }
.headline-list a { font-size: 15px; line-height: 1.35; font-weight: 700; }
.headline-list a:hover { color: #fff; text-decoration: underline; }
.channel-card { padding: 28px; overflow: hidden; position: relative; border-radius: var(--radius); background: var(--accent); color: #fff; }
.channel-card::after { content: "NA"; position: absolute; right: -15px; bottom: -38px; color: rgba(255,255,255,0.11); font-size: 115px; font-weight: 900; letter-spacing: -0.1em; }
.channel-card > * { position: relative; z-index: 1; }
.channel-card__eyebrow { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.11em; opacity: 0.75; }
.channel-card h2 { margin: 8px 0; font-size: 27px; line-height: 1.1; letter-spacing: -0.04em; }
.channel-card p { margin: 0 0 22px; font-size: 14px; opacity: 0.85; }
.button--light { background: #fff; border-color: #fff; color: #141619; }
.button--light:hover { background: #141619; border-color: #141619; color: #fff; }
.widget { margin-bottom: 24px; }
.widget__title, .widget-title { padding-bottom: 10px; margin: 0 0 14px; border-bottom: 2px solid var(--ink); font-size: 20px; }
.widget ul { padding-left: 18px; }

.ad-zone--mid { margin: 58px 0; }
.category-showcases { display: grid; gap: 76px; margin-top: 72px; }
.category-showcase { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 14px 42px rgba(21, 23, 26, 0.045); }
.category-showcase:nth-child(even) { background: var(--soft); }
.category-showcase__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 2px solid var(--ink); }
.category-showcase__header h2 { margin: 0; font-size: clamp(28px, 4vw, 38px); line-height: 1; letter-spacing: -0.045em; }
.category-showcase__header > a { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.06em; }
.category-showcase__header > a span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; }
.category-showcase__layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 30px; }
.category-showcase-lead { min-width: 0; padding-right: 30px; border-right: 1px solid var(--line); }
.category-showcase-lead__media { aspect-ratio: 16 / 9; display: block; overflow: hidden; border-radius: 8px; background: var(--soft); }
.category-showcase-lead__media img, .category-showcase-card__media img, .category-showcase-lead__media .card-image, .category-showcase-card__media .card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.category-showcase-lead:hover .category-showcase-lead__media img, .category-showcase-card:hover .category-showcase-card__media img { transform: scale(1.025); }
.category-showcase-lead > h3 { margin: 12px 0 11px; font-size: clamp(27px, 3.2vw, 38px); line-height: 1.04; letter-spacing: -0.045em; }
.category-showcase-lead > h3 a:hover, .category-showcase-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.category-showcase-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 11px; }
.category-showcase-meta__views { display: inline-flex; align-items: center; gap: 6px; }
.category-showcase-meta__views i { width: 14px; height: 9px; display: inline-block; position: relative; border: 1.5px solid currentColor; border-radius: 50% / 60%; }
.category-showcase-meta__views i::after { content: ""; width: 4px; height: 4px; position: absolute; left: 50%; top: 50%; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); }
.category-showcase-telegram { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; margin-top: 28px; border-radius: 7px; background: color-mix(in srgb, #2787f5 10%, var(--paper)); }
.category-showcase-telegram > div { display: grid; gap: 2px; }
.category-showcase-telegram strong { font-size: 13px; }
.category-showcase-telegram span { color: var(--muted); font-size: 11px; }
.category-showcase-telegram > a { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; padding: 0 18px; border-radius: 5px; background: #2787f5; color: #fff; font-size: 12px; font-weight: 800; }
.category-showcase-telegram > a:hover { background: #176fda; color: #fff; }
.category-showcase-telegram > a span { color: inherit; font-size: 16px; }
.category-showcase__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.category-showcase-card { min-width: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.category-showcase-card__media { aspect-ratio: 16 / 9; display: block; overflow: hidden; border-radius: 6px; background: var(--soft); }
.category-showcase-card h3 { margin: 8px 0 11px; font-size: 16px; line-height: 1.25; letter-spacing: -0.02em; }

.breadcrumbs { display: flex; gap: 8px; padding-top: 26px; overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.archive-page, .search-page { padding-bottom: 80px; }
.archive-header { max-width: 850px; padding: 52px 0 35px; }
.archive-header h1 { margin: 0; font-size: clamp(38px, 6vw, 66px); line-height: 1; letter-spacing: -0.055em; }
.archive-header p, .archive-description { max-width: 650px; margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.archive-header .search-form { margin-top: 24px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 24px; padding-top: 28px; border-top: 3px solid var(--ink); }
.navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; justify-content: center; gap: 7px; }
.page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; font-weight: 700; }
.page-numbers.current, .page-numbers:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.article-shell { padding-bottom: 80px; }
.reading-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 3px; pointer-events: none; }
.reading-progress__bar { width: 100%; height: 100%; display: block; background: var(--accent); transform: scaleX(0); transform-origin: left center; will-change: transform; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding-top: 42px; }
.article-main-column { min-width: 0; }
.article__header { margin-bottom: 30px; }
.article__title { margin: 12px 0 20px; font-size: clamp(40px, 6vw, 70px); line-height: 1.02; letter-spacing: -0.055em; }
.article__lead { max-width: 720px; color: var(--muted); font-size: clamp(19px, 2.5vw, 24px); line-height: 1.42; }
.article__lead p { margin: 0 0 20px; }
.article__meta { padding-top: 18px; border-top: 1px solid var(--line); }
.post-meta__author a { font-weight: 750; color: var(--ink); }
.article__hero { margin: 0 0 34px; }
.article__hero img { width: 100%; border-radius: var(--radius); }
.article__hero figcaption { padding-top: 8px; color: var(--muted); font-size: 12px; }
.article__views { display: inline-flex; align-items: center; gap: 6px; }
.article__views i, .popular-list__views i { width: 15px; height: 10px; display: inline-block; position: relative; border: 1.5px solid currentColor; border-radius: 50% / 60%; }
.article__views i::after, .popular-list__views i::after { content: ""; width: 4px; height: 4px; position: absolute; left: 50%; top: 50%; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); }
.article-share { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; margin: 0 0 34px; border-left: 4px solid var(--accent); border-radius: 0 7px 7px 0; background: var(--soft); }
.article-share__label { display: grid; gap: 2px; }
.article-share__label strong { font-size: 13px; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; }
.article-share__label span { color: var(--muted); font-size: 12px; }
.article-share__buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.share-service { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 11px; font-weight: 900; line-height: 1; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.share-service:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 5px 14px rgba(21,23,26,0.2); }
.share-service--facebook { background: #1877f2; font-size: 18px; }
.share-service--vk { background: #2787f5; }
.share-service--x { background: #111; font-size: 13px; }
.share-service--whatsapp { background: #25d366; font-size: 9px; }
.share-service--telegram { background: #28a8e9; font-size: 9px; }
.share-service--copy { background: var(--muted); font-size: 17px; }
.entry-content { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.72; }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide { max-width: 1050px; margin-left: 50%; transform: translateX(-50%); width: min(1050px, calc(100vw - 40px)); }
.entry-content > .alignfull { max-width: none; margin-left: 50%; transform: translateX(-50%); width: 100vw; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.7em 0 0.55em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.16; letter-spacing: -0.035em; }
.entry-content h2 { font-size: 34px; }
.entry-content h3 { font-size: 27px; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 34px 0; padding: 10px 0 10px 28px; border-left: 5px solid var(--accent); font-size: 25px; font-weight: 650; line-height: 1.4; }
.entry-content blockquote p { margin: 0; }
.entry-content img { border-radius: 7px; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 15px; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; }
.article__footer { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }
.tag-list { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 25px; font-size: 13px; }
.tag-list > span { font-weight: 800; }
.tag-list a { padding: 6px 10px; border-radius: 4px; background: var(--soft); }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.share-row > span { margin-right: 8px; font-size: 13px; font-weight: 800; }
.share-row a, .share-copy { padding: 8px 11px; border: 1px solid var(--line); border-radius: 5px; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.share-row a:hover, .share-copy:hover { border-color: var(--accent); color: var(--accent); }
.article-aside { display: flex; flex-direction: column; gap: 24px; padding-top: 85px; }
.article-aside .sidebar-panel { position: static; }
.article-aside .popular-panel { position: sticky; top: 20px; }
.article-aside h2 { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 3px solid var(--ink); font-size: 23px; }
.mini-list__item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini-list__item:last-child { border-bottom: 0; }
.mini-list time { color: var(--accent); font-size: 11px; font-weight: 800; }
.mini-list h3 { margin: 4px 0 0; font-size: 15px; line-height: 1.35; }
.popular-panel { overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); background: var(--paper); box-shadow: 0 16px 44px rgba(21,23,26,0.06); }
.popular-panel > h2 { margin: 0; padding: 25px 22px 10px; font-size: 25px; line-height: 1; letter-spacing: -0.035em; text-align: center; text-transform: uppercase; }
.popular-tabs { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 7px 16px 16px; border-bottom: 1px solid var(--line); }
.popular-tabs button { padding: 2px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.popular-tabs button:hover, .popular-tabs button[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--ink); }
.popular-tab-panel[hidden] { display: none; }
.popular-list { padding: 0 22px; margin: 0; list-style: none; counter-reset: popular; }
.popular-list li { position: relative; padding: 18px 0 18px 31px; border-bottom: 1px solid var(--line); counter-increment: popular; }
.popular-list li:last-child { border-bottom: 0; }
.popular-list li::before { content: counter(popular, decimal-leading-zero); position: absolute; left: 0; top: 18px; color: color-mix(in srgb, var(--accent) 72%, var(--muted)); font-size: 11px; font-weight: 850; }
.popular-list time { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.popular-list > li > a { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; }
.popular-list > li > a:hover { text-decoration: underline; text-underline-offset: 2px; }
.popular-list__views { display: flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--muted); font-size: 11px; }
.popular-list__views i { width: 13px; height: 9px; }
.article-comments { max-width: 100%; margin-top: 52px; padding-top: 34px; border-top: 3px solid var(--ink); }
.comments-area { display: grid; gap: 28px; }
.comments-title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(26px, 4vw, 34px); line-height: 1.1; letter-spacing: -0.035em; }
.comments-title::before { content: ""; width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 13%, transparent); }
.comment-list, .comment-list .children { display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; }
.comment-list .children { margin: 18px 0 0 38px; }
.comment-list .comment { min-width: 0; }
.comment-body { position: relative; min-height: 112px; padding: 24px 26px 22px 106px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 12px 35px rgba(21, 23, 26, 0.055); }
.comment-body:hover { border-color: color-mix(in srgb, var(--accent) 24%, var(--line)); }
.bypostauthor > .comment-body { border-left: 4px solid var(--accent); }
.comment-meta { min-height: 56px; font-size: 13px; }
.comment-author { display: flex; align-items: center; gap: 7px; min-width: 0; line-height: 1.25; }
.comment-author .avatar { position: absolute; top: 24px; left: 24px; width: 64px; height: 64px; margin: 0; border: 3px solid var(--paper); border-radius: 50%; background: var(--soft-2); box-shadow: 0 0 0 1px var(--line), 0 8px 20px rgba(21, 23, 26, 0.12); object-fit: cover; }
.comment-author .fn { overflow: hidden; color: var(--ink); font-size: 16px; font-style: normal; font-weight: 800; text-overflow: ellipsis; }
.comment-author .fn a:hover { color: var(--accent); }
.comment-author .says { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.comment-metadata { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 5px; color: var(--muted); font-size: 11px; }
.comment-metadata > a { color: inherit; }
.comment-metadata > a:hover, .comment-metadata .edit-link a:hover { color: var(--accent); }
.comment-metadata .edit-link { padding-left: 8px; border-left: 1px solid var(--line); }
.comment-content { margin: 15px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.comment-content > :first-child { margin-top: 0; }
.comment-content > :last-child { margin-bottom: 0; }
.comment-awaiting-moderation { display: inline-block; padding: 5px 9px; margin: 10px 0 0; border-radius: 5px; background: color-mix(in srgb, #f5a623 16%, var(--paper)); color: var(--ink); font-size: 12px; }
.comment-body .reply { margin-top: 17px; }
.comment-reply-link { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 750; }
.comment-reply-link::before { content: "↩"; margin-right: 6px; font-size: 15px; }
.comment-reply-link:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.comment-navigation { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; font-weight: 750; }
.comment-navigation a { color: var(--accent); }
.comment-respond { padding: 28px; margin-top: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.comment-reply-title { margin: 0 0 10px; font-size: clamp(23px, 3vw, 29px); line-height: 1.15; letter-spacing: -0.03em; }
#cancel-comment-reply-link { margin-left: 10px; color: var(--accent); font-size: 12px; font-weight: 700; }
.logged-in-as, .comment-notes { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.logged-in-as a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--muted) 35%, transparent); text-underline-offset: 3px; }
.logged-in-as a:hover { color: var(--accent); }
.comment-form--modern { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.comment-form > p { margin: 0; }
.comment-form-comment, .comment-notes, .logged-in-as, .must-log-in, .comment-form-cookies-consent, .comment-form .form-submit { grid-column: 1 / -1; }
.comment-form-author { grid-column: 1; }
.comment-form-email { grid-column: 2; }
.comment-policy { padding: 10px 12px; border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; background: color-mix(in srgb, var(--accent) 7%, var(--paper)); line-height: 1.5; }
.comment-form label { display: inline-block; margin-bottom: 7px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: 0.025em; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.comment-form input:not([type="submit"]) { min-height: 48px; }
.comment-form textarea { height: 165px; min-height: 135px; resize: vertical; line-height: 1.55; }
.comment-form input:not([type="submit"]):focus, .comment-form textarea:focus { border-color: var(--accent); outline: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 9px; }
.comment-form-cookies-consent input { width: 17px !important; min-height: 17px !important; margin-top: 2px; accent-color: var(--accent); }
.comment-form-cookies-consent label { margin: 0; color: var(--muted); font-weight: 500; line-height: 1.45; }
.comment-form .form-submit { margin: 4px 0 0; }
.submit { min-height: 47px; padding: 0 21px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 9px 22px color-mix(in srgb, var(--accent) 24%, transparent); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.submit:hover { transform: translateY(-1px); box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 31%, transparent); }
.submit:active { transform: translateY(0); }

.related-news { max-width: 900px; margin-top: 72px; }
.related-news__heading h2 { text-transform: uppercase; }
.related-news__list { border-top: 1px solid var(--line); }
.related-news__item { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.related-news__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: var(--soft); }
.related-news__media img, .related-news__media .card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.related-news__item:hover .related-news__media img { transform: scale(1.025); }
.related-news__body time { color: var(--accent); font-size: 11px; font-weight: 700; }
.related-news__body h3 { margin: 6px 0 9px; font-size: clamp(19px, 2.3vw, 25px); line-height: 1.17; letter-spacing: -0.03em; }
.related-news__body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.related-news__body p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.52; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }

.page-shell { padding-bottom: 80px; }
.static-page { max-width: 900px; margin: 42px auto 0; }
.static-page__header h1 { margin: 0 0 32px; font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -0.055em; }
.static-page__hero { margin-bottom: 32px; }
.static-page__hero img { border-radius: var(--radius); }
.empty-state, .not-found { text-align: center; padding: 90px 20px; }
.empty-state__mark { display: inline-block; margin-bottom: 14px; color: var(--accent); font-size: 50px; font-weight: 900; letter-spacing: -0.08em; }
.empty-state h1, .empty-state h2, .not-found h1 { margin: 0 0 12px; font-size: clamp(32px, 5vw, 55px); letter-spacing: -0.04em; }
.empty-state p, .not-found p { max-width: 620px; margin: 0 auto 25px; color: var(--muted); }
.empty-state--small { padding-block: 60px; border-top: 3px solid var(--ink); }
.empty-state--small .search-form, .not-found .search-form { max-width: 650px; margin: 24px auto; }
.not-found { min-height: 580px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.not-found__code { color: var(--accent); font-size: clamp(80px, 18vw, 190px); font-weight: 900; line-height: 0.8; letter-spacing: -0.08em; opacity: 0.17; }
.text-link { color: var(--accent); font-weight: 750; }

.site-footer { background: #111315; color: #fff; }
.footer-lead { display: flex; justify-content: space-between; gap: 60px; padding-block: 56px 42px; border-bottom: 1px solid rgba(255,255,255,0.13); }
.wordmark--footer { color: #fff; }
.wordmark--footer:hover { color: #fff; }
.footer-brand p { max-width: 460px; margin: 16px 0 0; color: rgba(255,255,255,0.6); }
.footer-social { text-align: right; }
.footer-social__title { margin: 0 0 12px; font-size: 13px; font-weight: 750; }
.social-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.social-links a { padding: 8px 11px; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; color: #fff; font-size: 12px; }
.social-links a:hover { border-color: var(--accent); background: var(--accent); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-block: 38px; }
.footer-heading, .site-footer .widget__title, .site-footer .widget-title { margin: 0 0 16px; padding: 0; border: 0; color: rgba(255,255,255,0.5); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-menu, .site-footer .widget ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; padding: 0; margin: 0; list-style: none; }
.footer-menu a, .site-footer .widget a { color: rgba(255,255,255,0.78); font-size: 14px; }
.footer-menu a:hover, .site-footer .widget a:hover { color: #fff; }
.site-footer .widget { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 40px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,0.13); color: rgba(255,255,255,0.45); font-size: 11px; }
.footer-bottom p { margin: 0; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
  .hero-grid__side { grid-template-columns: 1fr; }
  .hero-grid__side .news-card:nth-child(n+3) { display: none; }
  .home-content-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 38px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .utility-nav { display: none; }
  .site-header__main { min-height: 82px; }
  .site-description { display: none; }
  .menu-toggle { display: inline-grid; }
  .primary-nav-wrap { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 82px); overflow-y: auto; background: var(--paper); box-shadow: var(--shadow); }
  .menu-open .primary-nav-wrap { display: block; }
  .primary-nav__menu, .menu--fallback { display: block; padding: 18px 0 28px; }
  .primary-nav a { padding: 12px 3px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .primary-nav .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 0 16px; border: 0; box-shadow: none; }
  .header-search { position: absolute; left: 0; right: 0; top: 100%; box-shadow: var(--shadow); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-story { min-height: 470px; }
  .hero-grid__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-content-grid { grid-template-columns: 1fr; }
  .home-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { padding-top: 0; }
  .article-aside .sidebar-panel, .article-aside .popular-panel { position: static; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-showcase__layout { grid-template-columns: 1fr; }
  .category-showcase-lead { padding-right: 0; padding-bottom: 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .utility-bar__inner { min-height: 30px; justify-content: center; }
  .site-header__main { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 8px; }
  .wordmark { font-size: 24px; }
  .header-actions { gap: 4px; }
  .language-switcher { position: absolute; top: 100%; left: 0; right: 0; min-height: 34px; justify-content: center; margin: 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .site-header:has(.language-switcher) + .ticker { margin-top: 34px; }
  .icon-button { width: 39px; height: 39px; }
  .ticker__label { margin-left: -12px; padding-inline: 12px; }
  .home-page { padding-top: 18px; }
  .hero-story { min-height: 420px; }
  .hero-story__overlay { padding: 22px; }
  .hero-story__title { font-size: 32px; }
  .hero-grid__side { grid-template-columns: 1fr; }
  .hero-grid__side .news-card:nth-child(n+3) { display: block; }
  .home-content-grid { margin-top: 48px; }
  .section-heading { align-items: flex-end; }
  .section-heading h2 { font-size: 26px; }
  .section-heading > a { max-width: 110px; text-align: right; }
  .news-list-item { grid-template-columns: 118px minmax(0, 1fr); gap: 13px; padding-block: 16px; }
  .news-list-item__title { font-size: 17px; }
  .news-list-item__excerpt { display: none; }
  .home-sidebar { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .category-showcases { gap: 48px; }
  .category-showcase { margin-inline: -12px; padding: 22px 12px; border-right: 0; border-left: 0; border-radius: 0; }
  .category-showcase__header { margin-bottom: 16px; }
  .category-showcase__header h2 { font-size: 28px; }
  .category-showcase-lead > h3 { font-size: 27px; }
  .category-showcase__grid { grid-template-columns: 1fr; gap: 17px; }
  .category-showcase-card { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 13px; padding-bottom: 17px; }
  .category-showcase-card__media { grid-row: 1 / span 2; }
  .category-showcase-card h3 { margin: 0; font-size: 16px; }
  .category-showcase-card .category-showcase-meta { align-self: end; }
  .category-showcase-telegram { align-items: flex-start; flex-direction: column; }
  .category-showcase-telegram > a { width: 100%; }
  .article-layout { padding-top: 28px; }
  .article__title { font-size: 38px; }
  .article__lead { font-size: 19px; }
  .article-share { align-items: flex-start; flex-direction: column; gap: 14px; padding: 16px; }
  .article-share__buttons { width: 100%; justify-content: space-between; }
  .entry-content { font-size: 18px; }
  .entry-content h2 { font-size: 28px; }
  .share-row > span { width: 100%; }
  .related-news { margin-top: 52px; }
  .related-news__item { grid-template-columns: 112px minmax(0, 1fr); gap: 13px; padding: 17px 0; }
  .related-news__body h3 { margin-top: 4px; font-size: 17px; }
  .related-news__body p { display: none; }
  .article-comments { margin-top: 52px; }
  .comments-area { gap: 22px; }
  .comment-list .children { margin-left: 18px; }
  .comment-body { min-height: 0; padding: 20px 18px 18px 82px; border-radius: 11px; }
  .comment-author .avatar { top: 20px; left: 18px; width: 48px; height: 48px; }
  .comment-meta { min-height: 44px; }
  .comment-content { margin-top: 14px; margin-left: -64px; font-size: 16px; }
  .comment-body .reply { margin-left: -64px; }
  .comment-respond { padding: 22px 18px; border-radius: 11px; }
  .comment-form--modern { grid-template-columns: 1fr; gap: 15px; }
  .comment-form-author, .comment-form-email { grid-column: 1; }
  .comment-form textarea { height: 145px; min-height: 120px; }
  .comment-submit { width: 100%; }
  .search-form { flex-direction: column; }
  .search-form__submit { width: 100%; }
  .footer-lead { display: block; }
  .footer-social { margin-top: 28px; text-align: left; }
  .social-links { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
