/* ============================================================
   Раздел «Путешествия» — стили поверх site.css
   (использует те же дизайн-токены: --bg, --accent, --line…)
   ============================================================ */

/* ---------- nav: на travel-страницах ссылки видны и на мобиле ---------- */
.nav-travel .nav-links { display: flex; }
@media (max-width: 960px) {
  .nav-travel .nav-links { display: flex; }
}
@media (max-width: 480px) {
  .nav-travel .brand { font-size: 12.5px; }
  .nav-travel .nav-links a { padding: 8px 8px; font-size: 12px; }
}

/* ---------- hero раздела ---------- */
.travel-hero {
  padding: clamp(140px, 24vh, 220px) 0 clamp(44px, 7vh, 76px);
}
.travel-h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 7.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.travel-h1 .country-code-big {
  font-size: 0.32em;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 5px 12px;
  vertical-align: 0.35em;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.travel-hero .sec-sub { max-width: 62ch; }
.travel-stats {
  margin-top: 26px;
  font-size: 12.5px;
  letter-spacing: 0.07em;
  color: var(--faint);
}
.crumbs a { transition: color 0.2s; }
.crumbs a:hover { color: var(--accent-2); }

/* ---------- индекс: сетка стран ---------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .country-grid { grid-template-columns: 1fr; } }

.country-card { min-height: 250px; }
.country-code {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1px solid var(--line-2);
  border-radius: 7px;
  padding: 5px 10px;
}
.country-period {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--faint);
  margin-top: 9px;
}
.country-card .card-desc { max-width: 52ch; }
.country-card.is-soon { opacity: 0.78; }
.country-card.is-soon:hover { transform: none; box-shadow: none; background: var(--card); }

/* ---------- страница страны: лента постов ---------- */
.wrap-narrow { max-width: 860px; }

.post + .post {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
.post-date {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.2s;
}
.post-date::before { content: "// "; opacity: 0.8; }
.post-date:hover { color: var(--accent-2); }
.post-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(27px, 3.8vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 14px 0 0;
  text-wrap: balance;
}

/* ---------- типографика поста ---------- */
.post-body { margin-top: 28px; }
.post-body p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.72;
  text-wrap: pretty;
}
.post-body b { font-weight: 600; }
.post-body a { color: var(--accent); }
.post-body a:hover { color: var(--accent-2); }
.post-body h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(21px, 2.7vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 44px 0 18px;
}
.post-body h2::before { content: "## "; color: var(--accent); font-weight: 600; }
.post-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 34px 0 14px;
}
.post-body h3::before { content: "### "; color: var(--accent); font-weight: 500; }
.post-body blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 2px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--card);
}
.post-body blockquote p {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--dim);
  margin: 0 0 10px;
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.post-body li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}
.post-body ul li {
  position: relative;
  padding-left: 24px;
}
.post-body ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.post-body ol {
  margin: 0 0 18px;
  padding-left: 26px;
}
.post-body ol li { padding-left: 4px; }
.post-body ol li::marker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 14px;
}
.post-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 38px 0;
}

/* ---------- фото и слоты под фото ---------- */
.post-body .photo { margin: 28px 0; }
.post-body .photo img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.post-body .photo figcaption {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  margin-top: 10px;
}
.post-body .photo figcaption::before { content: "// "; color: var(--accent); }

.photo-slot {
  margin: 28px 0;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background:
    repeating-linear-gradient(135deg, var(--line-grid) 0 1px, transparent 1px 11px),
    var(--bg-2);
}
.photo-slot .ph-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  padding: 6px 12px;
}
.photo-slot .ph-desc {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--faint);
  max-width: 52ch;
}
.photo-inline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--faint);
  border: 1px dashed var(--line-2);
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
}
