/* omrude.ru - stylesheet of the start page (index.html), loaded after omrude.css.
   The rules were the inline <style> block of index.html (moved 2026-10-05, D-01). */
/* reset, colour variables, skip link, header and footer base: omrude.css; only what differs here */
body { font-family: "Georgia", "Times New Roman", serif; min-height: 100vh; }

a { color: inherit; text-decoration: none; }

/* ── HEADER ── */
.logo { line-height: 1.2; }
.logo-name { letter-spacing: -0.5px; }
.site-nav { gap: 2rem; }
.site-nav a { font-size: 0.85rem; letter-spacing: 0.3px; }

/* ── HERO / LEAD ARTICLE ── */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
.section-label {
  font-family: "Arial", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.hero-title {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.8rem;
  max-width: 600px;
}
.hero-excerpt {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 1rem;
}
.article-meta {
  font-family: "Arial", sans-serif;
  font-size: 0.75rem;
  color: var(--text-3);
}
.read-more {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: "Arial", sans-serif;
  font-size: 0.8rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
}
.read-more:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* ── FEATURED VILLAGE ── */
.featured-village {
  background: #faf8f4;
  border-bottom: 1px solid var(--border);
  padding: 2rem;
}
.featured-village-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}
.village-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.village-excerpt {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}
.village-facts {
  border-left: 2px solid var(--border);
  padding-left: 1.5rem;
}
.fact-row { margin-bottom: 0.8rem; }
.fact-label {
  font-family: "Arial", sans-serif;
  font-size: 0.65rem;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.fact-value {
  font-size: 0.9rem;
  color: var(--text-1);
  font-weight: 600;
}

/* ── MAIN GRID ── */
.main-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ── ARTICLE CARDS ── */
.article-card {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.article-card:last-child { border-bottom: none; margin-bottom: 0; }
.card-tag {
  font-family: "Arial", sans-serif;
  font-size: 0.65rem;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.card-excerpt {
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.6;
}
.card-meta {
  font-family: "Arial", sans-serif;
  font-size: 0.7rem;
  color: var(--text-3);
  margin-top: 0.6rem;
}

/* ── SIDEBAR ── */
.sidebar { }
.sidebar-block {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}
.sidebar-heading {
  font-family: "Arial", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}
.sidebar-link {
  display: block;
  font-size: 0.87rem;
  color: var(--text-2);
  padding: 0.3rem 0;
  border-bottom: 1px solid #eeecea;
  line-height: 1.35;
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--accent); text-decoration: none; }
.sidebar-link .meta {
  font-family: "Arial", sans-serif;
  font-size: 0.65rem;
  color: var(--text-3);
  display: block;
  margin-top: 1px;
}
.sidebar-text {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── WEBCAMS ("Omsk now", first sidebar block; 2026-10-07) ──
   16:9 box at the full block width (sidebar on the desktop, full width on the phone).
   The box stays hidden without JavaScript; omrude.js shows it and puts the player
   in only after a click, so the page itself loads nothing from the video service. */
.webcam-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #2a2520;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}
.webcam-player { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.webcam-start {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 0; background: #2a2520; color: #f5f4f0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem;
  font-family: "Arial", sans-serif;
}
.webcam-start:hover .webcam-play, .webcam-start:focus .webcam-play { background: #a0522d; }
.webcam-play {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.webcam-start-text { font-size: 0.82rem; }
.webcam-start-note { font-size: 0.65rem; color: #c5c0b8; }
.webcam-link[aria-current="true"] { color: var(--accent); font-weight: 600; }

/* ── ABOUT STRIP ── */
.about-strip {
  background: #2a2520;
  color: #d5d0c8;
  padding: 1.5rem 2rem;
}
.about-strip-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}
.about-label {
  font-family: "Arial", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a39888;
  white-space: nowrap;
  margin-top: 3px;
}
.about-text {
  font-size: 0.87rem;
  line-height: 1.65;
  color: #c5c0b8;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
}
.footer-copy { font-size: 0.75rem; }
.footer-links a { font-size: 0.75rem; }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .header-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .site-nav { flex-wrap: wrap; gap: 1rem; }
  .featured-village-inner { grid-template-columns: 1fr; }
  .village-facts { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 1rem; }
  .main-wrapper { grid-template-columns: 1fr; }
  .about-strip-inner { flex-direction: column; gap: 0.5rem; }
  /* ── Mobile layout ──────────────────────────────── */
  .site-header { padding-left: 1rem; padding-right: 1rem; }
  .logo-name { font-size: 1.1rem; }
  .main-wrapper { padding: 1.2rem 1rem; }
  .article-card { padding: 1rem; }
  .sidebar-link { padding: 0.65rem 0; }
}

/* ── Index images ─────────────────────────────────────── */
.hero-img { margin-top: 1.2rem; }
.hero-img img { max-width: 480px; width: 100%; height: auto;
  border-radius: 2px; box-shadow: 0 1px 4px rgba(0,0,0,.15); display: block; }
.hero-img figcaption { font-size: 0.7rem; color: var(--text-3);
  margin-top: 0.4rem; line-height: 1.4; font-style: italic; }


/* entries without a page (a without href) do not react like links */
a:not([href]) { cursor: default; }
a:not([href]):hover { text-decoration: none; }
.sidebar-link:not([href]):hover { color: var(--text-2); }
.related-card:not([href]):hover { border-color: var(--border); }

/* webcams: fallback link below the player (shown by omrude.js; without JavaScript the camera links already open vk.com) */
.webcam-open { font-size: 0.8rem; }
.webcam-open[hidden] { display: none; }
