/* polotsk-turizm.by — lakeside destination theme
   Palette: lake #4CA64C, navy #2F6B33, air #FAF7EF, gold #E2A33C, stone #6E726B */

:root {
  --green: #4CA64C;
  --forest: #2F6B33;
  --cream: #FAF7EF;
  --amber: #E2A33C;
  --slate: #6E726B;
  --main-font-family: "Open Sans", Arial, sans-serif;
}

.vet-body {
  background-color: #FAF7EF;
  color: #1e293b;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.site-main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Nunito", Arial, sans-serif;
  color: #2F6B33;
  line-height: 1.25;
}
h1 { font-size: 2.1rem; font-weight: 700; }
h2 { font-size: 1.6rem; font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

/* ── Header / nav ───────────────────────────────── */
.vet-header {
  background: #4CA64C;
  border-bottom: 3px solid #E2A33C;
}
.vet-header .header-inner { padding: 0; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.brand-ul { list-style: none; margin: 0; padding: 0; }
.site-brand {
  display: inline-block;
  font-family: "Nunito", Arial, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  padding: 14px 0;
}
.site-brand:hover { color: #E2A33C; }
.nav-toggle {
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 0;
}
.site-menu { list-style: none; margin: 0; padding: 0; width: 100%; }
@media (min-width: 1024px) { .site-menu { width: auto; } }
.site-menu .nav-item { margin: 0; }
.site-menu .nav-link {
  display: block;
  color: #fff;
  font-family: "Nunito", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 12px;
  text-decoration: none;
  cursor: pointer;
}
.site-menu .nav-link:hover { color: #E2A33C; background: rgba(18, 58, 87, 0.5); }
.nav-dropdown { position: relative; margin: 0; border: none; }
.nav-dropdown summary { list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: " ▾"; color: #E2A33C; }
.nav-drop {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #4CA64C;
  border-top: 3px solid #E2A33C;
  min-width: 280px;
  box-shadow: 0 8px 20px rgba(18, 58, 87, 0.18);
}
@media (min-width: 1024px) {
  .nav-drop { position: absolute; left: 0; top: 100%; z-index: 60; }
}
.nav-drop-link {
  display: block;
  padding: 7px 16px;
  color: #2F6B33;
  font-size: 0.9rem;
  text-decoration: none;
}
.nav-drop-link:hover { color: #4CA64C; background: rgba(201, 162, 39, 0.12); }

/* ── Breadcrumbs ────────────────────────────────── */
.breadcrumb-wrap { padding: 16px 0 0; color: #6E726B; font-size: 0.88rem; }
.breadcrumb-wrap .breadcrumb { color: #6E726B; text-decoration: none; }
.breadcrumb-wrap a.breadcrumb:hover { color: #4CA64C; text-decoration: underline; }
.breadcrumb-wrap .is-current { color: #4CA64C; }
.crumb-sep { margin: 0 8px; color: #E2A33C; }

/* ── Content panel ──────────────────────────────── */
.page-shell { padding: 24px 0 56px; }
.layout-railed { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1024px) {
  .layout-railed { flex-direction: row; }
  .layout-railed .content-panel { flex: 1; min-width: 0; }
  .layout-railed .rail-col { width: 26%; }
}
.content-panel {
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(18, 58, 87, 0.06);
  padding: 32px 36px;
  margin-bottom: 24px;
}
.page-title { margin-top: 0; }

.site-prose a,
.site-block--paragraph a,
.site-list a,
.site-table a,
.card-excerpt a {
  color: #4CA64C;
  text-decoration: underline;
  text-decoration-color: rgba(201, 162, 39, 0.7);
  text-underline-offset: 3px;
}
.site-prose a:hover,
.site-block--paragraph a:hover,
.site-list a:hover,
.site-table a:hover { color: #2F6B33; text-decoration-color: #4CA64C; }

.site-figure { margin: 24px auto; text-align: center; }
.site-figure img,
.gallery-item img,
.content-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(18, 58, 87, 0.15);
}
.site-figure figcaption,
.gallery-item figcaption {
  font-style: italic;
  font-size: 0.85rem;
  color: #6E726B;
  padding-top: 6px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.site-table { overflow-x: auto; margin: 20px 0; }
.site-table table { width: 100%; }
.site-table td, .site-table th { padding: 10px 12px; vertical-align: top; }
.site-table img { max-width: 140px; height: auto; border-radius: 4px; }

blockquote {
  border-left: 4px solid #E2A33C;
  background: rgba(201, 162, 39, 0.07);
  padding: 12px 20px;
  font-style: italic;
}
hr { border: none; border-top: 1px solid #E2A33C; margin: 28px 0; }
.site-list { padding-left: 24px; margin: 16px 0; }

/* ── Cards ──────────────────────────────────────── */
.archive-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #4CA64C;
  border-radius: 6px;
  padding: 18px 22px;
  margin: 18px 0;
  box-shadow: 0 1px 6px rgba(18, 58, 87, 0.06);
}
.archive-card .card-title { font-size: 1.2rem; margin: 0 0 8px; }
.archive-card .card-title a { color: #4CA64C; text-decoration: none; }
.archive-card .card-title a:hover { color: #2F6B33; text-decoration: underline; }
.archive-card .card-excerpt { color: #475569; margin: 0; font-size: 0.95rem; }

.category-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
@media (min-width: 768px) {
  .category-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .category-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .category-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.category-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(18, 58, 87, 0.07);
  display: flex;
  flex-direction: column;
}
.category-card .card-media img, .category-card .card-h-media img {
  width: 100%; height: auto; display: block;
}
.category-card .card-h-row { display: flex; }
.category-card .card-h-media { flex: 0 0 36%; }
.category-card .card-h-media img { height: 100%; object-fit: cover; }
.category-card .card-body { padding: 16px 18px; }
.category-card .card-title { font-size: 1.1rem; margin: 0 0 8px; }
.category-card .card-title a { color: #2F6B33; text-decoration: none; }
.category-card .card-title a:hover { color: #4CA64C; }
.category-card .read-more {
  display: inline-block;
  margin-top: 10px;
  color: #4CA64C;
  font-family: "Nunito", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid #E2A33C;
  text-decoration: none;
}
.category-card .read-more:hover { color: #2F6B33; }
.category-card.card-style-minimal { border: none; border-left: 3px solid #4CA64C; border-radius: 0; box-shadow: none; background: transparent; }

/* ── Rail ───────────────────────────────────────── */
.vet-rail {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #E2A33C;
  border-radius: 8px;
  padding: 16px;
}
.rail-list { list-style: none; margin: 0; padding: 0; }
.rail-link {
  display: block;
  color: #2F6B33;
  font-size: 0.92rem;
  padding: 8px 4px;
  border-bottom: 1px solid #eef2f7;
  text-decoration: none;
}
.rail-link:hover { color: #4CA64C; }

/* ── ToC / meta ─────────────────────────────────── */
.toc-panel {
  background: rgba(31, 94, 140, 0.05);
  border: 1px solid #cbd5e1;
  border-left: 3px solid #E2A33C;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}
.toc-panel ul { margin: 8px 0 0; padding-left: 18px; }
.toc-panel a { color: #4CA64C; text-decoration: none; }
.toc-panel a:hover { text-decoration: underline; }
.toc-sticky { position: sticky; top: 16px; }
@media (min-width: 1024px) { .toc-mobile { display: none; } }

.meta-line { color: #6E726B; font-size: 0.85rem; }
.meta-line time { margin-right: 16px; }
.lead {
  font-size: 1.1rem;
  font-style: italic;
  color: #475569;
  border-left: 3px solid #E2A33C;
  padding-left: 16px;
}
@media (min-width: 1024px) {
  .content-main-image { float: right; max-width: 33%; margin: 0 0 16px 24px; }
}

/* ── Outlinks ───────────────────────────────────── */
.source-outlinks { padding: 8px 0 24px; }
.source-outlinks ul { margin: 0; padding: 0; list-style: none; }
.source-outlinks li { display: inline-block; margin-right: 18px; }
.source-outlinks a { color: #4CA64C; text-decoration: underline; font-size: 0.9rem; }

/* ── Footer ─────────────────────────────────────── */
.vet-footer { background: #2F6B33; color: #cbd5e1; padding-top: 32px; }
.vet-footer .footer-brand {
  font-family: "Nunito", Arial, sans-serif;
  color: #E2A33C;
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.vet-footer .footer-note { color: rgba(203, 213, 225, 0.75); }
.vet-footer .footer-links { list-style: none; margin: 0; padding: 0; }
.vet-footer .footer-links li { padding: 4px 0; }
.vet-footer .footer-links a { color: #cbd5e1; text-decoration: none; }
.vet-footer .footer-links a:hover { color: #E2A33C; }
.vet-footer .footer-copyright {
  background: rgba(0, 0, 0, 0.25);
  color: rgba(203, 213, 225, 0.6);
  font-size: 0.85rem;
  padding: 10px 0;
  margin-top: 16px;
}
.vet-footer .footer-copyright a { color: #E2A33C; text-decoration: none; }

/* ── Print ──────────────────────────────────────── */
@media print {
  .vet-header, .vet-rail, .vet-footer, .breadcrumb-wrap { display: none; }
  .vet-body { background: #fff; color: #000; }
  .content-panel { border: none; box-shadow: none; padding: 0; }
}


/* News-red brand accents (above-the-fold visibility) */
.vet-header { border-top: 5px solid #4CA64C; }
.vet-header .site-brand strong { color: #4CA64C !important; }
.vet-header .nav-link:hover { color: #4CA64C; }
.breadcrumb-wrap .is-current { color: #4CA64C; }
.archive-card { border-left-color: #4CA64C; }
body.vet-body { color: #1C1C1C; }
.meta-line, .site-figure figcaption { color: #6E726B; }
.site-prose a, .site-block--paragraph a { color: #4CA64C; }
.site-prose a:hover { color: #2F6B33; }


/* Vet warmth */
.vet-header { border-top: none; }
.site-prose a, .site-block--paragraph a { color: #2F6B33; }
.site-prose a:hover { color: #E2A33C; }
.content-panel { background: #FFFFFF; }
body.vet-body { color: #2C2C2C; }
.site-figure img { border-radius: 10px; }
