/* ===========================================================
   Мокрый Корь — общие стили для обоих вариантов
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=PT+Serif:ital,wght@0,400;0,700;1,400&family=Ruslan+Display&family=Unbounded:wght@300;400;500;600;700&display=swap');

/* ---------- Токены ---------- */
:root {
  /* Вариант B — «Вишнёвая лента с золотом» */
  --B-brand:        #8B1F2E;
  --B-brand-deep:  #5f1421;
  --B-brand-soft:  #a84655;
  --B-bg:          #F8FBF3;
  --B-bg-warm:     #F1EEE5;
  --B-cherry:      #8B1F2E;
  --B-cherry-deep: #6b1724;
  --B-cherry-soft: #a84655;
  --B-gold:        #B5924A;
  --B-gold-soft:   #d9bf85;
  --B-title-gold:  #9b681f;
  --B-text:        #1f2a1e;
  --B-muted:       #6b7568;
  --B-line:        #dcd9cd;

  /* Вариант D — «Светлый паломнический» */
  --D-brand:        #2a3a28;
  --D-bg:           #FAF7EF;
  --D-bg-deep:      #F1EADD;
  --D-paper:        #EFE8D6;
  --D-cherry:       #7a1624;
  --D-gold:         #A07828;
  --D-gold-bright:  #C9A961;
  --D-text:         #2b2418;
  --D-muted:        #7a7060;
  --D-line:         #D9CFB7;
}

/* ---------- Сброс и типографика ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--B-text); background: var(--B-bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }


/* ---------- Подписи артбордов ---------- */
.board-wrap { position: relative; }
.board {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 12px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
}
.board-scroll { overflow: hidden; position: relative; }

/* ---------- Плейсхолдеры для фото которых нет ---------- */
.ph {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.04) 0 8px, transparent 8px 16px),
    #e6e3d8;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #888;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================================================
   ВАРИАНТ B — «Зелёный с вишнёвой лентой»
   ========================================================= */
.vB { font-family: 'Inter', system-ui, sans-serif; color: var(--B-text); background: var(--B-bg); }
.vB h1, .vB h2, .vB h3, .vB h4, .vB h5 { font-family: 'Unbounded', 'Inter', sans-serif; font-weight: 500; letter-spacing: -0.01em; margin: 0; color: var(--B-text); }
.vB .serif { font-family: 'PT Serif', Georgia, serif; }
.vB { --mk-header-offset: 0px; }
.vB { --mk-header-bottom: 0px; }
.vB {
  --mk-photo-frame-red:    #C81A1A;   /* красный ленты «Мокрый Корь» */
  --mk-photo-frame-yellow: #E0A800;   /* золото ленты */
  --mk-photo-frame-line:   1.5px;     /* ширина каждой из двух линий */
}

/* Topbar */
.vB .topbar {
  background: var(--B-brand-deep);
  color: #e8e4d4;
  font-size: 12px;
  padding: 10px 0;
  letter-spacing: 0.03em;
}
.vB .topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 60px;
}
.vB .topbar-dot { opacity: 0.4; margin: 0 10px; }
.vB .topbar .geo::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--B-gold); margin-right: 8px; vertical-align: middle;
}

/* Header */
.vB .header {
  background: var(--B-brand);
  color: #fff;
  padding: 18px 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.vB .header.transparent { background: transparent; position: absolute; top: 36px; left: 0; right: 0; z-index: 20; }
.vB .logo { display: flex; align-items: center; gap: 14px; }
.vB .site-logo-card {
  min-width: 158px;
  padding: 8px 15px 9px;
  border-radius: 5px;
  background: linear-gradient(180deg, #d8bd76 0%, #b9933d 100%);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.16), 0 4px 14px rgba(0,0,0,.18);
  color: var(--B-cherry-deep);
  text-align: center;
  line-height: 1.05;
}
.vB .site-logo-card__label {
  font-family: 'Ruslan Display', 'PT Serif', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--B-cherry-deep);
  text-shadow: 0 1px 0 rgba(255,244,214,.7), 1px 1px 0 rgba(95,20,33,.16);
}
.vB .site-logo-card__name {
  margin-top: 5px;
  font-family: 'Ruslan Display', 'PT Serif', Georgia, serif;
  font-size: 28px;
  color: var(--B-cherry-deep);
  text-shadow: 0 1px 0 rgba(255,244,214,.7), 1px 1px 0 rgba(95,20,33,.18);
  white-space: nowrap;
}
.vB .logo-icon {
  width: 44px; height: 52px; border-radius: 2px; overflow: hidden;
  border: 1.5px solid var(--B-gold); background: var(--B-bg);
  flex-shrink: 0;
}
.vB .logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.vB .logo-txt { line-height: 1.1; }
.vB .logo-txt .n1 { font-family: 'Unbounded'; font-weight: 500; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.vB .logo-txt .n2 { font-size: 11px; opacity: 0.75; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 3px; }
.vB .menu { display: flex; gap: 38px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.vB .menu a {
  position: relative;
  opacity: 0.88;
  padding: 8px 0;
  white-space: nowrap;
  display: block;
  transition: opacity 0.25s ease, transform 0.1s ease;
}
.vB .menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--B-gold);
  border-radius: 1px;
  transition: width 0.25s ease;
}
.vB .menu a:hover { opacity: 1; }
.vB .menu a:hover::after,
.vB .menu a.active::after { width: 100%; }
.vB .menu a.active { opacity: 1; }
.vB .menu a:active { transform: translateY(1px); }
.vB .header-menu-host { min-width: 0; overflow: visible; }

/* Submenu dropdown */
.vB .submenu {
  position: absolute; top: 100%; left: 0; z-index: 100;
  background: var(--B-brand-deep);
  min-width: 420px; max-width: 560px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 6px 0;
  margin-top: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-radius: 4px;
  border-top: 2px solid var(--B-gold);
  /* Анимация появления через opacity/visibility */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s 0.22s;
}
/* Невидимый мостик, чтобы курсор не терял hover при переходе к подменю */
.vB .menu-item-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.vB .menu-item-wrap:hover .submenu,
.vB .menu-item-wrap:focus-within .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.vB .submenu-item {
  display: block;
  position: relative;
  padding: 14px 24px 14px 24px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

/* Золотая полоса слева */
.vB .submenu-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--B-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
/* Отключаем нижнее подчёркивание (наследуется от .vB .menu a::after) */
.vB .submenu-item::after { display: none !important; }

.vB .submenu-item:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
  padding-left: 32px;
}
.vB .submenu-item:hover::before { transform: scaleX(1); }
.vB .submenu-item:active        { background: rgba(255,255,255,0.12); }

/* Text + Photo blocks (Рашковский / Качановский) */
.vB .text-photo-block {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 42px !important;
  padding-bottom: 42px !important;
}
.vB .text-photo-frame-outer {
  border: none;
  border-radius: 8px;
  padding: 14px;
  background: #efe7c6;
}
.vB .text-photo-frame-inner {
  border: 1px solid var(--B-line);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.vB .text-photo-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}
.vB .text-photo-grid.text-photo-grid--rashkovsky {
  grid-template-columns: 340px 1fr;
}
.vB .text-photo-block.reverse .text-photo-grid {
  grid-template-columns: 1fr 300px;
}
.vB .text-photo-text-wrap {
  border: 1px solid var(--B-gold-soft);
  border-radius: 8px;
  background: var(--B-bg-warm);
  padding: 16px 18px;
}
.vB .text-photo-text {
  font-size: 18px;
  line-height: 1.78;
  color: var(--B-text);
  text-align: justify;
}
.vB .text-photo-text p:first-child {
  margin-top: 0;
}
.vB .text-photo-text p:last-child {
  margin-bottom: 0;
}
.vB .text-photo-text.serif {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 18px;
  line-height: 1.82;
}
.vB .home-church-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

/* Video section */
.vB .video-section {
  max-width: 1320px;
  margin: 0 auto;
}
.vB .video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.vB .video-item {
  display: grid;
  gap: 16px;
}
.vB .video-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--B-text);
}
.vB .video-embed {
  position: relative;
  width: 100%;
  max-width: 650px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.vB .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Section header */
.vB .sect-header {
  margin-bottom: 48px;
}
.vB .sect-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--B-cherry);
  margin-bottom: 12px;
  font-weight: 600;
}
.vB .sect-title {
  font-family: 'Unbounded';
  font-size: 42px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--B-text);
}

.vB .btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; transition: all 0.2s;
}
.vB .btn-primary { background: var(--B-cherry); color: #fff; }
.vB .btn-primary:hover { background: var(--B-cherry-deep); }
.vB .btn-ghost { border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.vB .btn-dark { background: var(--B-brand); color: #fff; }
.vB .btn-outline { border: 1px solid var(--B-brand); color: var(--B-brand); }

/* Hero */
.vB .hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: #fff;
}
.vB .hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.vB .hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,32,18,0.65) 0%, rgba(20,32,18,0.25) 40%, rgba(20,32,18,0.85) 100%);
}
.vB .hero-content {
  position: relative; z-index: 5;
  padding: 180px 60px 120px;
  max-width: 1100px;
}
.vB .hero-eyebrow {
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--B-gold-soft); margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.vB .hero-eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--B-gold); }
.vB .hero-title {
  font-family: 'Unbounded';
  font-size: 88px; line-height: 1.02; font-weight: 400;
  letter-spacing: -0.02em; margin-bottom: 32px;
  text-wrap: balance;
}
.vB .hero-title em { font-style: normal; color: var(--B-gold-soft); }
.vB .hero-sub {
  font-size: 18px; line-height: 1.6; max-width: 620px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 44px;
}
.vB .hero-actions { display: flex; gap: 16px; }

/* Hero counter / meta strip */
.vB .hero-meta {
  position: absolute; bottom: 40px; left: 60px; right: 60px; z-index: 5;
  display: flex; justify-content: space-between; align-items: flex-end;
  color: rgba(255,255,255,0.8); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.vB .hero-dots { display: flex; gap: 8px; }
.vB .hero-dots span { width: 24px; height: 2px; background: rgba(255,255,255,0.3); }
.vB .hero-dots span.on { background: var(--B-gold); }

/* Cherry ribbon */
.vB .ribbon {
  background: var(--B-cherry);
  color: #fff;
  padding: 28px 60px;
  display: flex; align-items: center; justify-content: center; gap: 60px;
  position: relative;
  overflow: hidden;
}
.vB .ribbon::before, .vB .ribbon::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 60px; background: var(--B-cherry-deep);
}
.vB .ribbon::before { left: 0; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.vB .ribbon::after { right: 0; clip-path: polygon(40% 50%, 0 0, 100% 0, 100% 100%, 0 100%); }
.vB .ribbon-phrase {
  font-family: 'PT Serif', serif;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 540px;
  position: relative; z-index: 2;
}
.vB .ribbon-sep {
  width: 1px; height: 48px; background: rgba(255,255,255,0.3);
  position: relative;
}
.vB .ribbon-sep::after {
  content: "✦"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--B-gold-soft); font-size: 14px;
  background: var(--B-cherry); padding: 0 8px;
}

/* Section titles */
.vB .sect { padding: 120px 60px; }
.vB .sect-label {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--B-cherry); margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.vB .sect-label::before { content: ""; width: 28px; height: 1px; background: var(--B-cherry); }
.vB .sect-title {
  font-family: 'Unbounded';
  font-size: 56px; font-weight: 400; line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 28px;
}
.vB .sect-lead {
  font-family: 'PT Serif', serif; font-size: 20px; line-height: 1.6;
  color: var(--B-muted); max-width: 680px;
}

/* Icon section */
.vB .icon-block {
  display: grid; grid-template-columns: 420px 1fr; gap: 90px; align-items: center;
}
.vB .icon-frame {
  background: linear-gradient(180deg, #c6a25f 0%, #9b7730 100%);
  padding: 18px; border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.4);
  position: relative;
}
.vB .icon-frame::before {
  content: ""; position: absolute; inset: 12px;
  border: 1.5px solid rgba(255,255,255,0.4);
  pointer-events: none;
}
.vB .icon-frame img { width: 100%; aspect-ratio: 0.72; object-fit: cover; }

.vB .quote-mark {
  font-family: 'PT Serif', serif;
  font-size: 140px; line-height: 0.7;
  color: var(--B-cherry); opacity: 0.2;
  display: block; margin-bottom: -20px;
}
.vB .quote-body {
  font-family: 'PT Serif', serif;
  font-size: 26px; line-height: 1.5;
  font-style: italic;
  color: var(--B-text);
  margin-bottom: 28px;
  text-wrap: pretty;
}
.vB .quote-author {
  font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--B-cherry); font-weight: 600;
}
.vB .quote-author-sub {
  font-size: 13px; color: var(--B-muted); margin-top: 4px;
}

/* Cards grid (sections) */
.vB .cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.vB .card-sect {
  position: relative; overflow: hidden;
  aspect-ratio: 0.85;
  background: var(--B-brand-deep);
  color: #fff;
}
.vB .card-sect .ph, .vB .card-sect img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.vB .card-sect::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(20,32,18,0.9) 100%);
}
.vB .card-sect:hover img { transform: scale(1.05); }
.vB .card-sect-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 32px 28px;
}
.vB .card-sect-num {
  font-size: 11px; letter-spacing: 0.2em; color: var(--B-gold-soft);
  margin-bottom: 10px;
}
.vB .card-sect h3 {
  font-family: 'Unbounded'; font-size: 24px; font-weight: 400;
  margin-bottom: 10px; color: #fff;
}
.vB .card-sect p {
  font-size: 13px; line-height: 1.55; opacity: 0.85;
  margin: 0;
}
.vB .card-sect-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

/* Parallax story */
.vB .story {
  position: relative; padding: 160px 60px; color: #fff;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.vB .story::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,32,18,0.9) 0%, rgba(20,32,18,0.5) 100%);
}
.vB .story-inner { position: relative; z-index: 2; max-width: 640px; }

/* Why cards */
.vB .why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.vB .why-card {
  background: var(--B-brand-deep); color: #fff;
  padding: 36px 30px; min-height: 240px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.vB .why-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}
.vB .why-num { font-family: 'Unbounded'; font-size: 36px; color: var(--B-gold); font-weight: 300; margin-bottom: 24px; }
.vB .why-card h4 { font-family: 'Unbounded'; font-size: 20px; margin-bottom: 12px; color: #fff; font-weight: 400; }
.vB .why-card p { font-size: 13px; line-height: 1.55; opacity: 0.8; margin: 0; }

/* News cards */
.vB .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 60px; }
.vB .news-card { background: #fff; border: 1px solid var(--B-line); }
.vB .news-img { aspect-ratio: 1.4; overflow: hidden; }
.vB .news-img img { width: 100%; height: 100%; object-fit: cover; }
.vB .news-body { padding: 28px 28px 32px; }
.vB .news-meta {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--B-cherry); margin-bottom: 14px; font-weight: 600;
}
.vB .news-meta span { color: var(--B-muted); margin-left: 14px; font-weight: 400; }
.vB .news-card h4 { font-family: 'Unbounded'; font-size: 18px; line-height: 1.3; font-weight: 400; margin-bottom: 14px; }
.vB .news-card p { font-size: 14px; line-height: 1.6; color: var(--B-muted); margin: 0; }
.vB .news-more {
  margin-top: 20px; font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--B-cherry); font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}

.vB .news-page-jump {
  background: #fff;
}
.vB .news-page-jump__panel {
  overflow: visible;
  padding-top: 8px;
}
.vB .news-page-jump__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(53, 78, 51, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--B-brand);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.vB .news-page-jump__link:hover,
.vB .news-page-jump__link:focus-visible {
  background: var(--B-brand);
  border-color: var(--B-brand);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(53, 78, 51, 0.16);
}
.vB .news-page-jump__link:active {
  transform: translateY(0);
  box-shadow: none;
}
.vB .news-page-jump__link.is-active {
  background: var(--B-brand);
  border-color: var(--B-brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(53, 78, 51, 0.16);
}
.vB .news-page-jump__link--nav {
  min-width: 42px;
  font-size: 16px;
}
.vB .news-card__read-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--B-brand);
  border: 1px solid var(--B-brand);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(139,31,46,.16);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.vB .news-card__read-more:hover,
.vB .news-card__read-more:focus-visible {
  background: var(--B-brand-deep);
  box-shadow: 0 10px 22px rgba(139,31,46,.22);
  transform: translateY(-1px);
}
.vB .news-card__read-more:active {
  transform: translateY(0);
  box-shadow: none;
}

.vB .news-body-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 40px 30px;
}
.vB .news-body-wrap--with-cover {
  max-width: 1040px;
}
.vB .news-body-wrap::after {
  content: "";
  display: block;
  clear: both;
}
.vB .news-cover-float {
  float: left;
  width: min(360px, 42%);
  margin: 4px 34px 20px 0;
}
.vB .news-cover-float img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(53,78,51,.16);
}
.vB .news-content {
  font-size: 20px;
  line-height: 1.85;
  color: var(--B-text);
}

@media (max-width: 760px) {
  .vB .news-body-wrap,
  .vB .news-body-wrap--with-cover {
    max-width: 820px;
    padding: 32px 22px 26px;
  }
  .vB .news-cover-float {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }
}

/* Footer */
.vB .footer {
  background: linear-gradient(180deg, #7d1b2a 0%, var(--B-brand-deep) 100%);
  color: #e5e1d4;
  padding: 88px 60px 34px;
}
.vB .footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(220px, 1fr));
  gap: 52px 40px;
}
.vB .footer h5 {
  font-family: 'Unbounded', sans-serif;
  color: var(--B-gold-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
  font-weight: 500;
}
.vB .footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vB .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vB .footer-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  width: fit-content;
}
.vB .footer-logo-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
}
.vB .footer-logo-subtitle {
  font-family: 'PT Serif', serif;
  font-size: 13px;
  color: var(--B-gold-soft);
  opacity: 0.9;
}
.vB .footer-lead {
  margin: 0;
  max-width: 340px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(232, 228, 216, 0.86);
}
.vB .footer-contact-links {
  display: grid;
  gap: 8px;
}
.vB .footer-col ul,
.vB .footer-contact-links {
  display: grid;
  gap: 7px;
}
.vB .footer-col a,
.vB .footer-contact-links a,
.vB .footer-bottom-links a {
  color: rgba(232, 228, 216, 0.85);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.vB .footer-col a:hover,
.vB .footer-contact-links a:hover,
.vB .footer-bottom-links a:hover {
  color: #fff;
  border-color: rgba(232, 228, 216, 0.55);
}
.vB .footer-col a:focus-visible,
.vB .footer-contact-links a:focus-visible,
.vB .footer-bottom-links a:focus-visible,
.vB .footer-logo:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .footer-col a:active,
.vB .footer-contact-links a:active,
.vB .footer-bottom-links a:active,
.vB .footer-logo:active {
  opacity: 0.72;
}
.vB .footer-bottom {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.vB .footer-bottom-copy {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 228, 216, 0.66);
}
.vB .footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

@media (max-width: 1100px) {
  .vB .footer {
    padding: 74px 32px 30px;
  }
  .vB .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }
}

@media (max-width: 700px) {
  .vB .footer {
    padding: 56px 18px 24px;
  }
  .vB .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .vB .footer-bottom {
    margin-top: 34px;
    padding-top: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .vB .footer-bottom-links {
    justify-content: flex-start;
    gap: 14px;
  }
}

/* Breadcrumbs + page hero */
.vB .page-hero {
  background: var(--B-brand); color: #fff;
  padding: 160px 60px 90px;
  position: relative; overflow: hidden;
}
.vB .page-hero-bg {
  position: absolute; inset: 0; opacity: 0.22;
  background-size: cover; background-position: center;
}
.vB .page-hero-inner { position: relative; z-index: 2; }
.vB .crumbs { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; margin-bottom: 22px; }
.vB .crumbs a { opacity: 0.7; }
.vB .crumbs .sep { margin: 0 10px; opacity: 0.4; }
.vB .page-hero h1 {
  font-family: 'Unbounded'; font-size: 72px; font-weight: 400;
  line-height: 1.02; letter-spacing: -0.02em; max-width: 900px; color: #fff;
}
.vB .page-hero .lede {
  margin-top: 24px; max-width: 640px; font-size: 17px; line-height: 1.6;
  color: rgba(255,255,255,0.82);
  font-family: 'PT Serif', serif;
}

/* Content article */
.vB .article { max-width: 860px; margin: 0 auto; padding: 90px 40px; }
.vB .article p { font-family: 'PT Serif', serif; font-size: 19px; line-height: 1.75; color: var(--B-text); margin: 0 0 26px; }
.vB .article p:first-of-type::first-letter {
  font-family: 'Unbounded'; font-size: 64px; line-height: 0.9;
  float: left; padding: 6px 12px 0 0; color: var(--B-cherry);
}
.vB .article h2 { font-family: 'Unbounded'; font-size: 32px; margin: 50px 0 20px; font-weight: 400; }
.vB .pullquote {
  font-family: 'PT Serif', serif; font-style: italic;
  font-size: 26px; line-height: 1.45; color: var(--B-cherry);
  padding: 30px 0 30px 40px;
  border-left: 3px solid var(--B-cherry);
  margin: 40px 0;
}
.vB .article-fig { margin: 40px 0; }
.vB .article-fig img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.vB .article-fig figcaption { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--B-muted); margin-top: 14px; }

/* About page: history */
.vB .about-hero {
  background: var(--B-bg-warm);
  padding: 56px 40px 34px;
}
.vB .about-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}
.vB .about-crumbs {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--B-muted);
  margin-bottom: 18px;
}
.vB .about-crumbs .sep {
  margin: 0 10px;
  color: var(--B-cherry);
  opacity: 0.7;
}
.vB .about-crumbs a {
  color: var(--B-brand);
  opacity: 0.9;
  transition: color 0.22s ease, opacity 0.22s ease;
}
.vB .about-crumbs a:hover {
  color: var(--B-cherry);
  opacity: 1;
}
.vB .about-crumbs a:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .about-crumbs a:active {
  opacity: 0.72;
}
.vB .about-hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  font-weight: 500;
  color: var(--B-text);
  margin: 0;
}

.vB .about-section {
  background: #fff;
  padding: 40px;
}
.vB .about-history-article {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--B-line);
  border-radius: 8px;
  background: var(--B-bg);
  padding: 34px 34px 28px;
}
.vB .about-history-article::after {
  content: "";
  display: table;
  clear: both;
}
.vB .about-history-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--B-text);
}
.vB .about-history-article p {
  margin: 0 0 18px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 21px;
  line-height: 1.74;
  color: var(--B-text);
  text-align: justify;
}
.vB .about-history-article strong {
  color: var(--B-brand-deep);
}

.vB .about-history-clear-left {
  clear: left;
}

.vB .about-history-float {
  float: left;
  width: min(100%, 250px);
  margin: 6px 24px 12px 0;
  border: 1px solid var(--B-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.vB .about-history-float img {
  width: 100%;
  height: auto;
  display: block;
}
.vB .about-history-float > a {
  display: block;
  transition: opacity 0.2s ease, transform 0.1s ease;
}
.vB .about-history-float > a:hover {
  opacity: 0.92;
}
.vB .about-history-float > a:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .about-history-float > a:active {
  transform: translateY(1px);
}
.vB .about-history-float figcaption {
  padding: 10px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--B-muted);
  border-top: 1px solid var(--B-line);
}

.vB .about-history-donate {
  margin-top: 30px;
  text-align: right;
}
.vB .about-history-donate a {
  display: inline-block;
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--B-cherry);
  border-bottom: 1px solid rgba(139, 31, 46, 0.45);
  transition: color 0.22s ease, border-color 0.22s ease;
}
.vB .about-history-donate a:hover {
  color: var(--B-cherry-deep);
  border-color: var(--B-cherry-deep);
}
.vB .about-history-donate a:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .about-history-donate a:active {
  opacity: 0.72;
}

.vB .about-story-hero-figure {
  max-width: 240px;
  margin: 4px auto 20px;
  border: 1px solid var(--B-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.vB .about-story-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.vB .about-story-hero-figure figcaption {
  padding: 10px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--B-muted);
  border-top: 1px solid var(--B-line);
  text-align: center;
}

.vB .about-story-subtitle {
  margin: 24px 0 18px;
  text-align: center;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(16px, 2.1vw, 22px);
  line-height: 1.45;
  color: var(--B-brand-deep);
}

.vB .about-story-inline-photo {
  float: left;
  width: min(100%, 180px);
  margin: 8px 24px 12px 0;
  border: 1px solid var(--B-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.vB .about-story-inline-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.vB .about-story-inline-photo figcaption {
  padding: 9px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--B-muted);
  border-top: 1px solid var(--B-line);
}

.vB .about-story-prayer {
  margin: 16px 0 0;
  text-align: center;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.45;
  color: var(--B-brand-deep);
}

.vB .about-icon-grid {
  max-width: 520px;
  margin: 4px auto 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.vB .about-icon-card {
  display: flex;
  border: 1px solid var(--B-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.vB .about-icon-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vB .about-icon-title {
  margin: 8px 0 8px;
  text-align: center;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
  color: var(--B-brand-deep);
}
.vB .about-icon-date {
  margin: 0 0 14px;
  text-align: center;
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(18px, 2vw, 23px);
  color: var(--B-text);
}
.vB .about-icon-note {
  margin: 0 0 20px;
  text-align: center;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 20px;
  line-height: 1.6;
  color: var(--B-brand-deep);
}
.vB .about-icon-prayer {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 20px;
  line-height: 1.72;
  color: var(--B-text);
  text-align: justify;
}

.vB .about-miracles-subtitle {
  margin: 26px 0 12px;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.45;
  color: var(--B-brand-deep);
}

.vB .about-church-gallery {
  max-width: none;
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.vB .about-church-gallery-item {
  border: 1px solid var(--B-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.vB .about-church-gallery-item > a {
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vB .about-church-gallery-item > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.12);
}
.vB .about-church-gallery-item > a:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .about-church-gallery-item > a:active {
  transform: translateY(1px);
}
.vB .about-church-gallery-item img {
  width: 100%;
  height: clamp(180px, 24vw, 280px);
  object-fit: cover;
  display: block;
}

.vB .about-reference-title {
  margin: 10px 0 8px;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(15px, 1.9vw, 20px);
  line-height: 1.45;
  color: var(--B-brand-deep);
}

.vB .about-relics-list {
  margin: 8px 0 16px;
  padding-left: 22px;
}
.vB .about-relics-list li {
  margin-bottom: 6px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 19px;
  line-height: 1.68;
  color: var(--B-text);
}

.vB .attraction-cards {
  display: grid;
  gap: 24px;
}
.vB .attraction-card {
  border: 1px solid var(--B-line);
  border-radius: 8px;
  background: #fff;
  padding: 22px 22px 18px;
}
.vB .attraction-card h2 {
  margin: 0 0 14px;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
  color: var(--B-brand-deep);
}
.vB .attraction-card p {
  margin: 0 0 14px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 19px;
  line-height: 1.72;
  color: var(--B-text);
  text-align: justify;
}

.vB .attraction-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.vB .attraction-gallery-grid a {
  display: block;
  border: 1px solid var(--B-line);
  border-radius: 8px;
  overflow: hidden;
  background: #f6f6f1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vB .attraction-gallery-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.12);
}
.vB .attraction-gallery-grid a:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .attraction-gallery-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.vB .attraction-nature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.vB .attraction-nature-item {
  margin: 0;
  border: 1px solid var(--B-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.vB .attraction-nature-item a {
  display: block;
  transition: transform 0.2s ease;
}
.vB .attraction-nature-item a:hover {
  transform: scale(1.015);
}
.vB .attraction-nature-item a:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .attraction-nature-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.vB .attraction-nature-item figcaption {
  padding: 10px 11px 11px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--B-text);
}

.vB .attraction-single-photo {
  max-width: 880px;
}
.vB .attraction-single-photo img {
  height: clamp(220px, 34vw, 420px);
}

.vB .attraction-springs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vB .attractions-next-note {
  margin-top: 22px;
  text-align: center;
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--B-muted);
}

.vB .mk-lightbox[hidden] {
  display: none;
}
.vB .mk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(19, 27, 18, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.vB .mk-lightbox-inner {
  position: relative;
  width: min(1100px, 95vw);
}
.vB .mk-lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;
  background: rgba(19, 27, 18, 0.72);
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  transition: background 0.2s ease, transform 0.1s ease;
}
.vB .mk-lightbox-close:hover {
  background: rgba(53, 78, 51, 0.95);
}
.vB .mk-lightbox-close:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .mk-lightbox-close:active {
  transform: translateY(1px);
}
.vB .mk-lightbox-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
  background: #111;
}
.vB .mk-lightbox-caption {
  margin: 12px auto 0;
  max-width: 920px;
  text-align: center;
  color: #f4f3ed;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
}

.vB .events-main-figure,
.vB .event-detail-figure {
  margin: 0 0 18px;
  border: 1px solid var(--B-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.vB .events-main-figure img,
.vB .event-detail-figure img {
  display: block;
  width: 100%;
  height: clamp(220px, 42vw, 480px);
  object-fit: cover;
}

.vB .event-detail-figure-portrait {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.vB .event-detail-figure-portrait img {
  width: 100%;
  height: auto;
  max-height: 840px;
  object-fit: contain;
  background: #f0f1eb;
}

.vB .event-duo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 20px;
}
.vB .event-duo-item {
  margin: 0;
  border: 1px solid var(--B-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.vB .event-duo-item img {
  display: block;
  width: 100%;
  height: clamp(300px, 42vw, 620px);
  object-fit: contain;
  background: #f0f1eb;
}
.vB .event-duo-item figcaption {
  padding: 8px 10px 9px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--B-text);
}

.vB .events-nav-list {
  column-count: 2;
  column-gap: 12px;
  margin: 12px 0 18px;
}
.vB .events-nav-item {
  break-inside: avoid;
  margin: 0;
  margin-bottom: 10px;
}
.vB .events-nav-btn {
  display: block;
  width: 100%;
  border: 2.5px solid #c7d4be;
  border-radius: 12px;
  padding: 12px 15px;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  line-height: 1.42;
  color: var(--B-brand-deep);
  background: #f4f8ef;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.vB .events-nav-btn:hover {
  background: #e8f1de;
  border-color: #9aae8f;
  box-shadow: 0 6px 14px rgba(53, 78, 51, 0.12);
}
.vB .events-nav-btn:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .events-nav-btn:active {
  box-shadow: 0 2px 8px rgba(53, 78, 51, 0.1);
}

.vB .events-back-link {
  display: inline-block;
  border: 1px solid var(--B-line);
  border-radius: 30px;
  padding: 10px 16px;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--B-brand-deep);
  background: #f9faf5;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}
.vB .events-back-link:hover {
  background: #eef4e6;
  border-color: var(--B-brand);
}
.vB .events-back-link:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .events-back-link:active {
  transform: translateY(1px);
}

/* Contacts page */
.vB .contacts-hero {
  background: var(--B-bg-warm);
  padding: 56px 40px 34px;
}
.vB .contacts-hero-inner {
  max-width: 940px;
  margin: 0 auto;
}
.vB .contacts-crumbs {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--B-muted);
  margin-bottom: 18px;
}
.vB .contacts-crumbs .sep {
  margin: 0 10px;
  color: var(--B-cherry);
  opacity: 0.7;
}
.vB .contacts-crumbs a {
  color: var(--B-brand);
  opacity: 0.9;
  transition: color 0.22s ease, opacity 0.22s ease;
}
.vB .contacts-crumbs a:hover {
  color: var(--B-cherry);
  opacity: 1;
}
.vB .contacts-crumbs a:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .contacts-crumbs a:active {
  opacity: 0.72;
}
.vB .contacts-hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  font-weight: 500;
  color: var(--B-text);
  margin: 0;
}
.vB .contacts-hero p {
  margin: 18px 0 0;
  max-width: 760px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--B-muted);
}

.vB .contacts-section {
  padding: 40px;
  background: #fff;
}
.vB .contacts-grid,
.vB .contacts-donations-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}
.vB .contacts-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vB .contacts-donations-grid {
  grid-template-columns: 1fr;
}
.vB .contacts-section-head {
  max-width: 1160px;
  margin: 0 auto 22px;
}
.vB .contacts-section-head h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--B-text);
  margin: 0;
}

.vB .contacts-card {
  border: 1px solid var(--B-line);
  border-radius: 8px;
  background: var(--B-bg);
  padding: 28px 28px 30px;
}
.vB .contacts-card h2,
.vB .contacts-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  color: var(--B-text);
  margin: 0 0 14px;
}
.vB .contacts-card h2 {
  font-size: 24px;
  line-height: 1.25;
}
.vB .contacts-card h3 {
  font-size: 18px;
  line-height: 1.45;
}
.vB .contacts-card p,
.vB .contacts-card li {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--B-text);
}
.vB .contacts-card p {
  margin: 0;
}

.vB .contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vB .contacts-list li {
  margin: 0 0 10px;
}
.vB .contacts-list li:last-child {
  margin-bottom: 0;
}
.vB .contacts-list-tight li {
  margin-bottom: 6px;
}
.vB .contacts-list a {
  color: var(--B-brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.22s ease, text-decoration-color 0.22s ease;
}
.vB .contacts-list a:hover {
  color: var(--B-cherry);
  text-decoration-color: var(--B-cherry);
}
.vB .contacts-list a:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .contacts-list a:active {
  opacity: 0.72;
}
.vB .contacts-inline-link {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--B-cherry);
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 31, 46, 0.5);
  padding-bottom: 2px;
}
.vB .contacts-inline-link:hover {
  color: var(--B-cherry-deep);
  border-color: var(--B-cherry-deep);
}

.vB .contacts-accent-line {
  color: var(--B-cherry);
  font-weight: 700;
}

.vB .contacts-card-highlight {
  border-color: var(--B-gold-soft);
  background: var(--B-bg-warm);
}
.vB .contacts-doc-link {
  display: inline-block;
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--B-brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(53, 78, 51, 0.4);
  padding-bottom: 2px;
  transition: color 0.22s ease, border-color 0.22s ease;
}
.vB .contacts-doc-link:hover {
  color: var(--B-cherry);
  border-color: var(--B-cherry);
}
.vB .contacts-doc-link:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 3px;
}
.vB .contacts-doc-link:active {
  opacity: 0.72;
}
.vB .contacts-wallet {
  margin-top: 16px;
  color: var(--B-cherry);
  font-weight: 700;
}

.vB .contacts-map-section {
  background: var(--B-bg-warm);
  padding-bottom: 70px;
}
.vB .contacts-map-frame {
  max-width: 1160px;
  margin: 0 auto;
  border: 1px solid var(--B-line);
  border-radius: 8px;
  overflow: hidden;
  background: #e7ece4;
  min-height: 460px;
}
.vB .contacts-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 450px;
  border: 0;
}

@media (max-width: 1200px) {
  .vB .contacts-hero,
  .vB .contacts-section {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 860px) {
  .vB .contacts-grid {
    grid-template-columns: 1fr;
  }
  .vB .attraction-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vB .attraction-nature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vB .contacts-hero p,
  .vB .contacts-card p,
  .vB .contacts-card li {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .vB .about-hero {
    padding: 36px 18px 20px;
  }
  .vB .about-section {
    padding: 24px 18px;
  }
  .vB .about-history-article {
    padding: 20px 16px 22px;
  }
  .vB .about-history-title {
    font-size: 22px;
  }
  .vB .about-history-article p {
    font-size: 18px;
    line-height: 1.7;
  }
  .vB .about-history-float {
    float: none;
    margin: 4px 0 14px;
    width: 100%;
    max-width: 250px;
  }
  .vB .about-history-donate {
    text-align: left;
  }
  .vB .about-story-inline-photo {
    float: none;
    margin: 6px 0 14px;
    width: 100%;
    max-width: 180px;
  }
  .vB .about-icon-grid {
    max-width: 320px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .vB .about-church-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .vB .about-church-gallery-item img {
    height: clamp(150px, 34vw, 220px);
  }
  .vB .about-icon-note,
  .vB .about-icon-prayer {
    font-size: 17px;
    line-height: 1.68;
  }
  .vB .about-relics-list li {
    font-size: 17px;
    line-height: 1.64;
  }
  .vB .about-miracles-subtitle {
    font-size: 16px;
    line-height: 1.5;
  }
  .vB .attraction-card {
    padding: 16px 14px 14px;
  }
  .vB .attraction-card p {
    font-size: 17px;
    line-height: 1.68;
  }
  .vB .attraction-gallery-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .vB .attraction-gallery-grid img {
    height: 170px;
  }
  .vB .attraction-nature-grid {
    grid-template-columns: 1fr;
  }
  .vB .attraction-springs-grid {
    grid-template-columns: 1fr;
  }
  .vB .attraction-nature-item img {
    height: 210px;
  }
  .vB .attraction-single-photo img {
    height: 230px;
  }
  .vB .attractions-next-note {
    font-size: 12px;
  }
  .vB .events-main-figure img,
  .vB .event-detail-figure img {
    height: 220px;
  }
  .vB .event-detail-figure-portrait img {
    height: auto;
    max-height: 560px;
  }
  .vB .event-duo-gallery {
    grid-template-columns: 1fr;
  }
  .vB .event-duo-item img {
    height: 320px;
  }
  .vB .events-nav-list {
    column-count: 1;
    column-gap: 0;
  }
  .vB .events-nav-item {
    margin-bottom: 8px;
  }
  .vB .events-nav-btn {
    font-size: 11px;
    padding: 10px 12px;
  }
  .vB .events-back-link {
    font-size: 11px;
    padding: 9px 12px;
  }
  .vB .mk-lightbox {
    padding: 16px;
  }
  .vB .mk-lightbox-close {
    top: -42px;
    font-size: 11px;
    padding: 9px 14px;
  }
  .vB .mk-lightbox-img {
    max-height: 73vh;
  }
  .vB .mk-lightbox-caption {
    font-size: 14px;
  }

  .vB .contacts-hero {
    padding: 36px 18px 20px;
  }
  .vB .contacts-section {
    padding: 24px 18px;
  }
  .vB .contacts-card {
    padding: 20px 16px 22px;
  }
  .vB .contacts-card h2 {
    font-size: 21px;
  }
  .vB .contacts-card h3 {
    font-size: 16px;
    line-height: 1.5;
  }
  .vB .contacts-doc-link {
    font-size: 13px;
  }
  .vB .contacts-map-frame {
    min-height: 320px;
  }
}

/* =========================================================
   ВАРИАНТ D — «Светлый паломнический»
   ========================================================= */
.vD { font-family: 'Inter', system-ui, sans-serif; color: var(--D-text); background: var(--D-bg); }
.vD h1, .vD h2, .vD h3, .vD h4, .vD h5 {
  font-family: 'PT Serif', Georgia, serif; font-weight: 400; margin: 0; color: var(--D-text);
}
.vD .sans { font-family: 'Inter', sans-serif; }

/* Paper-like texture */
.vD-paper {
  background: var(--D-bg);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(160,120,40,0.04) 0, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(122,22,36,0.03) 0, transparent 45%);
}

/* Topbar */
.vD .topbar {
  background: var(--D-bg-deep); border-bottom: 1px solid var(--D-line);
  color: var(--D-text); padding: 10px 0; font-size: 12px;
}
.vD .topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 0 60px; }
.vD .topbar-dot { opacity: 0.3; margin: 0 12px; }

/* Header */
.vD .header {
  background: var(--D-bg);
  padding: 26px 60px;
  border-bottom: 1px solid var(--D-line);
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.vD .header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--D-gold) 50%, transparent 100%);
  opacity: 0.35;
}
.vD .logo { display: flex; align-items: center; gap: 16px; }
.vD .logo-icon {
  width: 56px; height: 66px;
  background: linear-gradient(180deg, var(--D-gold-bright) 0%, var(--D-gold) 100%);
  padding: 6px; border-radius: 2px;
  flex-shrink: 0; position: relative;
}
.vD .logo-icon::after {
  content: ""; position: absolute; inset: 3px;
  border: 0.5px solid rgba(255,255,255,0.6);
  pointer-events: none;
}
.vD .logo-icon img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.vD .logo-txt .n1 { font-family: 'PT Serif'; font-size: 26px; letter-spacing: 0.01em; line-height: 1; }
.vD .logo-txt .n2 {
  font-size: 10px; color: var(--D-muted); letter-spacing: 0.28em;
  text-transform: uppercase; margin-top: 6px;
}
.vD .menu { display: flex; gap: 36px; font-size: 15px; font-family: 'PT Serif'; }
.vD .menu a { color: var(--D-text); padding: 6px 0; border-bottom: 1px solid transparent; }
.vD .menu a.active { border-bottom-color: var(--D-gold); color: var(--D-cherry); }

.vD .btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; font-size: 13px; font-family: 'PT Serif';
  letter-spacing: 0.05em;
  border: 1px solid var(--D-gold); background: transparent; color: var(--D-cherry);
}
.vD .btn-primary { background: var(--D-cherry); color: #fff; border-color: var(--D-cherry); }
.vD .btn-primary:hover { background: #5c1019; }
.vD .btn-dark { background: var(--D-brand); color: #fff; border-color: var(--D-brand); }

/* Hero D — paper + iconographic */
.vD .hero {
  padding: 80px 60px 100px;
  position: relative; overflow: hidden;
  background: var(--D-bg);
  background-image:
    radial-gradient(circle at 50% 120%, rgba(160,120,40,0.12) 0, transparent 50%);
}
.vD .hero-grid {
  display: grid; grid-template-columns: 1fr 440px; gap: 90px; align-items: center;
  max-width: 1280px; margin: 0 auto;
}
.vD .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--D-cherry); margin-bottom: 28px;
}
.vD .hero-eyebrow::before,
.vD .hero-eyebrow::after {
  content: ""; width: 24px; height: 1px; background: var(--D-gold);
}
.vD .hero-title {
  font-family: 'PT Serif';
  font-size: 84px; line-height: 1.05; font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0 0 24px;
}
.vD .hero-title em {
  font-style: italic; color: var(--D-cherry);
}
.vD .hero-sub {
  font-size: 19px; line-height: 1.65; color: var(--D-text);
  max-width: 540px; margin-bottom: 40px;
  font-family: 'PT Serif';
}
.vD .hero-actions { display: flex; gap: 14px; align-items: center; }

.vD .hero-ico-frame {
  background: linear-gradient(180deg, #d4ad63 0%, #9c7d3a 100%);
  padding: 24px; position: relative;
  box-shadow: 0 40px 80px rgba(80,50,10,0.18), inset 0 0 0 1.5px rgba(255,255,255,0.35);
}
.vD .hero-ico-frame::before {
  content: ""; position: absolute; inset: 16px;
  border: 1px solid rgba(255,255,255,0.4);
}
.vD .hero-ico-frame::after {
  content: "☩"; position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  font-size: 38px; color: var(--D-gold); background: var(--D-bg); width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  border: 1px solid var(--D-gold);
}
.vD .hero-ico-frame img { width: 100%; aspect-ratio: 0.72; object-fit: cover; }

.vD .hero-ornament {
  position: absolute; color: var(--D-gold); opacity: 0.3;
  font-size: 24px;
}

/* Section style — D */
.vD .sect { padding: 110px 60px; position: relative; }
.vD .sect-center { text-align: center; max-width: 860px; margin: 0 auto 70px; }
.vD .sect-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--D-cherry); margin-bottom: 22px;
}
.vD .sect-label::before,
.vD .sect-label::after { content: "✦"; color: var(--D-gold); font-size: 10px; }
.vD .sect-title {
  font-family: 'PT Serif'; font-size: 58px; font-weight: 400;
  line-height: 1.08; letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.vD .sect-title em { font-style: italic; color: var(--D-cherry); }
.vD .sect-lead {
  font-family: 'PT Serif'; font-size: 19px; line-height: 1.65;
  color: var(--D-muted);
}

/* Ornament divider */
.vD .ornament {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  color: var(--D-gold); margin: 60px 0;
}
.vD .ornament::before, .vD .ornament::after {
  content: ""; flex: 1; max-width: 200px; height: 1px; background: var(--D-gold); opacity: 0.4;
}
.vD .ornament span { font-size: 16px; }

/* Cards D */
.vD .d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.vD .d-card {
  background: #fff; border: 1px solid var(--D-line);
  overflow: hidden; transition: all 0.3s;
}
.vD .d-card:hover { box-shadow: 0 30px 60px rgba(80,50,10,0.12); }
.vD .d-card-img { aspect-ratio: 1.3; overflow: hidden; }
.vD .d-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.vD .d-card:hover .d-card-img img { transform: scale(1.06); }
.vD .d-card-body { padding: 32px 30px 38px; }
.vD .d-card-num {
  font-family: 'PT Serif'; font-style: italic; font-size: 14px;
  color: var(--D-gold); margin-bottom: 10px;
}
.vD .d-card h3 { font-size: 22px; margin-bottom: 12px; line-height: 1.3; }
.vD .d-card p { font-size: 14px; line-height: 1.65; color: var(--D-muted); font-family: 'PT Serif'; margin: 0; }
.vD .d-card-more {
  margin-top: 22px; font-size: 12px; font-family: 'PT Serif';
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--D-cherry); display: inline-flex; align-items: center; gap: 8px;
}

/* D story strip */
.vD .story-strip {
  background: var(--D-brand); color: #efe8d6;
  padding: 90px 60px;
}
.vD .story-strip-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center;
  max-width: 1280px; margin: 0 auto;
}
.vD .story-strip h2 { font-size: 48px; color: #f3ecd8; line-height: 1.1; margin-bottom: 24px; }
.vD .story-strip p { font-family: 'PT Serif'; font-size: 18px; line-height: 1.7; opacity: 0.85; }
.vD .story-strip-img img { width: 100%; aspect-ratio: 1.1; object-fit: cover; }

/* D news cards */
.vD .d-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.vD .d-news-card { background: #fff; border: 1px solid var(--D-line); }
.vD .d-news-img { aspect-ratio: 1.4; overflow: hidden; }
.vD .d-news-img img { width: 100%; height: 100%; object-fit: cover; }
.vD .d-news-body { padding: 26px 28px 30px; }
.vD .d-news-date {
  font-family: 'PT Serif'; font-style: italic;
  color: var(--D-gold); font-size: 14px; margin-bottom: 10px;
}
.vD .d-news-card h4 { font-size: 20px; line-height: 1.3; margin-bottom: 12px; }
.vD .d-news-card p { font-family: 'PT Serif'; font-size: 14px; line-height: 1.65; color: var(--D-muted); margin: 0; }

/* D footer */
.vD .footer {
  background: var(--D-brand); color: #efe8d6;
  padding: 90px 60px 36px;
}
.vD .footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 60px; }
.vD .footer h5 { font-family: 'PT Serif'; font-size: 18px; margin-bottom: 22px; color: var(--D-gold-bright); }
.vD .footer p, .vD .footer a, .vD .footer li { font-size: 14px; line-height: 1.8; opacity: 0.85; font-family: 'PT Serif'; }
.vD .footer ul { list-style: none; padding: 0; margin: 0; }
.vD .footer-bottom {
  margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; justify-content: space-between; font-size: 12px; opacity: 0.7; font-family: 'PT Serif';
}

/* D page hero */
.vD .page-hero {
  padding: 90px 60px 70px;
  background: var(--D-bg-deep);
  border-bottom: 1px solid var(--D-line);
  text-align: center; position: relative;
}
.vD .page-hero .crumbs {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--D-muted); margin-bottom: 20px;
}
.vD .page-hero .crumbs .sep { margin: 0 8px; color: var(--D-gold); }
.vD .page-hero h1 {
  font-family: 'PT Serif'; font-size: 68px; font-weight: 400;
  line-height: 1.08; margin-bottom: 22px;
}
.vD .page-hero .lede {
  font-family: 'PT Serif'; font-size: 19px; line-height: 1.6;
  color: var(--D-muted); max-width: 640px; margin: 0 auto;
}

/* Mobile helpers */
.mobile-frame {
  width: 390px; height: 844px;
  border-radius: 42px;
  background: #1a1a1a;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.05);
}
.mobile-screen {
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: #fff;
}
.mobile-status {
  height: 46px; display: flex; justify-content: space-between;
  align-items: center; padding: 0 28px;
  font-size: 14px; font-weight: 600;
  position: relative; z-index: 30;
}
.mobile-status.light { color: #fff; }
.mobile-status.dark { color: #1f2a1e; }
.mobile-status .notch {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
  width: 110px; height: 30px; border-radius: 20px; background: #000;
}
.mobile-body {
  height: calc(100% - 46px);
  overflow-y: auto;
  overflow-x: hidden;
}
.mobile-body::-webkit-scrollbar { width: 0; }

/* ===========================================================
   Layout с боковой панелью
   =========================================================== */
.layout-with-sidebar {
  display: flex;
  align-items: flex-start;
}
.sidebar {
  width: 330px;
  min-width: 0;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  height: 100dvh;
  background: var(--B-bg-warm);
  border-right: 2px solid var(--B-line);
  padding: 10px 14px;
  font-size: 14px;
  z-index: 5;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: width 0.28s ease, padding 0.28s ease, border-color 0.28s ease;
}
/* Свёрнутый сайдбар */
.sidebar.sidebar-collapsed {
  width: 0 !important;
  padding-left: 0;
  padding-right: 0;
  border-right-width: 0;
  border-color: transparent;
}

/* Ручка для изменения ширины */
.sidebar-handle {
  width: 10px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  cursor: col-resize;
  background: transparent;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 6;
  transition: background 0.2s ease;
}

/* В свернутом режиме прячем ручку, чтобы раскрытие шло через кнопку в хедере */
.vB.sidebar-collapsed-mode .sidebar-handle {
  width: 0;
  min-width: 0;
  top: 0;
  height: 0;
  overflow: hidden;
}
.sidebar-handle::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--B-line);
  transition: background 0.2s ease, width 0.2s ease;
}
.sidebar-handle:hover::before {
  background: var(--B-brand);
  width: 3px;
}
.vB.sidebar-collapsed-mode .sidebar-handle::before {
  display: none;
}
body.sidebar-resizing { cursor: col-resize !important; user-select: none; }
body.sidebar-resizing * { pointer-events: none; }

/* Кнопка сворачивания */
.sidebar-toggle-btn {
  position: sticky;
  top: 32px;
  width: 22px;
  height: 44px;
  background: var(--B-brand);
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 7;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.18);
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.vB.sidebar-collapsed-mode .sidebar-toggle-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-12px);
  box-shadow: none;
}
.sidebar-toggle-btn:hover  { background: var(--B-brand-deep); }
.sidebar-toggle-btn:active { transform: scale(0.93); }
.sidebar-toggle-icon { font-size: 10px; line-height: 1; pointer-events: none; }

.sidebar-block { margin-bottom: 8px; flex: 0 0 auto; }
.sidebar-block:last-child { margin-bottom: 0; }
.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--B-cherry);
  border-bottom: 2px solid var(--B-cherry);
  padding-bottom: 3px;
  margin-bottom: 6px;
}
.sidebar-menu-list {
  list-style: none;
  margin: 0; padding: 0;
}
.sidebar-menu-list li {
  padding: 3px 0;
  border-bottom: 1px solid var(--B-line);
  color: var(--B-text);
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.15s;
}
.sidebar-menu-list li:hover { color: var(--B-cherry); }
.sidebar-menu-list li a {
  color: inherit;
  text-decoration: none;
  display: block;
  transition: color 0.15s;
}
.sidebar-menu-list li span {
  display: inline-block;
  width: 18px;
  color: var(--B-muted);
  font-size: 11px;
  flex-shrink: 0;
}
.sidebar-news-item {
  padding: 4px 0;
  border-bottom: 1px solid var(--B-line);
}
.sidebar-news-item:last-of-type { border-bottom: none; }
.sidebar-news-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--B-brand);
  border-radius: 3px;
  padding: 1px 5px;
  margin-bottom: 4px;
}
.sidebar-news-date {
  font-size: 11px;
  color: var(--B-muted);
  margin-bottom: 3px;
}
.sidebar-news-title {
  font-size: 12px;
  color: var(--B-text);
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-news-excerpt {
  margin-top: 4px;
  font-size: 11px;
  color: var(--B-muted);
  line-height: 1.35;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-all-news {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--B-cherry);
  text-align: center;
  padding: 4px;
  border: 1px solid var(--B-cherry);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.sidebar-all-news:hover { background: var(--B-cherry); color: #fff; border-color: var(--B-cherry); }
.sidebar-all-news:active { transform: translateY(1px); }
.sidebar-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sidebar-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}
.sidebar-social-btn {
  transition: transform 0.2s ease, filter 0.2s ease;
}
.sidebar-social-btn:hover { transform: translateY(-3px); filter: brightness(1.14); }
.sidebar-social-btn:active { transform: translateY(0); }
.sidebar-social-btn.vk { background: #4680c2; }
.sidebar-social-btn.ok { background: #ee8208; }
.sidebar-social-btn.yt { background: #cc0000; }

.main-content { flex: 1; min-width: 0; }

/* ===========================================================
   Обновлённые стили text-photo блоков
   =========================================================== */
.vB .home-church-photo-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 42px 40px 30px;
  background: var(--B-bg-warm);
}
.vB .text-photo-img {
  display: flex;
  flex-direction: column;
}
.vB .text-photo-photo-link,
.vB .home-church-photo {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.vB .text-photo-photo-link {
  height: auto;
}
.vB .home-church-photo {
  height: 100%;
  aspect-ratio: 16 / 9;
}
.vB .text-photo-photo-link:hover,
.vB .home-church-photo:hover {
  transform: translateY(-2px);
  filter: saturate(1.03);
}
.vB .text-photo-photo-link:focus-visible,
.vB .home-church-photo:focus-visible {
  outline: 2px solid var(--B-gold);
  outline-offset: 2px;
}
.vB .text-photo-photo-link:active,
.vB .home-church-photo:active {
  transform: translateY(0);
}
.vB .text-photo-photo-link img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
.vB .home-church-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Двойная рамка фото в цветах ленты: красная + золотая, снаружи изображения */
.vB .text-photo-photo-link,
.vB .home-church-photo,
.vB .news-img,
.vB .article-fig,
.vB .about-history-float,
.vB .about-story-hero-figure,
.vB .about-story-inline-photo,
.vB .about-icon-card,
.vB .about-church-gallery-item,
.vB .attraction-gallery-grid a,
.vB .attraction-nature-item,
.vB .events-main-figure,
.vB .event-detail-figure,
.vB .event-duo-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 0 0 var(--mk-photo-frame-line) var(--mk-photo-frame-red),
    0 0 0 calc(var(--mk-photo-frame-line) * 2) var(--mk-photo-frame-yellow);
}


.vB .text-photo-caption {
  font-size: 12px;
  color: var(--B-muted);
  font-style: italic;
  margin-top: 10px;
  line-height: 1.4;
  text-align: center;
}
.vB .text-photo-text {
  font-size: 18px;
  line-height: 1.78;
  color: var(--B-text);
  text-align: justify;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.vB .text-photo-text.serif {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 18px;
}

/* ===========================================================
   Видео — нумерация и разделители
   =========================================================== */
.vB .video-divider {
  text-align: center;
  color: var(--B-cherry);
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.vB .video-divider::before,
.vB .video-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--B-cherry-soft);
}
.vB .video-title {
  text-align: center;
  font-size: 21px;
  font-family: 'PT Serif', Georgia, serif;
  font-style: italic;
  color: var(--B-text);
  margin-bottom: 16px;
  padding: 0 24px;
  line-height: 1.45;
}
.vB .video-item {
  background: var(--B-bg-warm);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid var(--B-line);
}

.vB .video-item.video-reveal.video-reveal-pending {
  opacity: 0;
  transform: translate3d(var(--video-reveal-x, 0px), 14px, 0) scale(0.992);
}

.vB .video-item.video-reveal {
  transition:
    opacity 0.30s cubic-bezier(0.22, 0.61, 0.36, 1) var(--video-reveal-delay, 0ms),
    transform 0.36s cubic-bezier(0.22, 0.61, 0.36, 1) var(--video-reveal-delay, 0ms);
  will-change: transform, opacity;
}

.vB .video-item.video-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* override original absolute-positioned embed */
.vB .video-embed {
  position: static !important;
  padding-bottom: 0 !important;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.vB .video-embed iframe {
  position: static !important;
  width: 100%;
  height: 450px;
  display: block;
  border-radius: 4px;
}

.vB .video-description {
  margin: 14px auto 0;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--B-muted);
  font-family: 'PT Serif', Georgia, serif;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .vB .video-item.video-reveal,
  .vB .video-item.video-reveal.video-reveal-pending,
  .vB .video-item.video-reveal.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.vB .ribbon-svg {
  display: block;
  width: 100%;
  height: auto;
}

.vB .home-icon-title {
  max-width: 620px;
  margin: 0 auto 16px;
  padding: 0 18px;
  font-family: 'Ruslan Display', 'PT Serif', Georgia, serif;
  font-size: clamp(30px, 4.1vw, 52px);
  line-height: 1.02;
  color: var(--B-title-gold);
  text-align: center;
  text-shadow:
    0 1px 0 #f0dfb8,
    1px 2px 0 rgba(95,20,33,.18),
    0 0 1px rgba(95,20,33,.35);
}
.vB .home-icon-title span {
  display: block;
}

.vB .home-top-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--B-bg-warm);
  text-align: center;
  padding: 28px 0 0;
}
.vB .home-top-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(241,238,229,.34) 0%, rgba(241,238,229,.24) 54%, rgba(241,238,229,.50) 100%),
    linear-gradient(90deg, rgba(139,31,46,.08), rgba(181,146,74,.04));
}
.vB .home-top-hero .hub-hero__slide {
  background-position: center 42%;
  filter: saturate(1.12) contrast(1.04);
}

/* ===========================================================
   Адаптивный хедер
   =========================================================== */

/* Переопределяем инлайн-стили хедера через CSS */
.vB .header {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.vB .header-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.vB .header-sidebar-expand {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.vB .header-sidebar-expand span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.vB.sidebar-collapsed-mode .header-sidebar-expand {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.vB .header-sidebar-expand:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.7);
}

.vB .header-sidebar-expand:active {
  background: rgba(255,255,255,0.2);
}

/* Хедер закрепляется только когда сайдбар свернут */
.vB.sidebar-collapsed-mode .header {
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.vB.sidebar-collapsed-mode.header-scrolled .header {
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.vB .header-menu-host {
  display: flex;
  justify-content: center;
  min-width: 0;
}

/* Меню теперь может переносить пункты в 2 ряда */
.vB .menu {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 20px;
  font-size: clamp(16px, 1.08vw, 20px);
  line-height: 1.16;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 700;
  justify-content: center;
}

/* Бургер-кнопка — скрыта по умолчанию */
.vB .header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  cursor: pointer;
  padding: 9px 10px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.vB .header-burger:hover  { background: rgba(255,255,255,0.10); }
.vB .header-burger:active { background: rgba(255,255,255,0.18); }
.vB .header-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.vB .header-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vB .header-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.vB .header-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное навигационное меню (под хедером) */
.vB .header-mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--B-brand-deep);
  border-top: 2px solid var(--B-gold);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.vB .header-mobile-nav.open {
  max-height: 700px;
}
.vB .hmn-item {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.vB .hmn-item:hover,
.vB .hmn-item.active {
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding-left: 30px;
}
.vB .hmn-subitem {
  display: block;
  padding: 9px 24px 9px 40px;
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.vB .hmn-subitem:hover { color: var(--B-gold-soft); padding-left: 46px; }

/* Breakpoint: скрыть меню, показать бургер */
@media (max-width: 980px) {
  .vB .text-photo-grid,
  .vB .text-photo-grid.text-photo-grid--rashkovsky,
  .vB .text-photo-block.reverse .text-photo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .vB .text-photo-img {
    width: min(420px, 100%);
    margin: 0 auto;
  }
  .vB .text-photo-frame-outer {
    padding: 10px;
  }
  .vB .text-photo-frame-inner {
    padding: 18px;
  }
  .vB .text-photo-text-wrap {
    padding: 12px 14px;
  }
  .vB .home-church-photos {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vB .home-church-photo-section {
    padding: 28px 22px 22px;
  }
}

@media (max-width: 800px) {
  .vB .header {
    padding: 14px 20px;
  }
  .vB .header-sidebar-expand {
    display: none;
  }
  .vB .header-menu-host {
    display: none !important;
  }
  .vB .header-burger {
    display: flex;
    margin-left: 14px;
  }
  .vB .header-mobile-nav {
    display: flex;
  }
}


/* ===========================================================
   ABOUT HUB — страница /about/
   =========================================================== */
.vB.about-hub {
  background: var(--B-bg, #F8FBF3);
  color: var(--B-text);
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- HERO ---------- */
.hub-hero {
  position: relative;
  min-height: 560px;
  padding: 110px 40px 90px;
  overflow: hidden;
  isolation: isolate;
}
.hub-hero__slides {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
}
.hub-hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease-in-out, transform 9s linear;
  filter: saturate(.95);
}
.hub-hero__slide.is-active {
  opacity: 1;
  transform: scale(1.14);
}
.hub-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,30,18,.62) 0%, rgba(20,30,18,.45) 55%, rgba(20,30,18,.85) 100%),
    linear-gradient(90deg, rgba(38,58,36,.55) 0%, rgba(38,58,36,.1) 70%);
}
.hub-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  color: #fff;
}
.hub-crumbs {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 26px;
}
.hub-crumbs a {
  color: var(--B-gold-soft);
  opacity: .95;
  transition: color .2s ease, opacity .2s ease;
}
.hub-crumbs a:hover { color: #fff; }
.hub-crumbs .sep {
  display: inline-block;
  margin: 0 12px;
  color: var(--B-gold);
  opacity: .75;
}
.hub-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--B-gold-soft);
  margin-bottom: 24px;
}
.hub-hero__eyebrow::before {
  content: ""; display: inline-block;
  width: 48px; height: 2px; background: var(--B-gold);
}
.hub-hero__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(42px, 6.2vw, 86px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: #fff !important;
  max-width: 12ch;
}
.hub-hero__lead {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  max-width: 620px;
  color: rgba(255,255,255,.92);
  margin: 0 0 40px;
}
.hub-hero__actions {
  display: flex; flex-wrap: wrap; gap: 16px;
}
.hub-hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px; transform: translateX(-50%);
  color: rgba(255,255,255,.65);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  font-family: 'Unbounded', sans-serif;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hub-hero__scroll i {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--B-gold));
  animation: hubScrollPulse 2.4s ease-in-out infinite;
}
@keyframes hubScrollPulse {
  0%, 100% { opacity: .35; transform: scaleY(.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);  transform-origin: top; }
}

/* ---------- КНОПКИ ХАБА ---------- */
.hub-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  border-radius: 30px;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .15s ease,
              box-shadow .25s ease, border-color .25s ease;
}
.hub-btn--primary {
  background: var(--B-gold);
  color: #1f2a1e;
  box-shadow: 0 10px 24px rgba(181,146,74,.32);
}
.hub-btn--primary:hover {
  background: #cfa65a; transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(181,146,74,.45);
}
.hub-btn--primary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hub-btn--primary:active        { transform: translateY(1px); }

.hub-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.hub-btn--ghost:hover {
  background: #fff;
  color: var(--B-brand-deep);
  border-color: #fff;
  transform: translateY(-2px);
}
.hub-btn--ghost:focus-visible  { outline: 2px solid var(--B-gold); outline-offset: 3px; }

.hub-btn--gold {
  background: var(--B-gold);
  color: #1f2a1e;
  border-color: var(--B-gold);
  padding: 18px 38px;
  font-size: 13px;
}
.hub-btn--gold:hover {
  background: transparent; color: #fff;
  box-shadow: 0 14px 30px rgba(181,146,74,.3);
  transform: translateY(-2px);
}

/* ---------- СЕКЦИИ ---------- */
.hub-section {
  padding: clamp(64px, 9vw, 130px) 40px;
  background: var(--B-bg, #F8FBF3);
  position: relative;
}
.hub-section--alt {
  background: var(--B-bg-warm);
}
/* Декоративная "волна" сверху над alt-секциями */
.hub-section--alt::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 40px;
  background:
    radial-gradient(circle at 10% 100%, var(--B-bg-warm) 40%, transparent 41%) 0 0/80px 40px repeat-x,
    linear-gradient(to bottom, var(--B-bg, #F8FBF3), var(--B-bg, #F8FBF3));
  opacity: .0; /* скрываем по умолчанию, оставим простой border-top */
}
.hub-section + .hub-section { border-top: 1px solid rgba(53,78,51,.08); }

.hub-section__head {
  max-width: 1280px; margin: 0 auto 56px;
  text-align: center;
}
.hub-section__label {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 22px;
  border: 2px solid var(--B-gold);
  border-radius: 30px;
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--B-brand-deep);
  background: rgba(255,255,255,.7);
  margin-bottom: 24px;
}
.hub-section__label--light {
  color: var(--B-gold-soft);
  background: rgba(255,255,255,.08);
  border-color: var(--B-gold);
}
.hub-section__num {
  font-weight: 600;
  color: var(--B-cherry);
  font-size: 13px;
}
.hub-section__label--light .hub-section__num { color: var(--B-gold); }
.hub-section__sep {
  width: 16px; height: 2px; background: var(--B-gold); display: inline-block;
}
.hub-section__eyebrow { font-weight: 500; }
.hub-section__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
  font-weight: 500;
  color: var(--B-brand-deep);
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}
.hub-section__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--B-text);
  opacity: .78;
  max-width: 680px;
  margin: 0 auto;
}

/* ---------- СЕТКА КАРТОЧЕК ---------- */
.hub-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hub-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hub-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- КАРТОЧКА ПОДРАЗДЕЛА ---------- */
.hub-card {
  position: relative;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--B-brand-deep);
  border: 2px solid rgba(53,78,51,.14);
  cursor: pointer;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.7,.2,1),
              box-shadow .35s ease,
              border-color .25s ease;
  box-shadow: 0 6px 14px rgba(53,78,51,.08);
}
.hub-card:hover,
.hub-card:focus-within,
.hub-card.is-active {
  transform: translateY(-6px);
  border-color: var(--B-gold);
  box-shadow: 0 22px 40px rgba(53,78,51,.26);
}
.hub-card__link {
  position: absolute; inset: 0; z-index: 6;
}
.hub-card__link:focus-visible {
  outline: 3px solid var(--B-gold);
  outline-offset: -3px;
  border-radius: 10px;
}
.hub-card__img {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover;
  background-position: center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.hub-card:hover .hub-card__img,
.hub-card:focus-within .hub-card__img,
.hub-card.is-active .hub-card__img {
  transform: scale(1.07);
  filter: saturate(1.05);
}
.hub-card__shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.05) 30%,
      rgba(0,0,0,.55) 60%,
      rgba(0,0,0,.88) 82%,
      rgba(0,0,0,.98) 100%);
}
.hub-card__title-wrap {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 5;
  transition: opacity .28s ease, transform .28s ease;
}
.hub-card__title-wrap .hub-card__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
  text-shadow:
    0 1px 2px rgba(0,0,0,.95),
    0 2px 6px rgba(0,0,0,.85),
    0 4px 18px rgba(0,0,0,.7),
    0 0 1px rgba(0,0,0,.9);
  -webkit-font-smoothing: antialiased;
}
.hub-card__title-wrap::before {
  content: ""; display: block;
  width: 38px; height: 2px;
  background: var(--B-gold);
  margin-bottom: 12px;
  transition: width .4s cubic-bezier(.2,.7,.2,1);
}
/* title-wrap остаётся видимым при hover — opacity не сбрасываем */

/* Оверлей с описанием */
.hub-card__overlay {
  position: absolute; inset: 0; z-index: 4;
  background: linear-gradient(160deg, rgba(139,31,46,.94) 0%, rgba(95,20,33,.9) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 32px 28px;
  opacity: 0;
  transition: opacity .32s ease;
  pointer-events: none;
}
.hub-card:hover .hub-card__overlay,
.hub-card:focus-within .hub-card__overlay,
.hub-card.is-active .hub-card__overlay {
  opacity: 1;
}
.hub-card__overlay-inner {
  text-align: center;
  max-width: 100%;
  transform: translateY(16px);
  transition: transform .4s cubic-bezier(.2,.7,.2,1) .05s;
}
.hub-card:hover .hub-card__overlay-inner,
.hub-card:focus-within .hub-card__overlay-inner,
.hub-card.is-active .hub-card__overlay-inner {
  transform: translateY(0);
}
.hub-card__overlay-title {
  display: none;
}
.hub-card__lead {
  font-size: 14px;
  line-height: 1.62;
  color: rgba(255,255,255,.88);
  margin: 0 0 22px;
}
.hub-card__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 24px;
  border: 2px solid var(--B-gold);
  border-radius: 30px;
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  transition: background .25s ease, color .25s ease, transform .15s ease;
}
.hub-card__cta i {
  font-style: normal;
  font-size: 15px;
  transition: transform .25s ease;
}
.hub-card:hover .hub-card__cta,
.hub-card:focus-within .hub-card__cta,
.hub-card.is-active .hub-card__cta {
  background: var(--B-gold);
  color: #1f2a1e;
}
.hub-card:hover .hub-card__cta i,
.hub-card.is-active .hub-card__cta i {
  transform: translateX(4px);
}

/* ---------- CTA-БЛОК (ПРОДАЖА УЧАСТКОВ) ---------- */
.hub-cta-section { padding: clamp(56px, 8vw, 110px) 40px; }
.hub-cta {
  max-width: 1280px; margin: 0 auto;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 440px;
  border: 2px solid rgba(181,146,74,.35);
  box-shadow: 0 18px 40px rgba(53,78,51,.16);
  isolation: isolate;
}
.hub-cta__img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.hub-cta:hover .hub-cta__img { transform: scale(1.04); }
.hub-cta__shade {
  position: absolute; inset: 0; z-index: -1;
  display: none;
}
.hub-cta__content {
  padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px);
  max-width: 640px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.72), 0 1px 2px rgba(0,0,0,.9);
}
.hub-cta__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 20px 0 18px;
}
.vB .hub-cta__title {
  color: #fff;
}
.hub-cta__lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  margin: 0 0 34px;
  max-width: 520px;
}

/* ---------- MEGA-MENU В ШАПКЕ ---------- */
.vB .submenu--mega {
  min-width: 720px;
  max-width: 820px;
  padding: 0;
  border-radius: 6px;
  border-top: 3px solid var(--B-gold);
  box-shadow: 0 22px 50px rgba(0,0,0,.42);
  overflow: hidden;
}
.submenu-mega-head {
  padding: 16px 24px 14px;
  background: rgba(0,0,0,.2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.submenu-mega-eyebrow {
  font-family: 'Unbounded', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--B-gold-soft);
  margin-bottom: 3px;
}
.submenu-mega-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.submenu-mega-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 8px 0 10px;
}
.submenu-mega-col {
  padding: 10px 6px 10px 6px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.submenu-mega-col:nth-child(2n) { border-right: 0; }
.submenu-mega-col:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.06); margin-top: 6px; padding-top: 14px; }
.submenu-mega-group {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 24px 10px;
  font-family: 'Unbounded', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--B-gold);
}
.submenu-mega-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(181,146,74,.18);
  color: var(--B-gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}
.submenu-mega-group-title { color: var(--B-gold-soft); font-weight: 500; }
.vB .submenu--mega .submenu-item {
  padding: 14px 24px;
  font-size: 24px;
}
.submenu-mega-all {
  display: block;
  padding: 14px 24px;
  background: rgba(181,146,74,.08);
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--B-gold);
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.submenu-mega-all:hover {
  background: rgba(181,146,74,.18);
  color: #fff;
  padding-left: 32px;
}

/* ---------- MOBILE MEGA-MENU (в header-mobile-nav) ---------- */
.hmn-group-toggle {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 12px 18px;
  border: 0;
  background: rgba(255,255,255,.06);
  color: var(--B-gold-soft);
  text-align: left;
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hmn-group-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(181,146,74,.22); color: var(--B-gold);
  font-size: 10px; font-weight: 600;
}
.hmn-group-title { flex: 1; }
.hmn-group-chevron {
  transition: transform .25s ease;
  color: var(--B-gold);
}
.hmn-group-toggle[aria-expanded="true"] .hmn-group-chevron {
  transform: rotate(180deg);
}
.hmn-group-panel {
  display: none;
  background: rgba(0,0,0,.18);
}
.hmn-group-panel.open { display: block; }

/* ---------- АНИМАЦИЯ ПОЯВЛЕНИЯ ---------- */
.hub-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.hub-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger в сетке */
.hub-grid .hub-card.hub-reveal { transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 900px) {
  .hub-hero { padding: 72px 24px 80px; min-height: 480px; }
  .hub-hero__title { font-size: clamp(36px, 8vw, 56px); }
  .hub-section { padding: 70px 22px; }
  .hub-section__head { margin-bottom: 40px; }
  .hub-cta-section { padding: 60px 22px; }
  .hub-cta__content { padding: 42px 28px; }
  .hub-card { height: 320px; }
  .vB .submenu--mega { min-width: auto; }
}
@media (max-width: 640px) {
  .hub-hero { padding: 60px 18px 70px; }
  .hub-hero__actions .hub-btn { padding: 14px 24px; font-size: 11px; }
  .hub-section { padding: 54px 16px; }
  .hub-cta-section { padding: 44px 16px; }
  .hub-card { height: 260px; }
  .hub-card__title-wrap .hub-card__title { font-size: 17px; }
  .hub-card__overlay { padding: 22px 18px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .hub-card,
  .hub-card__img,
  .hub-cta__img,
  .hub-card__title-wrap,
  .hub-card__overlay-inner,
  .hub-btn,
  .hub-reveal {
    transition: none !important;
    animation: none !important;
  }
  .hub-card:hover,
  .hub-card.is-active {
    transform: none;
  }
  .hub-card:hover .hub-card__img,
  .hub-card.is-active .hub-card__img {
    transform: none;
  }
  .hub-reveal { opacity: 1; transform: none; }
}
