:root {
  --ink: #1c1915;
  --paper: #f3eee4;
  --paper-2: #e7e0d2;
  --panel: #fffaf3;
  --pine: #1f4a40;
  --pine-2: #16362e;
  --copper: #b8613a;
  --line: rgba(31, 74, 64, 0.16);
  --muted: #6d655b;
  --text: #241f1a;
  --shadow: 0 18px 40px rgba(36, 31, 26, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(31, 74, 64, 0.05), transparent 220px),
    var(--paper);
  font-family: Figtree, Outfit, sans-serif;
  font-weight: 420;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.jewel { display: none; }

.km-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 28px;
  background: rgba(243, 238, 228, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.km-brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.km-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--pine);
  color: #f6f1e6;
  font-family: Fraunces, serif;
  font-weight: 600;
}
.km-brand b { display: block; font-family: Fraunces, serif; font-size: 22px; font-weight: 560; letter-spacing: -0.03em; }
.km-brand small { display: block; margin-top: 2px; color: var(--copper); letter-spacing: 0.16em; font-size: 10px; text-transform: uppercase; }
.km-nav { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.km-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--pine-2);
}
.km-nav a:hover { background: #efe6d6; }

header:not(.km-bar) { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 28px 22px 64px; }
.kicker, .crumb, .crumb-seo {
  color: var(--copper);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  font-family: Fraunces, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
h1 { font-size: clamp(34px, 5vw, 58px); margin: 8px 0 14px; }
.sheet, .sheet.prose, .sheet.seo-long, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.read, .meta, .legal { color: var(--muted); }
.feed, .list, .pyramid, .related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 22px 0;
}
.card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card .thumb, .card .wave { position: relative; aspect-ratio: 4/5; background: #ddd4c6; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.chip {
  position: absolute; left: 10px; bottom: 10px;
  background: var(--pine); color: #f7f2e8;
  border-radius: 999px; padding: 4px 10px; font-size: 12px;
}
.card h2 { font-size: 22px; margin: 10px 14px 4px; }
.card p, .card .meta, .card .more, .card .sh { margin: 0 14px 12px; }
.more {
  display: inline-block;
  color: var(--pine);
  font-weight: 650;
}
.side, .faq-box, .latest { margin-top: 22px; }
.foot-grid, .site-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.site-footer a, .foot-grid a { display: block; padding: 4px 0; color: var(--pine-2); }
.gate {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  background: rgba(28, 25, 21, 0.62);
  padding: 20px;
}
.gate-box {
  max-width: 460px;
  background: var(--panel);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
}
.gate-actions { display: flex; gap: 10px; justify-content: center; }
.yes, .no, .cta {
  border: 0; border-radius: 999px; padding: 12px 16px; cursor: pointer;
  font: inherit;
}
.yes, .cta { background: var(--pine); color: #f7f2e8; }
.no { background: #efe6d6; color: var(--ink); }
.logo { text-align: center; font-family: Fraunces, serif; letter-spacing: 0.08em; font-size: 28px; color: var(--pine); padding-top: 18px; }
.warn {
  margin: 12px 14px;
  padding: 12px;
  border-radius: 14px;
  background: #fff6ee;
  color: #8a3e22;
  text-align: center;
}
.km-lead {
  font-size: 18px;
  color: var(--pine-2);
  max-width: 68ch;
}
@media (max-width: 760px) {
  .km-bar { align-items: flex-start; flex-direction: column; padding: 12px 14px; }
  .wrap { padding: 18px 14px 48px; }
  h1 { font-size: 34px; }
}

.seo-row { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.seo-row a { color: var(--pine); font-weight: 650; }
.feed { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 8px 18px; }

.yer-roman { margin-top: 28px; background: #fffaf3; border: 1px solid rgba(31,74,64,.16); border-radius: 18px; padding: 22px 20px 28px; }
.yer-roman h2 { font-size: 28px; margin: 22px 0 8px; }
.yer-roman p { font-size: 17px; line-height: 1.65; margin: 0 0 12px; max-width: 78ch; }

.semt-map{width:100%;height:280px;border:0;border-radius:16px;margin:14px 0 18px}
