﻿@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;1,400&display=swap");
.sources-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--s2);
}
.sources-list li {
  font-size: 0.72rem;
  line-height: 1.4;
  min-width: 0;
}
.sources-list a {
  display: inline-flex;
  align-items: center;
  min-height: var(--h-btn-sm);
  padding: 5px 9px;
  color: var(--tm);
  background: var(--glass);
  border: var(--b-s);
  border-radius: var(--rp);
  text-decoration: none;
  word-break: break-all;
  transition: var(--tr-c);
  line-height: 1.15;
}
.sources-list a:hover {
  color: var(--a);
  background: var(--ga);
  border-color: var(--ad);
}
.related-section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  margin-top: var(--sp-16);
}
.related-section h2 {
  margin: 0 0 14px;
  color: var(--tx);
  font-family: var(--ff-i);
  font-size: var(--xmd);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  align-items: stretch;
}
.related-card-reason {
  margin: var(--s2) 0 0;
  color: var(--tm);
  font-size: var(--tx-sm);
  line-height: 1.5;
}
.related-grid .article-card {
  display: grid;
  grid-template-rows: 150px minmax(0, 1fr);
  height: 430px;
  min-height: 0;
  overflow: hidden;
}
.related-grid .card-image {
  height: 150px;
  min-height: 0;
  aspect-ratio: auto;
}
.related-grid .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-grid .card-body {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: var(--sp-2);
  min-height: 0;
  padding: 16px;
}
.related-grid .card-category {
  max-width: 100%;
  white-space: normal;
  line-height: 1.15;
}
.related-grid .related-card-reason {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.related-grid .card-footer {
  flex-shrink: 0;
  margin-top: 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  width: fit-content;
  min-height: var(--h-btn);
  margin-top: var(--sp-8);
  padding: 7px 12px;
  font-size: var(--xxs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--a);
  background: var(--ga);
  border: 1px solid rgba(200, 151, 58, 0.22);
  border-radius: var(--rp);
  transition: var(--tr-c);
  line-height: 1;
}
.back-link:hover {
  color: var(--a);
  background: var(--ga);
  border-color: var(--ad);
}
.back-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
.site-footer {
  position: relative;
  z-index: 20;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-12);
  align-items: start;
  margin-bottom: var(--sp-8);
  min-width: 0;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  color: var(--tx);
  margin-bottom: var(--s3);
}
.footer-brand .brand-mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}
.footer-brand-name {
  font-family: var(--ff-p);
  font-size: var(--tx-2xl);
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 0;
  line-height: 0.98;
  max-width: 110px;
}
.footer-desc {
  font-size: 0.84rem;
  color: var(--tm);
  max-width: 360px;
  line-height: 1.6;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: var(--sp-2h);
  flex-wrap: wrap;
  margin-top: var(--sp-4h);
  max-width: 100%;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 12px 7px 8px;
  border-radius: var(--rp);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--tx);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  transition:
    transform var(--tb) ease,
    border-color var(--tb) ease,
    background var(--tb) ease;
}
.footer-social-link img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
  border-radius: var(--r);
}
.footer-social-link.coffee {
  border-color: rgba(0, 167, 111, 0.38);
  background: linear-gradient(
    135deg,
    rgba(0, 167, 111, 0.16),
    rgba(255, 213, 106, 0.12)
  );
}
.footer-social-link.facebook {
  border-color: rgba(24, 119, 242, 0.42);
  background: linear-gradient(
    135deg,
    rgba(24, 119, 242, 0.18),
    rgba(117, 183, 255, 0.1)
  );
}
.footer-social-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}
[data-theme="light"] .footer-social-link {
  background: rgba(15, 23, 42, 0.035);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .footer-social-link.coffee {
  background: linear-gradient(
    135deg,
    rgba(0, 167, 111, 0.14),
    rgba(255, 213, 106, 0.2)
  );
}
[data-theme="light"] .footer-social-link.facebook {
  background: linear-gradient(
    135deg,
    rgba(24, 119, 242, 0.14),
    rgba(117, 183, 255, 0.18)
  );
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  text-align: right;
}
.footer-nav a {
  font-size: var(--xmd);
  color: var(--tm);
  transition: color var(--tb);
}
.footer-nav a:hover {
  color: var(--a);
}
.footer-bottom {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--ls);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  min-width: 0;
}
.footer-copy {
  font-size: var(--tx-sm);
  color: var(--tm);
}
.footer-tagline {
  font-size: var(--xxs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a);
  opacity: 0.7;
}
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 1;
  transition: opacity 0.3s;
}
.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.loader-brand {
  font-family: var(--ff-p);
  font-size: var(--tx-3xl);
  font-weight: 700;
  color: var(--tx);
  letter-spacing: 0.03em;
}
.loader-bar {
  width: 120px;
  height: 2px;
  background: var(--sf2);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 30%;
  background: var(--a);
  border-radius: 2px;
  animation: loaderSlide 1.2s ease-in-out infinite;
}
@keyframes loaderSlide {
  0% {
    transform: translateX(-100%);
    width: 40%;
  }
  50% {
    width: 60%;
  }
  100% {
    transform: translateX(350%);
    width: 40%;
  }
}
.error-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}
.error-code {
  font-family: var(--ff-p);
  font-size: 6rem;
  font-weight: 700;
  color: var(--sf2);
  line-height: 1;
  margin-bottom: var(--sp-4);
}
.error-msg {
  font-size: var(--tx-4xl);
  font-weight: 600;
  color: var(--tx);
  margin-bottom: var(--s2);
}
.error-sub {
  font-size: var(--tx-base);
  color: var(--tm);
  margin-bottom: var(--sp-8);
}
.btn-home {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: var(--h-btn);
  padding: 7px 12px;
  background: var(--ga);
  border: 1px solid rgba(200, 151, 58, 0.22);
  color: var(--a);
  font-size: var(--xxs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--rp);
  transition:
    background var(--tb),
    border-color var(--tb);
  line-height: 1;
}
.btn-home:hover {
  background: var(--ga);
  border-color: var(--ad);
}
@media (max-width: 1180px) {
  .article-layout {
    grid-template-columns: 320px minmax(0, 1fr) 240px;
    gap: var(--sp-5h);
    max-width: 1180px;
    padding: 0 16px 24px;
  }
  .article-layout.no-visuals {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .article-layout.no-images {
    grid-template-columns: 320px minmax(0, 1fr);
  }
  .article-body {
    max-width: 100%;
  }
}
@media (max-width: 1024px) {
  .main-layout {
    gap: 0;
  }
  .sidebar {
    display: grid;
    gap: var(--sp-5);
  }
  .sidebar .sidebar-widget {
    margin-bottom: 0;
  }
  .article-layout,
  .article-layout.no-visuals,
  .article-layout.no-images,
  .article-layout.no-visuals.no-images {
    gap: var(--sp-8);
  }
  .article-col-visuals,
  .article-col-images {
    height: auto;
    max-height: none;
    overflow: visible;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 16px;
  }
  .nav-brand {
    gap: var(--s2);
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .nav-brand-name {
    overflow-wrap: normal;
  }
  .nav-links,
  .nav-inner > .nav-search {
    display: none;
  }
  .hero-content {
    padding: var(--sp-6);
  }
  .hero-image-wrap,
  .hero-no-image {
    height: 460px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .main-layout {
    padding: 12px 0 12px;
  }
  .sidebar {
    grid-template-columns: 1fr;
  }
  .article-layout {
    padding: 0 16px 24px;
  }
  .article-hero-image {
    height: 620px;
    margin-bottom: -260px;
  }
  .article-hero-content {
    bottom: 36px;
    padding: 24px 0 0;
  }
  .article-header-panel {
    gap: var(--s3);
  }
  .article-header-actions {
    justify-content: flex-start;
  }
  .article-header-actions .tts-read-btn {
    max-width: 100%;
  }
  .article-meta-item {
    min-height: 32px;
    font-size: var(--tx-sm);
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .footer-brand {
    align-items: center;
  }
  .footer-nav {
    text-align: left;
  }
}
@media (max-width: 480px) {
  .hero-image-wrap,
  .hero-no-image {
    height: 420px;
  }
  .article-hero-image {
    height: 660px;
    margin-bottom: -300px;
  }
}
.fade-in {
  animation: fadeIn 0.4s ease forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.article-visuals {
  margin: var(--sp-12) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 680px;
}
.visual-box {
  padding: 12px;
  border: var(--b-s);
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
}
.visual-box h3 {
  font-family: var(--ff-i);
  font-size: var(--xxs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a);
  margin-bottom: var(--sp-1h);
}
.visual-box.compact {
  font-size: var(--xmd);
}
.visual-box.tall {
  min-height: 260px;
}
.visual-table-wrap {
  overflow-x: auto;
}
.visual-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--xmd);
  font-family: var(--ff-i);
}
.visual-table th {
  border-bottom: 1px solid var(--ad);
  padding: 8px 6px;
  text-align: left;
  font-size: var(--xxs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tm);
}
.visual-table td {
  border-bottom: 1px solid var(--ls);
  padding: 8px 6px;
  text-align: left;
  vertical-align: top;
  color: var(--t2);
}
.visual-table tr:last-child td {
  border-bottom: none;
}
.bar-chart {
  display: grid;
  gap: 9px;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(80px, 0.75fr) minmax(80px, 1fr) auto;
  gap: var(--s2);
  align-items: center;
  font-size: 0.78rem;
  font-family: var(--ff-i);
  color: var(--t2);
}
.bar-row strong {
  display: block;
  height: 8px;
  border-radius: var(--rp);
  background: var(--a);
  opacity: 0.85;
}
.bar-row em {
  color: var(--tm);
  font-style: normal;
  font-size: var(--tx-sm);
  white-space: nowrap;
}
.visual-svg {
  width: 100%;
  height: auto;
}
.visual-line {
  fill: none;
  stroke: var(--a);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visual-area {
  fill: rgba(200, 151, 58, 0.12);
}
.visual-axis,
.visual-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1h) 12px;
  color: var(--tm);
  font-size: var(--xxs);
  margin-top: var(--s2);
  font-family: var(--ff-i);
}
.donut-wrap {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: var(--s3);
  align-items: center;
}
.donut-chart {
  width: 90px;
  height: 90px;
  transform: rotate(-90deg);
}
.donut-chart circle {
  fill: none;
  stroke-width: 12;
}
.s0 {
  stroke: #c8973a;
  background: #c8973a;
}
.s1 {
  stroke: #5b8fa8;
  background: #5b8fa8;
}
.s2 {
  stroke: #6fa87b;
  background: #6fa87b;
}
.s3 {
  stroke: #9b72aa;
  background: #9b72aa;
}
.s4 {
  stroke: #a87b5a;
  background: #a87b5a;
}
.s5 {
  stroke: #6e8c9e;
  background: #6e8c9e;
}
.visual-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--t2);
}
.visual-legend i {
  width: 8px;
  height: 8px;
  border-radius: var(--rp);
  flex-shrink: 0;
}
.visual-timeline {
  display: grid;
  gap: var(--sp-3h);
  margin: 0;
  padding: 0;
  list-style: none;
}
.visual-timeline li {
  border-left: 2px solid var(--ad);
  padding-left: var(--sp-3h);
  position: relative;
}
.visual-timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a);
  border: 2px solid var(--surface);
}
.visual-timeline time {
  display: block;
  color: var(--a);
  font-size: var(--xxs);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: var(--ff-i);
  margin-bottom: 2px;
}
.visual-timeline strong {
  display: block;
  font-size: var(--tx-base);
  font-family: var(--ff-i);
  font-weight: 600;
  color: var(--tx);
  margin-bottom: var(--sp-1);
}
.visual-timeline p {
  font-size: var(--xmd);
  color: var(--t2);
  font-family: var(--ff-i);
  line-height: 1.5;
  margin: 0;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2h);
}
.fact-grid div {
  border: var(--b-l);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--sf2);
}
.fact-grid span {
  display: block;
  color: var(--tm);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--ff-i);
  margin-bottom: var(--sp-1);
}
.fact-grid strong {
  display: block;
  font-size: var(--tx-base);
  font-family: var(--ff-i);
  font-weight: 600;
  color: var(--tx);
  line-height: 1.3;
}
.visual-description {
  margin: -4px 0 14px;
  color: var(--tm);
  font-size: var(--xmd);
  line-height: 1.55;
}
.visual-metric {
  display: grid;
  gap: var(--s2);
}
.visual-metric > strong {
  color: var(--a);
  font-family: var(--ff-i);
  font-size: 2.375rem;
  font-weight: 700;
  line-height: 1;
}
.visual-metric > span {
  color: var(--tx);
  font-family: var(--ff-i);
  font-size: var(--xmd);
  font-weight: 600;
}
.visual-metric > p,
.visual-quote cite,
.fact-grid p,
.ranked-list p,
.process-list p,
.glossary-list small,
.compare-row em {
  color: var(--tm);
  font-family: var(--ff-i);
  font-size: var(--xmd);
  line-height: 1.55;
}
.visual-quote blockquote {
  margin: 0;
  padding-left: var(--sp-4h);
  border-left: 3px solid var(--a);
  color: var(--tx);
  font-size: var(--tx-4xl);
  line-height: 1.45;
}
.visual-quote cite {
  display: block;
  margin-top: var(--s3);
  font-style: normal;
}
.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) repeat(2, minmax(0, 1fr));
  gap: var(--s3);
  font-family: var(--ff-i);
}
.compare-head {
  margin-bottom: var(--sp-2h);
  color: var(--a);
  font-size: var(--xxs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compare-head span:first-child {
  grid-column: 2;
}
.compare-row {
  padding: 12px 0;
  border-top: 1px solid var(--ls);
}
.compare-row strong {
  color: var(--tx);
  font-size: var(--xmd);
  font-weight: 600;
}
.compare-row p,
.compare-row em {
  margin: 0;
}
.compare-row em {
  grid-column: 2 / -1;
  font-style: normal;
}
.process-list,
.ranked-list {
  display: grid;
  gap: var(--sp-1h);
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-list li,
.ranked-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: var(--s3);
}
.ranked-list li {
  align-items: start;
  padding: 12px;
  border: var(--b-l);
  border-radius: var(--radius);
  background: var(--sf2);
}
.process-list li > span,
.ranked-list li > span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--a);
  color: var(--bg);
  font-family: var(--ff-i);
  font-size: var(--tx-sm);
  font-weight: 700;
}
.ranked-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-2h);
}
.ranked-content {
  min-width: 0;
}
.ranked-value {
  flex: 0 0 auto;
  padding: 3px 9px;
  border: 1px solid var(--ad);
  border-radius: var(--rp);
  color: var(--a);
  background: var(--ga);
  font-family: var(--ff-i);
  font-size: var(--xxs);
  font-weight: 700;
}
.process-list strong,
.ranked-list strong,
.glossary-list dt {
  display: block;
  color: var(--tx);
  font-family: var(--ff-i);
  font-size: var(--tx-base);
  font-weight: 600;
}
.process-list p,
.ranked-list p,
.ranked-list em:not(.ranked-value) {
  display: block;
  margin: 3px 0 0;
  font-style: normal;
}
.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
}
.pros-cons div,
.glossary-list div {
  border: var(--b-l);
  border-radius: var(--radius);
  background: var(--sf2);
  padding: 14px;
}
.pros-cons h4 {
  margin: 0 0 10px;
  color: var(--a);
  font-family: var(--ff-i);
  font-size: var(--xxs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pros-cons ul {
  display: grid;
  gap: var(--s2);
  margin: 0;
  padding-left: var(--sp-4h);
  color: var(--t2);
  font-family: var(--ff-i);
  font-size: var(--xmd);
}
.glossary-list {
  display: grid;
  gap: var(--sp-2h);
  margin: 0;
}
.glossary-list dd {
  margin: 4px 0 0;
  color: var(--t2);
  font-family: var(--ff-i);
}
.glossary-list small {
  display: block;
  margin-top: var(--sp-1);
}
.visual-box > p,
.visual-description,
.visual-table td,
.bar-row span,
.bar-row em,
.visual-timeline p,
.visual-metric > p,
.visual-quote cite,
.fact-grid p,
.compare-row p,
.compare-row em,
.process-list p,
.ranked-list p,
.ranked-list em:not(.ranked-value),
.pros-cons li,
.glossary-list dd,
.glossary-list small {
  color: var(--t2);
  font-size: var(--tx-sm);
}
@media (max-width: 680px) {
  .compare-head {
    display: none;
  }
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-row em {
    grid-column: auto;
  }
  .pros-cons,
  .fact-grid {
    grid-template-columns: 1fr;
  }
}
.tts-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--tts-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 12px 24px;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.tts-bar.visible {
  transform: translateY(0);
}
.tts-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.tts-info {
  flex: 1;
  min-width: 0;
}
.tts-label {
  font-size: var(--xxs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a);
  margin-bottom: 2px;
}
.tts-snippet {
  font-size: 0.78rem;
  color: var(--t2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tts-controls {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-shrink: 0;
}
.tts-rate-control {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1h);
  min-height: var(--h-btn);
  padding: 0 8px;
  color: var(--tm);
  background: var(--sf2);
  border: var(--b-l);
  border-radius: var(--rp);
  font-size: var(--xxs);
  font-weight: 600;
  line-height: 1;
}
.tts-rate-control select {
  min-width: 68px;
  border: 0;
  background: transparent;
  color: var(--tx);
  font: inherit;
  outline: none;
  cursor: pointer;
}
.tts-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sf2);
  border: var(--b-l);
  color: var(--t2);
  font-size: var(--tx-base);
  transition: all var(--tb);
  cursor: pointer;
}
.tts-btn:hover {
  background: var(--surface-3);
  color: var(--tx);
}
.tts-btn.play-btn {
  width: 42px;
  height: 42px;
  background: var(--ga);
  border-color: rgba(200, 151, 58, 0.22);
  color: var(--a);
  font-size: 1rem;
}
.tts-btn.play-btn:hover {
  background: var(--ga);
  border-color: var(--ad);
}
.tts-btn.close-btn {
  background: transparent;
  border-color: transparent;
  color: var(--tm);
}
.tts-btn.close-btn:hover {
  color: var(--tx);
  background: var(--sf2);
}
.article-meta-item,
.tts-read-btn,
.article-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1h);
  min-height: var(--h-btn);
  padding: var(--sp-2h) var(--sp-1h);
  color: var(--t2);
  background: var(--glass);
  border: var(--b-s);
  border-radius: var(--rp);
  font-size: var(--tx-sm);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.tts-read-btn,
.article-edit-btn {
  cursor: pointer;
  text-transform: uppercase;
  font-size: var(--xxs);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.article-meta-link:hover,
.article-meta-link:focus-visible,
.tts-read-btn:hover,
.tts-read-btn:focus-visible,
.article-edit-btn:hover,
.article-edit-btn:focus-visible {
  color: var(--a);
  background: var(--sf);
  border-color: var(--a);
  outline: none;
}
.tts-read-btn.is-playing {
  color: var(--a);
  border-color: var(--a);
  background: var(--sf);
}
.tts-read-btn svg,
.article-edit-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  opacity: 0.75;
}
.article-edit-btn[hidden] {
  display: none !important;
}
.tts-segment {
  scroll-margin-top: calc(var(--nav-h)+24px);
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.tts-current {
  background: rgba(200, 151, 58, 0.12) !important;
  outline: 1px solid rgba(200, 151, 58, 0.3);
}
.article-page,
.article-page * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.article-page img {
  -webkit-user-drag: none;
  user-drag: none;
}
.tts-bar .tts-progress {
  height: 2px;
  background: var(--surface-3);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.tts-progress-fill {
  height: 100%;
  background: var(--a);
  transition: width 0.3s;
}
@media (max-width: 600px) {
  .tts-snippet {
    display: none;
  }
  .tts-bar-inner {
    gap: var(--sp-2h);
  }
  .tts-controls {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .tts-rate-control span {
    display: none;
  }
}
.sidebar-images {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2h);
  margin-bottom: var(--sp-5);
}
.sidebar-image-btn {
  display: block;
  width: 100%;
  padding: 0;
  background: var(--glass-strong);
  border: var(--b-s);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.sidebar-image-btn:hover {
  border-color: var(--ad);
  background: var(--ga);
  box-shadow: 0 2px 12px var(--hover-shadow);
}
.sidebar-image-btn img {
  width: 100%;
  height: auto;
  display: block;
}
.sidebar-img-caption {
  display: block;
  padding: 8px 10px;
  font-size: var(--xxs);
  line-height: 1.55;
  color: var(--tm);
  border-top: 1px solid var(--ls);
  text-align: left;
}
.sidebar-img-caption > span {
  display: inline;
}
.sidebar-img-source {
  color: var(--a);
  opacity: 0.86;
}
.sidebar-img-caption > span + .sidebar-img-source::before {
  content: " · ";
  color: var(--tm);
  font-weight: 400;
}
.sidebar-img-source a,
.lightbox-caption a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.sidebar-img-source a:hover,
.lightbox-caption a:hover {
  text-decoration: underline;
}
#sidebarVisualsContent .visual-box {
  margin-bottom: var(--sp-3h);
  font-size: var(--xmd);
}
#sidebarVisualsContent .visual-metric {
  align-items: center;
  text-align: center;
}
#sidebarVisualsContent .visual-metric > p {
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}
.article-main-visuals {
  display: grid;
  gap: var(--sp-4h);
  margin: 34px 0 18px;
}
.article-main-visuals .visual-box {
  margin: 0;
}
.article-sources {
  margin: 34px 0 18px;
  padding-top: 22px;
  border-top: 1px solid var(--ls);
}
.article-sources h2 {
  margin: 0 0 14px;
  color: var(--tx);
  font-family: var(--ff-i);
  font-size: var(--xmd);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-sources .sources-list {
  margin: 0;
  padding: 0;
}
.article-sources .sources-list a {
  background: transparent;
}
.article-sources .sources-list a:hover {
  background: transparent;
}
.article-comments {
  margin: 42px 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--ls);
}
.article-comments h2 {
  margin: 0 0 18px;
  color: var(--tx);
  font-family: var(--ff-i);
  font-size: var(--xmd);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.comments-list {
  display: grid;
  gap: var(--s3);
  margin-bottom: var(--sp-5);
}
.comments-empty {
  color: var(--tm);
  font-size: var(--tx-base);
}
.comment-item {
  padding: 14px 16px;
  background: var(--glass);
  border: var(--b-s);
  border-radius: var(--r);
}
.comment-item.admin {
  border-color: rgba(200, 151, 58, 0.28);
  background: var(--ga);
}
.comment-item header {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-bottom: var(--s2);
  font-size: var(--tx-sm);
  color: var(--tm);
}
.comment-item header strong {
  color: var(--tx);
}
.comment-item header span {
  color: var(--a);
  font-weight: 700;
}
.comment-item p {
  margin: 0;
  color: var(--t2);
  font-size: var(--tx-lg);
  line-height: 1.6;
  text-align: left;
}
.comment-replies {
  display: grid;
  gap: var(--sp-2h);
  margin-top: var(--s3);
  padding-left: var(--sp-3h);
  border-left: 2px solid var(--ls);
}
.comment-form {
  display: grid;
  gap: var(--s3);
  padding: 16px;
  background: var(--glass-strong);
  border: var(--b-l);
  border-radius: var(--r);
}
.comment-form label {
  display: grid;
  gap: var(--sp-1h);
  color: var(--tm);
  font-size: var(--tx-sm);
  font-weight: 700;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px 11px;
  color: var(--tx);
  background: var(--surface);
  border: var(--b-l);
  border-radius: var(--r);
  font: inherit;
  resize: vertical;
  -webkit-user-select: text;
  user-select: text;
}
.comment-captcha,
.comment-form-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2h);
  flex-wrap: wrap;
}
.comment-captcha {
  color: var(--tm);
  font-size: var(--xmd);
}
.comment-captcha input {
  width: 92px;
}
#commentStatus {
  color: var(--tm);
  font-size: var(--xmd);
}
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay[hidden] {
  display: none;
}
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  gap: var(--s3);
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--r-md);
  display: block;
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--xmd);
  text-align: center;
  margin: 0;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  padding: 4px 8px;
}
.lightbox-close:hover {
  opacity: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s;
}
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-prev {
  left: 12px;
}
.lightbox-next {
  right: 12px;
}
@media (max-width: 700px) {
  .lightbox-nav {
    display: none;
  }
}
.hero-section {
  isolation: isolate;
}
.hero-section::before {
  content: none;
}
.hero-slide {
  will-change: opacity;
}
.hero-image-wrap,
.hero-no-image {
  top: var(--nav-h);
  left: 0;
  right: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 54%,
    rgba(0, 0, 0, 0.72) 72%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 54%,
    rgba(0, 0, 0, 0.72) 72%,
    rgba(0, 0, 0, 0) 100%
  );
}
@keyframes hero-img-drift {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.035) translateY(1.2%);
  }
}
.hero-image-wrap img {
  filter: blur(3px) saturate(0.88);
  transition:
    opacity 1.8s ease,
    filter 1.8s ease;
  animation: hero-img-drift 28s ease-in-out infinite alternate;
}
.hero-no-image::after {
  content: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(200, 151, 58, 0.16), transparent 38%),
    linear-gradient(235deg, rgba(79, 142, 166, 0.22), transparent 46%);
}
.hero-overlay {
  pointer-events: none;
}
html[data-theme="light"] .hero-overlay {
  background: transparent;
}
.hero-content {
  display: flex;
  align-items: flex-end;
}
.hero-content .container {
  width: 100%;
}
.hero-badge {
  border-color: color-mix(in srgb, var(--line) 68%, var(--hero-rail) 32%);
}
.hero-title {
  text-wrap: balance;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
}
html[data-theme="light"] .hero-title {
  text-shadow: 0 14px 42px rgba(78, 59, 33, 0.16);
}
.hero-action-line {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}
.hero-meta {
  gap: var(--s2);
  flex-wrap: wrap;
}
.hero-meta-item {
  min-height: 36px;
  color: var(--tx);
  background: color-mix(in srgb, var(--glass) 82%, black 18%);
  border-color: color-mix(in srgb, var(--line) 68%, var(--hero-rail) 32%);
}
html[data-theme="light"] .hero-meta-item {
  color: var(--t2);
  background: rgba(255, 250, 241, 0.72);
}
.hero-read-link {
  min-height: 36px;
  margin-top: 0;
  padding: 8px 14px;
}
.hero-read-link:hover {
  color: var(--bg);
  background: color-mix(in srgb, var(--a) 86%, white 14%);
}
.hero-controls {
  grid-template-columns: 38px minmax(0, 1fr) 38px;
}
.hero-arrow {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform var(--tb),
    border-color var(--tb),
    color var(--tb);
}
.hero-arrow:hover {
  transform: translateY(-1px);
}
.main-layout {
  padding-top: var(--s3);
}
.section-title,
.card-title {
  letter-spacing: 0;
}
.article-card {
  width: 100%;
  min-height: 380px;
  border-color: color-mix(in srgb, var(--line) 84%, var(--editorial-blue) 16%);
}
.card-link {
  height: 100%;
}
.card-image {
  aspect-ratio: auto;
}
.card-body {
  min-height: 0;
}
.card-categories {
  min-height: var(--h-btn-sm);
}
.card-summary {
  min-height: calc(13px * 1.6 * 3);
}
.card-footer {
  flex-wrap: nowrap;
  min-width: 0;
}
.card-meta {
  flex: 1;
  overflow: hidden;
}
.card-meta-item {
  flex-shrink: 0;
  white-space: nowrap;
}
.card-arrow {
  color: var(--bg);
  background: var(--a);
  border-color: var(--a);
}
.article-card:hover .card-arrow {
  background: color-mix(in srgb, var(--a) 86%, white 14%);
}
.card-read-link {
  min-height: 32px;
  padding: 7px 11px;
  color: var(--bg);
  background: var(--a);
  border-color: var(--a);
}
.card-read-link:hover {
  color: var(--bg);
  background: color-mix(in srgb, var(--a) 86%, white 14%);
}
.hero-controls.single {
  grid-template-columns: minmax(0, 320px);
}
.hero-controls.single .hero-arrow {
  display: none;
}
@media (max-width: 1180px) {
  .hero-title {
    max-width: min(860px, 86vw);
  }
}
@media (max-width: 768px) {
  .hero-controls {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: var(--s2);
  }
  .card-meta-item {
    font-size: var(--xxs);
  }
}
@media (max-width: 480px) {
  .hero-content {
    padding-bottom: 168px;
  }
  .hero-meta-item:nth-child(3) {
    display: none;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .card-read-link {
    padding-inline: 9px;
    font-size: 0.625rem;
  }
}
.static-page {
  position: relative;
  z-index: 2;
  padding: 56px 0 72px;
  min-height: calc(100vh - var(--nav-h));
}
.static-narrow {
  max-width: 900px;
}
.static-header {
  max-width: 840px;
  margin-bottom: 30px;
}
.static-kicker {
  margin-bottom: var(--sp-2h);
  color: var(--a);
  font-size: var(--xxs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.static-header h1 {
  margin: 0 0 14px;
  color: var(--tx);
  font-family: var(--ff-p);
  font-size: clamp(2rem, 5vw, 3.625rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.static-header p,
.static-prose p {
  color: var(--t2);
  font-family: var(--ff-r);
  font-size: var(--tx-xl);
  line-height: 1.72;
}
.static-prose {
  display: grid;
  gap: var(--sp-4h);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}
.static-prose h2 {
  margin-top: var(--sp-4h);
  color: var(--tx);
  font-family: var(--ff-p);
  font-size: var(--tx-3xl);
  letter-spacing: 0;
}
.timeline-toolbar {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 28px;
}
.timeline-toolbar .nav-search {
  width: min(520px, 100%);
}
.global-timeline {
  max-width: 980px;
}
.timeline-year {
  position: sticky;
  top: calc(var(--nav-h)+12px);
  z-index: 3;
  width: fit-content;
  margin: var(--sp-8) 0 14px;
  padding: 7px 12px;
  color: var(--a);
  background: var(--nav-bg);
  border: var(--b-l);
  border-radius: var(--rp);
  font-family: var(--ff-i);
  font-size: var(--tx-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.timeline-event {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: var(--sp-5h);
  padding: 22px 0 22px 24px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--ls);
}
.timeline-event time {
  color: var(--a);
  font-size: var(--xmd);
  font-weight: 700;
}
.timeline-event h3 {
  margin: 0 0 8px;
  color: var(--tx);
  font-family: var(--ff-p);
  font-size: var(--tx-2xl);
  line-height: 1.25;
  letter-spacing: 0;
}
.timeline-event p {
  margin: 0 0 10px;
  color: var(--t2);
  font-size: var(--tx-lg);
  line-height: 1.65;
}
.timeline-event a {
  color: var(--a);
  font-size: var(--xmd);
  font-weight: 700;
}
@media (max-width: 680px) {
  .static-page {
    padding-top: var(--sp-9);
  }
  .timeline-event {
    grid-template-columns: 1fr;
    gap: var(--s2);
    padding-left: var(--sp-4h);
  }
}
.timeline-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: min(580px, 55vw);
  height: 500px;
  pointer-events: none;
  color: var(--a);
  opacity: 0.13;
  overflow: hidden;
}
html[data-theme="light"] .timeline-deco {
  opacity: 0.09;
}
@media (max-width: 680px) {
  .timeline-deco {
    width: 260px;
    height: 260px;
    opacity: 0.08;
  }
}
.timeline-event--no-date {
  grid-template-columns: minmax(0, 1fr);
}
.timeline-year-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1h);
  margin-bottom: var(--sp-5);
}
.timeline-year-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--h-btn-sm);
  padding: 5px 10px;
  color: var(--tm);
  background: var(--glass);
  border: var(--b-s);
  border-radius: var(--rp);
  font-size: var(--xxs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition:
    color var(--t-fast),
    background var(--t-fast),
    border-color var(--t-fast);
}
.timeline-year-nav a:hover,
.timeline-year-nav a.active {
  color: var(--a);
  border-color: var(--ad);
  background: var(--ga);
}
.timeline-meta {
  margin-bottom: var(--sp-4);
  color: var(--tm);
  font-size: var(--xmd);
}
.timeline-result-count {
  margin-bottom: var(--s3);
  color: var(--tm);
  font-size: var(--xmd);
  font-style: italic;
}
.timeline-month {
  margin: var(--sp-5) 0 8px;
  padding-left: var(--sp-6);
  color: var(--tm);
  font-size: var(--tx-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.timeline-event-category {
  display: inline-flex;
  align-items: center;
  margin-left: var(--s2);
  padding: 2px 7px;
  color: var(--tm);
  background: var(--glass);
  border: var(--b-s);
  border-radius: var(--rp);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}
@keyframes timeline-skeleton-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.65;
  }
}
.timeline-skeleton-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: var(--sp-5h);
  padding: 22px 0 22px 24px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--ls);
  animation: timeline-skeleton-pulse 1.5s ease-in-out infinite;
}
.skeleton-block {
  border-radius: var(--r-sm);
  background: var(--surface-3);
}
@media (max-width: 680px) {
  .timeline-skeleton-item {
    grid-template-columns: 1fr;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  color-scheme: dark;
  --ff-i: "Inter", sans-serif;
  --ff-p: "Playfair Display", serif;
  --ff-r: "Lora", serif;
  --b-s: 1px solid var(--ls);
  --b-l: 1px solid var(--line);
  --tr-c: color var(--tb), background var(--tb), border-color var(--tb);
  --a: var(--accent);
  --ad: var(--accent-dim);
  --tm: var(--text-muted);
  --tx: var(--text);
  --t2: var(--text-2);
  --ga: var(--glass-accent);
  --rp: var(--r-pill);
  --xmd: var(--tx-md);
  --xxs: var(--tx-xs);
  --s2: var(--sp-2);
  --s3: var(--sp-3);
  --ls: var(--line-soft);
  --sf2: var(--surface-2);
  --tb: var(--t-base);
  --bg: #0c0c0c;
  --bg-2: #111111;
  --surface: #171717;
  --surface-2: #1e1e1e;
  --surface-3: #252525;
  --text: #ede8de;
  --text-2: #b8b09e;
  --text-muted: #7a7468;
  --accent: #c8973a;
  --accent-dim: #a87828;
  --accent-soft: rgba(200, 151, 58, 0.1);
  --accent-glow: rgba(200, 151, 58, 0.06);
  --line: #252525;
  --line-soft: #1d1d1d;
  --glass: rgba(23, 23, 23, 0.58);
  --glass-strong: rgba(23, 23, 23, 0.5);
  --glass-accent: rgba(200, 151, 58, 0.16);
  --nav-bg: rgba(12, 12, 12, 0.92);
  --hero-bg: linear-gradient(135deg, #161616 0%, #1a1510 50%, #0f0f0f 100%);
  --hero-overlay: linear-gradient(
    90deg,
    rgba(12, 12, 12, 0.98) 0%,
    rgba(12, 12, 12, 0.72) 40%,
    rgba(12, 12, 12, 0.3) 100%
  );
  --tts-bg: rgba(18, 18, 18, 0.96);
  --card-shadow: rgba(0, 0, 0, 0.4);
  --hover-shadow: rgba(0, 0, 0, 0.25);
  --editorial-blue: #4f8ea6;
  --editorial-green: #6f9a7a;
  --hero-rail: rgba(255, 255, 255, 0.1);
  --nav-h: 64px;
  --container: 1480px;
  --article-w: 740px;
  --r-sm: 3px;
  --r-md: 6px;
  --r: 8px;
  --r-xl: 10px;
  --r-pill: 999px;
  --radius: var(--r-sm);
  --radius-lg: var(--r-md);
  --sp-1: 4px;
  --sp-1h: 6px;
  --sp-2: 8px;
  --sp-2h: 10px;
  --sp-3: 12px;
  --sp-3h: 14px;
  --sp-4: 16px;
  --sp-4h: 18px;
  --sp-5: 20px;
  --sp-5h: 22px;
  --sp-6: 24px;
  --sp-7: 28px;
  --sp-8: 32px;
  --sp-9: 36px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-14: 56px;
  --sp-16: 64px;
  --sp-24: 96px;
  --tx-xs: 0.75rem;
  --tx-sm: 0.8rem;
  --tx-md: 0.85rem;
  --tx-base: 0.875rem;
  --tx-lg: 0.9375rem;
  --tx-read: 1.1875rem;
  --tx-xl: 1.125rem;
  --tx-card: 1.0625rem;
  --tx-2xl: 1.375rem;
  --tx-4xl: 1.25rem;
  --tx-3xl: 1.5rem;
  --h-btn: 34px;
  --h-btn-sm: 28px;
  --h-badge: 34px;
  --t-fast: 0.15s;
  --t-base: 0.18s;
}
html {
  font-size: 100%;
}
html[data-text-scale="-2"] {
  font-size: 90%;
}
html[data-text-scale="-1"] {
  font-size: 95%;
}
html[data-text-scale="0"] {
  font-size: 100%;
}
html[data-text-scale="1"] {
  font-size: 107%;
}
html[data-text-scale="2"] {
  font-size: 114%;
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f1e8;
  --bg-2: #eee6d8;
  --surface: #fffaf1;
  --surface-2: #f0e6d6;
  --surface-3: #e4d7c3;
  --text: #1e1a15;
  --text-2: #4f473b;
  --text-muted: #817563;
  --accent: #9b681d;
  --accent-dim: #b67c27;
  --accent-soft: rgba(155, 104, 29, 0.12);
  --accent-glow: rgba(155, 104, 29, 0.08);
  --line: #dfd2bf;
  --line-soft: #eadfce;
  --glass: rgba(255, 250, 241, 0.58);
  --glass-strong: rgba(255, 250, 241, 0.5);
  --glass-accent: rgba(155, 104, 29, 0.14);
  --nav-bg: rgba(246, 241, 232, 0.92);
  --hero-bg: linear-gradient(135deg, #eee2cf 0%, #f7efe2 50%, #e9dcc7 100%);
  --hero-overlay: linear-gradient(
    90deg,
    rgba(246, 241, 232, 0.98) 0%,
    rgba(246, 241, 232, 0.76) 42%,
    rgba(246, 241, 232, 0.22) 100%
  );
  --tts-bg: rgba(255, 250, 241, 0.96);
  --card-shadow: rgba(78, 59, 33, 0.16);
  --hover-shadow: rgba(78, 59, 33, 0.18);
  --hero-rail: rgba(30, 26, 21, 0.12);
}
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}
body {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--ff-i);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: clamp(12px, 2vw, 32px);
  min-width: 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2h);
  flex-shrink: 0;
  min-width: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(200, 151, 58, 0.3);
  box-shadow:
    0 0 0 3px rgba(200, 151, 58, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.28);
}
.nav-brand-name {
  max-width: 92px;
  color: var(--tx);
  font-family: var(--ff-p);
  font-size: var(--tx-read);
  font-weight: 700;
  line-height: 0.96;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  min-width: 0;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--h-btn);
  padding: 7px 12px;
  color: var(--tm);
  border: 1px solid transparent;
  border-radius: var(--rp);
  font-size: var(--tx-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: var(--tr-c);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--a);
  background: var(--ga);
  border-color: rgba(200, 151, 58, 0.22);
}
.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  flex-shrink: 0;
}
.nav-dropdown {
  position: relative;
}
.theme-toggle,
.nav-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--t2);
  background: var(--glass);
  border: var(--b-l);
  border-radius: var(--rp);
  transition: var(--tr-c);
}
.theme-toggle:hover,
.nav-icon-button:hover,
.nav-icon-button[aria-expanded="true"] {
  color: var(--a);
  border-color: var(--ad);
  background: var(--ga);
}
.theme-toggle svg,
.nav-icon-button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}
.theme-toggle .theme-icon-sun {
  display: none;
}
html[data-theme="light"] .theme-toggle .theme-icon-sun {
  display: block;
}
html[data-theme="light"] .theme-toggle .theme-icon-moon {
  display: none;
}
.text-size-icon {
  font-family: var(--ff-p);
  font-size: var(--tx-card);
  font-weight: 700;
  line-height: 1;
}
.nav-popover {
  position: absolute;
  top: calc(100%+10px);
  right: 0;
  z-index: 130;
  padding: 10px;
  background: var(--bg-2);
  border: var(--b-l);
  border-radius: var(--r-xl);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}
.nav-popover[hidden] {
  display: none;
}
.search-popover {
  width: min(320px, calc(100vw - 32px));
}
.search-popover .nav-search {
  width: 100%;
}
.nav-search {
  display: flex;
  align-items: center;
  gap: var(--s2);
  width: clamp(160px, 18vw, 260px);
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  background: var(--glass);
  border: var(--b-l);
  border-radius: var(--rp);
  transition: border-color var(--tb);
}
.nav-search:focus-within {
  border-color: var(--ad);
}
.nav-search svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--tm);
}
.nav-search input {
  width: 100%;
  min-width: 0;
  color: var(--tx);
  background: none;
  border: none;
  outline: none;
  font-family: var(--ff-i);
  font-size: var(--xmd);
}
.nav-search input::placeholder {
  color: var(--tm);
}
.text-scale-popover {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-1h);
}
.text-scale-popover button {
  min-width: 44px;
  min-height: var(--h-btn);
  padding: 7px 10px;
  color: var(--t2);
  background: var(--glass);
  border: var(--b-l);
  border-radius: var(--r);
  font-size: var(--tx-sm);
  font-weight: 700;
}
.text-scale-popover button:hover {
  color: var(--a);
  border-color: var(--ad);
  background: var(--ga);
}
.text-scale-popover button:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.text-scale-popover button[data-scale-active] {
  color: var(--a);
  border-color: var(--ad);
  background: var(--ga);
}
.nav-mobile-toggle {
  display: none;
  padding: 8px;
  color: var(--t2);
  background: var(--glass);
  border: var(--b-s);
  border-radius: var(--rp);
}
.hero-section {
  position: relative;
  background: var(--bg-2);
}
.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.8s ease;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-image-wrap,
.hero-no-image {
  width: 100%;
  background: var(--hero-bg);
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-content {
  position: absolute;
  z-index: 4;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: var(--h-btn);
  margin-bottom: var(--sp-3h);
  padding: 7px 12px;
  color: var(--t2);
  background: var(--glass);
  border: var(--b-s);
  border-radius: var(--rp);
  font-size: var(--xxs);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}
.hero-title {
  max-width: 780px;
  margin-bottom: var(--sp-4);
  color: var(--tx);
  font-family: var(--ff-p);
  font-size: clamp(1.625rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}
.hero-title a:hover {
  color: var(--a);
}
.hero-summary {
  max-width: 720px;
  margin-bottom: var(--sp-6);
  color: var(--t2);
  font-family: var(--ff-r);
  font-size: clamp(0.9375rem, 1.15vw, 1.125rem);
  line-height: 1.62;
}
.hero-action-line,
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s2);
}
.hero-meta-item,
.hero-read-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1h);
  min-height: var(--h-btn);
  padding: 7px 11px;
  color: var(--t2);
  background: var(--glass);
  border: var(--b-s);
  border-radius: var(--rp);
  font-size: var(--xmd);
  line-height: 1;
}
.hero-meta-item svg,
.hero-read-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
.hero-read-link {
  color: var(--tx);
  background: var(--ga);
  border-color: rgba(200, 151, 58, 0.22);
  font-size: var(--xxs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-control-panel {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
}
.hero-controls {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--tx);
  background: var(--glass);
  border: var(--b-s);
  border-radius: var(--rp);
}
.hero-arrow:hover {
  color: var(--a);
  border-color: var(--ad);
}
.hero-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--s3);
  padding: 12px 0;
  align-items: start;
  min-width: 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s2);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--line);
}
.section-title {
  color: var(--tx);
  font-family: var(--ff-p);
  font-size: var(--tx-2xl);
  font-weight: 600;
  letter-spacing: 0;
}
.section-count {
  color: var(--tx);
  font-size: var(--xmd);
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--h-btn);
  padding: 7px 12px;
  color: var(--tm);
  background: var(--glass);
  border: var(--b-s);
  border-radius: var(--rp);
  font-size: var(--xxs);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
}
.page-btn:hover:not(:disabled):not(.active),
.page-btn.active {
  color: var(--a);
  border-color: var(--ad);
  background: var(--ga);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-content: start;
  align-items: stretch;
  gap: var(--sp-2h);
}
.article-card {
  height: 460px;
  overflow: hidden;
  background: var(--glass-strong);
  border: var(--b-l);
  border-radius: var(--radius-lg);
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.article-card:hover {
  border-color: var(--surface-3);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--card-shadow);
}
.card-link {
  display: grid;
  grid-template-rows: 188px minmax(0, 1fr);
  height: 100%;
  color: inherit;
}
.card-image {
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--sf2);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.article-card:hover .card-image img {
  transform: scale(1.04);
}
.card-image-placeholder,
.recent-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sf2), var(--surface-3));
}
.card-image-placeholder svg,
.recent-thumb-placeholder svg {
  width: 32px;
  height: 32px;
  stroke: var(--tm);
  opacity: 0.3;
}
.card-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 48px auto;
  gap: var(--sp-2h);
  min-height: 0;
  padding: 20px;
}
.card-text {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--sp-2h);
  min-height: 0;
}
.card-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--tx);
  font-family: var(--ff-p);
  font-size: var(--tx-card);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0;
  min-height: calc(2 * 1.28em);
  max-height: calc(2 * 1.28em);
}
.article-card:hover .card-title {
  color: var(--a);
}
.card-summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--t2);
  font-size: 0.84rem;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: calc(3 * 1.5em);
}
.card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1h);
  align-content: flex-start;
  margin-top: 0;
  max-height: 48px;
  overflow: hidden;
}
.card-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 7px;
  color: var(--a);
  background: var(--accent-soft);
  border: 1px solid transparent;
  border-radius: var(--rp);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding-top: var(--sp-3h);
  border-top: 1px solid var(--ls);
}
.card-meta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-width: 0;
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  color: var(--tm);
  font-size: 0.72rem;
}
.card-meta-item svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}
.card-arrow,
.card-read-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: var(--sp-2h) var(--sp-1h);
  color: var(--bg);
  background: var(--a);
  border: 1px solid var(--a);
  border-radius: var(--rp);
  font-size: var(--xxs);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
}
.card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
.empty-state {
  grid-column: 1 / -1;
  padding: 48px 20px;
  color: var(--tm);
  text-align: center;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}
.page-controls {
  display: flex;
  align-items: center;
  gap: var(--sp-1h);
}
.page-status,
.page-ellipsis {
  color: var(--tm);
  font-size: var(--xmd);
}
.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.page-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}
.sidebar {
  position: sticky;
  top: calc(var(--nav-h)+12px);
  display: grid;
  gap: var(--s3);
}
.sidebar-widget {
  padding: var(--sp-4h);
  background: var(--glass-strong);
  border: var(--b-l);
  border-radius: var(--radius-lg);
}
.widget-title {
  margin-bottom: var(--sp-1h);
  color: var(--tx);
  font-family: var(--ff-p);
  font-size: var(--tx-xl);
  font-weight: 600;
  letter-spacing: 0;
}
.widget-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: var(--sp-1);
  list-style: none;
}
.widget-categories li {
  min-width: 0;
}
.widget-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-1);
  min-height: 30px;
  padding: var(--sp-2h) var(--sp-1h);
  color: var(--tx);
  background: var(--glass);
  border-radius: var(--rp);
  font-size: var(--xxs);
  line-height: 1;
}
.widget-categories a:hover,
.widget-categories a.active {
  color: var(--a);
  border-color: var(--ad);
  background: var(--ga);
}
.cat-count {
  flex: 0 0 auto;
  color: var(--tm);
  font-size: var(--xxs);
}
.sidebar-empty {
  color: var(--tm);
  font-size: var(--xmd);
}
.recent-list {
  display: grid;
  gap: var(--sp-2h);
}
.recent-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: var(--sp-2h);
  align-items: center;
}
.recent-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sf2);
  border-radius: var(--radius);
}
.recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recent-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--tx);
  font-size: var(--xmd);
  font-weight: 600;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recent-meta {
  margin-top: var(--sp-1);
  color: var(--tm);
  font-size: 0.72rem;
}
.article-page {
  padding-bottom: var(--sp-24);
}
.article-hero {
  position: relative;
  z-index: 2;
  padding: 0;
  overflow: visible;
}
.article-hero-image {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80vh;
  object-fit: cover;
  opacity: 0.1;
  filter: blur(4px) brightness(1.25) saturate(0.8);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 68%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 68%,
    rgba(0, 0, 0, 0) 100%
  );
}
.article-hero-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80vh;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.12) 0%,
    rgba(12, 12, 12, 0.04) 44%,
    var(--bg) 100%
  );
}
.article-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--sp-6) 0 var(--sp-8);
}
.article-header-plain {
  padding: var(--sp-8) 0 var(--sp-6);
}
.article-title,
.article-title-in-hero {
  max-width: 1200px;
  color: var(--tx);
  font-family: var(--ff-p);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}
.article-header-panel {
  display: grid;
  gap: var(--sp-2h);
  margin-top: var(--sp-5h);
}
.article-meta-bar,
.article-header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s2);
}
.article-meta-item svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(620px, 740px) minmax(
      240px,
      300px
    );
  gap: var(--sp-6);
  align-items: start;
  justify-content: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-8) 24px 0;
  position: relative;
  z-index: 3;
}
.article-layout.has-hero {
  margin-top: 0;
}
.article-layout.has-hero::before {
  content: "";
  position: absolute;
  top: -64px;
  left: 0;
  right: 0;
  height: 64px;
  pointer-events: none;
}
@media (max-width: 680px) {
  .article-hero-content {
    padding: var(--sp-6) 0 var(--sp-8);
  }
  .article-layout.has-hero {
    margin-top: 0;
  }
}
.article-layout.no-visuals {
  grid-template-columns: minmax(620px, 740px) minmax(240px, 300px);
}
.article-layout.no-images {
  grid-template-columns: minmax(280px, 340px) minmax(620px, 740px);
}
.article-layout.no-visuals.no-images {
  grid-template-columns: minmax(620px, 740px);
}
.article-layout.no-visuals .article-col-visuals,
.article-layout.no-images .article-col-images {
  display: none;
}
.article-main-col {
  min-width: 0;
}
.article-infographic {
  width: 100%;
  margin: var(--sp-7) 0 var(--sp-6);
}
.article-infographic-btn {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}
.article-infographic-btn img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  background: var(--sf2);
}
.article-infographic figcaption {
  margin-top: var(--sp-2);
  color: var(--tm);
  font-size: var(--tx-sm);
  line-height: 1.45;
}
.article-infographic figcaption a {
  color: var(--a);
  font-weight: 700;
  text-decoration: none;
}
.article-infographic figcaption a:hover {
  text-decoration: underline;
}
.article-brief {
  margin: 0 0 var(--sp-3h);
  padding: 12px;
  background: var(--glass-strong);
  border: var(--b-s);
  border-radius: var(--radius-lg);
}
.article-brief h2 {
  color: var(--a);
  font-size: var(--xxs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.article-brief ul {
  display: grid;
  gap: var(--sp-1h);
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-brief li {
  position: relative;
  padding-left: var(--sp-3h);
  color: var(--t2);
  font-size: var(--tx-sm);
  text-align: justify;
}
.article-brief li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  background: var(--a);
  border-radius: 50%;
  border: 2px solid var(--surface);
}
.article-col-visuals,
.article-col-images {
  position: sticky;
  top: calc(var(--nav-h)+16px);
}
.article-body {
  color: var(--tx);
  font-family: var(--ff-r);
  font-size: 1.0625rem;
  line-height: 1.78;
  text-align: justify;
  hyphens: auto;
}
.article-body p {
  margin-bottom: 1.35em;
}
.article-body .drop-initial {
  float: left;
  margin: 0.08em 0.14em 0 0;
  color: var(--a);
  font-size: 6rem;
  line-height: 0.78;
}
.article-body h2,
.article-body h3 {
  margin: 1em 0 0.7em;
  color: var(--tx);
  font-family: var(--ff-p);
  line-height: 1.2;
  text-align: left;
}
.article-body h2 {
  font-size: 1.875rem;
}
.article-body h3 {
  font-size: var(--tx-3xl);
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.35em 1.3em;
  text-align: left;
}
.article-body blockquote {
  margin: 1.5em 0;
  padding-left: var(--sp-4h);
  color: var(--t2);
  border-left: 3px solid var(--a);
  font-style: italic;
}
.article-body a {
  color: var(--a);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body code,
.article-body pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.article-body pre {
  margin: 1.5em 0;
  padding: var(--sp-4h);
  overflow-x: auto;
  background: var(--sf2);
  border: var(--b-l);
  border-radius: var(--radius-lg);
}
.hero-section {
  height: 720px;
  overflow: visible;
  border-bottom: 0;
}
.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -260px;
  height: 620px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0,
    color-mix(in srgb, var(--bg) 62%, transparent) 38%,
    var(--bg) 100%
  );
}
.hero-slider,
.hero-slide {
  overflow: visible;
}
.hero-image-wrap,
.hero-no-image {
  position: absolute;
  inset: 0;
  height: 100%;
  overflow: hidden;
}
.hero-image-wrap::after,
.hero-no-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0,
    color-mix(in srgb, var(--bg) 68%, transparent) 62%,
    var(--bg) 100%
  );
}
.hero-image-wrap img {
  opacity: 0.3;
}
.hero-overlay {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.08) 0%,
    rgba(12, 12, 12, 0.03) 62%,
    color-mix(in srgb, var(--bg) 22%, transparent) 100%
  );
}
.hero-content {
  inset: 0 0 auto;
  padding: 18px 0 0;
}
.hero-summary {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: initial;
  -webkit-box-orient: initial;
}
.hero-control-panel {
  bottom: 250px;
}
.main-layout {
  margin-top: -360px;
  position: relative;
  z-index: 6;
}
.main-layout::before {
  content: "";
  position: absolute;
  inset: -130px -24px auto;
  height: 360px;
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-image-wrap,
  .hero-no-image {
    height: 100%;
  }
  .hero-content {
    padding: 14px 0 0;
  }
  .main-layout::before {
    inset: -90px -16px auto;
    height: 280px;
  }
}
@media (max-width: 900px) {
  :root {
    --nav-h: 56px;
  }
  .site-nav {
    height: var(--nav-h);
    overflow: visible;
  }
  .site-nav .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .nav-inner {
    gap: var(--s2);
    justify-content: flex-start;
  }
  .nav-brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .nav-brand-name {
    max-width: min(28vw, 92px);
    font-size: var(--tx-base);
    line-height: 1;
    white-space: normal;
  }
  .nav-links:not(.open-static) {
    display: none;
  }
  .nav-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
  }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-1);
    max-height: calc(100dvh - var(--nav-h));
    padding: 12px;
    overflow-y: auto;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  }
  .nav-links.open li {
    width: 100%;
  }
  .nav-links.open a {
    width: 100%;
    justify-content: flex-start;
    min-height: 40px;
    padding: 10px 12px;
    border-radius: var(--r);
    line-height: 1.15;
  }
  .nav-links.open-static {
    display: flex;
    flex: 0 1 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    max-width: 58vw;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-links.open-static::-webkit-scrollbar {
    display: none;
  }
  .nav-links.open-static a {
    white-space: nowrap;
  }
  .nav-tools {
    flex: 0 0 auto;
    gap: var(--sp-1h);
  }
  .theme-toggle,
  .nav-icon-button {
    width: 36px;
    height: 36px;
  }
  .search-popover {
    position: fixed;
    top: calc(var(--nav-h)+8px);
    left: 12px;
    right: 12px;
    width: auto;
  }
}
@media (max-width: 480px) {
  .site-nav .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .nav-inner {
    gap: var(--sp-1h);
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .nav-brand {
    gap: var(--sp-1h);
  }
  .nav-brand-name {
    max-width: min(23vw, 76px);
    font-size: var(--xmd);
  }
  .nav-tools {
    gap: var(--sp-1);
  }
  .theme-toggle,
  .nav-icon-button,
  .nav-mobile-toggle {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}
@media (max-width: 1180px) {
  .main-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: var(--sp-4);
  }
  .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }
  .article-layout,
  .article-layout.no-visuals,
  .article-layout.no-images,
  .article-layout.no-visuals.no-images {
    grid-template-columns: minmax(0, 740px) minmax(220px, 280px);
    gap: var(--sp-5);
  }
  .article-layout.no-visuals.no-images {
    grid-template-columns: minmax(0, 740px);
  }
  .article-layout:not(.no-images):not(.no-visuals) .article-col-images {
    display: none;
  }
}
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: var(--sp-5);
  }
  .article-layout,
  .article-layout.no-visuals,
  .article-layout.no-images,
  .article-layout.no-visuals.no-images {
    grid-template-columns: minmax(0, 760px);
    max-width: 820px;
    padding: 24px 20px 0;
  }
  .article-layout:not(.no-images) .article-col-images,
  .article-layout:not(.no-visuals) .article-col-visuals {
    display: block;
  }
  .article-main-col {
    order: 1;
  }
  .article-col-images {
    order: 2;
  }
  .article-col-visuals {
    order: 3;
  }
  .article-col-visuals,
  .article-col-images {
    position: static;
    top: auto;
  }
  .sidebar-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero-section {
    height: 590px;
    min-height: 590px;
  }
  .hero-content {
    padding-top: var(--sp-4);
  }
  .hero-title {
    max-width: 100%;
    margin-bottom: var(--s3);
    font-size: clamp(1.85rem, 10vw, 2.65rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .hero-summary {
    display: -webkit-box;
    margin-bottom: var(--sp-4);
    overflow: hidden;
    color: var(--t2);
    font-size: var(--tx-base);
    line-height: 1.55;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
  .hero-action-line,
  .hero-meta {
    align-items: flex-start;
    gap: var(--sp-1h);
  }
  .hero-meta-item,
  .hero-read-link {
    max-width: 100%;
    min-height: 32px;
    white-space: normal;
    line-height: 1.2;
  }
  .hero-control-panel {
    bottom: 124px;
  }
  .main-layout {
    margin-top: -220px;
    padding: 10px 0 18px;
  }
  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--sp-1h);
  }
  .articles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s3);
  }
  .article-card {
    height: 480px;
  }
  .card-image {
    height: 100%;
    aspect-ratio: 16 / 9;
  }
  .card-body {
    padding: 16px;
    grid-template-rows: minmax(0, 1fr) 50px auto;
    gap: var(--s2);
  }
  .card-title {
    font-size: var(--tx-lg);
    line-height: 1.25;
    -webkit-line-clamp: 2;
    min-height: calc(2 * 1.25em);
    max-height: calc(2 * 1.25em);
  }
  .card-summary {
    -webkit-line-clamp: 3;
  }
  .card-footer {
    align-items: center;
    flex-direction: row;
  }
  .card-meta {
    flex-wrap: wrap;
    gap: var(--s2);
  }
  .card-arrow,
  .card-read-link {
    width: auto;
  }
  .pagination {
    align-items: stretch;
    flex-direction: column;
    gap: var(--s3);
  }
  .page-controls {
    justify-content: center;
    flex-wrap: wrap;
  }
  .page-status {
    text-align: center;
  }
  .sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  .widget-categories {
    grid-template-columns: minmax(0, 1fr);
  }
  .recent-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .article-hero-content,
  .article-header-plain {
    padding: 36px 0 28px;
  }
  .article-title,
  .article-title-in-hero {
    max-width: 100%;
    font-size: clamp(1.8rem, 9.5vw, 2.55rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .article-header-panel {
    gap: var(--sp-2h);
    margin-top: var(--sp-4);
  }
  .article-meta-bar,
  .article-header-actions {
    align-items: stretch;
    gap: var(--sp-1h);
  }
  .article-meta-item,
  .tts-read-btn,
  .article-edit-btn {
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
  }
  .article-layout,
  .article-layout.no-visuals,
  .article-layout.no-images,
  .article-layout.no-visuals.no-images {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100%;
    margin-top: var(--sp-4);
    padding: 22px 14px 0;
    gap: var(--sp-7);
  }
  .article-main-col {
    display: contents;
  }
  .article-body {
    order: 1;
  }
  .article-main-visuals {
    order: 2;
  }
  .article-col-images {
    order: 3;
  }
  .article-col-visuals {
    order: 4;
  }
  .article-sources {
    order: 5;
  }
  .article-main-col > .related-section {
    order: 6;
  }
  .article-comments {
    order: 7;
  }
  .article-main-col > .back-link {
    order: 8;
  }
  .article-body {
    font-size: 1rem;
    line-height: 1.72;
    text-align: justify;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .article-body p {
    text-align: justify;
  }
  .article-col-images,
  .article-col-visuals {
    margin-top: var(--s3);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--ls);
  }
  .article-body .drop-initial {
    font-size: 4rem;
  }
  .article-body h2 {
    font-size: 1.55rem;
  }
  .article-body h3 {
    font-size: 1.25rem;
  }
  .article-body pre,
  .visual-table-wrap {
    max-width: 100%;
    overflow-x: auto;
  }
  .article-brief li {
    text-align: left;
  }
  .sidebar-images {
    grid-template-columns: minmax(0, 1fr);
  }
  .visual-box {
    padding: 10px;
  }
  .article-main-visuals,
  .article-sources,
  .article-comments {
    margin: 28px 0 16px;
  }
  .sources-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .sources-list a {
    width: 100%;
    overflow-wrap: anywhere;
  }
  .comment-form {
    padding: 14px;
  }
  .comment-captcha,
  .comment-form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .comment-captcha input {
    width: 100%;
  }
  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .related-grid .article-card {
    height: 390px;
    grid-template-rows: 132px minmax(0, 1fr);
  }
  .related-grid .card-image {
    height: 132px;
  }
  .tts-bar {
    padding: 10px 12px;
  }
  .tts-bar-inner {
    align-items: stretch;
    flex-direction: column;
    gap: var(--s2);
  }
  .tts-controls {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-1h);
  }
  .tts-rate-control {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .static-page {
    padding: 34px 0 56px;
  }
  .static-header {
    margin-bottom: 22px;
  }
  .static-header h1 {
    font-size: clamp(1.85rem, 10vw, 2.65rem);
  }
  .static-header p,
  .static-prose p {
    font-size: var(--tx-base);
    line-height: 1.68;
  }
  .timeline-toolbar .nav-search {
    width: 100%;
  }
  .timeline-year {
    position: static;
    margin: var(--sp-6) 0 10px;
  }
  .timeline-year-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: var(--sp-1);
    scrollbar-width: none;
  }
  .timeline-year-nav::-webkit-scrollbar {
    display: none;
  }
  .timeline-event,
  .timeline-skeleton-item {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s2);
    padding: 16px 0 16px 14px;
  }
  .timeline-event h3 {
    font-size: var(--tx-xl);
  }
  .timeline-event p {
    font-size: var(--tx-base);
  }
  .timeline-month {
    padding-left: 14px;
  }
  .timeline-event-category {
    width: fit-content;
    margin: 6px 0 0;
  }
  .lightbox-overlay {
    padding: 12px;
  }
  .lightbox-content img {
    max-height: 74vh;
  }
}
@media (max-width: 480px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-section {
    height: 570px;
    min-height: 570px;
  }
  .hero-title {
    font-size: clamp(1.65rem, 10.5vw, 2.2rem);
  }
  .hero-summary {
    -webkit-line-clamp: 3;
  }
  .main-layout {
    margin-top: -205px;
  }
  .section-title {
    font-size: var(--tx-xl);
  }
  .card-body {
    padding: 14px;
  }
  .card-category {
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.15;
  }
  .page-btn {
    min-width: 38px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .article-title,
  .article-title-in-hero {
    font-size: clamp(1.65rem, 10.5vw, 2.25rem);
  }
  .article-layout,
  .article-layout.no-visuals,
  .article-layout.no-images,
  .article-layout.no-visuals.no-images {
    padding-left: 12px;
    padding-right: 12px;
  }
  .article-meta-item,
  .tts-read-btn,
  .article-edit-btn {
    width: fit-content;
  }
  .comment-replies {
    padding-left: var(--s2);
  }
  .tts-btn {
    width: 34px;
    height: 34px;
  }
  .tts-btn.play-btn {
    width: 38px;
    height: 38px;
  }
}
