/* ============================================================
   TRAVEL-NEWS.TOP — Production CSS
   Editorial magazine style — clean, fast, trustworthy
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg:        #f9f7f4;
  --surface:   #ffffff;
  --ink:       #1a1814;
  --ink-soft:  #6b6560;
  --accent:    #c8402a;       /* editorial red */
  --accent2:   #1a5c8a;      /* deep blue */
  --warm:      #e8a020;      /* amber */
  --line:      #e8e4dc;
  --radius:    12px;
  --shadow:    0 2px 12px rgba(26,24,20,.06);
  --shadow-md: 0 6px 24px rgba(26,24,20,.1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box }
html { scroll-behavior:smooth }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -.02em }
h2 { font-size: clamp(1.4rem, 3vw, 2rem) }
h3 { font-size: 1.2rem }
a  { color: var(--accent2); text-decoration: none }
a:hover { text-decoration: underline }
img { max-width:100%; height:auto; display:block; border-radius: var(--radius) }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 22px }

/* ── TOP BAR ──────────────────────────────────────── */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 0;
  text-align: center;
}
.topbar a { color: var(--warm); margin: 0 12px }

/* ── HEADER ──────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249,247,244,.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--ink);
}
.bar {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px; gap: 16px;
}
.brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -.03em;
}
.brand span { color: var(--accent) }
.brand:hover { text-decoration: none }
.lang {
  display: flex; gap: 2px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  padding: 2px;
}
.lang button {
  border: 0; background: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 4px;
  color: var(--ink-soft);
  letter-spacing: .06em;
  transition: background .15s, color .15s;
}
.lang button.on { background: var(--ink); color: #fff }

/* ── NAV ──────────────────────────────────────────── */
.sitenav {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow-x: auto;
  scrollbar-width: none;
}
.sitenav::-webkit-scrollbar { display: none }
.sitenav .wrap {
  display: flex; gap: 0;
  align-items: center;
}
.sitenav a {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  padding: 11px 16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  letter-spacing: .03em;
}
.sitenav a:hover, .sitenav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* ── BREADCRUMBS ──────────────────────────────────── */
.crumbs {
  font-size: 13px; color: var(--ink-soft);
  padding: 14px 0 0;
}
.crumbs a { color: var(--ink-soft) }
.crumbs a:hover { color: var(--accent) }

/* ── HERO / FEATURED ──────────────────────────────── */
.hero-featured {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}
.hero-featured .hf-img {
  position: relative; overflow: hidden;
}
.hero-featured .hf-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .5s ease;
}
.hero-featured:hover .hf-img img { transform: scale(1.03) }
.hero-featured .hf-body {
  padding: 28px 26px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border-left: 1.5px solid var(--ink);
}
.hero-featured .hf-body .kicker {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.hero-featured .hf-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 14px;
  line-height: 1.22;
}
.hero-featured .hf-body h2 a { color: var(--ink) }
.hero-featured .hf-body h2 a:hover { color: var(--accent2) }
.hero-featured .hf-preview {
  font-size: 15px; color: var(--ink-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}
.hero-featured .hf-meta {
  font-size: 12.5px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.hf-read-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 9px 20px;
  border-radius: 6px;
  letter-spacing: .04em;
  transition: background .15s;
  margin-top: 14px;
  align-self: flex-start;
}
.hf-read-btn:hover { background: #a03020; text-decoration: none }

/* ── NEWS GRID ────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.news-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.news-card .nc-img {
  position: relative;
  height: 180px; overflow: hidden;
}
.news-card .nc-img img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 0;
  transition: transform .4s ease;
}
.news-card:hover .nc-img img { transform: scale(1.05) }
.news-card .nc-flag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(26,24,20,.75);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: .06em;
}
.news-card .nc-body { padding: 16px; flex: 1; display: flex; flex-direction: column }
.news-card .nc-meta { font-size: 12px; color: var(--ink-soft); margin-bottom: 6px }
.news-card h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.3 }
.news-card h3 a { color: var(--ink) }
.news-card h3 a:hover { color: var(--accent) }
.news-card .nc-preview {
  font-size: 14px; color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.nc-read {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--accent2);
  margin-top: 12px;
  transition: color .15s;
}
.nc-read:hover { color: var(--accent) }

/* ── REGION GRID (главная) ────────────────────────── */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.region-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding: 20px 14px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: block;
}
.region-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.region-card .rc-flag { font-size: 2.2rem; margin-bottom: 8px }
.region-card .rc-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
}
.region-card .rc-count {
  font-size: 12px; color: var(--ink-soft);
  margin-top: 3px;
}

/* ── COUNTRY HUB ──────────────────────────────────── */
.hub-layout {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 28px;
  margin-top: 22px;
}
.hub-latest {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}
.hub-latest .hl-img {
  height: 280px; overflow: hidden;
}
.hub-latest .hl-img img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 0;
}
.hub-latest .hl-body { padding: 22px 24px }
.hub-latest .hl-body .kicker {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.hub-latest .hl-body h2 { margin-bottom: 10px }
.hub-latest .hl-body h2 a { color: var(--ink) }
.hub-latest .hl-body .preview {
  font-size: 15px; color: var(--ink-soft);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hub article list */
.hub-list .news-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.hub-list .news-item:hover {
  border-color: var(--accent2);
  box-shadow: var(--shadow);
}
.hub-list .news-item .nd {
  font-size: 12px; color: var(--ink-soft); margin-bottom: 4px;
}
.hub-list .news-item h3 { font-size: 1rem; line-height: 1.3 }
.hub-list .news-item h3 a { color: var(--ink) }
.hub-list .news-item h3 a:hover { color: var(--accent) }
.hub-list .news-item .ni-preview {
  font-size: 13.5px; color: var(--ink-soft);
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Show more */
.show-more {
  display: block; width: 100%; padding: 12px;
  background: var(--surface);
  border: 2px dashed var(--line);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--accent2);
  cursor: pointer; margin-top: 4px;
  transition: all .2s;
}
.show-more:hover {
  background: #f0f5fa;
  border-color: var(--accent2);
}

/* ── CALENDAR ─────────────────────────────────────── */
.cal-wrap {
  position: sticky; top: 74px;
  max-height: calc(100vh - 86px);
  overflow-y: auto;
}
.cal-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1rem;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.cal-day {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12.5px;
  border: 1px solid var(--line);
  margin-bottom: 6px;
  background: var(--surface);
  transition: all .15s;
}
.cal-day:hover, .cal-day.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.cal-day .cd { font-weight: 700; font-size: 11px; letter-spacing: .05em }
.cal-day .ct {
  font-size: 11.5px; margin-top: 2px; opacity: .85;
  white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; max-width: 200px;
}

/* ── ARTICLE PAGE ─────────────────────────────────── */
.article-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  margin-top: 20px;
}
.article-main {}
.article-wrap {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.article-body { padding: 28px 32px }
.article-body .kicker {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.article-body h1 { margin-bottom: 12px }
.article-body .meta {
  font-size: 13px; color: var(--ink-soft);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  display: flex; gap: 14px; align-items: center;
}
.article-body p { margin-bottom: 18px; font-size: 17px; line-height: 1.78 }

/* Tip блок */
.tip-box {
  background: linear-gradient(135deg, #fff8e8, #fff3d4);
  border-left: 4px solid var(--warm);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: #5a3a00;
  line-height: 1.6;
}
.tip-icon { margin-right: 6px }

/* Article nav */
.art-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.art-nav-btn {
  display: inline-block;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13.5px; font-weight: 600;
  color: var(--accent2);
  transition: all .15s;
}
.art-nav-btn:hover {
  background: #f0f5fa;
  border-color: var(--accent2);
  text-decoration: none;
}
.art-nav-up { background: var(--ink); color: #fff; border-color: var(--ink) }
.art-nav-up:hover { background: #333; color: #fff }

/* ── SHARE BUTTONS ────────────────────────────────── */
.share {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.share .lbl {
  font-size: 12px; font-weight: 700;
  color: var(--ink-soft);
  display: block; margin-bottom: 10px;
  letter-spacing: .06em; text-transform: uppercase;
}
.share-btns { display: flex; gap: 8px; flex-wrap: wrap }
.share-btns a, .share-btns button {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .15s;
}
.share-btns a:hover, .share-btns button:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  text-decoration: none;
}
.share-fb:hover { background: #1877f2 !important; border-color: #1877f2 !important }
.share-x:hover  { background: #000 !important; border-color: #000 !important }
.share-wa:hover { background: #25d366 !important; border-color: #25d366 !important }
.share-tg:hover { background: #0088cc !important; border-color: #0088cc !important }
.share-rd:hover { background: #ff4500 !important; border-color: #ff4500 !important }

/* ── BANNER SLOTS ─────────────────────────────────── */
.banner-slot {
  background: repeating-linear-gradient(
    45deg, #f0ece4, #f0ece4 10px, #f9f7f4 10px, #f9f7f4 20px
  );
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  height: 100px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  font-size: 13px; font-weight: 600;
  margin: 20px 0;
  letter-spacing: .04em;
}
.banner-slot-tall { height: 250px }

/* ── SIDEBAR ──────────────────────────────────────── */
.sidebar {}
.sidebar-section {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
}
.sidebar-section .ss-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: .95rem;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.sidebar-trending li {
  list-style: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.sidebar-trending li:last-child { border-bottom: 0 }
.sidebar-trending li a { color: var(--ink) }
.sidebar-trending li a:hover { color: var(--accent) }
.sidebar-trending .si-num {
  font-weight: 700; color: var(--accent);
  margin-right: 6px; font-size: 12px;
}

/* ── SECTION HEADERS ──────────────────────────────── */
.sec-header {
  display: flex; align-items: baseline;
  gap: 14px; margin: 32px 0 16px;
}
.sec-header h2 {
  font-size: 1.5rem;
  position: relative;
}
.sec-header h2::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--accent);
  margin-top: 4px;
  width: 40px;
}
.sec-header a {
  font-size: 13px; font-weight: 600;
  color: var(--accent2);
  margin-left: auto;
}

/* ── BOOKMARK ─────────────────────────────────────── */
.bookmark {
  display: flex; align-items: center; gap: 10px;
  justify-content: center;
  font-size: 13.5px; color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 12px 22px;
  margin: 28px auto 0;
  max-width: 500px;
}
.bookmark svg { width:16px; height:16px; flex-shrink:0; color: var(--warm) }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--ink);
  color: #c8c4bc;
  padding: 40px 0 24px;
  margin-top: 40px;
  font-size: 14px;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
footer .footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
footer .footer-brand span { color: var(--accent) }
footer .footer-desc { font-size: 13.5px; color: #9a958c; line-height: 1.6 }
footer .footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin-bottom: 12px;
}
footer .footer-col a {
  display: block; color: #9a958c;
  font-size: 13.5px; margin-bottom: 7px;
  transition: color .15s;
}
footer .footer-col a:hover { color: #fff; text-decoration: none }
.footer-social {
  display: flex; gap: 10px; margin-top: 14px;
}
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff; font-size: 15px;
  transition: background .15s;
}
.footer-social a:hover { background: var(--accent); text-decoration: none }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  font-size: 12.5px; color: #6b6560;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}

/* ── REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.show { opacity: 1; transform: none }

/* ── MOBILE ────────────────────────────────────────── */
@media (max-width: 768px) {
  body { font-size: 16px }
  .hero-featured { grid-template-columns: 1fr }
  .hero-featured .hf-body { border-left: 0; border-top: 1.5px solid var(--ink) }
  .hub-layout { grid-template-columns: 1fr }
  .article-container { grid-template-columns: 1fr }
  .cal-wrap { position: static; max-height: none }
  .news-grid { grid-template-columns: 1fr }
  .region-grid { grid-template-columns: repeat(auto-fill, minmax(130px,1fr)) }
  footer .footer-grid { grid-template-columns: 1fr 1fr }
  .article-hero-img { height: 220px }
  .article-body { padding: 20px 18px }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none }
}
