@font-face {
  font-family: 'PT Sans';
  src: url('fonts/pt-sans-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Sans';
  src: url('fonts/pt-sans-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Serif';
  src: url('fonts/pt-serif-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Serif';
  src: url('fonts/pt-serif-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Serif';
  src: url('fonts/pt-serif-400-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #fff;
  color: #1a1a1a;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── HEADER ─── */
.site-header {
  border-bottom: 1px solid #e8e8e8;
  padding: 0 24px;
}
.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: #111;
}
.logo span {
  color: #0a7a63;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: 'PT Sans', sans-serif;
  font-size: 14px;
  color: #555;
  transition: color 0.15s;
}
.main-nav a:hover { color: #111; }

/* ─── ARTICLE WRAP ─── */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 24px;
}

.article-home-link {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  font-family: 'PT Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #777;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

.article-home-link:hover {
  color: #0a7a63;
}

.article-bottom-home-link {
  display: inline-flex;
  align-items: center;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #e8e8e8;
  width: 100%;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #555;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

.article-bottom-home-link:hover {
  color: #0a7a63;
}

/* ─── META ─── */
.article-category {
  display: block;
  margin-top: 24px;
  margin-bottom: 16px;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0a7a63;
  text-transform: uppercase;
}

/* ─── TITLE ─── */
.article-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  margin-bottom: 16px;
}

/* ─── SUBTITLE ─── */
.article-subtitle {
  font-family: 'PT Sans', sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: #444;
  margin-bottom: 24px;
}

/* ─── META LINE ─── */
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  color: #888;
  padding-bottom: 24px;
  border-bottom: 2px solid #111;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.article-meta-sep { color: #ccc; }

/* ─── BODY TEXT ─── */
.article-body p {
  margin-bottom: 22px;
  color: #222;
}

.article-body h2 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 48px 0 14px;
  line-height: 1.3;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e8e8;
}

.lead::first-letter {
  font-size: 72px;
  font-weight: 700;
  line-height: 0.85;
  float: left;
  margin: 6px 10px 0 0;
  color: #0a7a63;
  font-family: 'PT Serif', Georgia, serif;
}

.article-body h3 {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 28px 0 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ─── LEAD ─── */
.lead {
  font-size: 20px;
  line-height: 1.65;
  color: #111;
  margin-bottom: 28px;
}

/* ─── PULLQUOTE ─── */
.pullquote {
  margin: 36px 0;
  padding: 0 0 0 20px;
  border-left: 3px solid #0a7a63;
}
.pullquote p {
  font-size: 21px;
  font-style: italic;
  color: #111;
  line-height: 1.45;
  margin: 0;
}

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: #f5f9f7;
  border-left: 3px solid #0a7a63;
  padding: 18px 22px;
  margin: 30px 0;
  border-radius: 0 4px 4px 0;
}
.highlight-box p {
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  color: #333;
  margin: 0;
  line-height: 1.6;
}
.highlight-box strong {
  color: #0a7a63;
}

/* ─── CAUTION BOX ─── */
.caution-box {
  background: #fdf8ee;
  border-left: 3px solid #c8860a;
  padding: 18px 22px;
  margin: 30px 0;
  border-radius: 0 4px 4px 0;
}
.caution-box p {
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

/* ─── FACT TABLE ─── */
.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
}
.fact-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #888;
  border-bottom: 2px solid #111;
  padding: 8px 12px 8px 0;
}
.fact-table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid #e8e8e8;
  color: #222;
  vertical-align: top;
  line-height: 1.5;
}
.fact-table td:first-child { color: #555; white-space: nowrap; }
.fact-table tr:last-child td { border-bottom: none; }

/* ─── KEY NUMBERS ─── */
.key-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e8e8e8;
  border: 1px solid #e8e8e8;
  margin: 30px 0;
}
.key-num {
  background: #fff;
  padding: 20px;
  text-align: center;
}
.key-num-val {
  font-family: 'PT Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0a7a63;
  line-height: 1;
}
.key-num-label {
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  color: #888;
  margin-top: 6px;
  line-height: 1.3;
}

/* ─── SOURCE NOTE ─── */
.source-note {
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  color: #999;
  border-top: 1px solid #e8e8e8;
  padding-top: 10px;
  margin-top: 30px;
  line-height: 1.6;
}
.source-note a { color: #0a7a63; text-decoration: underline; }

/* ─── HR ─── */
.article-body hr {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 36px 0;
}

/* ─── TAGS ─── */
.article-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.article-tag {
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  color: #555;
  border: 1px solid #ddd;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 32px 24px;
  margin-top: 60px;
}
.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-about {
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  color: #999;
  max-width: 500px;
  line-height: 1.5;
}
.footer-logo {
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #bbb;
}
.footer-logo span { color: #0a7a63; }

/* ─── ARTICLE GAME ─── */
.article-game {
  max-width: 720px;
  margin: 6px auto 0;
  padding: 0 24px;
}

/* ─── TABLET (max 768px) ─── */
@media (max-width: 768px) {
  .article-title { font-size: 28px; }

  .article-body h2 {
    font-size: 21px;
    margin: 36px 0 12px;
  }

  .lead { font-size: 18px; }

  .pullquote p { font-size: 19px; }

  .key-numbers { grid-template-columns: 1fr 1fr; }

  .article-game { max-width: 720px; padding: 0 16px; }

  .site-footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ─── MOBILE (max 480px) ─── */
@media (max-width: 480px) {
  body { font-size: 16px; line-height: 1.7; }

  /* Header */
  .site-header { padding: 0 16px; }
  .main-nav { display: none; }

  /* Article wrap */
  .article-wrap { padding: 0 16px 20px; }

  /* Category / meta */
  .article-category { margin-top: 24px; }

  /* Title */
  .article-title { font-size: 24px; line-height: 1.2; }

  /* Subtitle */
  .article-subtitle { font-size: 16px; }

  /* Meta line */
  .article-meta { gap: 8px; }
  .article-meta-sep { display: none; }

  /* Body headings */
  .article-body h2 {
    font-size: 20px;
    margin: 32px 0 10px;
  }
  .article-body h3 { font-size: 14px; }

  /* Lead — убираем drop cap на мобиле, он ломает строки */
  .lead { font-size: 17px; line-height: 1.65; }
  .lead::first-letter {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    float: none;
    margin: 0;
    color: inherit;
  }

  /* Pullquote */
  .pullquote { margin: 24px 0; padding-left: 14px; }
  .pullquote p { font-size: 17px; }

  /* Boxes */
  .highlight-box,
  .caution-box { padding: 14px 16px; }

  /* Fact table — горизонтальный скролл */
  .fact-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 28px -16px;
    padding: 0 16px;
  }
  .fact-table { min-width: 420px; }
  .fact-table td:first-child { white-space: normal; }

  /* Key numbers — в столбик */
  .key-numbers { grid-template-columns: 1fr; }
  .key-num-val { font-size: 28px; }

  .article-game { padding: 0 12px; margin-top: 4px; }

  /* Tags */
  .article-tags { margin-top: 28px; }

  /* Footer */
  .site-footer { padding: 24px 16px; margin-top: 40px; }
  .footer-about { max-width: 100%; }
}
