/* =====================================================
   SLB v2 — based on v1 visual language
   Adds: calendar, branches (3-level structure), venue cards,
   join section, gallery, contact forms, announcement bar
   ===================================================== */

/* =====================================================
   ANNOUNCEMENT BAR
   ===================================================== */
.announce-bar {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 10px 0;
  font-size: 13px;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.announce-dot {
  width: 8px; height: 8px;
  background: var(--c-amber);
  border-radius: 50%;
  animation: announce-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes announce-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.announce-inner span:nth-child(2) {
  flex: 1;
}
.announce-link {
  color: var(--c-amber);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.announce-link:hover {
  color: var(--c-paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =====================================================
   NAV — additional "amber" CTA button
   ===================================================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-amber {
  background: var(--c-amber);
  color: var(--c-ink);
  border-color: var(--c-amber);
}
.btn-amber:hover {
  background: #C4930F;
  border-color: #C4930F;
  color: var(--c-paper);
}

/* =====================================================
   SECTION HEAD with right-aligned link
   ===================================================== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-head .section-title {
  margin-bottom: 0;
}
.section-sub {
  font-size: 17px;
  color: var(--c-ink-soft);
  max-width: 60ch;
  margin-bottom: 48px;
  line-height: 1.55;
}
.btn-link {
  background: none;
  border: none;
  color: var(--c-red);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.btn-link:hover {
  gap: 10px;
  color: var(--c-red-dark);
}

/* =====================================================
   HERO — small adjustments for nav-actions above
   ===================================================== */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-primary {
  background: var(--c-red);
  color: var(--c-paper);
  border: 1.5px solid var(--c-red);
}
.btn-primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  transform: translateY(-1px);
}

/* =====================================================
   ABOUT — left-aligned, sidebar with facts
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 20px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.about-text strong {
  color: var(--c-ink);
  font-weight: 600;
}
.about-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 100px;
}
.about-crimson-bar {
  background: var(--c-red);
  color: var(--c-paper);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  border-radius: 2px;
  /* Bleed past the container so the crimson reads as a full-bleed band */
  margin: 0 calc(var(--gutter) * -1) 64px;
  width: calc(100% + var(--gutter) * 2);
}
.about-crimson-bar-icon {
  font-size: 18px;
  color: var(--c-amber);
}
.about-facts {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-line);
}
.about-fact:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.about-fact-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
}
.about-fact-v {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink);
}

/* =====================================================
   JAUNUMI — news section with category tabs
   ===================================================== */
.news-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.news-cat {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.news-cat:hover {
  border-color: var(--c-red);
  color: var(--c-ink);
}
.news-cat.active {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-paper);
}

/* News grid: feature card + 5 smaller */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-red);
}
.news-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}
.news-card-feature .news-img {
  aspect-ratio: 16/9;
}
.news-img {
  aspect-ratio: 16/10;
  background: var(--c-line-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.news-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--c-paper);
  color: var(--c-red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.news-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-date {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 12px;
}
.news-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.news-card-feature h3 {
  font-size: 32px;
  margin-bottom: 16px;
}
.news-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
  flex: 1;
}
.news-card-feature p {
  font-size: 16px;
}
.news-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
  align-self: flex-start;
}
.news-link:hover {
  transform: translateX(4px);
}

/* =====================================================
   KALENDĀRS — month grid
   ===================================================== */
.section-calendar {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.calendar-tabs {
  display: flex;
  gap: 4px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 4px;
  border-radius: 100px;
}
.cal-tab {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  padding: 6px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.cal-tab.active {
  background: var(--c-ink);
  color: var(--c-paper);
}
.cal-month-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  border: 1px solid var(--c-line);
}
.cal-nav {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--c-ink);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.cal-nav:hover {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
}
.cal-month-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  flex: 1;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}
.cal-export {
  margin-left: auto;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .cal-month-bar {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .cal-month-name { width: 100%; order: -1; }
  .cal-export { margin-left: 0; width: 100%; text-align: center; }
}
/* Visually hidden, accessible to screen readers — used for icon-only buttons
   that need a long label for AT but show only an icon visually. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
}
.cal-day {
  background: var(--c-paper);
  min-height: 110px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  /* Let the grid cell shrink below content width on mobile */
  min-width: 0;
  overflow: hidden;
}
.cal-day-head {
  min-height: auto;
  padding: 12px 10px;
  background: var(--c-cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  text-align: center;
  justify-content: center;
}
.cal-day-out {
  background: var(--c-cream);
  opacity: 0.4;
}
.cal-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  font-family: var(--sans);
}
.cal-event {
  font-size: 10.5px;
  padding: 3px 5px 3px 7px;
  border-radius: 3px;
  font-weight: 500;
  line-height: 1.3;
  border-left: 3px solid;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
}
/* Title truncates; the + button stays a fixed-width sibling that never gets clipped */
.cal-event > span {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-event-amber {
  background: rgba(212, 160, 23, 0.12);
  color: #8B6B0F;
  border-color: var(--c-amber);
}
.cal-event-orange {
  background: rgba(196, 130, 89, 0.12);
  color: #8B4F1F;
  border-color: #C48259;
}
.cal-event-blue {
  background: rgba(70, 110, 150, 0.12);
  color: #2C4A6B;
  border-color: #466E96;
}
.cal-event-red {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  font-weight: 600;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  font-size: 13px;
  color: var(--c-ink-soft);
}
.cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cal-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  border-left: 3px solid;
  display: inline-block;
}
.cal-dot-amber {
  background: rgba(212, 160, 23, 0.12);
  border-color: var(--c-amber);
}
.cal-dot-orange {
  background: rgba(196, 130, 89, 0.12);
  border-color: #C48259;
}
.cal-dot-blue {
  background: rgba(70, 110, 150, 0.12);
  border-color: #466E96;
}
.cal-dot-red {
  background: var(--c-red);
  border-color: var(--c-red);
}

/* =====================================================
   NOZARES — 3-pakāpju struktūra
   ===================================================== */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.branch-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.branch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-red);
}
.branch-head {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.branch-emblem {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}
.branch-head h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.branch-tag {
  font-size: 11.5px;
  color: var(--c-ink-soft);
  font-style: italic;
}
.branch-body {
  padding: 20px 24px;
  flex: 1;
}
.branch-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.branch-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.branch-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px solid var(--c-line-soft);
}
.branch-meta dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red);
}
.branch-meta dd {
  font-size: 13px;
  color: var(--c-ink);
  margin: 0;
}
.branch-levels {
  display: flex;
  border-top: 1px solid var(--c-line);
  background: var(--c-cream);
}
.branch-level {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
  text-decoration: none;
  border-right: 1px solid var(--c-line);
  transition: all 0.2s;
}
.branch-level:last-child {
  border-right: 0;
}
.branch-level:hover {
  background: var(--c-red);
  color: var(--c-paper);
}

/* =====================================================
   TELPU NOMA — venue cards
   ===================================================== */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.venue-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.venue-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.venue-card-wide {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
}
.venue-img {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.venue-card-wide .venue-img {
  aspect-ratio: auto;
  min-height: 240px;
}
.venue-emoji {
  font-size: 64px;
  opacity: 0.9;
}
.venue-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
}
.venue-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.venue-meta {
  font-size: 13px;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.venue-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  flex: 1;
}
.venue-features li {
  font-size: 13px;
  color: var(--c-ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.venue-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-red);
  font-weight: 700;
}
.venue-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
  align-self: flex-start;
  transition: transform 0.2s;
}
.venue-link:hover {
  transform: translateX(4px);
}

.venue-cta {
  margin-top: 48px;
  padding: 40px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.venue-cta h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.venue-cta p {
  font-size: 14px;
  color: var(--c-ink-soft);
}

/* =====================================================
   PIEVIENOJETIES — large card with side stats
   ===================================================== */
.section-join {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
}
.join-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.join-text .section-title {
  margin-bottom: 24px;
}
.join-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 32px;
}
.join-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.join-benefits li {
  font-size: 14.5px;
  color: var(--c-ink-soft);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.join-benefits li::before {
  content: '⊕';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-red);
  font-weight: 700;
}
.join-benefits strong {
  color: var(--c-ink);
  font-weight: 600;
}
.join-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 14px;
}
.join-fine {
  font-size: 12px;
  color: var(--c-ink-soft);
}
.join-fine a {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.join-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.join-stat-block {
  background: var(--c-paper);
  padding: 24px;
  border-radius: 4px;
  border-left: 4px solid var(--c-red);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.join-stat-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: -0.03em;
  line-height: 1;
}
.join-stat-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.join-quote {
  background: var(--c-paper);
  padding: 28px 24px;
  border-radius: 4px;
  border: 1px solid var(--c-line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink);
}
.join-quote p {
  margin-bottom: 12px;
}
.join-quote span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  color: var(--c-ink-soft);
}

/* =====================================================
   GALERIJA — album grid
   ===================================================== */
.section-gallery {
  background: var(--c-paper);
}
.gallery-albums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-album {
  text-decoration: none;
  color: var(--c-ink);
  display: block;
  transition: transform 0.3s;
}
.gallery-album:hover {
  transform: translateY(-3px);
}
.gallery-img {
  aspect-ratio: 4/3;
  border-radius: 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.gallery-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 60%);
}
.gallery-img span {
  position: relative;
  color: var(--c-paper);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.gallery-album h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.gallery-album p {
  font-size: 12px;
  color: var(--c-ink-soft);
}

/* =====================================================
   KONTAKTI — v2 balanced layout (Oct 2026)
   Two-zone desktop: info (2/3) + sticky form (1/3)
   Mobile-first: single column stack
   ===================================================== */
.section-contact {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  padding: 72px 0 88px;
}

/* ---- Layout shell ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

/* Left column: info stack */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0; /* allow inner content to wrap */
}

/* Right column: form (sticky on desktop) */
.contact-form-column {
  min-width: 0;
}
.contact-form-sticky {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---- Cards (shared) ---- */
.contact-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  padding: 22px 22px;
  border-radius: 8px;
}
.contact-card h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Top row: address + hours side by side at md+ */
.contact-info-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Map: full width, fixed height for visual punch */
.contact-card-map {
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 7;
  min-height: 220px;
}
.contact-card-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Address card specifics */
.contact-big {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.45;
  color: var(--c-ink);
  margin: 0 0 12px;
}
.contact-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
  margin-top: 4px;
}
.contact-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-phone {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--c-ink);
}
.contact-phone strong {
  color: var(--c-ink-mute, #6B6B6B);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 2px;
}
.contact-phone a {
  color: var(--c-red);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.contact-phone a:hover { text-decoration: underline; }

/* Hours */
.contact-hours {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}
.contact-hours > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--c-line);
  align-items: baseline;
}
.contact-hours > div:last-child { border-bottom: none; }
.contact-hours dt {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-ink-mute, #6B6B6B);
  margin: 0;
}
.contact-hours dd {
  font-size: 13px;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.4;
}

/* ---- Directory ---- */
.contact-card-directory { padding-bottom: 16px; }
.contact-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.contact-card-header h3 { margin: 0; }
.contact-card-meta {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-ink-mute, #6B6B6B);
  background: var(--c-cream-2, var(--c-cream));
  padding: 3px 8px;
  border-radius: 10px;
}
.contact-directory-note {
  font-size: 12px;
  color: var(--c-ink-soft);
  margin: 0 0 14px;
  line-height: 1.5;
}
.contact-quick-emails {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.contact-quick-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 5px 10px;
  border-radius: 14px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.contact-quick-chip:hover {
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red);
}
.contact-directory-section-label {
  margin: 4px 0 8px;
  padding: 6px 10px;
  background: var(--c-cream-2, var(--c-cream));
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-red);
}

/* The directory itself: 2 columns at md+, 1 at xs */
.contact-directory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}
.contact-directory-grid .cd-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--c-line-soft, #EEEEEE);
  align-items: baseline;
}
.contact-directory-grid .cd-row:last-child { border-bottom: none; }
.contact-directory-grid dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.35;
}
.contact-directory-grid dd {
  font-size: 12px;
  margin: 0;
  color: var(--c-ink-soft);
  line-height: 1.35;
  word-break: break-word;
}
.contact-directory-grid dd a {
  color: var(--c-red);
  text-decoration: none;
  font-weight: 500;
}
.contact-directory-grid dd a:hover { text-decoration: underline; }

/* Social */
.contact-card-social { padding: 16px 22px; }
.contact-card-social h3 { font-size: 14px; margin-bottom: 10px; }
.contact-social { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.15s;
}
.contact-social-link:hover {
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red);
}

/* ---- Form column ---- */
.contact-card-form { padding: 22px; }
.contact-card-form h3 { margin-bottom: 16px; }

.contact-form-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.contact-form-tabs::-webkit-scrollbar { display: none; }
.contact-form-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-ink-mute, #6B6B6B);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  font-family: var(--sans);
}
.contact-form-tab:hover { color: var(--c-ink); }
.contact-form-tab.active {
  color: var(--c-red);
  border-bottom-color: var(--c-red);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-form label > span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-ink-mute, #6B6B6B);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--sans);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  background: var(--c-paper);
  color: var(--c-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.08);
}
.contact-form textarea {
  resize: vertical;
  min-height: 80px;
}
.contact-form .btn { margin-top: 6px; }
.contact-form-fineprint {
  font-size: 11px;
  color: var(--c-ink-mute, #6B6B6B);
  margin: 4px 0 0;
  text-align: center;
  font-style: italic;
}

.contact-form-or {
  text-align: center;
  font-size: 11px;
  color: var(--c-ink-mute, #6B6B6B);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 4px 0;
}

.contact-card-direct { text-align: center; padding: 20px 22px; }
.contact-card-direct h3 { font-size: 14px; margin-bottom: 8px; }
.contact-direct-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
  margin: 4px 0 8px;
  word-break: break-all;
}
.contact-direct-email:hover { text-decoration: underline; }
.contact-direct-note {
  font-size: 12px;
  color: var(--c-ink-soft);
  margin: 0;
  line-height: 1.4;
}

/* ---- Responsive ---- */
@media (min-width: 720px) {
  .contact-info-top { grid-template-columns: 1fr 1fr; }
  .contact-form-row { grid-template-columns: 1fr 1fr; }
  .contact-directory-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

@media (min-width: 1024px) {
  /* 2-zone layout: info 2/3 + form 1/3 (sticky) */
  .contact-layout {
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 40px;
  }
  .contact-form-sticky {
    position: sticky;
    top: 88px;
  }
  /* Address+hours become 1fr 1fr (more breathing room) */
  .contact-info-top { grid-template-columns: 1.1fr 1fr; }
  /* Map more cinematic */
  .contact-card-map { aspect-ratio: 16 / 6; }
}

@media (min-width: 1280px) {
  .contact-layout { gap: 40px; }
}
/* =====================================================
   BILINGUAL FORMS (member / venue-reserve / donate)
   Built on top of .contact-form vocabulary with helper
   text under each label + checkbox/radio groups.
   ===================================================== */
.slb-form {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 32px;
  margin-top: 28px;
}
.form-field,
.form-fieldset {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-fieldset legend { padding: 0; }
.form-label-lv {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  display: block;
}
.form-label-en {
  font-size: 12px;
  font-style: italic;
  color: var(--c-ink-soft);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  display: block;
  margin-top: 2px;
}
.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 6px;
}
.form-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--c-ink);
}
.form-opt input { accent-color: var(--c-red); width: 16px; height: 16px; }
.form-opt-en { color: var(--c-ink-soft); font-style: italic; font-size: 12px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--c-ink);
  line-height: 1.5;
  padding: 12px 14px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
}
.form-consent input { accent-color: var(--c-red); margin-top: 3px; flex-shrink: 0; }
.form-consent strong { color: var(--c-red); font-weight: 600; }
.form-consent em { color: var(--c-ink-soft); font-style: italic; font-size: 12.5px; }
.form-payment-note {
  margin-top: 24px;
  padding: 12px 16px;
  background: rgba(184, 137, 58, 0.08);
  border-left: 2px solid var(--c-amber, #B8893A);
  border-radius: 2px;
  font-size: 14px;
  color: var(--c-ink-soft);
}
.form-payment-note strong { color: var(--c-ink); font-weight: 600; }
.form-payment-note em { font-style: italic; }

/* Success card (shown after submit) */
.form-success {
  display: none;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-red);
  border-radius: 6px;
  padding: 36px 40px;
  margin-top: 28px;
  animation: ai-fade-up 0.5s ease;
}
.form-success.is-visible { display: block; }
.form-success .section-eyebrow { margin-bottom: 10px; }
.form-success .section-title { font-size: 32px; line-height: 1.15; margin-bottom: 14px; }
.form-success p { color: var(--c-ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 8px; }
.form-success p em { color: var(--c-ink-soft); font-style: italic; }

/* Layout: full-width fields stack, half-width pairs row */
.slb-form .contact-form-row + .form-field,
.slb-form .form-field + .contact-form-row,
.slb-form .form-field + .form-field,
.slb-form .form-fieldset + .form-field,
.slb-form .form-field + .form-fieldset,
.slb-form .form-fieldset + .form-fieldset {
  margin-top: 18px;
}
.slb-form .contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 0;
}
.slb-form .contact-form-row .form-field { margin-top: 0; }
.slb-form .form-consent { margin-top: 18px; }
.slb-form button[type="submit"] { margin-top: 22px; align-self: flex-start; }

/* =====================================================
   FOOTER — multi-column
   ===================================================== */
.footer {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-paper);
  padding: 2px;
}
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer-brand strong {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--c-paper);
}
.footer-brand span {
  font-size: 12px;
  color: rgba(250, 247, 242, 0.7);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--c-paper);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--c-amber);
}
.footer-fine {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(250, 247, 242, 0.6);
}
.footer-fine .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* =====================================================
   AMBER ACCENT — added per spec
   ===================================================== */
:root {
  --c-amber: #D4A017;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .nav-links { gap: 4px; }
  .nav-links a { padding: 6px 10px; font-size: 13px; }
  .nav-actions { display: none; }
  .about-grid,
  .join-card,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-side { position: static; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card-feature { grid-column: span 2; }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-card-wide { grid-column: span 2; grid-template-columns: 1fr; }
  .gallery-albums { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .announce-bar { font-size: 12px; }
  .announce-inner { flex-wrap: wrap; }
  /* Desktop horizontal links disappear; the burger + overlay drawer take over */
  .nav-links { display: none; }
  /* On mobile, lang + version only live inside the overlay */
  .nav-desktop-right { display: none; }
  .nav-burger { display: flex; }
  /* Overlay fills the screen on mobile (matches base style.css) */
  .nav-overlay-inner {
    width: 100vw;
    border-left: 0;
  }
  .news-grid,
  .branches-grid,
  .venue-grid,
  .gallery-albums {
    grid-template-columns: 1fr;
  }
  .news-card-feature { grid-column: span 1; grid-row: span 1; }
  .venue-card-wide { grid-column: span 1; }
  .cal-grid { font-size: 11px; }
  .cal-day { min-height: 80px; padding: 4px 6px; }
  .cal-event { font-size: 9px; padding: 2px 4px; }
  .join-card { padding: 32px 24px; }
  .venue-cta { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
  .contact-form-row { grid-template-columns: 1fr; }
  .footer-fine .container { flex-direction: column; }
}

@media (max-width: 480px) {
  .cal-grid { font-size: 10px; }
  .cal-day { min-height: 70px; padding: 4px 5px; gap: 2px; }
  .cal-day-head { padding: 6px 4px; font-size: 9px; }
  .cal-num { font-size: 11px; }
  .cal-event { font-size: 9px; padding: 3px 4px; line-height: 1.2; }
  /* Even at smallest viewport, button stays tap-target-friendly and legible */
  .cal-add { width: 18px; height: 18px; min-width: 18px; font-size: 13px; }
  /* No hover scale on touch devices — would crowd the chip */
  @media (hover: none) { .cal-add:hover { transform: scale(1); } }
  /* Compact drawer items at very small widths */
  .nav-overlay-links a { font-size: 22px; padding: 12px 0; }
  .nav-burger { margin-left: auto; }
}

/* =====================================================
   CALENDAR — Add-to-calendar button + popover
   Always-visible, high-contrast button so elderly users
   can spot it from across the page. Brand-red on every
   event chip except red events (where it inverts to a
   paper disc with a red + for max contrast).
   ===================================================== */
.cal-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;          /* never shrink below touch-friendly */
  margin-left: auto;        /* push to far right inside the flex event */
  flex-shrink: 0;
  padding: 0;
  border: 1.5px solid var(--c-paper); /* paper halo against the chip bg */
  border-radius: 50%;
  background: var(--c-red);
  color: var(--c-paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  opacity: 1;               /* always fully visible — no fade */
  transform: scale(1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: background-color 0.15s ease, transform 0.12s ease,
              box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
/* Subtle lift on hover — does NOT change color, just enlarges the button
   and deepens shadow. User must always be able to read the + glyph. */
.cal-add:hover {
  background: var(--c-red-dark);
  transform: scale(1.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(164, 52, 58, 0.18);
}
/* Focus ring is a high-contrast red glow so keyboard users see it clearly */
.cal-add:focus,
.cal-add:focus-visible {
  outline: none;
  transform: scale(1.08);
  box-shadow: 0 0 0 3px var(--c-paper), 0 0 0 5px var(--c-red-dark);
}
.cal-add:active {
  background: var(--c-red-dark);
  transform: scale(0.94);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
}
/* On RED event chips (Anniversary Concert, AGM, etc.) the button can't
   be red on red. Invert to a paper disc with a red + so it still pops. */
.cal-event-red .cal-add {
  background: var(--c-paper);
  color: var(--c-red);
  border-color: var(--c-paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.cal-event-red .cal-add:hover {
  background: var(--c-cream);
  color: var(--c-red-dark);
  border-color: var(--c-cream);
}
/* Already-added (post .ics click) — keep brand red but darker to signal done */
.cal-add.is-added {
  background: var(--c-red-dark);
  border-color: var(--c-paper);
  color: var(--c-paper);
}

/* Inline + example in section-sub */
.cal-add-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--c-red);
  border-radius: 50%;
  color: var(--c-red);
  font-size: 11px;
  font-weight: 700;
  vertical-align: -2px;
  margin: 0 2px;
}
/* Button variant of .cal-add-inline — reset native chrome, add hover/focus */
button.cal-add-inline {
  background: var(--c-cream);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
button.cal-add-inline:hover,
button.cal-add-inline:focus-visible {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  outline: none;
  transform: scale(1.08);
}
button.cal-add-inline.is-added {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
}

/* Popover */
.cal-popover {
  position: fixed;
  z-index: 1000;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 16px;
  min-width: 280px;
  max-width: 320px;
  font-family: var(--sans);
  animation: cal-popover-in 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cal-popover-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cal-popover[hidden] { display: none; }
.cal-popover-arrow {
  position: absolute;
  top: -6px;
  width: 12px;
  height: 12px;
  background: var(--c-paper);
  border-left: 1px solid var(--c-line);
  border-top: 1px solid var(--c-line);
  transform: rotate(45deg);
}
.cal-popover-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  padding-right: 24px;
}
.cal-popover-meta {
  font-size: 12px;
  color: var(--c-ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}
.cal-popover-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-popover-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.cal-popover-btn:hover {
  border-color: var(--c-red);
  background: rgba(164, 52, 58, 0.04);
}
.cal-popover-btn-primary {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-paper);
}
.cal-popover-btn-primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  color: var(--c-paper);
}
.cal-popover-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--c-cream);
  color: var(--c-ink);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.cal-popover-btn-primary .cal-popover-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--c-paper);
}

/* =====================================================
   CALENDAR — List & Week views
   ===================================================== */
.cal-list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 20px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  flex-wrap: wrap;
  gap: 12px;
}
.cal-list-count {
  font-size: 13px;
  color: var(--c-ink-soft);
  font-weight: 500;
}
.cal-list-count strong {
  color: var(--c-red);
  font-weight: 700;
}
.cal-list-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cal-filter {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.cal-filter:hover {
  border-color: var(--c-red);
  color: var(--c-ink);
}
.cal-filter.active {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: var(--c-ink);
}

.cal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cal-list-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 20px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  transition: all 0.2s;
}
.cal-list-item:hover {
  border-color: var(--c-red);
  transform: translateX(2px);
}
.cal-list-date {
  text-align: center;
  border-right: 1px solid var(--c-line);
  padding-right: 20px;
}
.cal-list-date-day {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
  letter-spacing: -0.03em;
}
.cal-list-date-month {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-top: 2px;
}
.cal-list-date-weekday {
  font-size: 11px;
  color: var(--c-ink-soft);
  margin-top: 2px;
}
.cal-list-info h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.cal-list-info p {
  font-size: 12px;
  color: var(--c-ink-soft);
  line-height: 1.4;
}
.cal-list-info-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--c-ink-soft);
  margin-top: 6px;
}
.cal-list-info-meta strong {
  color: var(--c-ink);
  font-weight: 600;
}
.cal-list-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}
.cal-list-dot-red { background: var(--c-red); }
.cal-list-dot-orange { background: #C48259; }
.cal-list-dot-amber { background: var(--c-amber); }
.cal-list-dot-blue { background: #466E96; }

/* Week view */
.cal-week-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  border: 1px solid var(--c-line);
}
.cal-week-name {
  flex: 1;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
}
.cal-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.cal-week-day {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 16px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal-week-day-head {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 4px;
}
.cal-week-day-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.cal-week-day-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.cal-week-day-today .cal-week-day-num {
  color: var(--c-red);
}
.cal-week-event {
  background: var(--c-cream);
  border-left: 3px solid var(--c-red);
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 12px;
  color: var(--c-ink);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.cal-week-event-orange { border-color: #C48259; }
.cal-week-event-amber { border-color: var(--c-amber); }
.cal-week-event-blue { border-color: #466E96; }
.cal-week-event-title {
  font-weight: 600;
  flex: 1;
  line-height: 1.3;
}
/* Week-view button: same look as month/list, just no flex margin
   override (week view has its own row layout) */
.cal-week-event .cal-add {
  margin-left: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .cal-list-item {
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    padding: 12px 14px;
  }
  .cal-list-date-day { font-size: 22px; }
  .cal-list-info h4 { font-size: 15px; }
  .cal-week-grid { grid-template-columns: 1fr; }
  .cal-week-day { min-height: auto; }
  .cal-popover {
    min-width: 240px;
    max-width: calc(100vw - 32px);
    left: 16px !important;
    right: 16px;
  }
}

/* =====================================================
   LANGUAGE SWITCH (EN / LV)
   ===================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 3px;
  margin-right: 8px;
}
.lang-opt {
  background: none;
  border: none;
  padding: 5px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-ink-soft);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-opt:hover {
  color: var(--c-ink);
}
.lang-opt.active {
  background: var(--c-ink);
  color: var(--c-paper);
}

/* =====================================================
   BILINGUAL LABELS — show only one based on html data-lang
   ===================================================== */
/* Default (en): show [data-en], hide [data-lv]. Use data-lang so JS toggle works. */
[data-en] { display: inline; }
[data-lv] { display: none; }

:root[data-lang="lv"] [data-en] { display: none; }
:root[data-lang="lv"] [data-lv] { display: inline; }
:root[data-lang="en"] [data-lv] { display: none; }

/* Some elements contain BOTH the EN span and LV span as siblings — they're
   inline by default and switch naturally. For block content we need to use
   inline-block via the spans themselves */

/* =====================================================
   NAV LOGO — new SLB emblem (square 1254x1254)
   ===================================================== */
.nav-logo {
  /* Square emblem: sized by height, width auto */
  width: auto;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  /* Subtle crimson tint to blend with Latvian identity */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.04));
}
@media (max-width: 768px) {
  .nav-logo { height: 38px; }
}
@media (max-width: 480px) {
  .nav-logo { height: 34px; }
}

/* =====================================================
   HERO WATERMARK — SLB emblem, full opacity, focal composition
   ===================================================== */
.hero-watermark {
  /* Emblem is now the right-side hero visual — full opacity, prominent */
  position: absolute;
  top: 50%;
  right: 6%;
  width: 520px;
  height: 520px;
  max-width: 42vw;
  max-height: 88%;
  background: url('img/emblem-clean.png') no-repeat center / contain;
  background-size: contain;
  transform: translateY(-50%);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  /* Subtle drop shadow so the emblem feels layered, not pasted */
  filter: drop-shadow(0 12px 32px rgba(164, 52, 58, 0.15));
}
.hero-inner {
  position: relative;
  z-index: 1;
}
@media (max-width: 1100px) {
  .hero-watermark {
    width: 420px;
    height: 420px;
    right: 4%;
    opacity: 1;
  }
}
@media (max-width: 768px) {
  /* On tablet, push emblem to top-right corner as a smaller accent */
  .hero-watermark {
    width: 200px;
    height: 200px;
    right: -4%;
    top: 6%;
    transform: none;
    opacity: 0.22;
    filter: drop-shadow(0 6px 16px rgba(164, 52, 58, 0.1));
  }
}
@media (max-width: 480px) {
  /* On phones, center the emblem behind the hero content rather than
     bleeding off the right edge — keeps the visual on-screen and balanced */
  .hero-watermark {
    width: 240px;
    height: 240px;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.14;
    filter: drop-shadow(0 4px 12px rgba(164, 52, 58, 0.08));
  }
}

/* =====================================================
   VERSION SWITCHER (slb ↔ slb2) — slb2 frosted style
   ===================================================== */
.version-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(1.8) blur(12px);
  -webkit-backdrop-filter: saturate(1.8) blur(12px);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
  margin-right: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.version-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}
.version-opt:hover {
  color: var(--c-ink);
  background: var(--c-cream);
}
.version-opt.active {
  background: var(--c-ink);
  color: var(--c-paper);
}
.version-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-amber);
  display: inline-block;
}
.version-opt.active .version-dot {
  background: var(--c-paper);
  box-shadow: 0 0 0 2px var(--c-amber);
}
.version-opt[data-version="v1"] .version-dot { background: var(--c-ink-soft); width: 7px; height: 7px; }
.version-opt[data-version="v2"] .version-dot { background: var(--c-red); width: 7px; height: 7px; box-shadow: 0 0 0 2px rgba(164, 52, 58, 0.15); }
.version-opt[data-version="proposal"] .version-dot { background: var(--c-amber); width: 7px; height: 7px; }

@media (max-width: 768px) {
  .version-switch { padding: 3px; margin-right: 6px; }
  .version-opt { padding: 4px 8px; font-size: 11px; }
}

/* =====================================================
   MODAL DIALOGS (member / venue-reserve / donate)
   Three <div class="slb-modal" hidden> blocks at the end
   of <body>. Open via [data-open-modal="..."]; close via
   [data-close-modal], ESC, or click-on-backdrop.
   ===================================================== */
.slb-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: slb-modal-fade 0.18s ease;
}
.slb-modal[hidden] { display: none; }
.slb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.slb-modal-dialog {
  position: relative;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  max-width: 720px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  animation: slb-modal-pop 0.22s ease;
}
/* Venue reservation form needs more room for the room cards + step rail */
#modal-venue-reserve .slb-modal-dialog { max-width: 980px; }
.slb-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slb-modal-close:hover {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  transform: rotate(90deg);
}
.slb-modal-head {
  padding: 36px 40px 20px;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
}
.slb-modal-head .section-eyebrow { margin-bottom: 8px; }
.slb-modal-head .modal-title { font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
.slb-modal-head .modal-sub { color: var(--c-ink-soft); font-size: 14px; }
.slb-modal-body {
  padding: 28px 40px 36px;
  overflow-y: auto;
  flex: 1;
}
/* Form inside modal — strip the wrapping cream border we set for in-page forms */
.slb-modal-body .slb-form {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.slb-modal-body .form-success {
  margin: 0;
  padding: 28px 28px;
  background: var(--c-paper);
}
/* Lock body scroll when modal is open */
body.is-modal-open { overflow: hidden; }

@keyframes slb-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slb-modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@media (max-width: 720px) {
  .slb-modal { padding: 12px; }
  .slb-modal-head { padding: 28px 24px 18px; }
  .slb-modal-body { padding: 22px 24px 28px; }
  .slb-modal-head .modal-title { font-size: 22px; }
}

/* =====================================================
   V2 TIDY — Aug 2026
   Consistent section rhythm, breathing room, tightened grids
   ===================================================== */

/* Generic section padding — every .section gets generous breathing room */
.section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .section { padding: 48px 0; }
}

/* Subtle alternating section backgrounds for visual rhythm */
.section-about     { background: var(--c-cream); }
.section-news      { background: var(--c-paper); }
.section-calendar  { background: var(--c-cream); }
.section-branches  { background: var(--c-paper); }
.section-venue     { background: var(--c-cream); }
.section-join      { background: var(--c-paper); }
.section-gallery   { background: var(--c-cream); }
.section-contact   { background: var(--c-paper); }

/* Section heads — give them consistent breathing room below */
.section-head {
  margin-bottom: 56px;
  gap: 24px;
}
@media (max-width: 768px) {
  .section-head { margin-bottom: 36px; }
}
@media (max-width: 480px) {
  .section-head { margin-bottom: 28px; }
}

/* Container — center with comfortable gutters */
.container {
  padding: 0 var(--gutter, 32px);
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
}

/* =====================================================
   HERO — clean up internal spacing
   ===================================================== */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-eyebrow { margin-bottom: 0; }
.hero-stats {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}
.hero-stat-num {
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (max-width: 768px) {
  /* Stats stack vertically with subtle separators so each pair gets
     its own visual row instead of three cramped inline columns */
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 18px;
  }
  .hero-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 4px 0;
    width: 100%;
  }
  .hero-stat + .hero-stat {
    border-top: 1px dashed rgba(164, 52, 58, 0.18);
    padding-top: 14px;
  }
  .hero-stat-num {
    font-size: 32px;
    min-width: 78px;
    flex-shrink: 0;
  }
  .hero-stat-label {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Hide hero ornament strip on mobile (it adds noise without value) */
@media (max-width: 768px) {
  .hero-ornament-strip { display: none; }
}

/* =====================================================
   ABOUT — give it room and balance
   ===================================================== */
.section-about {
  padding-top: 120px;
  padding-bottom: 120px;
}
@media (max-width: 768px) {
  .section-about { padding: 72px 0; }
}
.about-grid {
  gap: 64px;
  align-items: start;
}
@media (max-width: 1100px) {
  .about-grid { gap: 48px; }
}
@media (max-width: 768px) {
  .about-grid { gap: 40px; }
}
.about-text p {
  margin-bottom: 18px;
  line-height: 1.6;
}
.about-text p:last-child { margin-bottom: 0; }
.about-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-crimson-bar {
  padding: 14px 22px;
  letter-spacing: 0.12em;
}

/* =====================================================
   NEWS — tighter card grid
   ===================================================== */
.news-grid {
  gap: 24px;
}
@media (max-width: 768px) {
  .news-grid { gap: 18px; }
}
.news-categories {
  margin-bottom: 28px;
}

/* =====================================================
   CALENDAR — clean up tab strip
   ===================================================== */
.section-calendar {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-calendar { padding: 56px 0; }
}
.calendar-tabs {
  margin-bottom: 28px;
}

/* =====================================================
   BRANCHES — reduce massive vertical scroll
   ===================================================== */
.section-branches {
  padding-top: 80px;
  padding-bottom: 100px;
}
@media (max-width: 768px) {
  .section-branches { padding: 56px 0 64px; }
}
.branches-grid {
  gap: 20px;
}
@media (max-width: 768px) {
  .branches-grid { gap: 16px; }
}
.branch-card {
  /* keep cards compact */
  padding: 24px 24px;
}
@media (max-width: 768px) {
  .branch-card { padding: 20px 18px; }
}
.branch-head {
  margin-bottom: 14px;
}
.branch-features {
  margin-bottom: 16px;
}
.branch-features li { padding: 4px 0; }

/* =====================================================
   VENUE — tighter
   ===================================================== */
.section-venue {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-venue { padding: 56px 0; }
}
.venue-grid {
  gap: 20px;
}
@media (max-width: 768px) {
  .venue-grid { gap: 16px; }
}
.venue-card {
  padding: 20px;
}

/* =====================================================
   JOIN, GALLERY, CONTACT — consistent
   ===================================================== */
.section-join {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-gallery {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-contact {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-join,
  .section-gallery,
  .section-contact { padding: 56px 0; }
}

.gallery-albums {
  gap: 18px;
}
@media (max-width: 768px) {
  .gallery-albums { gap: 14px; }
}

/* =====================================================
   FOOTER — slim down
   ===================================================== */
.footer {
  padding: 56px 0 28px;
}
@media (max-width: 768px) {
  .footer { padding: 40px 0 24px; }
}

/* =====================================================
   V2 MOBILE TIGHTEN — Aug 2026
   Reduce excessive vertical scroll on mobile by tightening
   branch/venue/gallery card spacing
   ===================================================== */

/* Branches: tighter card padding and meta row spacing on mobile */
@media (max-width: 768px) {
  .branch-card { padding: 16px 16px; }
  .branch-head {
    padding: 16px 16px 14px;
    gap: 10px;
  }
  .branch-head h3 {
    font-size: 17px;
    line-height: 1.25;
  }
  .branch-body {
    padding: 14px 16px;
  }
  .branch-text {
    margin-bottom: 12px;
    font-size: 13.5px;
    line-height: 1.45;
  }
  .branch-meta {
    gap: 0;  /* divs already have padding + border for separation */
  }
  .branch-meta div {
    padding: 6px 0;
    gap: 1px;
  }
  .branch-meta dt {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }
  .branch-meta dd {
    font-size: 12.5px;
  }
  .branch-levels {
    font-size: 11px;
  }
  /* Reduce section padding even further on mobile */
  .section-branches {
    padding: 48px 0 56px;
  }
}

/* Venue: tighter cards on mobile */
@media (max-width: 768px) {
  .venue-card {
    padding: 18px;
  }
  .venue-emoji {
    font-size: 48px;
  }
  .venue-card h3 {
    font-size: 18px;
  }
  .venue-card p {
    font-size: 13px;
  }
  .venue-meta {
    gap: 6px;
  }
}

/* Gallery: tighter albums on mobile */
@media (max-width: 768px) {
  .gallery-albums {
    gap: 14px;
  }
  .gallery-img {
    aspect-ratio: 4/3;
    margin-bottom: 10px;
    padding: 14px;
  }
  .gallery-img span {
    font-size: 15px;
  }
  .gallery-album h4 {
    font-size: 15px;
    margin-bottom: 2px;
  }
  .gallery-album p {
    font-size: 11px;
  }
  .section-gallery {
    padding: 48px 0;
  }
}

/* News cards on mobile: smaller image area, tighter padding */
@media (max-width: 768px) {
  .news-card .news-body {
    padding: 18px;
  }
  .news-card h3 {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .news-card p {
    font-size: 13px;
    line-height: 1.5;
  }
  .news-date {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .news-tag {
    font-size: 10px;
    padding: 3px 8px;
  }
}

/* Calendar on mobile: tighter */
@media (max-width: 768px) {
  .calendar-event {
    padding: 14px 16px;
    gap: 12px;
  }
  .calendar-event h4 {
    font-size: 15px;
  }
  .calendar-event p {
    font-size: 12.5px;
  }
  .calendar-date {
    padding: 8px 12px;
  }
  .calendar-date strong {
    font-size: 20px;
  }
  .calendar-date small {
    font-size: 10px;
  }
  .calendar-tabs {
    gap: 6px;
    margin-bottom: 20px;
  }
  .calendar-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* Join card on mobile */
@media (max-width: 768px) {
  .section-join .join-card,
  .join-card {
    padding: 24px 20px;
  }
  .join-card .section-title {
    font-size: 24px;
  }
}

/* Footer: tighter on mobile */
@media (max-width: 768px) {
  .footer {
    padding: 36px 0 20px;
  }
  .footer-inner {
    gap: 24px !important;
  }
  .footer-cols {
    gap: 16px !important;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 2 — venue features, gallery, news
   ===================================================== */
@media (max-width: 768px) {
  /* Venue card body — tighten list spacing */
  .venue-body {
    padding: 14px 16px;
  }
  .venue-features {
    gap: 4px;
    margin-bottom: 14px;
  }
  .venue-features li {
    font-size: 12.5px;
    padding-left: 14px;
    line-height: 1.4;
  }
  .venue-meta {
    font-size: 12.5px !important;
    margin-bottom: 12px !important;
  }
  .venue-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }
  .venue-link {
    font-size: 12.5px;
  }
  .venue-img {
    aspect-ratio: 16/9;
  }
  /* Gallery: collapse 3-col to 2-col on small mobile, less gap */
  .gallery-albums {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-album h4 {
    font-size: 14px;
  }
  .gallery-img {
    aspect-ratio: 1/1;
    margin-bottom: 8px;
    padding: 10px;
  }
  .gallery-img span {
    font-size: 13px;
  }
  /* Branches further tightening */
  .branch-card {
    padding: 14px 14px;
    border-radius: 4px;
  }
  .branch-head {
    padding: 14px 14px 10px;
    gap: 10px;
  }
  .branch-head h3 {
    font-size: 16px;
  }
  .branch-head .branch-tag {
    font-size: 11.5px;
  }
  .branch-body {
    padding: 12px 14px;
  }
  .branch-text {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .branch-meta div {
    padding: 5px 0;
  }
  .branch-meta dd {
    font-size: 12px;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 3 — join, hero, contact
   ===================================================== */
@media (max-width: 768px) {
  /* Hero: trim padding more aggressively on mobile, especially bottom
     so the ornament divider sits closer to the hero content */
  .hero {
    padding: 96px 0 32px;
    min-height: auto;
  }
  .hero-content {
    gap: 20px;
  }
  .hero-stats {
    /* Column-stacked layout defined earlier (line ~2226);
       these only reinforce padding/gap here */
    padding-top: 18px;
    gap: 12px;
  }
  .hero-eyebrow {
    font-size: 10.5px;
    padding: 5px 12px;
  }
  .hero-title {
    font-size: 40px !important;
    line-height: 1.05;
  }
  .hero-sub {
    font-size: 14.5px;
    line-height: 1.55;
  }
  .hero-cta {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    text-align: center;
    padding: 14px 20px;
  }

  /* Join section — tighten */
  .section-join {
    padding: 48px 0;
  }
  .join-card {
    padding: 24px 20px;
    gap: 24px;
  }
  .join-text {
    gap: 0;
  }
  .join-text .section-title {
    margin-bottom: 14px;
    font-size: 26px !important;
  }
  .join-lead {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .join-benefits {
    gap: 8px;
    margin-bottom: 24px;
  }
  .join-benefits li {
    font-size: 13.5px;
    padding-left: 22px;
    line-height: 1.4;
  }
  .join-cta {
    gap: 8px;
    margin-bottom: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .join-cta .btn {
    text-align: center;
  }
  .join-fine {
    font-size: 12px;
  }
  .join-side {
    padding: 16px;
    border-radius: 4px;
  }
  .join-side h4 {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .join-side p, .join-side li {
    font-size: 13px;
    line-height: 1.5;
  }

  /* About crimson bar — less aggressive bottom margin on mobile */
  .about-crimson-bar {
    margin: 0 calc(var(--gutter, 20px) * -1) 28px;
    width: calc(100% + var(--gutter, 20px) * 2);
    padding: 12px 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .about-text p {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  /* Contact section — tighter */
  .section-contact {
    padding: 48px 0;
  }
  .contact-grid {
    gap: 28px;
  }
  .contact-card {
    padding: 16px 18px;
  }
  .contact-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .contact-card p {
    font-size: 13px;
    line-height: 1.45;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 14px;
  }
  .contact-form label {
    font-size: 11.5px;
    margin-bottom: 5px;
  }
  .contact-form .btn {
    width: 100%;
    padding: 14px 20px;
  }

  /* News category pills — tighter */
  .news-categories {
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .news-cat {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  /* Section title sizes on mobile */
  .section-title {
    font-size: 28px !important;
    line-height: 1.1 !important;
  }
  .section-eyebrow {
    font-size: 10.5px;
    margin-bottom: 12px;
  }
  .section-sub {
    font-size: 15px;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 4 — calendar (correct class names)
   ===================================================== */
@media (max-width: 768px) {
  /* Calendar section */
  .section-calendar {
    padding: 48px 0;
  }
  .section-calendar .section-head {
    margin-bottom: 20px;
  }
  .section-calendar .section-sub {
    font-size: 14px !important;
    margin-bottom: 20px !important;
    line-height: 1.45;
  }
  /* Month nav bar */
  .cal-month-bar {
    margin-bottom: 16px;
    padding: 10px 12px;
    gap: 8px;
  }
  .cal-month-name {
    font-size: 17px;
  }
  .cal-nav {
    gap: 6px;
  }
  .cal-nav .btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  /* Month grid */
  .cal-grid {
    gap: 3px;
    font-size: 12px;
  }
  .cal-day-head {
    font-size: 10px;
    padding: 6px 0;
  }
  .cal-day {
    padding: 4px;
    min-height: 56px;
  }
  .cal-num {
    font-size: 11px;
  }
  /* Event pill inside day */
  .cal-event {
    font-size: 9px !important;
    padding: 1px 3px !important;
    line-height: 1.15 !important;
    margin-bottom: 1px;
  }
  /* Tabs (Kalendārs / Nedēļa / Saraksts) */
  .calendar-tabs {
    gap: 4px !important;
    margin-bottom: 14px !important;
    flex-wrap: wrap;
  }
  .cal-tab {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }
  /* Calendar list view items */
  .cal-list-item {
    padding: 12px 14px !important;
    gap: 12px !important;
  }
  .cal-list-date {
    padding: 6px 8px !important;
    min-width: 56px !important;
  }
  .cal-list-date-day {
    font-size: 18px !important;
  }
  .cal-list-date-month {
    font-size: 9px !important;
  }
  .cal-list-date-weekday {
    font-size: 9px !important;
  }
  .cal-list-info-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .cal-list-info-meta {
    font-size: 11.5px !important;
    gap: 4px !important;
  }
  .cal-list-info-desc {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }
  /* Calendar legend */
  .cal-legend {
    padding: 14px 16px;
    font-size: 12px;
    gap: 10px;
    margin-top: 16px;
  }
  .cal-legend-item {
    font-size: 11px;
    gap: 6px;
  }
  .cal-popover {
    /* Popover should not take mobile width — keep within screen */
    max-width: calc(100vw - 32px) !important;
  }

  /* Section sub generic (used by multiple sections) */
  .section-sub {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
  }
}

/* =====================================================
   HERO ORNAMENT STRIP — Latvian ornament border in hero
   ===================================================== */
.hero-ornament-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 880px;
  margin: 0 auto 36px;
  color: var(--c-red);
  opacity: 0.85;
}
.hero-ornament-strip svg {
  width: 100%;
  height: 32px;
  max-width: 720px;
  display: block;
}
@media (max-width: 768px) {
  .hero-ornament-strip {
    margin-bottom: 24px;
    max-width: 360px;
  }
  .hero-ornament-strip svg { height: 24px; }
}

/* =====================================================
   SECTION DIVIDER STRIP — v1-style ornament + quote
   Sits between major sections as a visual breath.
   ===================================================== */
.ornament-strip {
  background: var(--c-red);
  padding: 16px 0;
  border-top: 1px solid var(--c-red-dark);
  border-bottom: 1px solid var(--c-red-dark);
  position: relative;
  overflow: hidden;
}
.ornament-strip::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 80px;
  background: var(--c-cream);
  opacity: 0.08;
  background-image: linear-gradient(135deg, transparent 45%, rgba(255,255,255,0.15) 50%, transparent 55%);
}
.ornament-strip-inner {
  /* Full-bleed divider — inner content still centered via flex */
  max-width: none;
  margin: 0;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: var(--c-cream);
}
.ornament-strip svg { width: 200px; height: 28px; opacity: 0.85; color: var(--c-paper); flex-shrink: 0; }
.ornament-strip-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--c-paper);
  font-weight: 400;
  letter-spacing: 0.005em;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .ornament-strip {
    padding: 20px 0;
  }
  .ornament-strip-inner {
    gap: 16px;
    padding: 0 20px;
  }
  .ornament-strip svg {
    width: 80px;
    height: 22px;
  }
  .ornament-strip-quote {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .ornament-strip-inner {
    flex-direction: column;
    gap: 14px;
  }
  .ornament-strip svg:last-child { display: none; }
  .ornament-strip-quote { font-size: 15px; }
}

/* =====================================================
   V2 ≤480 SECTION RESPONSIVENESS PASS
   Tightens section vertical rhythm on the smallest phones
   so the page reads as a series of distinct, breathing blocks.
   ===================================================== */
@media (max-width: 480px) {
  .hero { padding: 88px 0 24px; }
  .hero-title { font-size: 34px !important; line-height: 1.04; }
  .hero-sub { font-size: 14px; }
  .hero-content { gap: 18px; }

  .section-about      { padding: 48px 0; }
  .section-news       { padding: 48px 0; }
  .section-calendar   { padding: 44px 0; }
  .section-branches   { padding: 44px 0 52px; }
  .section-venue      { padding: 44px 0; }
  .section-join       { padding: 44px 0; }
  .section-gallery    { padding: 44px 0; }
  .section-contact    { padding: 44px 0; }
  .section-head       { margin-bottom: 22px; }

  .section-eyebrow    { font-size: 10px; margin-bottom: 10px; }
  .section-title      { font-size: 26px !important; line-height: 1.1 !important; }
  .section-sub        { font-size: 14px !important; line-height: 1.5; }
}
/* =====================================================
   SLB v2 — based on v1 visual language
   Adds: calendar, branches (3-level structure), venue cards,
   join section, gallery, contact forms, announcement bar
   ===================================================== */

/* =====================================================
   ANNOUNCEMENT BAR
   ===================================================== */
.announce-bar {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 10px 0;
  font-size: 13px;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.announce-dot {
  width: 8px; height: 8px;
  background: var(--c-amber);
  border-radius: 50%;
  animation: announce-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes announce-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.announce-inner span:nth-child(2) {
  flex: 1;
}
.announce-link {
  color: var(--c-amber);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.announce-link:hover {
  color: var(--c-paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =====================================================
   NAV — additional "amber" CTA button
   ===================================================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-amber {
  background: var(--c-amber);
  color: var(--c-ink);
  border-color: var(--c-amber);
}
.btn-amber:hover {
  background: #C4930F;
  border-color: #C4930F;
  color: var(--c-paper);
}

/* =====================================================
   SECTION HEAD with right-aligned link
   ===================================================== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-head .section-title {
  margin-bottom: 0;
}
.section-sub {
  font-size: 17px;
  color: var(--c-ink-soft);
  max-width: 60ch;
  margin-bottom: 48px;
  line-height: 1.55;
}
.btn-link {
  background: none;
  border: none;
  color: var(--c-red);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.btn-link:hover {
  gap: 10px;
  color: var(--c-red-dark);
}

/* =====================================================
   HERO — small adjustments for nav-actions above
   ===================================================== */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-primary {
  background: var(--c-red);
  color: var(--c-paper);
  border: 1.5px solid var(--c-red);
}
.btn-primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  transform: translateY(-1px);
}

/* =====================================================
   ABOUT — left-aligned, sidebar with facts
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 20px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.about-text strong {
  color: var(--c-ink);
  font-weight: 600;
}
.about-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 100px;
}
.about-crimson-bar {
  background: var(--c-red);
  color: var(--c-paper);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  border-radius: 2px;
  /* Bleed past the container so the crimson reads as a full-bleed band */
  margin: 0 calc(var(--gutter) * -1) 64px;
  width: calc(100% + var(--gutter) * 2);
}
.about-crimson-bar-icon {
  font-size: 18px;
  color: var(--c-amber);
}
.about-facts {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-line);
}
.about-fact:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.about-fact-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
}
.about-fact-v {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink);
}

/* =====================================================
   JAUNUMI — news section with category tabs
   ===================================================== */
.news-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.news-cat {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.news-cat:hover {
  border-color: var(--c-red);
  color: var(--c-ink);
}
.news-cat.active {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-paper);
}

/* News grid: feature card + 5 smaller */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-red);
}
.news-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}
.news-card-feature .news-img {
  aspect-ratio: 16/9;
}
.news-img {
  aspect-ratio: 16/10;
  background: var(--c-line-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.news-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--c-paper);
  color: var(--c-red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.news-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-date {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 12px;
}
.news-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.news-card-feature h3 {
  font-size: 32px;
  margin-bottom: 16px;
}
.news-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
  flex: 1;
}
.news-card-feature p {
  font-size: 16px;
}
.news-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
  align-self: flex-start;
}
.news-link:hover {
  transform: translateX(4px);
}

/* =====================================================
   KALENDĀRS — month grid
   ===================================================== */
.section-calendar {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.calendar-tabs {
  display: flex;
  gap: 4px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 4px;
  border-radius: 100px;
}
.cal-tab {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  padding: 6px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.cal-tab.active {
  background: var(--c-ink);
  color: var(--c-paper);
}
.cal-month-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  border: 1px solid var(--c-line);
}
.cal-nav {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--c-ink);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.cal-nav:hover {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
}
.cal-month-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  flex: 1;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}
.cal-export {
  margin-left: auto;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .cal-month-bar {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .cal-month-name { width: 100%; order: -1; }
  .cal-export { margin-left: 0; width: 100%; text-align: center; }
}
/* Visually hidden, accessible to screen readers — used for icon-only buttons
   that need a long label for AT but show only an icon visually. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
}
.cal-day {
  background: var(--c-paper);
  min-height: 110px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  /* Let the grid cell shrink below content width on mobile */
  min-width: 0;
  overflow: hidden;
}
.cal-day-head {
  min-height: auto;
  padding: 12px 10px;
  background: var(--c-cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  text-align: center;
  justify-content: center;
}
.cal-day-out {
  background: var(--c-cream);
  opacity: 0.4;
}
.cal-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  font-family: var(--sans);
}
.cal-event {
  font-size: 10.5px;
  padding: 3px 5px 3px 7px;
  border-radius: 3px;
  font-weight: 500;
  line-height: 1.3;
  border-left: 3px solid;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
}
/* Title truncates; the + button stays a fixed-width sibling that never gets clipped */
.cal-event > span {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-event-amber {
  background: rgba(212, 160, 23, 0.12);
  color: #8B6B0F;
  border-color: var(--c-amber);
}
.cal-event-orange {
  background: rgba(196, 130, 89, 0.12);
  color: #8B4F1F;
  border-color: #C48259;
}
.cal-event-blue {
  background: rgba(70, 110, 150, 0.12);
  color: #2C4A6B;
  border-color: #466E96;
}
.cal-event-red {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  font-weight: 600;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  font-size: 13px;
  color: var(--c-ink-soft);
}
.cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cal-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  border-left: 3px solid;
  display: inline-block;
}
.cal-dot-amber {
  background: rgba(212, 160, 23, 0.12);
  border-color: var(--c-amber);
}
.cal-dot-orange {
  background: rgba(196, 130, 89, 0.12);
  border-color: #C48259;
}
.cal-dot-blue {
  background: rgba(70, 110, 150, 0.12);
  border-color: #466E96;
}
.cal-dot-red {
  background: var(--c-red);
  border-color: var(--c-red);
}

/* =====================================================
   NOZARES — 3-pakāpju struktūra
   ===================================================== */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.branch-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.branch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-red);
}
.branch-head {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.branch-emblem {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}
.branch-head h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.branch-tag {
  font-size: 11.5px;
  color: var(--c-ink-soft);
  font-style: italic;
}
.branch-body {
  padding: 20px 24px;
  flex: 1;
}
.branch-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.branch-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.branch-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px solid var(--c-line-soft);
}
.branch-meta dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red);
}
.branch-meta dd {
  font-size: 13px;
  color: var(--c-ink);
  margin: 0;
}
.branch-levels {
  display: flex;
  border-top: 1px solid var(--c-line);
  background: var(--c-cream);
}
.branch-level {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
  text-decoration: none;
  border-right: 1px solid var(--c-line);
  transition: all 0.2s;
}
.branch-level:last-child {
  border-right: 0;
}
.branch-level:hover {
  background: var(--c-red);
  color: var(--c-paper);
}

/* =====================================================
   TELPU NOMA — venue cards
   ===================================================== */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.venue-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.venue-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.venue-card-wide {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
}
.venue-img {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.venue-card-wide .venue-img {
  aspect-ratio: auto;
  min-height: 240px;
}
.venue-emoji {
  font-size: 64px;
  opacity: 0.9;
}
.venue-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
}
.venue-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.venue-meta {
  font-size: 13px;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.venue-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  flex: 1;
}
.venue-features li {
  font-size: 13px;
  color: var(--c-ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.venue-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-red);
  font-weight: 700;
}
.venue-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
  align-self: flex-start;
  transition: transform 0.2s;
}
.venue-link:hover {
  transform: translateX(4px);
}

.venue-cta {
  margin-top: 48px;
  padding: 40px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.venue-cta h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.venue-cta p {
  font-size: 14px;
  color: var(--c-ink-soft);
}

/* =====================================================
   PIEVIENOJETIES — large card with side stats
   ===================================================== */
.section-join {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
}
.join-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.join-text .section-title {
  margin-bottom: 24px;
}
.join-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 32px;
}
.join-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.join-benefits li {
  font-size: 14.5px;
  color: var(--c-ink-soft);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.join-benefits li::before {
  content: '⊕';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-red);
  font-weight: 700;
}
.join-benefits strong {
  color: var(--c-ink);
  font-weight: 600;
}
.join-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 14px;
}
.join-fine {
  font-size: 12px;
  color: var(--c-ink-soft);
}
.join-fine a {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.join-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.join-stat-block {
  background: var(--c-paper);
  padding: 24px;
  border-radius: 4px;
  border-left: 4px solid var(--c-red);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.join-stat-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: -0.03em;
  line-height: 1;
}
.join-stat-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.join-quote {
  background: var(--c-paper);
  padding: 28px 24px;
  border-radius: 4px;
  border: 1px solid var(--c-line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink);
}
.join-quote p {
  margin-bottom: 12px;
}
.join-quote span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  color: var(--c-ink-soft);
}

/* =====================================================
   GALERIJA — album grid
   ===================================================== */
.section-gallery {
  background: var(--c-paper);
}
.gallery-albums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-album {
  text-decoration: none;
  color: var(--c-ink);
  display: block;
  transition: transform 0.3s;
}
.gallery-album:hover {
  transform: translateY(-3px);
}
.gallery-img {
  aspect-ratio: 4/3;
  border-radius: 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.gallery-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 60%);
}
.gallery-img span {
  position: relative;
  color: var(--c-paper);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.gallery-album h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.gallery-album p {
  font-size: 12px;
  color: var(--c-ink-soft);
}

/* =====================================================
   KONTAKTI — info + form tabs
   ===================================================== */
.section-contact {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  padding: 24px;
  border-radius: 4px;
}
.contact-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.contact-big {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.contact-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-hours, .contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-hours div, .contact-list div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line-soft);
}
.contact-hours div:last-child, .contact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.contact-hours dt, .contact-list dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
}
.contact-hours dd, .contact-list dd {
  font-size: 13.5px;
  color: var(--c-ink);
  margin: 0;
}
.contact-list a {
  color: var(--c-red);
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-social-link {
  font-size: 14px;
  color: var(--c-ink);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line-soft);
  transition: color 0.2s;
}
.contact-social-link:last-child {
  border-bottom: 0;
}
.contact-social-link:hover {
  color: var(--c-red);
}

.contact-forms {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 32px;
}
.contact-form-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  padding: 4px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
}
.contact-form-tab {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.contact-form-tab.active {
  background: var(--c-red);
  color: var(--c-paper);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 14px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  color: var(--c-ink);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-red);
}
.contact-form textarea {
  resize: vertical;
  font-family: var(--sans);
}

/* =====================================================
   BILINGUAL FORMS (member / venue-reserve / donate)
   Built on top of .contact-form vocabulary with helper
   text under each label + checkbox/radio groups.
   ===================================================== */
.slb-form {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 32px;
  margin-top: 28px;
}
.form-field,
.form-fieldset {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-fieldset legend { padding: 0; }
.form-label-lv {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  display: block;
}
.form-label-en {
  font-size: 12px;
  font-style: italic;
  color: var(--c-ink-soft);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  display: block;
  margin-top: 2px;
}
.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 6px;
}
.form-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--c-ink);
}
.form-opt input { accent-color: var(--c-red); width: 16px; height: 16px; }
.form-opt-en { color: var(--c-ink-soft); font-style: italic; font-size: 12px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--c-ink);
  line-height: 1.5;
  padding: 12px 14px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
}
.form-consent input { accent-color: var(--c-red); margin-top: 3px; flex-shrink: 0; }
.form-consent strong { color: var(--c-red); font-weight: 600; }
.form-consent em { color: var(--c-ink-soft); font-style: italic; font-size: 12.5px; }
.form-payment-note {
  margin-top: 24px;
  padding: 12px 16px;
  background: rgba(184, 137, 58, 0.08);
  border-left: 2px solid var(--c-amber, #B8893A);
  border-radius: 2px;
  font-size: 14px;
  color: var(--c-ink-soft);
}
.form-payment-note strong { color: var(--c-ink); font-weight: 600; }
.form-payment-note em { font-style: italic; }

/* Success card (shown after submit) */
.form-success {
  display: none;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-red);
  border-radius: 6px;
  padding: 36px 40px;
  margin-top: 28px;
  animation: ai-fade-up 0.5s ease;
}
.form-success.is-visible { display: block; }
.form-success .section-eyebrow { margin-bottom: 10px; }
.form-success .section-title { font-size: 32px; line-height: 1.15; margin-bottom: 14px; }
.form-success p { color: var(--c-ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 8px; }
.form-success p em { color: var(--c-ink-soft); font-style: italic; }

/* Layout: full-width fields stack, half-width pairs row */
.slb-form .contact-form-row + .form-field,
.slb-form .form-field + .contact-form-row,
.slb-form .form-field + .form-field,
.slb-form .form-fieldset + .form-field,
.slb-form .form-field + .form-fieldset,
.slb-form .form-fieldset + .form-fieldset {
  margin-top: 18px;
}
.slb-form .contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 0;
}
.slb-form .contact-form-row .form-field { margin-top: 0; }
.slb-form .form-consent { margin-top: 18px; }
.slb-form button[type="submit"] { margin-top: 22px; align-self: flex-start; }

/* =====================================================
   FOOTER — multi-column
   ===================================================== */
.footer {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-paper);
  padding: 2px;
}
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer-brand strong {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--c-paper);
}
.footer-brand span {
  font-size: 12px;
  color: rgba(250, 247, 242, 0.7);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--c-paper);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--c-amber);
}
.footer-fine {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(250, 247, 242, 0.6);
}
.footer-fine .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* =====================================================
   AMBER ACCENT — added per spec
   ===================================================== */
:root {
  --c-amber: #D4A017;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .nav-links { gap: 4px; }
  .nav-links a { padding: 6px 10px; font-size: 13px; }
  .nav-actions { display: none; }
  .about-grid,
  .join-card,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-side { position: static; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card-feature { grid-column: span 2; }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-card-wide { grid-column: span 2; grid-template-columns: 1fr; }
  .gallery-albums { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .announce-bar { font-size: 12px; }
  .announce-inner { flex-wrap: wrap; }
  /* Desktop horizontal links disappear; the burger + overlay drawer take over */
  .nav-links { display: none; }
  /* On mobile, lang + version only live inside the overlay */
  .nav-desktop-right { display: none; }
  .nav-burger { display: flex; }
  /* Overlay fills the screen on mobile (matches base style.css) */
  .nav-overlay-inner {
    width: 100vw;
    border-left: 0;
  }
  .news-grid,
  .branches-grid,
  .venue-grid,
  .gallery-albums {
    grid-template-columns: 1fr;
  }
  .news-card-feature { grid-column: span 1; grid-row: span 1; }
  .venue-card-wide { grid-column: span 1; }
  .cal-grid { font-size: 11px; }
  .cal-day { min-height: 80px; padding: 4px 6px; }
  .cal-event { font-size: 9px; padding: 2px 4px; }
  .join-card { padding: 32px 24px; }
  .venue-cta { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
  .contact-form-row { grid-template-columns: 1fr; }
  .footer-fine .container { flex-direction: column; }
}

@media (max-width: 480px) {
  .cal-grid { font-size: 10px; }
  .cal-day { min-height: 70px; padding: 4px 5px; gap: 2px; }
  .cal-day-head { padding: 6px 4px; font-size: 9px; }
  .cal-num { font-size: 11px; }
  .cal-event { font-size: 9px; padding: 3px 4px; line-height: 1.2; }
  /* Even at smallest viewport, button stays tap-target-friendly and legible */
  .cal-add { width: 18px; height: 18px; min-width: 18px; font-size: 13px; }
  /* No hover scale on touch devices — would crowd the chip */
  @media (hover: none) { .cal-add:hover { transform: scale(1); } }
  /* Compact drawer items at very small widths */
  .nav-overlay-links a { font-size: 22px; padding: 12px 0; }
  .nav-burger { margin-left: auto; }
}

/* =====================================================
   CALENDAR — Add-to-calendar button + popover
   Always-visible, high-contrast button so elderly users
   can spot it from across the page. Brand-red on every
   event chip except red events (where it inverts to a
   paper disc with a red + for max contrast).
   ===================================================== */
.cal-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;          /* never shrink below touch-friendly */
  margin-left: auto;        /* push to far right inside the flex event */
  flex-shrink: 0;
  padding: 0;
  border: 1.5px solid var(--c-paper); /* paper halo against the chip bg */
  border-radius: 50%;
  background: var(--c-red);
  color: var(--c-paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  opacity: 1;               /* always fully visible — no fade */
  transform: scale(1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: background-color 0.15s ease, transform 0.12s ease,
              box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
/* Subtle lift on hover — does NOT change color, just enlarges the button
   and deepens shadow. User must always be able to read the + glyph. */
.cal-add:hover {
  background: var(--c-red-dark);
  transform: scale(1.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(164, 52, 58, 0.18);
}
/* Focus ring is a high-contrast red glow so keyboard users see it clearly */
.cal-add:focus,
.cal-add:focus-visible {
  outline: none;
  transform: scale(1.08);
  box-shadow: 0 0 0 3px var(--c-paper), 0 0 0 5px var(--c-red-dark);
}
.cal-add:active {
  background: var(--c-red-dark);
  transform: scale(0.94);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
}
/* On RED event chips (Anniversary Concert, AGM, etc.) the button can't
   be red on red. Invert to a paper disc with a red + so it still pops. */
.cal-event-red .cal-add {
  background: var(--c-paper);
  color: var(--c-red);
  border-color: var(--c-paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.cal-event-red .cal-add:hover {
  background: var(--c-cream);
  color: var(--c-red-dark);
  border-color: var(--c-cream);
}
/* Already-added (post .ics click) — keep brand red but darker to signal done */
.cal-add.is-added {
  background: var(--c-red-dark);
  border-color: var(--c-paper);
  color: var(--c-paper);
}

/* Inline + example in section-sub */
.cal-add-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--c-red);
  border-radius: 50%;
  color: var(--c-red);
  font-size: 11px;
  font-weight: 700;
  vertical-align: -2px;
  margin: 0 2px;
}
/* Button variant of .cal-add-inline — reset native chrome, add hover/focus */
button.cal-add-inline {
  background: var(--c-cream);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
button.cal-add-inline:hover,
button.cal-add-inline:focus-visible {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  outline: none;
  transform: scale(1.08);
}
button.cal-add-inline.is-added {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
}

/* Popover */
.cal-popover {
  position: fixed;
  z-index: 1000;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 16px;
  min-width: 280px;
  max-width: 320px;
  font-family: var(--sans);
  animation: cal-popover-in 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cal-popover-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cal-popover[hidden] { display: none; }
.cal-popover-arrow {
  position: absolute;
  top: -6px;
  width: 12px;
  height: 12px;
  background: var(--c-paper);
  border-left: 1px solid var(--c-line);
  border-top: 1px solid var(--c-line);
  transform: rotate(45deg);
}
.cal-popover-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  padding-right: 24px;
}
.cal-popover-meta {
  font-size: 12px;
  color: var(--c-ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}
.cal-popover-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-popover-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.cal-popover-btn:hover {
  border-color: var(--c-red);
  background: rgba(164, 52, 58, 0.04);
}
.cal-popover-btn-primary {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-paper);
}
.cal-popover-btn-primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  color: var(--c-paper);
}
.cal-popover-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--c-cream);
  color: var(--c-ink);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.cal-popover-btn-primary .cal-popover-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--c-paper);
}

/* =====================================================
   CALENDAR — List & Week views
   ===================================================== */
.cal-list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 20px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  flex-wrap: wrap;
  gap: 12px;
}
.cal-list-count {
  font-size: 13px;
  color: var(--c-ink-soft);
  font-weight: 500;
}
.cal-list-count strong {
  color: var(--c-red);
  font-weight: 700;
}
.cal-list-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cal-filter {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.cal-filter:hover {
  border-color: var(--c-red);
  color: var(--c-ink);
}
.cal-filter.active {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: var(--c-ink);
}

.cal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cal-list-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 20px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  transition: all 0.2s;
}
.cal-list-item:hover {
  border-color: var(--c-red);
  transform: translateX(2px);
}
.cal-list-date {
  text-align: center;
  border-right: 1px solid var(--c-line);
  padding-right: 20px;
}
.cal-list-date-day {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
  letter-spacing: -0.03em;
}
.cal-list-date-month {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-top: 2px;
}
.cal-list-date-weekday {
  font-size: 11px;
  color: var(--c-ink-soft);
  margin-top: 2px;
}
.cal-list-info h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.cal-list-info p {
  font-size: 12px;
  color: var(--c-ink-soft);
  line-height: 1.4;
}
.cal-list-info-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--c-ink-soft);
  margin-top: 6px;
}
.cal-list-info-meta strong {
  color: var(--c-ink);
  font-weight: 600;
}
.cal-list-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}
.cal-list-dot-red { background: var(--c-red); }
.cal-list-dot-orange { background: #C48259; }
.cal-list-dot-amber { background: var(--c-amber); }
.cal-list-dot-blue { background: #466E96; }

/* Week view */
.cal-week-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  border: 1px solid var(--c-line);
}
.cal-week-name {
  flex: 1;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
}
.cal-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.cal-week-day {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 16px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal-week-day-head {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 4px;
}
.cal-week-day-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.cal-week-day-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.cal-week-day-today .cal-week-day-num {
  color: var(--c-red);
}
.cal-week-event {
  background: var(--c-cream);
  border-left: 3px solid var(--c-red);
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 12px;
  color: var(--c-ink);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.cal-week-event-orange { border-color: #C48259; }
.cal-week-event-amber { border-color: var(--c-amber); }
.cal-week-event-blue { border-color: #466E96; }
.cal-week-event-title {
  font-weight: 600;
  flex: 1;
  line-height: 1.3;
}
/* Week-view button: same look as month/list, just no flex margin
   override (week view has its own row layout) */
.cal-week-event .cal-add {
  margin-left: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .cal-list-item {
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    padding: 12px 14px;
  }
  .cal-list-date-day { font-size: 22px; }
  .cal-list-info h4 { font-size: 15px; }
  .cal-week-grid { grid-template-columns: 1fr; }
  .cal-week-day { min-height: auto; }
  .cal-popover {
    min-width: 240px;
    max-width: calc(100vw - 32px);
    left: 16px !important;
    right: 16px;
  }
}

/* =====================================================
   LANGUAGE SWITCH (EN / LV)
   ===================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 3px;
  margin-right: 8px;
}
.lang-opt {
  background: none;
  border: none;
  padding: 5px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-ink-soft);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-opt:hover {
  color: var(--c-ink);
}
.lang-opt.active {
  background: var(--c-ink);
  color: var(--c-paper);
}

/* =====================================================
   BILINGUAL LABELS — show only one based on html data-lang
   ===================================================== */
/* Default (en): show [data-en], hide [data-lv]. Use data-lang so JS toggle works. */
[data-en] { display: inline; }
[data-lv] { display: none; }

:root[data-lang="lv"] [data-en] { display: none; }
:root[data-lang="lv"] [data-lv] { display: inline; }
:root[data-lang="en"] [data-lv] { display: none; }

/* Some elements contain BOTH the EN span and LV span as siblings — they're
   inline by default and switch naturally. For block content we need to use
   inline-block via the spans themselves */

/* =====================================================
   NAV LOGO — new SLB emblem (square 1254x1254)
   ===================================================== */
.nav-logo {
  /* Square emblem: sized by height, width auto */
  width: auto;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  /* Subtle crimson tint to blend with Latvian identity */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.04));
}
@media (max-width: 768px) {
  .nav-logo { height: 38px; }
}
@media (max-width: 480px) {
  .nav-logo { height: 34px; }
}

/* =====================================================
   HERO WATERMARK — SLB emblem, full opacity, focal composition
   ===================================================== */
.hero-watermark {
  /* Emblem is now the right-side hero visual — full opacity, prominent */
  position: absolute;
  top: 50%;
  right: 6%;
  width: 520px;
  height: 520px;
  max-width: 42vw;
  max-height: 88%;
  background: url('img/emblem-clean.png') no-repeat center / contain;
  background-size: contain;
  transform: translateY(-50%);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  /* Subtle drop shadow so the emblem feels layered, not pasted */
  filter: drop-shadow(0 12px 32px rgba(164, 52, 58, 0.15));
}
.hero-inner {
  position: relative;
  z-index: 1;
}
@media (max-width: 1100px) {
  .hero-watermark {
    width: 420px;
    height: 420px;
    right: 4%;
    opacity: 1;
  }
}
@media (max-width: 768px) {
  /* On tablet, push emblem to top-right corner as a smaller accent */
  .hero-watermark {
    width: 200px;
    height: 200px;
    right: -4%;
    top: 6%;
    transform: none;
    opacity: 0.22;
    filter: drop-shadow(0 6px 16px rgba(164, 52, 58, 0.1));
  }
}
@media (max-width: 480px) {
  /* On phones, center the emblem behind the hero content rather than
     bleeding off the right edge — keeps the visual on-screen and balanced */
  .hero-watermark {
    width: 240px;
    height: 240px;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.14;
    filter: drop-shadow(0 4px 12px rgba(164, 52, 58, 0.08));
  }
}

/* =====================================================
   VERSION SWITCHER (slb ↔ slb2) — slb2 frosted style
   ===================================================== */
.version-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(1.8) blur(12px);
  -webkit-backdrop-filter: saturate(1.8) blur(12px);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
  margin-right: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.version-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}
.version-opt:hover {
  color: var(--c-ink);
  background: var(--c-cream);
}
.version-opt.active {
  background: var(--c-ink);
  color: var(--c-paper);
}
.version-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-amber);
  display: inline-block;
}
.version-opt.active .version-dot {
  background: var(--c-paper);
  box-shadow: 0 0 0 2px var(--c-amber);
}
.version-opt[data-version="v1"] .version-dot { background: var(--c-ink-soft); width: 7px; height: 7px; }
.version-opt[data-version="v2"] .version-dot { background: var(--c-red); width: 7px; height: 7px; box-shadow: 0 0 0 2px rgba(164, 52, 58, 0.15); }
.version-opt[data-version="proposal"] .version-dot { background: var(--c-amber); width: 7px; height: 7px; }

@media (max-width: 768px) {
  .version-switch { padding: 3px; margin-right: 6px; }
  .version-opt { padding: 4px 8px; font-size: 11px; }
}

/* =====================================================
   MODAL DIALOGS (member / venue-reserve / donate)
   Three <div class="slb-modal" hidden> blocks at the end
   of <body>. Open via [data-open-modal="..."]; close via
   [data-close-modal], ESC, or click-on-backdrop.
   ===================================================== */
.slb-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: slb-modal-fade 0.18s ease;
}
.slb-modal[hidden] { display: none; }
.slb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.slb-modal-dialog {
  position: relative;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  max-width: 720px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  animation: slb-modal-pop 0.22s ease;
}
/* Venue reservation form needs more room for the room cards + step rail */
#modal-venue-reserve .slb-modal-dialog { max-width: 980px; }
.slb-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slb-modal-close:hover {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  transform: rotate(90deg);
}
.slb-modal-head {
  padding: 36px 40px 20px;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
}
.slb-modal-head .section-eyebrow { margin-bottom: 8px; }
.slb-modal-head .modal-title { font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
.slb-modal-head .modal-sub { color: var(--c-ink-soft); font-size: 14px; }
.slb-modal-body {
  padding: 28px 40px 36px;
  overflow-y: auto;
  flex: 1;
}
/* Form inside modal — strip the wrapping cream border we set for in-page forms */
.slb-modal-body .slb-form {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.slb-modal-body .form-success {
  margin: 0;
  padding: 28px 28px;
  background: var(--c-paper);
}
/* Lock body scroll when modal is open */
body.is-modal-open { overflow: hidden; }

@keyframes slb-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slb-modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@media (max-width: 720px) {
  .slb-modal { padding: 12px; }
  .slb-modal-head { padding: 28px 24px 18px; }
  .slb-modal-body { padding: 22px 24px 28px; }
  .slb-modal-head .modal-title { font-size: 22px; }
}

/* =====================================================
   V2 TIDY — Aug 2026
   Consistent section rhythm, breathing room, tightened grids
   ===================================================== */

/* Generic section padding — every .section gets generous breathing room */
.section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .section { padding: 48px 0; }
}

/* Subtle alternating section backgrounds for visual rhythm */
.section-about     { background: var(--c-cream); }
.section-news      { background: var(--c-paper); }
.section-calendar  { background: var(--c-cream); }
.section-branches  { background: var(--c-paper); }
.section-venue     { background: var(--c-cream); }
.section-join      { background: var(--c-paper); }
.section-gallery   { background: var(--c-cream); }
.section-contact   { background: var(--c-paper); }

/* Section heads — give them consistent breathing room below */
.section-head {
  margin-bottom: 56px;
  gap: 24px;
}
@media (max-width: 768px) {
  .section-head { margin-bottom: 36px; }
}
@media (max-width: 480px) {
  .section-head { margin-bottom: 28px; }
}

/* Container — center with comfortable gutters */
.container {
  padding: 0 var(--gutter, 32px);
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
}

/* =====================================================
   HERO — clean up internal spacing
   ===================================================== */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-eyebrow { margin-bottom: 0; }
.hero-stats {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}
.hero-stat-num {
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (max-width: 768px) {
  /* Stats stack vertically with subtle separators so each pair gets
     its own visual row instead of three cramped inline columns */
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 18px;
  }
  .hero-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 4px 0;
    width: 100%;
  }
  .hero-stat + .hero-stat {
    border-top: 1px dashed rgba(164, 52, 58, 0.18);
    padding-top: 14px;
  }
  .hero-stat-num {
    font-size: 32px;
    min-width: 78px;
    flex-shrink: 0;
  }
  .hero-stat-label {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Hide hero ornament strip on mobile (it adds noise without value) */
@media (max-width: 768px) {
  .hero-ornament-strip { display: none; }
}

/* =====================================================
   ABOUT — give it room and balance
   ===================================================== */
.section-about {
  padding-top: 120px;
  padding-bottom: 120px;
}
@media (max-width: 768px) {
  .section-about { padding: 72px 0; }
}
.about-grid {
  gap: 64px;
  align-items: start;
}
@media (max-width: 1100px) {
  .about-grid { gap: 48px; }
}
@media (max-width: 768px) {
  .about-grid { gap: 40px; }
}
.about-text p {
  margin-bottom: 18px;
  line-height: 1.6;
}
.about-text p:last-child { margin-bottom: 0; }
.about-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-crimson-bar {
  padding: 14px 22px;
  letter-spacing: 0.12em;
}

/* =====================================================
   NEWS — tighter card grid
   ===================================================== */
.news-grid {
  gap: 24px;
}
@media (max-width: 768px) {
  .news-grid { gap: 18px; }
}
.news-categories {
  margin-bottom: 28px;
}

/* =====================================================
   CALENDAR — clean up tab strip
   ===================================================== */
.section-calendar {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-calendar { padding: 56px 0; }
}
.calendar-tabs {
  margin-bottom: 28px;
}

/* =====================================================
   BRANCHES — reduce massive vertical scroll
   ===================================================== */
.section-branches {
  padding-top: 80px;
  padding-bottom: 100px;
}
@media (max-width: 768px) {
  .section-branches { padding: 56px 0 64px; }
}
.branches-grid {
  gap: 20px;
}
@media (max-width: 768px) {
  .branches-grid { gap: 16px; }
}
.branch-card {
  /* keep cards compact */
  padding: 24px 24px;
}
@media (max-width: 768px) {
  .branch-card { padding: 20px 18px; }
}
.branch-head {
  margin-bottom: 14px;
}
.branch-features {
  margin-bottom: 16px;
}
.branch-features li { padding: 4px 0; }

/* =====================================================
   VENUE — tighter
   ===================================================== */
.section-venue {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-venue { padding: 56px 0; }
}
.venue-grid {
  gap: 20px;
}
@media (max-width: 768px) {
  .venue-grid { gap: 16px; }
}
.venue-card {
  padding: 20px;
}

/* =====================================================
   JOIN, GALLERY, CONTACT — consistent
   ===================================================== */
.section-join {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-gallery {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-contact {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-join,
  .section-gallery,
  .section-contact { padding: 56px 0; }
}

.gallery-albums {
  gap: 18px;
}
@media (max-width: 768px) {
  .gallery-albums { gap: 14px; }
}

/* =====================================================
   FOOTER — slim down
   ===================================================== */
.footer {
  padding: 56px 0 28px;
}
@media (max-width: 768px) {
  .footer { padding: 40px 0 24px; }
}

/* =====================================================
   V2 MOBILE TIGHTEN — Aug 2026
   Reduce excessive vertical scroll on mobile by tightening
   branch/venue/gallery card spacing
   ===================================================== */

/* Branches: tighter card padding and meta row spacing on mobile */
@media (max-width: 768px) {
  .branch-card { padding: 16px 16px; }
  .branch-head {
    padding: 16px 16px 14px;
    gap: 10px;
  }
  .branch-head h3 {
    font-size: 17px;
    line-height: 1.25;
  }
  .branch-body {
    padding: 14px 16px;
  }
  .branch-text {
    margin-bottom: 12px;
    font-size: 13.5px;
    line-height: 1.45;
  }
  .branch-meta {
    gap: 0;  /* divs already have padding + border for separation */
  }
  .branch-meta div {
    padding: 6px 0;
    gap: 1px;
  }
  .branch-meta dt {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }
  .branch-meta dd {
    font-size: 12.5px;
  }
  .branch-levels {
    font-size: 11px;
  }
  /* Reduce section padding even further on mobile */
  .section-branches {
    padding: 48px 0 56px;
  }
}

/* Venue: tighter cards on mobile */
@media (max-width: 768px) {
  .venue-card {
    padding: 18px;
  }
  .venue-emoji {
    font-size: 48px;
  }
  .venue-card h3 {
    font-size: 18px;
  }
  .venue-card p {
    font-size: 13px;
  }
  .venue-meta {
    gap: 6px;
  }
}

/* Gallery: tighter albums on mobile */
@media (max-width: 768px) {
  .gallery-albums {
    gap: 14px;
  }
  .gallery-img {
    aspect-ratio: 4/3;
    margin-bottom: 10px;
    padding: 14px;
  }
  .gallery-img span {
    font-size: 15px;
  }
  .gallery-album h4 {
    font-size: 15px;
    margin-bottom: 2px;
  }
  .gallery-album p {
    font-size: 11px;
  }
  .section-gallery {
    padding: 48px 0;
  }
}

/* News cards on mobile: smaller image area, tighter padding */
@media (max-width: 768px) {
  .news-card .news-body {
    padding: 18px;
  }
  .news-card h3 {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .news-card p {
    font-size: 13px;
    line-height: 1.5;
  }
  .news-date {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .news-tag {
    font-size: 10px;
    padding: 3px 8px;
  }
}

/* Calendar on mobile: tighter */
@media (max-width: 768px) {
  .calendar-event {
    padding: 14px 16px;
    gap: 12px;
  }
  .calendar-event h4 {
    font-size: 15px;
  }
  .calendar-event p {
    font-size: 12.5px;
  }
  .calendar-date {
    padding: 8px 12px;
  }
  .calendar-date strong {
    font-size: 20px;
  }
  .calendar-date small {
    font-size: 10px;
  }
  .calendar-tabs {
    gap: 6px;
    margin-bottom: 20px;
  }
  .calendar-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* Join card on mobile */
@media (max-width: 768px) {
  .section-join .join-card,
  .join-card {
    padding: 24px 20px;
  }
  .join-card .section-title {
    font-size: 24px;
  }
}

/* Footer: tighter on mobile */
@media (max-width: 768px) {
  .footer {
    padding: 36px 0 20px;
  }
  .footer-inner {
    gap: 24px !important;
  }
  .footer-cols {
    gap: 16px !important;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 2 — venue features, gallery, news
   ===================================================== */
@media (max-width: 768px) {
  /* Venue card body — tighten list spacing */
  .venue-body {
    padding: 14px 16px;
  }
  .venue-features {
    gap: 4px;
    margin-bottom: 14px;
  }
  .venue-features li {
    font-size: 12.5px;
    padding-left: 14px;
    line-height: 1.4;
  }
  .venue-meta {
    font-size: 12.5px !important;
    margin-bottom: 12px !important;
  }
  .venue-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }
  .venue-link {
    font-size: 12.5px;
  }
  .venue-img {
    aspect-ratio: 16/9;
  }
  /* Gallery: collapse 3-col to 2-col on small mobile, less gap */
  .gallery-albums {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-album h4 {
    font-size: 14px;
  }
  .gallery-img {
    aspect-ratio: 1/1;
    margin-bottom: 8px;
    padding: 10px;
  }
  .gallery-img span {
    font-size: 13px;
  }
  /* Branches further tightening */
  .branch-card {
    padding: 14px 14px;
    border-radius: 4px;
  }
  .branch-head {
    padding: 14px 14px 10px;
    gap: 10px;
  }
  .branch-head h3 {
    font-size: 16px;
  }
  .branch-head .branch-tag {
    font-size: 11.5px;
  }
  .branch-body {
    padding: 12px 14px;
  }
  .branch-text {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .branch-meta div {
    padding: 5px 0;
  }
  .branch-meta dd {
    font-size: 12px;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 3 — join, hero, contact
   ===================================================== */
@media (max-width: 768px) {
  /* Hero: trim padding more aggressively on mobile, especially bottom
     so the ornament divider sits closer to the hero content */
  .hero {
    padding: 96px 0 32px;
    min-height: auto;
  }
  .hero-content {
    gap: 20px;
  }
  .hero-stats {
    /* Column-stacked layout defined earlier (line ~2226);
       these only reinforce padding/gap here */
    padding-top: 18px;
    gap: 12px;
  }
  .hero-eyebrow {
    font-size: 10.5px;
    padding: 5px 12px;
  }
  .hero-title {
    font-size: 40px !important;
    line-height: 1.05;
  }
  .hero-sub {
    font-size: 14.5px;
    line-height: 1.55;
  }
  .hero-cta {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    text-align: center;
    padding: 14px 20px;
  }

  /* Join section — tighten */
  .section-join {
    padding: 48px 0;
  }
  .join-card {
    padding: 24px 20px;
    gap: 24px;
  }
  .join-text {
    gap: 0;
  }
  .join-text .section-title {
    margin-bottom: 14px;
    font-size: 26px !important;
  }
  .join-lead {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .join-benefits {
    gap: 8px;
    margin-bottom: 24px;
  }
  .join-benefits li {
    font-size: 13.5px;
    padding-left: 22px;
    line-height: 1.4;
  }
  .join-cta {
    gap: 8px;
    margin-bottom: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .join-cta .btn {
    text-align: center;
  }
  .join-fine {
    font-size: 12px;
  }
  .join-side {
    padding: 16px;
    border-radius: 4px;
  }
  .join-side h4 {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .join-side p, .join-side li {
    font-size: 13px;
    line-height: 1.5;
  }

  /* About crimson bar — less aggressive bottom margin on mobile */
  .about-crimson-bar {
    margin: 0 calc(var(--gutter, 20px) * -1) 28px;
    width: calc(100% + var(--gutter, 20px) * 2);
    padding: 12px 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .about-text p {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  /* Contact section — tighter */
  .section-contact {
    padding: 48px 0;
  }
  .contact-grid {
    gap: 28px;
  }
  .contact-card {
    padding: 16px 18px;
  }
  .contact-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .contact-card p {
    font-size: 13px;
    line-height: 1.45;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 14px;
  }
  .contact-form label {
    font-size: 11.5px;
    margin-bottom: 5px;
  }
  .contact-form .btn {
    width: 100%;
    padding: 14px 20px;
  }

  /* News category pills — tighter */
  .news-categories {
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .news-cat {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  /* Section title sizes on mobile */
  .section-title {
    font-size: 28px !important;
    line-height: 1.1 !important;
  }
  .section-eyebrow {
    font-size: 10.5px;
    margin-bottom: 12px;
  }
  .section-sub {
    font-size: 15px;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 4 — calendar (correct class names)
   ===================================================== */
@media (max-width: 768px) {
  /* Calendar section */
  .section-calendar {
    padding: 48px 0;
  }
  .section-calendar .section-head {
    margin-bottom: 20px;
  }
  .section-calendar .section-sub {
    font-size: 14px !important;
    margin-bottom: 20px !important;
    line-height: 1.45;
  }
  /* Month nav bar */
  .cal-month-bar {
    margin-bottom: 16px;
    padding: 10px 12px;
    gap: 8px;
  }
  .cal-month-name {
    font-size: 17px;
  }
  .cal-nav {
    gap: 6px;
  }
  .cal-nav .btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  /* Month grid */
  .cal-grid {
    gap: 3px;
    font-size: 12px;
  }
  .cal-day-head {
    font-size: 10px;
    padding: 6px 0;
  }
  .cal-day {
    padding: 4px;
    min-height: 56px;
  }
  .cal-num {
    font-size: 11px;
  }
  /* Event pill inside day */
  .cal-event {
    font-size: 9px !important;
    padding: 1px 3px !important;
    line-height: 1.15 !important;
    margin-bottom: 1px;
  }
  /* Tabs (Kalendārs / Nedēļa / Saraksts) */
  .calendar-tabs {
    gap: 4px !important;
    margin-bottom: 14px !important;
    flex-wrap: wrap;
  }
  .cal-tab {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }
  /* Calendar list view items */
  .cal-list-item {
    padding: 12px 14px !important;
    gap: 12px !important;
  }
  .cal-list-date {
    padding: 6px 8px !important;
    min-width: 56px !important;
  }
  .cal-list-date-day {
    font-size: 18px !important;
  }
  .cal-list-date-month {
    font-size: 9px !important;
  }
  .cal-list-date-weekday {
    font-size: 9px !important;
  }
  .cal-list-info-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .cal-list-info-meta {
    font-size: 11.5px !important;
    gap: 4px !important;
  }
  .cal-list-info-desc {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }
  /* Calendar legend */
  .cal-legend {
    padding: 14px 16px;
    font-size: 12px;
    gap: 10px;
    margin-top: 16px;
  }
  .cal-legend-item {
    font-size: 11px;
    gap: 6px;
  }
  .cal-popover {
    /* Popover should not take mobile width — keep within screen */
    max-width: calc(100vw - 32px) !important;
  }

  /* Section sub generic (used by multiple sections) */
  .section-sub {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
  }
}

/* =====================================================
   HERO ORNAMENT STRIP — Latvian ornament border in hero
   ===================================================== */
.hero-ornament-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 880px;
  margin: 0 auto 36px;
  color: var(--c-red);
  opacity: 0.85;
}
.hero-ornament-strip svg {
  width: 100%;
  height: 32px;
  max-width: 720px;
  display: block;
}
@media (max-width: 768px) {
  .hero-ornament-strip {
    margin-bottom: 24px;
    max-width: 360px;
  }
  .hero-ornament-strip svg { height: 24px; }
}

/* =====================================================
   SECTION DIVIDER STRIP — v1-style ornament + quote
   Sits between major sections as a visual breath.
   ===================================================== */
.ornament-strip {
  background: var(--c-red);
  padding: 16px 0;
  border-top: 1px solid var(--c-red-dark);
  border-bottom: 1px solid var(--c-red-dark);
  position: relative;
  overflow: hidden;
}
.ornament-strip::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 80px;
  background: var(--c-cream);
  opacity: 0.08;
  background-image: linear-gradient(135deg, transparent 45%, rgba(255,255,255,0.15) 50%, transparent 55%);
}
.ornament-strip-inner {
  /* Full-bleed divider — inner content still centered via flex */
  max-width: none;
  margin: 0;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: var(--c-cream);
}
.ornament-strip svg { width: 200px; height: 28px; opacity: 0.85; color: var(--c-paper); flex-shrink: 0; }
.ornament-strip-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--c-paper);
  font-weight: 400;
  letter-spacing: 0.005em;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .ornament-strip {
    padding: 20px 0;
  }
  .ornament-strip-inner {
    gap: 16px;
    padding: 0 20px;
  }
  .ornament-strip svg {
    width: 80px;
    height: 22px;
  }
  .ornament-strip-quote {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .ornament-strip-inner {
    flex-direction: column;
    gap: 14px;
  }
  .ornament-strip svg:last-child { display: none; }
  .ornament-strip-quote { font-size: 15px; }
}

/* =====================================================
   V2 ≤480 SECTION RESPONSIVENESS PASS
   Tightens section vertical rhythm on the smallest phones
   so the page reads as a series of distinct, breathing blocks.
   ===================================================== */
@media (max-width: 480px) {
  .hero { padding: 88px 0 24px; }
  .hero-title { font-size: 34px !important; line-height: 1.04; }
  .hero-sub { font-size: 14px; }
  .hero-content { gap: 18px; }

  .section-about      { padding: 48px 0; }
  .section-news       { padding: 48px 0; }
  .section-calendar   { padding: 44px 0; }
  .section-branches   { padding: 44px 0 52px; }
  .section-venue      { padding: 44px 0; }
  .section-join       { padding: 44px 0; }
  .section-gallery    { padding: 44px 0; }
  .section-contact    { padding: 44px 0; }
  .section-head       { margin-bottom: 22px; }

  .section-eyebrow    { font-size: 10px; margin-bottom: 10px; }
  .section-title      { font-size: 26px !important; line-height: 1.1 !important; }
  .section-sub        { font-size: 14px !important; line-height: 1.5; }
}


/* ============================================================
   SPEC INTEGRATION (Oct 2026) — #gallery + #shop
   ============================================================ */

.section-gallery { padding: 64px 0; }
.section-shop    { padding: 64px 0; background: var(--c-cream); }

/* --- Gallery tabs --- */
.gallery-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.gallery-tab {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-paper);
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.gallery-tab:hover { background: var(--c-cream); color: var(--c-ink); }
.gallery-tab.active {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: var(--c-ink);
}

/* --- Gallery grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
.gallery-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  transition: transform .2s, box-shadow .2s;
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(35, 22, 12, 0.08);
}
.gallery-img {
  aspect-ratio: 4 / 3;
  width: 100%;
}
.gallery-meta { padding: 16px 18px 20px; }
.gallery-year {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-red);
}
.gallery-meta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 6px 0 4px;
  color: var(--c-ink);
}
.gallery-meta p { font-size: 13px; color: var(--c-ink-soft); margin: 0; }

/* Filter behavior — cards not matching the year fade out */
.gallery-card.is-hidden, .news-card.is-hidden { display: none; }

/* --- Gallery video --- */
.gallery-video h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin: 0 0 16px;
  color: var(--c-ink);
}
.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) { .gallery-video-grid { grid-template-columns: 1fr; } }
.gallery-video-card { margin: 0; }
.gallery-video-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform .2s;
}
.gallery-video-thumb:hover { transform: scale(1.01); }
.play-icon {
  font-size: 32px;
  color: var(--c-paper);
  background: rgba(0, 0, 0, 0.4);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
}
.gallery-video-card p {
  font-size: 14px;
  color: var(--c-ink-soft);
  margin: 10px 0 0;
}
.gallery-video-note {
  font-size: 13px;
  color: var(--c-ink-soft);
  margin: 20px 0 0;
}
.gallery-video-note a { color: var(--c-red); text-decoration: none; font-weight: 500; }
.gallery-video-note a:hover { text-decoration: underline; }

/* --- Shop grid --- */
.shop-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
}
@media (max-width: 880px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .shop-card-feature { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .shop-grid { grid-template-columns: 1fr; }
}
.shop-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.shop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35, 22, 12, 0.06);
}
.shop-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.shop-card p { font-size: 14px; color: var(--c-ink-soft); margin: 0 0 12px; line-height: 1.5; }
.shop-card a.btn { display: inline-block; margin-top: 8px; }

.shop-card-feature {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.shop-card-feature .shop-img {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.shop-card-feature .shop-body { padding: 28px; }
.shop-emoji { font-size: 48px; }
/* =====================================================
   SLB v2 — based on v1 visual language
   Adds: calendar, branches (3-level structure), venue cards,
   join section, gallery, contact forms, announcement bar
   ===================================================== */

/* =====================================================
   ANNOUNCEMENT BAR
   ===================================================== */
.announce-bar {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 10px 0;
  font-size: 13px;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.announce-dot {
  width: 8px; height: 8px;
  background: var(--c-amber);
  border-radius: 50%;
  animation: announce-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes announce-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.announce-inner span:nth-child(2) {
  flex: 1;
}
.announce-link {
  color: var(--c-amber);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.announce-link:hover {
  color: var(--c-paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =====================================================
   NAV — additional "amber" CTA button
   ===================================================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-amber {
  background: var(--c-amber);
  color: var(--c-ink);
  border-color: var(--c-amber);
}
.btn-amber:hover {
  background: #C4930F;
  border-color: #C4930F;
  color: var(--c-paper);
}

/* =====================================================
   SECTION HEAD with right-aligned link
   ===================================================== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-head .section-title {
  margin-bottom: 0;
}
.section-sub {
  font-size: 17px;
  color: var(--c-ink-soft);
  max-width: 60ch;
  margin-bottom: 48px;
  line-height: 1.55;
}
.btn-link {
  background: none;
  border: none;
  color: var(--c-red);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.btn-link:hover {
  gap: 10px;
  color: var(--c-red-dark);
}

/* =====================================================
   HERO — small adjustments for nav-actions above
   ===================================================== */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-primary {
  background: var(--c-red);
  color: var(--c-paper);
  border: 1.5px solid var(--c-red);
}
.btn-primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  transform: translateY(-1px);
}

/* =====================================================
   ABOUT — left-aligned, sidebar with facts
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 20px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.about-text strong {
  color: var(--c-ink);
  font-weight: 600;
}
.about-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 100px;
}
.about-crimson-bar {
  background: var(--c-red);
  color: var(--c-paper);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  border-radius: 2px;
  /* Bleed past the container so the crimson reads as a full-bleed band */
  margin: 0 calc(var(--gutter) * -1) 64px;
  width: calc(100% + var(--gutter) * 2);
}
.about-crimson-bar-icon {
  font-size: 18px;
  color: var(--c-amber);
}
.about-facts {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-line);
}
.about-fact:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.about-fact-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
}
.about-fact-v {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink);
}

/* =====================================================
   JAUNUMI — news section with category tabs
   ===================================================== */
.news-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.news-cat {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.news-cat:hover {
  border-color: var(--c-red);
  color: var(--c-ink);
}
.news-cat.active {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-paper);
}

/* News grid: feature card + 5 smaller */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-red);
}
.news-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}
.news-card-feature .news-img {
  aspect-ratio: 16/9;
}
.news-img {
  aspect-ratio: 16/10;
  background: var(--c-line-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.news-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--c-paper);
  color: var(--c-red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.news-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-date {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 12px;
}
.news-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.news-card-feature h3 {
  font-size: 32px;
  margin-bottom: 16px;
}
.news-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
  flex: 1;
}
.news-card-feature p {
  font-size: 16px;
}
.news-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
  align-self: flex-start;
}
.news-link:hover {
  transform: translateX(4px);
}

/* =====================================================
   KALENDĀRS — month grid
   ===================================================== */
.section-calendar {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.calendar-tabs {
  display: flex;
  gap: 4px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 4px;
  border-radius: 100px;
}
.cal-tab {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  padding: 6px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.cal-tab.active {
  background: var(--c-ink);
  color: var(--c-paper);
}
.cal-month-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  border: 1px solid var(--c-line);
}
.cal-nav {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--c-ink);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.cal-nav:hover {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
}
.cal-month-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  flex: 1;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}
.cal-export {
  margin-left: auto;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .cal-month-bar {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .cal-month-name { width: 100%; order: -1; }
  .cal-export { margin-left: 0; width: 100%; text-align: center; }
}
/* Visually hidden, accessible to screen readers — used for icon-only buttons
   that need a long label for AT but show only an icon visually. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
}
.cal-day {
  background: var(--c-paper);
  min-height: 110px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  /* Let the grid cell shrink below content width on mobile */
  min-width: 0;
  overflow: hidden;
}
.cal-day-head {
  min-height: auto;
  padding: 12px 10px;
  background: var(--c-cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  text-align: center;
  justify-content: center;
}
.cal-day-out {
  background: var(--c-cream);
  opacity: 0.4;
}
.cal-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  font-family: var(--sans);
}
.cal-event {
  font-size: 10.5px;
  padding: 3px 5px 3px 7px;
  border-radius: 3px;
  font-weight: 500;
  line-height: 1.3;
  border-left: 3px solid;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
}
/* Title truncates; the + button stays a fixed-width sibling that never gets clipped */
.cal-event > span {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-event-amber {
  background: rgba(212, 160, 23, 0.12);
  color: #8B6B0F;
  border-color: var(--c-amber);
}
.cal-event-orange {
  background: rgba(196, 130, 89, 0.12);
  color: #8B4F1F;
  border-color: #C48259;
}
.cal-event-blue {
  background: rgba(70, 110, 150, 0.12);
  color: #2C4A6B;
  border-color: #466E96;
}
.cal-event-red {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  font-weight: 600;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  font-size: 13px;
  color: var(--c-ink-soft);
}
.cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cal-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  border-left: 3px solid;
  display: inline-block;
}
.cal-dot-amber {
  background: rgba(212, 160, 23, 0.12);
  border-color: var(--c-amber);
}
.cal-dot-orange {
  background: rgba(196, 130, 89, 0.12);
  border-color: #C48259;
}
.cal-dot-blue {
  background: rgba(70, 110, 150, 0.12);
  border-color: #466E96;
}
.cal-dot-red {
  background: var(--c-red);
  border-color: var(--c-red);
}

/* =====================================================
   NOZARES — 3-pakāpju struktūra
   ===================================================== */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.branch-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.branch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-red);
}
.branch-head {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.branch-emblem {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}
.branch-head h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.branch-tag {
  font-size: 11.5px;
  color: var(--c-ink-soft);
  font-style: italic;
}
.branch-body {
  padding: 20px 24px;
  flex: 1;
}
.branch-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.branch-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.branch-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px solid var(--c-line-soft);
}
.branch-meta dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red);
}
.branch-meta dd {
  font-size: 13px;
  color: var(--c-ink);
  margin: 0;
}
.branch-levels {
  display: flex;
  border-top: 1px solid var(--c-line);
  background: var(--c-cream);
}
.branch-level {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
  text-decoration: none;
  border-right: 1px solid var(--c-line);
  transition: all 0.2s;
}
.branch-level:last-child {
  border-right: 0;
}
.branch-level:hover {
  background: var(--c-red);
  color: var(--c-paper);
}

/* =====================================================
   TELPU NOMA — venue cards
   ===================================================== */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.venue-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.venue-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.venue-card-wide {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
}
.venue-img {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.venue-card-wide .venue-img {
  aspect-ratio: auto;
  min-height: 240px;
}
.venue-emoji {
  font-size: 64px;
  opacity: 0.9;
}
.venue-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
}
.venue-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.venue-meta {
  font-size: 13px;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.venue-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  flex: 1;
}
.venue-features li {
  font-size: 13px;
  color: var(--c-ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.venue-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-red);
  font-weight: 700;
}
.venue-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
  align-self: flex-start;
  transition: transform 0.2s;
}
.venue-link:hover {
  transform: translateX(4px);
}

.venue-cta {
  margin-top: 48px;
  padding: 40px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.venue-cta h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.venue-cta p {
  font-size: 14px;
  color: var(--c-ink-soft);
}

/* =====================================================
   PIEVIENOJETIES — large card with side stats
   ===================================================== */
.section-join {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
}
.join-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.join-text .section-title {
  margin-bottom: 24px;
}
.join-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 32px;
}
.join-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.join-benefits li {
  font-size: 14.5px;
  color: var(--c-ink-soft);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.join-benefits li::before {
  content: '⊕';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-red);
  font-weight: 700;
}
.join-benefits strong {
  color: var(--c-ink);
  font-weight: 600;
}
.join-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 14px;
}
.join-fine {
  font-size: 12px;
  color: var(--c-ink-soft);
}
.join-fine a {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.join-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.join-stat-block {
  background: var(--c-paper);
  padding: 24px;
  border-radius: 4px;
  border-left: 4px solid var(--c-red);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.join-stat-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: -0.03em;
  line-height: 1;
}
.join-stat-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.join-quote {
  background: var(--c-paper);
  padding: 28px 24px;
  border-radius: 4px;
  border: 1px solid var(--c-line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink);
}
.join-quote p {
  margin-bottom: 12px;
}
.join-quote span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  color: var(--c-ink-soft);
}

/* =====================================================
   GALERIJA — album grid
   ===================================================== */
.section-gallery {
  background: var(--c-paper);
}
.gallery-albums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-album {
  text-decoration: none;
  color: var(--c-ink);
  display: block;
  transition: transform 0.3s;
}
.gallery-album:hover {
  transform: translateY(-3px);
}
.gallery-img {
  aspect-ratio: 4/3;
  border-radius: 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.gallery-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 60%);
}
.gallery-img span {
  position: relative;
  color: var(--c-paper);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.gallery-album h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.gallery-album p {
  font-size: 12px;
  color: var(--c-ink-soft);
}

/* =====================================================
   KONTAKTI — info + form tabs
   ===================================================== */
.section-contact {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  padding: 24px;
  border-radius: 4px;
}
.contact-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.contact-big {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.contact-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-hours, .contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-hours div, .contact-list div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line-soft);
}
.contact-hours div:last-child, .contact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.contact-hours dt, .contact-list dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
}
.contact-hours dd, .contact-list dd {
  font-size: 13.5px;
  color: var(--c-ink);
  margin: 0;
}
.contact-list a {
  color: var(--c-red);
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-social-link {
  font-size: 14px;
  color: var(--c-ink);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line-soft);
  transition: color 0.2s;
}
.contact-social-link:last-child {
  border-bottom: 0;
}
.contact-social-link:hover {
  color: var(--c-red);
}

.contact-forms {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 32px;
}
.contact-form-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  padding: 4px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
}
.contact-form-tab {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.contact-form-tab.active {
  background: var(--c-red);
  color: var(--c-paper);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 14px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  color: var(--c-ink);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-red);
}
.contact-form textarea {
  resize: vertical;
  font-family: var(--sans);
}

/* =====================================================
   BILINGUAL FORMS (member / venue-reserve / donate)
   Built on top of .contact-form vocabulary with helper
   text under each label + checkbox/radio groups.
   ===================================================== */
.slb-form {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 32px;
  margin-top: 28px;
}
.form-field,
.form-fieldset {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-fieldset legend { padding: 0; }
.form-label-lv {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  display: block;
}
.form-label-en {
  font-size: 12px;
  font-style: italic;
  color: var(--c-ink-soft);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  display: block;
  margin-top: 2px;
}
.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 6px;
}
.form-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--c-ink);
}
.form-opt input { accent-color: var(--c-red); width: 16px; height: 16px; }
.form-opt-en { color: var(--c-ink-soft); font-style: italic; font-size: 12px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--c-ink);
  line-height: 1.5;
  padding: 12px 14px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
}
.form-consent input { accent-color: var(--c-red); margin-top: 3px; flex-shrink: 0; }
.form-consent strong { color: var(--c-red); font-weight: 600; }
.form-consent em { color: var(--c-ink-soft); font-style: italic; font-size: 12.5px; }
.form-payment-note {
  margin-top: 24px;
  padding: 12px 16px;
  background: rgba(184, 137, 58, 0.08);
  border-left: 2px solid var(--c-amber, #B8893A);
  border-radius: 2px;
  font-size: 14px;
  color: var(--c-ink-soft);
}
.form-payment-note strong { color: var(--c-ink); font-weight: 600; }
.form-payment-note em { font-style: italic; }

/* Success card (shown after submit) */
.form-success {
  display: none;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-red);
  border-radius: 6px;
  padding: 36px 40px;
  margin-top: 28px;
  animation: ai-fade-up 0.5s ease;
}
.form-success.is-visible { display: block; }
.form-success .section-eyebrow { margin-bottom: 10px; }
.form-success .section-title { font-size: 32px; line-height: 1.15; margin-bottom: 14px; }
.form-success p { color: var(--c-ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 8px; }
.form-success p em { color: var(--c-ink-soft); font-style: italic; }

/* Layout: full-width fields stack, half-width pairs row */
.slb-form .contact-form-row + .form-field,
.slb-form .form-field + .contact-form-row,
.slb-form .form-field + .form-field,
.slb-form .form-fieldset + .form-field,
.slb-form .form-field + .form-fieldset,
.slb-form .form-fieldset + .form-fieldset {
  margin-top: 18px;
}
.slb-form .contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 0;
}
.slb-form .contact-form-row .form-field { margin-top: 0; }
.slb-form .form-consent { margin-top: 18px; }
.slb-form button[type="submit"] { margin-top: 22px; align-self: flex-start; }

/* =====================================================
   FOOTER — multi-column
   ===================================================== */
.footer {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-paper);
  padding: 2px;
}
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer-brand strong {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--c-paper);
}
.footer-brand span {
  font-size: 12px;
  color: rgba(250, 247, 242, 0.7);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--c-paper);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--c-amber);
}
.footer-fine {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(250, 247, 242, 0.6);
}
.footer-fine .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* =====================================================
   AMBER ACCENT — added per spec
   ===================================================== */
:root {
  --c-amber: #D4A017;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .nav-links { gap: 4px; }
  .nav-links a { padding: 6px 10px; font-size: 13px; }
  .nav-actions { display: none; }
  .about-grid,
  .join-card,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-side { position: static; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card-feature { grid-column: span 2; }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-card-wide { grid-column: span 2; grid-template-columns: 1fr; }
  .gallery-albums { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .announce-bar { font-size: 12px; }
  .announce-inner { flex-wrap: wrap; }
  /* Desktop horizontal links disappear; the burger + overlay drawer take over */
  .nav-links { display: none; }
  /* On mobile, lang + version only live inside the overlay */
  .nav-desktop-right { display: none; }
  .nav-burger { display: flex; }
  /* Overlay fills the screen on mobile (matches base style.css) */
  .nav-overlay-inner {
    width: 100vw;
    border-left: 0;
  }
  .news-grid,
  .branches-grid,
  .venue-grid,
  .gallery-albums {
    grid-template-columns: 1fr;
  }
  .news-card-feature { grid-column: span 1; grid-row: span 1; }
  .venue-card-wide { grid-column: span 1; }
  .cal-grid { font-size: 11px; }
  .cal-day { min-height: 80px; padding: 4px 6px; }
  .cal-event { font-size: 9px; padding: 2px 4px; }
  .join-card { padding: 32px 24px; }
  .venue-cta { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
  .contact-form-row { grid-template-columns: 1fr; }
  .footer-fine .container { flex-direction: column; }
}

@media (max-width: 480px) {
  .cal-grid { font-size: 10px; }
  .cal-day { min-height: 70px; padding: 4px 5px; gap: 2px; }
  .cal-day-head { padding: 6px 4px; font-size: 9px; }
  .cal-num { font-size: 11px; }
  .cal-event { font-size: 9px; padding: 3px 4px; line-height: 1.2; }
  /* Even at smallest viewport, button stays tap-target-friendly and legible */
  .cal-add { width: 18px; height: 18px; min-width: 18px; font-size: 13px; }
  /* No hover scale on touch devices — would crowd the chip */
  @media (hover: none) { .cal-add:hover { transform: scale(1); } }
  /* Compact drawer items at very small widths */
  .nav-overlay-links a { font-size: 22px; padding: 12px 0; }
  .nav-burger { margin-left: auto; }
}

/* =====================================================
   CALENDAR — Add-to-calendar button + popover
   Always-visible, high-contrast button so elderly users
   can spot it from across the page. Brand-red on every
   event chip except red events (where it inverts to a
   paper disc with a red + for max contrast).
   ===================================================== */
.cal-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;          /* never shrink below touch-friendly */
  margin-left: auto;        /* push to far right inside the flex event */
  flex-shrink: 0;
  padding: 0;
  border: 1.5px solid var(--c-paper); /* paper halo against the chip bg */
  border-radius: 50%;
  background: var(--c-red);
  color: var(--c-paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  opacity: 1;               /* always fully visible — no fade */
  transform: scale(1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: background-color 0.15s ease, transform 0.12s ease,
              box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
/* Subtle lift on hover — does NOT change color, just enlarges the button
   and deepens shadow. User must always be able to read the + glyph. */
.cal-add:hover {
  background: var(--c-red-dark);
  transform: scale(1.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(164, 52, 58, 0.18);
}
/* Focus ring is a high-contrast red glow so keyboard users see it clearly */
.cal-add:focus,
.cal-add:focus-visible {
  outline: none;
  transform: scale(1.08);
  box-shadow: 0 0 0 3px var(--c-paper), 0 0 0 5px var(--c-red-dark);
}
.cal-add:active {
  background: var(--c-red-dark);
  transform: scale(0.94);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
}
/* On RED event chips (Anniversary Concert, AGM, etc.) the button can't
   be red on red. Invert to a paper disc with a red + so it still pops. */
.cal-event-red .cal-add {
  background: var(--c-paper);
  color: var(--c-red);
  border-color: var(--c-paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.cal-event-red .cal-add:hover {
  background: var(--c-cream);
  color: var(--c-red-dark);
  border-color: var(--c-cream);
}
/* Already-added (post .ics click) — keep brand red but darker to signal done */
.cal-add.is-added {
  background: var(--c-red-dark);
  border-color: var(--c-paper);
  color: var(--c-paper);
}

/* Inline + example in section-sub */
.cal-add-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--c-red);
  border-radius: 50%;
  color: var(--c-red);
  font-size: 11px;
  font-weight: 700;
  vertical-align: -2px;
  margin: 0 2px;
}
/* Button variant of .cal-add-inline — reset native chrome, add hover/focus */
button.cal-add-inline {
  background: var(--c-cream);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
button.cal-add-inline:hover,
button.cal-add-inline:focus-visible {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  outline: none;
  transform: scale(1.08);
}
button.cal-add-inline.is-added {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
}

/* Popover */
.cal-popover {
  position: fixed;
  z-index: 1000;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 16px;
  min-width: 280px;
  max-width: 320px;
  font-family: var(--sans);
  animation: cal-popover-in 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cal-popover-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cal-popover[hidden] { display: none; }
.cal-popover-arrow {
  position: absolute;
  top: -6px;
  width: 12px;
  height: 12px;
  background: var(--c-paper);
  border-left: 1px solid var(--c-line);
  border-top: 1px solid var(--c-line);
  transform: rotate(45deg);
}
.cal-popover-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  padding-right: 24px;
}
.cal-popover-meta {
  font-size: 12px;
  color: var(--c-ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}
.cal-popover-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-popover-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.cal-popover-btn:hover {
  border-color: var(--c-red);
  background: rgba(164, 52, 58, 0.04);
}
.cal-popover-btn-primary {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-paper);
}
.cal-popover-btn-primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  color: var(--c-paper);
}
.cal-popover-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--c-cream);
  color: var(--c-ink);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.cal-popover-btn-primary .cal-popover-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--c-paper);
}

/* =====================================================
   CALENDAR — List & Week views
   ===================================================== */
.cal-list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 20px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  flex-wrap: wrap;
  gap: 12px;
}
.cal-list-count {
  font-size: 13px;
  color: var(--c-ink-soft);
  font-weight: 500;
}
.cal-list-count strong {
  color: var(--c-red);
  font-weight: 700;
}
.cal-list-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cal-filter {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.cal-filter:hover {
  border-color: var(--c-red);
  color: var(--c-ink);
}
.cal-filter.active {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: var(--c-ink);
}

.cal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cal-list-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 20px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  transition: all 0.2s;
}
.cal-list-item:hover {
  border-color: var(--c-red);
  transform: translateX(2px);
}
.cal-list-date {
  text-align: center;
  border-right: 1px solid var(--c-line);
  padding-right: 20px;
}
.cal-list-date-day {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
  letter-spacing: -0.03em;
}
.cal-list-date-month {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-top: 2px;
}
.cal-list-date-weekday {
  font-size: 11px;
  color: var(--c-ink-soft);
  margin-top: 2px;
}
.cal-list-info h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.cal-list-info p {
  font-size: 12px;
  color: var(--c-ink-soft);
  line-height: 1.4;
}
.cal-list-info-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--c-ink-soft);
  margin-top: 6px;
}
.cal-list-info-meta strong {
  color: var(--c-ink);
  font-weight: 600;
}
.cal-list-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}
.cal-list-dot-red { background: var(--c-red); }
.cal-list-dot-orange { background: #C48259; }
.cal-list-dot-amber { background: var(--c-amber); }
.cal-list-dot-blue { background: #466E96; }

/* Week view */
.cal-week-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  border: 1px solid var(--c-line);
}
.cal-week-name {
  flex: 1;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
}
.cal-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.cal-week-day {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 16px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal-week-day-head {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 4px;
}
.cal-week-day-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.cal-week-day-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.cal-week-day-today .cal-week-day-num {
  color: var(--c-red);
}
.cal-week-event {
  background: var(--c-cream);
  border-left: 3px solid var(--c-red);
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 12px;
  color: var(--c-ink);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.cal-week-event-orange { border-color: #C48259; }
.cal-week-event-amber { border-color: var(--c-amber); }
.cal-week-event-blue { border-color: #466E96; }
.cal-week-event-title {
  font-weight: 600;
  flex: 1;
  line-height: 1.3;
}
/* Week-view button: same look as month/list, just no flex margin
   override (week view has its own row layout) */
.cal-week-event .cal-add {
  margin-left: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .cal-list-item {
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    padding: 12px 14px;
  }
  .cal-list-date-day { font-size: 22px; }
  .cal-list-info h4 { font-size: 15px; }
  .cal-week-grid { grid-template-columns: 1fr; }
  .cal-week-day { min-height: auto; }
  .cal-popover {
    min-width: 240px;
    max-width: calc(100vw - 32px);
    left: 16px !important;
    right: 16px;
  }
}

/* =====================================================
   LANGUAGE SWITCH (EN / LV)
   ===================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 3px;
  margin-right: 8px;
}
.lang-opt {
  background: none;
  border: none;
  padding: 5px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-ink-soft);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-opt:hover {
  color: var(--c-ink);
}
.lang-opt.active {
  background: var(--c-ink);
  color: var(--c-paper);
}

/* =====================================================
   BILINGUAL LABELS — show only one based on html data-lang
   ===================================================== */
/* Default (en): show [data-en], hide [data-lv]. Use data-lang so JS toggle works. */
[data-en] { display: inline; }
[data-lv] { display: none; }

:root[data-lang="lv"] [data-en] { display: none; }
:root[data-lang="lv"] [data-lv] { display: inline; }
:root[data-lang="en"] [data-lv] { display: none; }

/* Some elements contain BOTH the EN span and LV span as siblings — they're
   inline by default and switch naturally. For block content we need to use
   inline-block via the spans themselves */

/* =====================================================
   NAV LOGO — new SLB emblem (square 1254x1254)
   ===================================================== */
.nav-logo {
  /* Square emblem: sized by height, width auto */
  width: auto;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  /* Subtle crimson tint to blend with Latvian identity */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.04));
}
@media (max-width: 768px) {
  .nav-logo { height: 38px; }
}
@media (max-width: 480px) {
  .nav-logo { height: 34px; }
}

/* =====================================================
   HERO WATERMARK — SLB emblem, full opacity, focal composition
   ===================================================== */
.hero-watermark {
  /* Emblem is now the right-side hero visual — full opacity, prominent */
  position: absolute;
  top: 50%;
  right: 6%;
  width: 520px;
  height: 520px;
  max-width: 42vw;
  max-height: 88%;
  background: url('img/emblem-clean.png') no-repeat center / contain;
  background-size: contain;
  transform: translateY(-50%);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  /* Subtle drop shadow so the emblem feels layered, not pasted */
  filter: drop-shadow(0 12px 32px rgba(164, 52, 58, 0.15));
}
.hero-inner {
  position: relative;
  z-index: 1;
}
@media (max-width: 1100px) {
  .hero-watermark {
    width: 420px;
    height: 420px;
    right: 4%;
    opacity: 1;
  }
}
@media (max-width: 768px) {
  /* On tablet, push emblem to top-right corner as a smaller accent */
  .hero-watermark {
    width: 200px;
    height: 200px;
    right: -4%;
    top: 6%;
    transform: none;
    opacity: 0.22;
    filter: drop-shadow(0 6px 16px rgba(164, 52, 58, 0.1));
  }
}
@media (max-width: 480px) {
  /* On phones, center the emblem behind the hero content rather than
     bleeding off the right edge — keeps the visual on-screen and balanced */
  .hero-watermark {
    width: 240px;
    height: 240px;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.14;
    filter: drop-shadow(0 4px 12px rgba(164, 52, 58, 0.08));
  }
}

/* =====================================================
   VERSION SWITCHER (slb ↔ slb2) — slb2 frosted style
   ===================================================== */
.version-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(1.8) blur(12px);
  -webkit-backdrop-filter: saturate(1.8) blur(12px);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
  margin-right: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.version-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}
.version-opt:hover {
  color: var(--c-ink);
  background: var(--c-cream);
}
.version-opt.active {
  background: var(--c-ink);
  color: var(--c-paper);
}
.version-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-amber);
  display: inline-block;
}
.version-opt.active .version-dot {
  background: var(--c-paper);
  box-shadow: 0 0 0 2px var(--c-amber);
}
.version-opt[data-version="v1"] .version-dot { background: var(--c-ink-soft); width: 7px; height: 7px; }
.version-opt[data-version="v2"] .version-dot { background: var(--c-red); width: 7px; height: 7px; box-shadow: 0 0 0 2px rgba(164, 52, 58, 0.15); }
.version-opt[data-version="proposal"] .version-dot { background: var(--c-amber); width: 7px; height: 7px; }

@media (max-width: 768px) {
  .version-switch { padding: 3px; margin-right: 6px; }
  .version-opt { padding: 4px 8px; font-size: 11px; }
}

/* =====================================================
   MODAL DIALOGS (member / venue-reserve / donate)
   Three <div class="slb-modal" hidden> blocks at the end
   of <body>. Open via [data-open-modal="..."]; close via
   [data-close-modal], ESC, or click-on-backdrop.
   ===================================================== */
.slb-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: slb-modal-fade 0.18s ease;
}
.slb-modal[hidden] { display: none; }
.slb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.slb-modal-dialog {
  position: relative;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  max-width: 720px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  animation: slb-modal-pop 0.22s ease;
}
/* Venue reservation form needs more room for the room cards + step rail */
#modal-venue-reserve .slb-modal-dialog { max-width: 980px; }
.slb-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slb-modal-close:hover {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  transform: rotate(90deg);
}
.slb-modal-head {
  padding: 36px 40px 20px;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
}
.slb-modal-head .section-eyebrow { margin-bottom: 8px; }
.slb-modal-head .modal-title { font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
.slb-modal-head .modal-sub { color: var(--c-ink-soft); font-size: 14px; }
.slb-modal-body {
  padding: 28px 40px 36px;
  overflow-y: auto;
  flex: 1;
}
/* Form inside modal — strip the wrapping cream border we set for in-page forms */
.slb-modal-body .slb-form {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.slb-modal-body .form-success {
  margin: 0;
  padding: 28px 28px;
  background: var(--c-paper);
}
/* Lock body scroll when modal is open */
body.is-modal-open { overflow: hidden; }

@keyframes slb-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slb-modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@media (max-width: 720px) {
  .slb-modal { padding: 12px; }
  .slb-modal-head { padding: 28px 24px 18px; }
  .slb-modal-body { padding: 22px 24px 28px; }
  .slb-modal-head .modal-title { font-size: 22px; }
}

/* =====================================================
   V2 TIDY — Aug 2026
   Consistent section rhythm, breathing room, tightened grids
   ===================================================== */

/* Generic section padding — every .section gets generous breathing room */
.section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .section { padding: 48px 0; }
}

/* Subtle alternating section backgrounds for visual rhythm */
.section-about     { background: var(--c-cream); }
.section-news      { background: var(--c-paper); }
.section-calendar  { background: var(--c-cream); }
.section-branches  { background: var(--c-paper); }
.section-venue     { background: var(--c-cream); }
.section-join      { background: var(--c-paper); }
.section-gallery   { background: var(--c-cream); }
.section-contact   { background: var(--c-paper); }

/* Section heads — give them consistent breathing room below */
.section-head {
  margin-bottom: 56px;
  gap: 24px;
}
@media (max-width: 768px) {
  .section-head { margin-bottom: 36px; }
}
@media (max-width: 480px) {
  .section-head { margin-bottom: 28px; }
}

/* Container — center with comfortable gutters */
.container {
  padding: 0 var(--gutter, 32px);
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
}

/* =====================================================
   HERO — clean up internal spacing
   ===================================================== */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-eyebrow { margin-bottom: 0; }
.hero-stats {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}
.hero-stat-num {
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (max-width: 768px) {
  /* Stats stack vertically with subtle separators so each pair gets
     its own visual row instead of three cramped inline columns */
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 18px;
  }
  .hero-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 4px 0;
    width: 100%;
  }
  .hero-stat + .hero-stat {
    border-top: 1px dashed rgba(164, 52, 58, 0.18);
    padding-top: 14px;
  }
  .hero-stat-num {
    font-size: 32px;
    min-width: 78px;
    flex-shrink: 0;
  }
  .hero-stat-label {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Hide hero ornament strip on mobile (it adds noise without value) */
@media (max-width: 768px) {
  .hero-ornament-strip { display: none; }
}

/* =====================================================
   ABOUT — give it room and balance
   ===================================================== */
.section-about {
  padding-top: 120px;
  padding-bottom: 120px;
}
@media (max-width: 768px) {
  .section-about { padding: 72px 0; }
}
.about-grid {
  gap: 64px;
  align-items: start;
}
@media (max-width: 1100px) {
  .about-grid { gap: 48px; }
}
@media (max-width: 768px) {
  .about-grid { gap: 40px; }
}
.about-text p {
  margin-bottom: 18px;
  line-height: 1.6;
}
.about-text p:last-child { margin-bottom: 0; }
.about-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-crimson-bar {
  padding: 14px 22px;
  letter-spacing: 0.12em;
}

/* =====================================================
   NEWS — tighter card grid
   ===================================================== */
.news-grid {
  gap: 24px;
}
@media (max-width: 768px) {
  .news-grid { gap: 18px; }
}
.news-categories {
  margin-bottom: 28px;
}

/* =====================================================
   CALENDAR — clean up tab strip
   ===================================================== */
.section-calendar {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-calendar { padding: 56px 0; }
}
.calendar-tabs {
  margin-bottom: 28px;
}

/* =====================================================
   BRANCHES — reduce massive vertical scroll
   ===================================================== */
.section-branches {
  padding-top: 80px;
  padding-bottom: 100px;
}
@media (max-width: 768px) {
  .section-branches { padding: 56px 0 64px; }
}
.branches-grid {
  gap: 20px;
}
@media (max-width: 768px) {
  .branches-grid { gap: 16px; }
}
.branch-card {
  /* keep cards compact */
  padding: 24px 24px;
}
@media (max-width: 768px) {
  .branch-card { padding: 20px 18px; }
}
.branch-head {
  margin-bottom: 14px;
}
.branch-features {
  margin-bottom: 16px;
}
.branch-features li { padding: 4px 0; }

/* =====================================================
   VENUE — tighter
   ===================================================== */
.section-venue {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-venue { padding: 56px 0; }
}
.venue-grid {
  gap: 20px;
}
@media (max-width: 768px) {
  .venue-grid { gap: 16px; }
}
.venue-card {
  padding: 20px;
}

/* =====================================================
   JOIN, GALLERY, CONTACT — consistent
   ===================================================== */
.section-join {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-gallery {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-contact {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-join,
  .section-gallery,
  .section-contact { padding: 56px 0; }
}

.gallery-albums {
  gap: 18px;
}
@media (max-width: 768px) {
  .gallery-albums { gap: 14px; }
}

/* =====================================================
   FOOTER — slim down
   ===================================================== */
.footer {
  padding: 56px 0 28px;
}
@media (max-width: 768px) {
  .footer { padding: 40px 0 24px; }
}

/* =====================================================
   V2 MOBILE TIGHTEN — Aug 2026
   Reduce excessive vertical scroll on mobile by tightening
   branch/venue/gallery card spacing
   ===================================================== */

/* Branches: tighter card padding and meta row spacing on mobile */
@media (max-width: 768px) {
  .branch-card { padding: 16px 16px; }
  .branch-head {
    padding: 16px 16px 14px;
    gap: 10px;
  }
  .branch-head h3 {
    font-size: 17px;
    line-height: 1.25;
  }
  .branch-body {
    padding: 14px 16px;
  }
  .branch-text {
    margin-bottom: 12px;
    font-size: 13.5px;
    line-height: 1.45;
  }
  .branch-meta {
    gap: 0;  /* divs already have padding + border for separation */
  }
  .branch-meta div {
    padding: 6px 0;
    gap: 1px;
  }
  .branch-meta dt {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }
  .branch-meta dd {
    font-size: 12.5px;
  }
  .branch-levels {
    font-size: 11px;
  }
  /* Reduce section padding even further on mobile */
  .section-branches {
    padding: 48px 0 56px;
  }
}

/* Venue: tighter cards on mobile */
@media (max-width: 768px) {
  .venue-card {
    padding: 18px;
  }
  .venue-emoji {
    font-size: 48px;
  }
  .venue-card h3 {
    font-size: 18px;
  }
  .venue-card p {
    font-size: 13px;
  }
  .venue-meta {
    gap: 6px;
  }
}

/* Gallery: tighter albums on mobile */
@media (max-width: 768px) {
  .gallery-albums {
    gap: 14px;
  }
  .gallery-img {
    aspect-ratio: 4/3;
    margin-bottom: 10px;
    padding: 14px;
  }
  .gallery-img span {
    font-size: 15px;
  }
  .gallery-album h4 {
    font-size: 15px;
    margin-bottom: 2px;
  }
  .gallery-album p {
    font-size: 11px;
  }
  .section-gallery {
    padding: 48px 0;
  }
}

/* News cards on mobile: smaller image area, tighter padding */
@media (max-width: 768px) {
  .news-card .news-body {
    padding: 18px;
  }
  .news-card h3 {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .news-card p {
    font-size: 13px;
    line-height: 1.5;
  }
  .news-date {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .news-tag {
    font-size: 10px;
    padding: 3px 8px;
  }
}

/* Calendar on mobile: tighter */
@media (max-width: 768px) {
  .calendar-event {
    padding: 14px 16px;
    gap: 12px;
  }
  .calendar-event h4 {
    font-size: 15px;
  }
  .calendar-event p {
    font-size: 12.5px;
  }
  .calendar-date {
    padding: 8px 12px;
  }
  .calendar-date strong {
    font-size: 20px;
  }
  .calendar-date small {
    font-size: 10px;
  }
  .calendar-tabs {
    gap: 6px;
    margin-bottom: 20px;
  }
  .calendar-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* Join card on mobile */
@media (max-width: 768px) {
  .section-join .join-card,
  .join-card {
    padding: 24px 20px;
  }
  .join-card .section-title {
    font-size: 24px;
  }
}

/* Footer: tighter on mobile */
@media (max-width: 768px) {
  .footer {
    padding: 36px 0 20px;
  }
  .footer-inner {
    gap: 24px !important;
  }
  .footer-cols {
    gap: 16px !important;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 2 — venue features, gallery, news
   ===================================================== */
@media (max-width: 768px) {
  /* Venue card body — tighten list spacing */
  .venue-body {
    padding: 14px 16px;
  }
  .venue-features {
    gap: 4px;
    margin-bottom: 14px;
  }
  .venue-features li {
    font-size: 12.5px;
    padding-left: 14px;
    line-height: 1.4;
  }
  .venue-meta {
    font-size: 12.5px !important;
    margin-bottom: 12px !important;
  }
  .venue-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }
  .venue-link {
    font-size: 12.5px;
  }
  .venue-img {
    aspect-ratio: 16/9;
  }
  /* Gallery: collapse 3-col to 2-col on small mobile, less gap */
  .gallery-albums {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-album h4 {
    font-size: 14px;
  }
  .gallery-img {
    aspect-ratio: 1/1;
    margin-bottom: 8px;
    padding: 10px;
  }
  .gallery-img span {
    font-size: 13px;
  }
  /* Branches further tightening */
  .branch-card {
    padding: 14px 14px;
    border-radius: 4px;
  }
  .branch-head {
    padding: 14px 14px 10px;
    gap: 10px;
  }
  .branch-head h3 {
    font-size: 16px;
  }
  .branch-head .branch-tag {
    font-size: 11.5px;
  }
  .branch-body {
    padding: 12px 14px;
  }
  .branch-text {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .branch-meta div {
    padding: 5px 0;
  }
  .branch-meta dd {
    font-size: 12px;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 3 — join, hero, contact
   ===================================================== */
@media (max-width: 768px) {
  /* Hero: trim padding more aggressively on mobile, especially bottom
     so the ornament divider sits closer to the hero content */
  .hero {
    padding: 96px 0 32px;
    min-height: auto;
  }
  .hero-content {
    gap: 20px;
  }
  .hero-stats {
    /* Column-stacked layout defined earlier (line ~2226);
       these only reinforce padding/gap here */
    padding-top: 18px;
    gap: 12px;
  }
  .hero-eyebrow {
    font-size: 10.5px;
    padding: 5px 12px;
  }
  .hero-title {
    font-size: 40px !important;
    line-height: 1.05;
  }
  .hero-sub {
    font-size: 14.5px;
    line-height: 1.55;
  }
  .hero-cta {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    text-align: center;
    padding: 14px 20px;
  }

  /* Join section — tighten */
  .section-join {
    padding: 48px 0;
  }
  .join-card {
    padding: 24px 20px;
    gap: 24px;
  }
  .join-text {
    gap: 0;
  }
  .join-text .section-title {
    margin-bottom: 14px;
    font-size: 26px !important;
  }
  .join-lead {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .join-benefits {
    gap: 8px;
    margin-bottom: 24px;
  }
  .join-benefits li {
    font-size: 13.5px;
    padding-left: 22px;
    line-height: 1.4;
  }
  .join-cta {
    gap: 8px;
    margin-bottom: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .join-cta .btn {
    text-align: center;
  }
  .join-fine {
    font-size: 12px;
  }
  .join-side {
    padding: 16px;
    border-radius: 4px;
  }
  .join-side h4 {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .join-side p, .join-side li {
    font-size: 13px;
    line-height: 1.5;
  }

  /* About crimson bar — less aggressive bottom margin on mobile */
  .about-crimson-bar {
    margin: 0 calc(var(--gutter, 20px) * -1) 28px;
    width: calc(100% + var(--gutter, 20px) * 2);
    padding: 12px 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .about-text p {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  /* Contact section — tighter */
  .section-contact {
    padding: 48px 0;
  }
  .contact-grid {
    gap: 28px;
  }
  .contact-card {
    padding: 16px 18px;
  }
  .contact-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .contact-card p {
    font-size: 13px;
    line-height: 1.45;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 14px;
  }
  .contact-form label {
    font-size: 11.5px;
    margin-bottom: 5px;
  }
  .contact-form .btn {
    width: 100%;
    padding: 14px 20px;
  }

  /* News category pills — tighter */
  .news-categories {
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .news-cat {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  /* Section title sizes on mobile */
  .section-title {
    font-size: 28px !important;
    line-height: 1.1 !important;
  }
  .section-eyebrow {
    font-size: 10.5px;
    margin-bottom: 12px;
  }
  .section-sub {
    font-size: 15px;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 4 — calendar (correct class names)
   ===================================================== */
@media (max-width: 768px) {
  /* Calendar section */
  .section-calendar {
    padding: 48px 0;
  }
  .section-calendar .section-head {
    margin-bottom: 20px;
  }
  .section-calendar .section-sub {
    font-size: 14px !important;
    margin-bottom: 20px !important;
    line-height: 1.45;
  }
  /* Month nav bar */
  .cal-month-bar {
    margin-bottom: 16px;
    padding: 10px 12px;
    gap: 8px;
  }
  .cal-month-name {
    font-size: 17px;
  }
  .cal-nav {
    gap: 6px;
  }
  .cal-nav .btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  /* Month grid */
  .cal-grid {
    gap: 3px;
    font-size: 12px;
  }
  .cal-day-head {
    font-size: 10px;
    padding: 6px 0;
  }
  .cal-day {
    padding: 4px;
    min-height: 56px;
  }
  .cal-num {
    font-size: 11px;
  }
  /* Event pill inside day */
  .cal-event {
    font-size: 9px !important;
    padding: 1px 3px !important;
    line-height: 1.15 !important;
    margin-bottom: 1px;
  }
  /* Tabs (Kalendārs / Nedēļa / Saraksts) */
  .calendar-tabs {
    gap: 4px !important;
    margin-bottom: 14px !important;
    flex-wrap: wrap;
  }
  .cal-tab {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }
  /* Calendar list view items */
  .cal-list-item {
    padding: 12px 14px !important;
    gap: 12px !important;
  }
  .cal-list-date {
    padding: 6px 8px !important;
    min-width: 56px !important;
  }
  .cal-list-date-day {
    font-size: 18px !important;
  }
  .cal-list-date-month {
    font-size: 9px !important;
  }
  .cal-list-date-weekday {
    font-size: 9px !important;
  }
  .cal-list-info-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .cal-list-info-meta {
    font-size: 11.5px !important;
    gap: 4px !important;
  }
  .cal-list-info-desc {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }
  /* Calendar legend */
  .cal-legend {
    padding: 14px 16px;
    font-size: 12px;
    gap: 10px;
    margin-top: 16px;
  }
  .cal-legend-item {
    font-size: 11px;
    gap: 6px;
  }
  .cal-popover {
    /* Popover should not take mobile width — keep within screen */
    max-width: calc(100vw - 32px) !important;
  }

  /* Section sub generic (used by multiple sections) */
  .section-sub {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
  }
}

/* =====================================================
   HERO ORNAMENT STRIP — Latvian ornament border in hero
   ===================================================== */
.hero-ornament-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 880px;
  margin: 0 auto 36px;
  color: var(--c-red);
  opacity: 0.85;
}
.hero-ornament-strip svg {
  width: 100%;
  height: 32px;
  max-width: 720px;
  display: block;
}
@media (max-width: 768px) {
  .hero-ornament-strip {
    margin-bottom: 24px;
    max-width: 360px;
  }
  .hero-ornament-strip svg { height: 24px; }
}

/* =====================================================
   SECTION DIVIDER STRIP — v1-style ornament + quote
   Sits between major sections as a visual breath.
   ===================================================== */
.ornament-strip {
  background: var(--c-red);
  padding: 16px 0;
  border-top: 1px solid var(--c-red-dark);
  border-bottom: 1px solid var(--c-red-dark);
  position: relative;
  overflow: hidden;
}
.ornament-strip::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 80px;
  background: var(--c-cream);
  opacity: 0.08;
  background-image: linear-gradient(135deg, transparent 45%, rgba(255,255,255,0.15) 50%, transparent 55%);
}
.ornament-strip-inner {
  /* Full-bleed divider — inner content still centered via flex */
  max-width: none;
  margin: 0;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: var(--c-cream);
}
.ornament-strip svg { width: 200px; height: 28px; opacity: 0.85; color: var(--c-paper); flex-shrink: 0; }
.ornament-strip-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--c-paper);
  font-weight: 400;
  letter-spacing: 0.005em;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .ornament-strip {
    padding: 20px 0;
  }
  .ornament-strip-inner {
    gap: 16px;
    padding: 0 20px;
  }
  .ornament-strip svg {
    width: 80px;
    height: 22px;
  }
  .ornament-strip-quote {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .ornament-strip-inner {
    flex-direction: column;
    gap: 14px;
  }
  .ornament-strip svg:last-child { display: none; }
  .ornament-strip-quote { font-size: 15px; }
}

/* =====================================================
   V2 ≤480 SECTION RESPONSIVENESS PASS
   Tightens section vertical rhythm on the smallest phones
   so the page reads as a series of distinct, breathing blocks.
   ===================================================== */
@media (max-width: 480px) {
  .hero { padding: 88px 0 24px; }
  .hero-title { font-size: 34px !important; line-height: 1.04; }
  .hero-sub { font-size: 14px; }
  .hero-content { gap: 18px; }

  .section-about      { padding: 48px 0; }
  .section-news       { padding: 48px 0; }
  .section-calendar   { padding: 44px 0; }
  .section-branches   { padding: 44px 0 52px; }
  .section-venue      { padding: 44px 0; }
  .section-join       { padding: 44px 0; }
  .section-gallery    { padding: 44px 0; }
  .section-contact    { padding: 44px 0; }
  .section-head       { margin-bottom: 22px; }

  .section-eyebrow    { font-size: 10px; margin-bottom: 10px; }
  .section-title      { font-size: 26px !important; line-height: 1.1 !important; }
  .section-sub        { font-size: 14px !important; line-height: 1.5; }
}
/* =====================================================
   SLB v2 — based on v1 visual language
   Adds: calendar, branches (3-level structure), venue cards,
   join section, gallery, contact forms, announcement bar
   ===================================================== */

/* =====================================================
   ANNOUNCEMENT BAR
   ===================================================== */
.announce-bar {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 10px 0;
  font-size: 13px;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.announce-dot {
  width: 8px; height: 8px;
  background: var(--c-amber);
  border-radius: 50%;
  animation: announce-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes announce-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.announce-inner span:nth-child(2) {
  flex: 1;
}
.announce-link {
  color: var(--c-amber);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.announce-link:hover {
  color: var(--c-paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =====================================================
   NAV — additional "amber" CTA button
   ===================================================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-amber {
  background: var(--c-amber);
  color: var(--c-ink);
  border-color: var(--c-amber);
}
.btn-amber:hover {
  background: #C4930F;
  border-color: #C4930F;
  color: var(--c-paper);
}

/* =====================================================
   SECTION HEAD with right-aligned link
   ===================================================== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-head .section-title {
  margin-bottom: 0;
}
.section-sub {
  font-size: 17px;
  color: var(--c-ink-soft);
  max-width: 60ch;
  margin-bottom: 48px;
  line-height: 1.55;
}
.btn-link {
  background: none;
  border: none;
  color: var(--c-red);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.btn-link:hover {
  gap: 10px;
  color: var(--c-red-dark);
}

/* =====================================================
   HERO — small adjustments for nav-actions above
   ===================================================== */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-primary {
  background: var(--c-red);
  color: var(--c-paper);
  border: 1.5px solid var(--c-red);
}
.btn-primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  transform: translateY(-1px);
}

/* =====================================================
   ABOUT — left-aligned, sidebar with facts
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 20px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.about-text strong {
  color: var(--c-ink);
  font-weight: 600;
}
.about-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 100px;
}
.about-crimson-bar {
  background: var(--c-red);
  color: var(--c-paper);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  border-radius: 2px;
  /* Bleed past the container so the crimson reads as a full-bleed band */
  margin: 0 calc(var(--gutter) * -1) 64px;
  width: calc(100% + var(--gutter) * 2);
}
.about-crimson-bar-icon {
  font-size: 18px;
  color: var(--c-amber);
}
.about-facts {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-line);
}
.about-fact:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.about-fact-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
}
.about-fact-v {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink);
}

/* =====================================================
   JAUNUMI — news section with category tabs
   ===================================================== */
.news-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.news-cat {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.news-cat:hover {
  border-color: var(--c-red);
  color: var(--c-ink);
}
.news-cat.active {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-paper);
}

/* News grid: feature card + 5 smaller */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-red);
}
.news-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}
.news-card-feature .news-img {
  aspect-ratio: 16/9;
}
.news-img {
  aspect-ratio: 16/10;
  background: var(--c-line-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.news-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--c-paper);
  color: var(--c-red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.news-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-date {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 12px;
}
.news-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.news-card-feature h3 {
  font-size: 32px;
  margin-bottom: 16px;
}
.news-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
  flex: 1;
}
.news-card-feature p {
  font-size: 16px;
}
.news-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
  align-self: flex-start;
}
.news-link:hover {
  transform: translateX(4px);
}

/* =====================================================
   KALENDĀRS — month grid
   ===================================================== */
.section-calendar {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.calendar-tabs {
  display: flex;
  gap: 4px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 4px;
  border-radius: 100px;
}
.cal-tab {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  padding: 6px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.cal-tab.active {
  background: var(--c-ink);
  color: var(--c-paper);
}
.cal-month-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  border: 1px solid var(--c-line);
}
.cal-nav {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--c-ink);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.cal-nav:hover {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
}
.cal-month-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  flex: 1;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}
.cal-export {
  margin-left: auto;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .cal-month-bar {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .cal-month-name { width: 100%; order: -1; }
  .cal-export { margin-left: 0; width: 100%; text-align: center; }
}
/* Visually hidden, accessible to screen readers — used for icon-only buttons
   that need a long label for AT but show only an icon visually. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
}
.cal-day {
  background: var(--c-paper);
  min-height: 110px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  /* Let the grid cell shrink below content width on mobile */
  min-width: 0;
  overflow: hidden;
}
.cal-day-head {
  min-height: auto;
  padding: 12px 10px;
  background: var(--c-cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  text-align: center;
  justify-content: center;
}
.cal-day-out {
  background: var(--c-cream);
  opacity: 0.4;
}
.cal-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  font-family: var(--sans);
}
.cal-event {
  font-size: 10.5px;
  padding: 3px 5px 3px 7px;
  border-radius: 3px;
  font-weight: 500;
  line-height: 1.3;
  border-left: 3px solid;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
}
/* Title truncates; the + button stays a fixed-width sibling that never gets clipped */
.cal-event > span {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-event-amber {
  background: rgba(212, 160, 23, 0.12);
  color: #8B6B0F;
  border-color: var(--c-amber);
}
.cal-event-orange {
  background: rgba(196, 130, 89, 0.12);
  color: #8B4F1F;
  border-color: #C48259;
}
.cal-event-blue {
  background: rgba(70, 110, 150, 0.12);
  color: #2C4A6B;
  border-color: #466E96;
}
.cal-event-red {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  font-weight: 600;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  font-size: 13px;
  color: var(--c-ink-soft);
}
.cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cal-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  border-left: 3px solid;
  display: inline-block;
}
.cal-dot-amber {
  background: rgba(212, 160, 23, 0.12);
  border-color: var(--c-amber);
}
.cal-dot-orange {
  background: rgba(196, 130, 89, 0.12);
  border-color: #C48259;
}
.cal-dot-blue {
  background: rgba(70, 110, 150, 0.12);
  border-color: #466E96;
}
.cal-dot-red {
  background: var(--c-red);
  border-color: var(--c-red);
}

/* =====================================================
   NOZARES — 3-pakāpju struktūra
   ===================================================== */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.branch-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.branch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-red);
}
.branch-head {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.branch-emblem {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}
.branch-head h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.branch-tag {
  font-size: 11.5px;
  color: var(--c-ink-soft);
  font-style: italic;
}
.branch-body {
  padding: 20px 24px;
  flex: 1;
}
.branch-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.branch-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.branch-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px solid var(--c-line-soft);
}
.branch-meta dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red);
}
.branch-meta dd {
  font-size: 13px;
  color: var(--c-ink);
  margin: 0;
}
.branch-levels {
  display: flex;
  border-top: 1px solid var(--c-line);
  background: var(--c-cream);
}
.branch-level {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
  text-decoration: none;
  border-right: 1px solid var(--c-line);
  transition: all 0.2s;
}
.branch-level:last-child {
  border-right: 0;
}
.branch-level:hover {
  background: var(--c-red);
  color: var(--c-paper);
}

/* =====================================================
   TELPU NOMA — venue cards
   ===================================================== */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.venue-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.venue-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.venue-card-wide {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
}
.venue-img {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.venue-card-wide .venue-img {
  aspect-ratio: auto;
  min-height: 240px;
}
.venue-emoji {
  font-size: 64px;
  opacity: 0.9;
}
.venue-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
}
.venue-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.venue-meta {
  font-size: 13px;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.venue-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  flex: 1;
}
.venue-features li {
  font-size: 13px;
  color: var(--c-ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.venue-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-red);
  font-weight: 700;
}
.venue-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
  align-self: flex-start;
  transition: transform 0.2s;
}
.venue-link:hover {
  transform: translateX(4px);
}

.venue-cta {
  margin-top: 48px;
  padding: 40px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.venue-cta h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.venue-cta p {
  font-size: 14px;
  color: var(--c-ink-soft);
}

/* =====================================================
   PIEVIENOJETIES — large card with side stats
   ===================================================== */
.section-join {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
}
.join-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.join-text .section-title {
  margin-bottom: 24px;
}
.join-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 32px;
}
.join-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.join-benefits li {
  font-size: 14.5px;
  color: var(--c-ink-soft);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.join-benefits li::before {
  content: '⊕';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-red);
  font-weight: 700;
}
.join-benefits strong {
  color: var(--c-ink);
  font-weight: 600;
}
.join-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 14px;
}
.join-fine {
  font-size: 12px;
  color: var(--c-ink-soft);
}
.join-fine a {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.join-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.join-stat-block {
  background: var(--c-paper);
  padding: 24px;
  border-radius: 4px;
  border-left: 4px solid var(--c-red);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.join-stat-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: -0.03em;
  line-height: 1;
}
.join-stat-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.join-quote {
  background: var(--c-paper);
  padding: 28px 24px;
  border-radius: 4px;
  border: 1px solid var(--c-line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink);
}
.join-quote p {
  margin-bottom: 12px;
}
.join-quote span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  color: var(--c-ink-soft);
}

/* =====================================================
   GALERIJA — album grid
   ===================================================== */
.section-gallery {
  background: var(--c-paper);
}
.gallery-albums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-album {
  text-decoration: none;
  color: var(--c-ink);
  display: block;
  transition: transform 0.3s;
}
.gallery-album:hover {
  transform: translateY(-3px);
}
.gallery-img {
  aspect-ratio: 4/3;
  border-radius: 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.gallery-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 60%);
}
.gallery-img span {
  position: relative;
  color: var(--c-paper);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.gallery-album h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.gallery-album p {
  font-size: 12px;
  color: var(--c-ink-soft);
}

/* =====================================================
   KONTAKTI — info + form tabs
   ===================================================== */
.section-contact {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  padding: 24px;
  border-radius: 4px;
}
.contact-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.contact-big {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.contact-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-hours, .contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-hours div, .contact-list div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line-soft);
}
.contact-hours div:last-child, .contact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.contact-hours dt, .contact-list dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
}
.contact-hours dd, .contact-list dd {
  font-size: 13.5px;
  color: var(--c-ink);
  margin: 0;
}
.contact-list a {
  color: var(--c-red);
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-social-link {
  font-size: 14px;
  color: var(--c-ink);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line-soft);
  transition: color 0.2s;
}
.contact-social-link:last-child {
  border-bottom: 0;
}
.contact-social-link:hover {
  color: var(--c-red);
}

.contact-forms {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 32px;
}
.contact-form-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  padding: 4px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
}
.contact-form-tab {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.contact-form-tab.active {
  background: var(--c-red);
  color: var(--c-paper);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 14px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  color: var(--c-ink);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-red);
}
.contact-form textarea {
  resize: vertical;
  font-family: var(--sans);
}

/* =====================================================
   BILINGUAL FORMS (member / venue-reserve / donate)
   Built on top of .contact-form vocabulary with helper
   text under each label + checkbox/radio groups.
   ===================================================== */
.slb-form {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 32px;
  margin-top: 28px;
}
.form-field,
.form-fieldset {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-fieldset legend { padding: 0; }
.form-label-lv {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  display: block;
}
.form-label-en {
  font-size: 12px;
  font-style: italic;
  color: var(--c-ink-soft);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  display: block;
  margin-top: 2px;
}
.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 6px;
}
.form-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--c-ink);
}
.form-opt input { accent-color: var(--c-red); width: 16px; height: 16px; }
.form-opt-en { color: var(--c-ink-soft); font-style: italic; font-size: 12px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--c-ink);
  line-height: 1.5;
  padding: 12px 14px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
}
.form-consent input { accent-color: var(--c-red); margin-top: 3px; flex-shrink: 0; }
.form-consent strong { color: var(--c-red); font-weight: 600; }
.form-consent em { color: var(--c-ink-soft); font-style: italic; font-size: 12.5px; }
.form-payment-note {
  margin-top: 24px;
  padding: 12px 16px;
  background: rgba(184, 137, 58, 0.08);
  border-left: 2px solid var(--c-amber, #B8893A);
  border-radius: 2px;
  font-size: 14px;
  color: var(--c-ink-soft);
}
.form-payment-note strong { color: var(--c-ink); font-weight: 600; }
.form-payment-note em { font-style: italic; }

/* Success card (shown after submit) */
.form-success {
  display: none;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-red);
  border-radius: 6px;
  padding: 36px 40px;
  margin-top: 28px;
  animation: ai-fade-up 0.5s ease;
}
.form-success.is-visible { display: block; }
.form-success .section-eyebrow { margin-bottom: 10px; }
.form-success .section-title { font-size: 32px; line-height: 1.15; margin-bottom: 14px; }
.form-success p { color: var(--c-ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 8px; }
.form-success p em { color: var(--c-ink-soft); font-style: italic; }

/* Layout: full-width fields stack, half-width pairs row */
.slb-form .contact-form-row + .form-field,
.slb-form .form-field + .contact-form-row,
.slb-form .form-field + .form-field,
.slb-form .form-fieldset + .form-field,
.slb-form .form-field + .form-fieldset,
.slb-form .form-fieldset + .form-fieldset {
  margin-top: 18px;
}
.slb-form .contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 0;
}
.slb-form .contact-form-row .form-field { margin-top: 0; }
.slb-form .form-consent { margin-top: 18px; }
.slb-form button[type="submit"] { margin-top: 22px; align-self: flex-start; }

/* =====================================================
   FOOTER — multi-column
   ===================================================== */
.footer {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-paper);
  padding: 2px;
}
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer-brand strong {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--c-paper);
}
.footer-brand span {
  font-size: 12px;
  color: rgba(250, 247, 242, 0.7);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--c-paper);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--c-amber);
}
.footer-fine {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(250, 247, 242, 0.6);
}
.footer-fine .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* =====================================================
   AMBER ACCENT — added per spec
   ===================================================== */
:root {
  --c-amber: #D4A017;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .nav-links { gap: 4px; }
  .nav-links a { padding: 6px 10px; font-size: 13px; }
  .nav-actions { display: none; }
  .about-grid,
  .join-card,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-side { position: static; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card-feature { grid-column: span 2; }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-card-wide { grid-column: span 2; grid-template-columns: 1fr; }
  .gallery-albums { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .announce-bar { font-size: 12px; }
  .announce-inner { flex-wrap: wrap; }
  /* Desktop horizontal links disappear; the burger + overlay drawer take over */
  .nav-links { display: none; }
  /* On mobile, lang + version only live inside the overlay */
  .nav-desktop-right { display: none; }
  .nav-burger { display: flex; }
  /* Overlay fills the screen on mobile (matches base style.css) */
  .nav-overlay-inner {
    width: 100vw;
    border-left: 0;
  }
  .news-grid,
  .branches-grid,
  .venue-grid,
  .gallery-albums {
    grid-template-columns: 1fr;
  }
  .news-card-feature { grid-column: span 1; grid-row: span 1; }
  .venue-card-wide { grid-column: span 1; }
  .cal-grid { font-size: 11px; }
  .cal-day { min-height: 80px; padding: 4px 6px; }
  .cal-event { font-size: 9px; padding: 2px 4px; }
  .join-card { padding: 32px 24px; }
  .venue-cta { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
  .contact-form-row { grid-template-columns: 1fr; }
  .footer-fine .container { flex-direction: column; }
}

@media (max-width: 480px) {
  .cal-grid { font-size: 10px; }
  .cal-day { min-height: 70px; padding: 4px 5px; gap: 2px; }
  .cal-day-head { padding: 6px 4px; font-size: 9px; }
  .cal-num { font-size: 11px; }
  .cal-event { font-size: 9px; padding: 3px 4px; line-height: 1.2; }
  /* Even at smallest viewport, button stays tap-target-friendly and legible */
  .cal-add { width: 18px; height: 18px; min-width: 18px; font-size: 13px; }
  /* No hover scale on touch devices — would crowd the chip */
  @media (hover: none) { .cal-add:hover { transform: scale(1); } }
  /* Compact drawer items at very small widths */
  .nav-overlay-links a { font-size: 22px; padding: 12px 0; }
  .nav-burger { margin-left: auto; }
}

/* =====================================================
   CALENDAR — Add-to-calendar button + popover
   Always-visible, high-contrast button so elderly users
   can spot it from across the page. Brand-red on every
   event chip except red events (where it inverts to a
   paper disc with a red + for max contrast).
   ===================================================== */
.cal-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;          /* never shrink below touch-friendly */
  margin-left: auto;        /* push to far right inside the flex event */
  flex-shrink: 0;
  padding: 0;
  border: 1.5px solid var(--c-paper); /* paper halo against the chip bg */
  border-radius: 50%;
  background: var(--c-red);
  color: var(--c-paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  opacity: 1;               /* always fully visible — no fade */
  transform: scale(1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: background-color 0.15s ease, transform 0.12s ease,
              box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
/* Subtle lift on hover — does NOT change color, just enlarges the button
   and deepens shadow. User must always be able to read the + glyph. */
.cal-add:hover {
  background: var(--c-red-dark);
  transform: scale(1.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(164, 52, 58, 0.18);
}
/* Focus ring is a high-contrast red glow so keyboard users see it clearly */
.cal-add:focus,
.cal-add:focus-visible {
  outline: none;
  transform: scale(1.08);
  box-shadow: 0 0 0 3px var(--c-paper), 0 0 0 5px var(--c-red-dark);
}
.cal-add:active {
  background: var(--c-red-dark);
  transform: scale(0.94);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
}
/* On RED event chips (Anniversary Concert, AGM, etc.) the button can't
   be red on red. Invert to a paper disc with a red + so it still pops. */
.cal-event-red .cal-add {
  background: var(--c-paper);
  color: var(--c-red);
  border-color: var(--c-paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.cal-event-red .cal-add:hover {
  background: var(--c-cream);
  color: var(--c-red-dark);
  border-color: var(--c-cream);
}
/* Already-added (post .ics click) — keep brand red but darker to signal done */
.cal-add.is-added {
  background: var(--c-red-dark);
  border-color: var(--c-paper);
  color: var(--c-paper);
}

/* Inline + example in section-sub */
.cal-add-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--c-red);
  border-radius: 50%;
  color: var(--c-red);
  font-size: 11px;
  font-weight: 700;
  vertical-align: -2px;
  margin: 0 2px;
}
/* Button variant of .cal-add-inline — reset native chrome, add hover/focus */
button.cal-add-inline {
  background: var(--c-cream);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
button.cal-add-inline:hover,
button.cal-add-inline:focus-visible {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  outline: none;
  transform: scale(1.08);
}
button.cal-add-inline.is-added {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
}

/* Popover */
.cal-popover {
  position: fixed;
  z-index: 1000;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 16px;
  min-width: 280px;
  max-width: 320px;
  font-family: var(--sans);
  animation: cal-popover-in 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cal-popover-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cal-popover[hidden] { display: none; }
.cal-popover-arrow {
  position: absolute;
  top: -6px;
  width: 12px;
  height: 12px;
  background: var(--c-paper);
  border-left: 1px solid var(--c-line);
  border-top: 1px solid var(--c-line);
  transform: rotate(45deg);
}
.cal-popover-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  padding-right: 24px;
}
.cal-popover-meta {
  font-size: 12px;
  color: var(--c-ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}
.cal-popover-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-popover-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.cal-popover-btn:hover {
  border-color: var(--c-red);
  background: rgba(164, 52, 58, 0.04);
}
.cal-popover-btn-primary {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-paper);
}
.cal-popover-btn-primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  color: var(--c-paper);
}
.cal-popover-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--c-cream);
  color: var(--c-ink);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.cal-popover-btn-primary .cal-popover-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--c-paper);
}

/* =====================================================
   CALENDAR — List & Week views
   ===================================================== */
.cal-list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 20px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  flex-wrap: wrap;
  gap: 12px;
}
.cal-list-count {
  font-size: 13px;
  color: var(--c-ink-soft);
  font-weight: 500;
}
.cal-list-count strong {
  color: var(--c-red);
  font-weight: 700;
}
.cal-list-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cal-filter {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.cal-filter:hover {
  border-color: var(--c-red);
  color: var(--c-ink);
}
.cal-filter.active {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: var(--c-ink);
}

.cal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cal-list-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 20px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  transition: all 0.2s;
}
.cal-list-item:hover {
  border-color: var(--c-red);
  transform: translateX(2px);
}
.cal-list-date {
  text-align: center;
  border-right: 1px solid var(--c-line);
  padding-right: 20px;
}
.cal-list-date-day {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
  letter-spacing: -0.03em;
}
.cal-list-date-month {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-top: 2px;
}
.cal-list-date-weekday {
  font-size: 11px;
  color: var(--c-ink-soft);
  margin-top: 2px;
}
.cal-list-info h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.cal-list-info p {
  font-size: 12px;
  color: var(--c-ink-soft);
  line-height: 1.4;
}
.cal-list-info-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--c-ink-soft);
  margin-top: 6px;
}
.cal-list-info-meta strong {
  color: var(--c-ink);
  font-weight: 600;
}
.cal-list-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}
.cal-list-dot-red { background: var(--c-red); }
.cal-list-dot-orange { background: #C48259; }
.cal-list-dot-amber { background: var(--c-amber); }
.cal-list-dot-blue { background: #466E96; }

/* Week view */
.cal-week-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: var(--c-cream);
  border-radius: 4px;
  border: 1px solid var(--c-line);
}
.cal-week-name {
  flex: 1;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
}
.cal-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.cal-week-day {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 16px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal-week-day-head {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 4px;
}
.cal-week-day-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.cal-week-day-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.cal-week-day-today .cal-week-day-num {
  color: var(--c-red);
}
.cal-week-event {
  background: var(--c-cream);
  border-left: 3px solid var(--c-red);
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 12px;
  color: var(--c-ink);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.cal-week-event-orange { border-color: #C48259; }
.cal-week-event-amber { border-color: var(--c-amber); }
.cal-week-event-blue { border-color: #466E96; }
.cal-week-event-title {
  font-weight: 600;
  flex: 1;
  line-height: 1.3;
}
/* Week-view button: same look as month/list, just no flex margin
   override (week view has its own row layout) */
.cal-week-event .cal-add {
  margin-left: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .cal-list-item {
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    padding: 12px 14px;
  }
  .cal-list-date-day { font-size: 22px; }
  .cal-list-info h4 { font-size: 15px; }
  .cal-week-grid { grid-template-columns: 1fr; }
  .cal-week-day { min-height: auto; }
  .cal-popover {
    min-width: 240px;
    max-width: calc(100vw - 32px);
    left: 16px !important;
    right: 16px;
  }
}

/* =====================================================
   LANGUAGE SWITCH (EN / LV)
   ===================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 3px;
  margin-right: 8px;
}
.lang-opt {
  background: none;
  border: none;
  padding: 5px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-ink-soft);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-opt:hover {
  color: var(--c-ink);
}
.lang-opt.active {
  background: var(--c-ink);
  color: var(--c-paper);
}

/* =====================================================
   BILINGUAL LABELS — show only one based on html data-lang
   ===================================================== */
/* Default (en): show [data-en], hide [data-lv]. Use data-lang so JS toggle works. */
[data-en] { display: inline; }
[data-lv] { display: none; }

:root[data-lang="lv"] [data-en] { display: none; }
:root[data-lang="lv"] [data-lv] { display: inline; }
:root[data-lang="en"] [data-lv] { display: none; }

/* Some elements contain BOTH the EN span and LV span as siblings — they're
   inline by default and switch naturally. For block content we need to use
   inline-block via the spans themselves */

/* =====================================================
   NAV LOGO — new SLB emblem (square 1254x1254)
   ===================================================== */
.nav-logo {
  /* Square emblem: sized by height, width auto */
  width: auto;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  /* Subtle crimson tint to blend with Latvian identity */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.04));
}
@media (max-width: 768px) {
  .nav-logo { height: 38px; }
}
@media (max-width: 480px) {
  .nav-logo { height: 34px; }
}

/* =====================================================
   HERO WATERMARK — SLB emblem, full opacity, focal composition
   ===================================================== */
.hero-watermark {
  /* Emblem is now the right-side hero visual — full opacity, prominent */
  position: absolute;
  top: 50%;
  right: 6%;
  width: 520px;
  height: 520px;
  max-width: 42vw;
  max-height: 88%;
  background: url('img/emblem-clean.png') no-repeat center / contain;
  background-size: contain;
  transform: translateY(-50%);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  /* Subtle drop shadow so the emblem feels layered, not pasted */
  filter: drop-shadow(0 12px 32px rgba(164, 52, 58, 0.15));
}
.hero-inner {
  position: relative;
  z-index: 1;
}
@media (max-width: 1100px) {
  .hero-watermark {
    width: 420px;
    height: 420px;
    right: 4%;
    opacity: 1;
  }
}
@media (max-width: 768px) {
  /* On tablet, push emblem to top-right corner as a smaller accent */
  .hero-watermark {
    width: 200px;
    height: 200px;
    right: -4%;
    top: 6%;
    transform: none;
    opacity: 0.22;
    filter: drop-shadow(0 6px 16px rgba(164, 52, 58, 0.1));
  }
}
@media (max-width: 480px) {
  /* On phones, center the emblem behind the hero content rather than
     bleeding off the right edge — keeps the visual on-screen and balanced */
  .hero-watermark {
    width: 240px;
    height: 240px;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.14;
    filter: drop-shadow(0 4px 12px rgba(164, 52, 58, 0.08));
  }
}

/* =====================================================
   VERSION SWITCHER (slb ↔ slb2) — slb2 frosted style
   ===================================================== */
.version-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(1.8) blur(12px);
  -webkit-backdrop-filter: saturate(1.8) blur(12px);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
  margin-right: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.version-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}
.version-opt:hover {
  color: var(--c-ink);
  background: var(--c-cream);
}
.version-opt.active {
  background: var(--c-ink);
  color: var(--c-paper);
}
.version-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-amber);
  display: inline-block;
}
.version-opt.active .version-dot {
  background: var(--c-paper);
  box-shadow: 0 0 0 2px var(--c-amber);
}
.version-opt[data-version="v1"] .version-dot { background: var(--c-ink-soft); width: 7px; height: 7px; }
.version-opt[data-version="v2"] .version-dot { background: var(--c-red); width: 7px; height: 7px; box-shadow: 0 0 0 2px rgba(164, 52, 58, 0.15); }
.version-opt[data-version="proposal"] .version-dot { background: var(--c-amber); width: 7px; height: 7px; }

@media (max-width: 768px) {
  .version-switch { padding: 3px; margin-right: 6px; }
  .version-opt { padding: 4px 8px; font-size: 11px; }
}

/* =====================================================
   MODAL DIALOGS (member / venue-reserve / donate)
   Three <div class="slb-modal" hidden> blocks at the end
   of <body>. Open via [data-open-modal="..."]; close via
   [data-close-modal], ESC, or click-on-backdrop.
   ===================================================== */
.slb-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: slb-modal-fade 0.18s ease;
}
.slb-modal[hidden] { display: none; }
.slb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.slb-modal-dialog {
  position: relative;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  max-width: 720px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  animation: slb-modal-pop 0.22s ease;
}
/* Venue reservation form needs more room for the room cards + step rail */
#modal-venue-reserve .slb-modal-dialog { max-width: 980px; }
.slb-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slb-modal-close:hover {
  background: var(--c-red);
  color: var(--c-paper);
  border-color: var(--c-red);
  transform: rotate(90deg);
}
.slb-modal-head {
  padding: 36px 40px 20px;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
}
.slb-modal-head .section-eyebrow { margin-bottom: 8px; }
.slb-modal-head .modal-title { font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
.slb-modal-head .modal-sub { color: var(--c-ink-soft); font-size: 14px; }
.slb-modal-body {
  padding: 28px 40px 36px;
  overflow-y: auto;
  flex: 1;
}
/* Form inside modal — strip the wrapping cream border we set for in-page forms */
.slb-modal-body .slb-form {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.slb-modal-body .form-success {
  margin: 0;
  padding: 28px 28px;
  background: var(--c-paper);
}
/* Lock body scroll when modal is open */
body.is-modal-open { overflow: hidden; }

@keyframes slb-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slb-modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@media (max-width: 720px) {
  .slb-modal { padding: 12px; }
  .slb-modal-head { padding: 28px 24px 18px; }
  .slb-modal-body { padding: 22px 24px 28px; }
  .slb-modal-head .modal-title { font-size: 22px; }
}

/* =====================================================
   V2 TIDY — Aug 2026
   Consistent section rhythm, breathing room, tightened grids
   ===================================================== */

/* Generic section padding — every .section gets generous breathing room */
.section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .section { padding: 48px 0; }
}

/* Subtle alternating section backgrounds for visual rhythm */
.section-about     { background: var(--c-cream); }
.section-news      { background: var(--c-paper); }
.section-calendar  { background: var(--c-cream); }
.section-branches  { background: var(--c-paper); }
.section-venue     { background: var(--c-cream); }
.section-join      { background: var(--c-paper); }
.section-gallery   { background: var(--c-cream); }
.section-contact   { background: var(--c-paper); }

/* Section heads — give them consistent breathing room below */
.section-head {
  margin-bottom: 56px;
  gap: 24px;
}
@media (max-width: 768px) {
  .section-head { margin-bottom: 36px; }
}
@media (max-width: 480px) {
  .section-head { margin-bottom: 28px; }
}

/* Container — center with comfortable gutters */
.container {
  padding: 0 var(--gutter, 32px);
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
}

/* =====================================================
   HERO — clean up internal spacing
   ===================================================== */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-eyebrow { margin-bottom: 0; }
.hero-stats {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}
.hero-stat-num {
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (max-width: 768px) {
  /* Stats stack vertically with subtle separators so each pair gets
     its own visual row instead of three cramped inline columns */
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 18px;
  }
  .hero-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 4px 0;
    width: 100%;
  }
  .hero-stat + .hero-stat {
    border-top: 1px dashed rgba(164, 52, 58, 0.18);
    padding-top: 14px;
  }
  .hero-stat-num {
    font-size: 32px;
    min-width: 78px;
    flex-shrink: 0;
  }
  .hero-stat-label {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Hide hero ornament strip on mobile (it adds noise without value) */
@media (max-width: 768px) {
  .hero-ornament-strip { display: none; }
}

/* =====================================================
   ABOUT — give it room and balance
   ===================================================== */
.section-about {
  padding-top: 120px;
  padding-bottom: 120px;
}
@media (max-width: 768px) {
  .section-about { padding: 72px 0; }
}
.about-grid {
  gap: 64px;
  align-items: start;
}
@media (max-width: 1100px) {
  .about-grid { gap: 48px; }
}
@media (max-width: 768px) {
  .about-grid { gap: 40px; }
}
.about-text p {
  margin-bottom: 18px;
  line-height: 1.6;
}
.about-text p:last-child { margin-bottom: 0; }
.about-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-crimson-bar {
  padding: 14px 22px;
  letter-spacing: 0.12em;
}

/* =====================================================
   NEWS — tighter card grid
   ===================================================== */
.news-grid {
  gap: 24px;
}
@media (max-width: 768px) {
  .news-grid { gap: 18px; }
}
.news-categories {
  margin-bottom: 28px;
}

/* =====================================================
   CALENDAR — clean up tab strip
   ===================================================== */
.section-calendar {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-calendar { padding: 56px 0; }
}
.calendar-tabs {
  margin-bottom: 28px;
}

/* =====================================================
   BRANCHES — reduce massive vertical scroll
   ===================================================== */
.section-branches {
  padding-top: 80px;
  padding-bottom: 100px;
}
@media (max-width: 768px) {
  .section-branches { padding: 56px 0 64px; }
}
.branches-grid {
  gap: 20px;
}
@media (max-width: 768px) {
  .branches-grid { gap: 16px; }
}
.branch-card {
  /* keep cards compact */
  padding: 24px 24px;
}
@media (max-width: 768px) {
  .branch-card { padding: 20px 18px; }
}
.branch-head {
  margin-bottom: 14px;
}
.branch-features {
  margin-bottom: 16px;
}
.branch-features li { padding: 4px 0; }

/* =====================================================
   VENUE — tighter
   ===================================================== */
.section-venue {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-venue { padding: 56px 0; }
}
.venue-grid {
  gap: 20px;
}
@media (max-width: 768px) {
  .venue-grid { gap: 16px; }
}
.venue-card {
  padding: 20px;
}

/* =====================================================
   JOIN, GALLERY, CONTACT — consistent
   ===================================================== */
.section-join {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-gallery {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-contact {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .section-join,
  .section-gallery,
  .section-contact { padding: 56px 0; }
}

.gallery-albums {
  gap: 18px;
}
@media (max-width: 768px) {
  .gallery-albums { gap: 14px; }
}

/* =====================================================
   FOOTER — slim down
   ===================================================== */
.footer {
  padding: 56px 0 28px;
}
@media (max-width: 768px) {
  .footer { padding: 40px 0 24px; }
}

/* =====================================================
   V2 MOBILE TIGHTEN — Aug 2026
   Reduce excessive vertical scroll on mobile by tightening
   branch/venue/gallery card spacing
   ===================================================== */

/* Branches: tighter card padding and meta row spacing on mobile */
@media (max-width: 768px) {
  .branch-card { padding: 16px 16px; }
  .branch-head {
    padding: 16px 16px 14px;
    gap: 10px;
  }
  .branch-head h3 {
    font-size: 17px;
    line-height: 1.25;
  }
  .branch-body {
    padding: 14px 16px;
  }
  .branch-text {
    margin-bottom: 12px;
    font-size: 13.5px;
    line-height: 1.45;
  }
  .branch-meta {
    gap: 0;  /* divs already have padding + border for separation */
  }
  .branch-meta div {
    padding: 6px 0;
    gap: 1px;
  }
  .branch-meta dt {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }
  .branch-meta dd {
    font-size: 12.5px;
  }
  .branch-levels {
    font-size: 11px;
  }
  /* Reduce section padding even further on mobile */
  .section-branches {
    padding: 48px 0 56px;
  }
}

/* Venue: tighter cards on mobile */
@media (max-width: 768px) {
  .venue-card {
    padding: 18px;
  }
  .venue-emoji {
    font-size: 48px;
  }
  .venue-card h3 {
    font-size: 18px;
  }
  .venue-card p {
    font-size: 13px;
  }
  .venue-meta {
    gap: 6px;
  }
}

/* Gallery: tighter albums on mobile */
@media (max-width: 768px) {
  .gallery-albums {
    gap: 14px;
  }
  .gallery-img {
    aspect-ratio: 4/3;
    margin-bottom: 10px;
    padding: 14px;
  }
  .gallery-img span {
    font-size: 15px;
  }
  .gallery-album h4 {
    font-size: 15px;
    margin-bottom: 2px;
  }
  .gallery-album p {
    font-size: 11px;
  }
  .section-gallery {
    padding: 48px 0;
  }
}

/* News cards on mobile: smaller image area, tighter padding */
@media (max-width: 768px) {
  .news-card .news-body {
    padding: 18px;
  }
  .news-card h3 {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .news-card p {
    font-size: 13px;
    line-height: 1.5;
  }
  .news-date {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .news-tag {
    font-size: 10px;
    padding: 3px 8px;
  }
}

/* Calendar on mobile: tighter */
@media (max-width: 768px) {
  .calendar-event {
    padding: 14px 16px;
    gap: 12px;
  }
  .calendar-event h4 {
    font-size: 15px;
  }
  .calendar-event p {
    font-size: 12.5px;
  }
  .calendar-date {
    padding: 8px 12px;
  }
  .calendar-date strong {
    font-size: 20px;
  }
  .calendar-date small {
    font-size: 10px;
  }
  .calendar-tabs {
    gap: 6px;
    margin-bottom: 20px;
  }
  .calendar-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* Join card on mobile */
@media (max-width: 768px) {
  .section-join .join-card,
  .join-card {
    padding: 24px 20px;
  }
  .join-card .section-title {
    font-size: 24px;
  }
}

/* Footer: tighter on mobile */
@media (max-width: 768px) {
  .footer {
    padding: 36px 0 20px;
  }
  .footer-inner {
    gap: 24px !important;
  }
  .footer-cols {
    gap: 16px !important;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 2 — venue features, gallery, news
   ===================================================== */
@media (max-width: 768px) {
  /* Venue card body — tighten list spacing */
  .venue-body {
    padding: 14px 16px;
  }
  .venue-features {
    gap: 4px;
    margin-bottom: 14px;
  }
  .venue-features li {
    font-size: 12.5px;
    padding-left: 14px;
    line-height: 1.4;
  }
  .venue-meta {
    font-size: 12.5px !important;
    margin-bottom: 12px !important;
  }
  .venue-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }
  .venue-link {
    font-size: 12.5px;
  }
  .venue-img {
    aspect-ratio: 16/9;
  }
  /* Gallery: collapse 3-col to 2-col on small mobile, less gap */
  .gallery-albums {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-album h4 {
    font-size: 14px;
  }
  .gallery-img {
    aspect-ratio: 1/1;
    margin-bottom: 8px;
    padding: 10px;
  }
  .gallery-img span {
    font-size: 13px;
  }
  /* Branches further tightening */
  .branch-card {
    padding: 14px 14px;
    border-radius: 4px;
  }
  .branch-head {
    padding: 14px 14px 10px;
    gap: 10px;
  }
  .branch-head h3 {
    font-size: 16px;
  }
  .branch-head .branch-tag {
    font-size: 11.5px;
  }
  .branch-body {
    padding: 12px 14px;
  }
  .branch-text {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .branch-meta div {
    padding: 5px 0;
  }
  .branch-meta dd {
    font-size: 12px;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 3 — join, hero, contact
   ===================================================== */
@media (max-width: 768px) {
  /* Hero: trim padding more aggressively on mobile, especially bottom
     so the ornament divider sits closer to the hero content */
  .hero {
    padding: 96px 0 32px;
    min-height: auto;
  }
  .hero-content {
    gap: 20px;
  }
  .hero-stats {
    /* Column-stacked layout defined earlier (line ~2226);
       these only reinforce padding/gap here */
    padding-top: 18px;
    gap: 12px;
  }
  .hero-eyebrow {
    font-size: 10.5px;
    padding: 5px 12px;
  }
  .hero-title {
    font-size: 40px !important;
    line-height: 1.05;
  }
  .hero-sub {
    font-size: 14.5px;
    line-height: 1.55;
  }
  .hero-cta {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    text-align: center;
    padding: 14px 20px;
  }

  /* Join section — tighten */
  .section-join {
    padding: 48px 0;
  }
  .join-card {
    padding: 24px 20px;
    gap: 24px;
  }
  .join-text {
    gap: 0;
  }
  .join-text .section-title {
    margin-bottom: 14px;
    font-size: 26px !important;
  }
  .join-lead {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .join-benefits {
    gap: 8px;
    margin-bottom: 24px;
  }
  .join-benefits li {
    font-size: 13.5px;
    padding-left: 22px;
    line-height: 1.4;
  }
  .join-cta {
    gap: 8px;
    margin-bottom: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .join-cta .btn {
    text-align: center;
  }
  .join-fine {
    font-size: 12px;
  }
  .join-side {
    padding: 16px;
    border-radius: 4px;
  }
  .join-side h4 {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .join-side p, .join-side li {
    font-size: 13px;
    line-height: 1.5;
  }

  /* About crimson bar — less aggressive bottom margin on mobile */
  .about-crimson-bar {
    margin: 0 calc(var(--gutter, 20px) * -1) 28px;
    width: calc(100% + var(--gutter, 20px) * 2);
    padding: 12px 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .about-text p {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  /* Contact section — tighter */
  .section-contact {
    padding: 48px 0;
  }
  .contact-grid {
    gap: 28px;
  }
  .contact-card {
    padding: 16px 18px;
  }
  .contact-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .contact-card p {
    font-size: 13px;
    line-height: 1.45;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 14px;
  }
  .contact-form label {
    font-size: 11.5px;
    margin-bottom: 5px;
  }
  .contact-form .btn {
    width: 100%;
    padding: 14px 20px;
  }

  /* News category pills — tighter */
  .news-categories {
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .news-cat {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  /* Section title sizes on mobile */
  .section-title {
    font-size: 28px !important;
    line-height: 1.1 !important;
  }
  .section-eyebrow {
    font-size: 10.5px;
    margin-bottom: 12px;
  }
  .section-sub {
    font-size: 15px;
  }
}

/* =====================================================
   V2 MOBILE TIGHTEN PASS 4 — calendar (correct class names)
   ===================================================== */
@media (max-width: 768px) {
  /* Calendar section */
  .section-calendar {
    padding: 48px 0;
  }
  .section-calendar .section-head {
    margin-bottom: 20px;
  }
  .section-calendar .section-sub {
    font-size: 14px !important;
    margin-bottom: 20px !important;
    line-height: 1.45;
  }
  /* Month nav bar */
  .cal-month-bar {
    margin-bottom: 16px;
    padding: 10px 12px;
    gap: 8px;
  }
  .cal-month-name {
    font-size: 17px;
  }
  .cal-nav {
    gap: 6px;
  }
  .cal-nav .btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  /* Month grid */
  .cal-grid {
    gap: 3px;
    font-size: 12px;
  }
  .cal-day-head {
    font-size: 10px;
    padding: 6px 0;
  }
  .cal-day {
    padding: 4px;
    min-height: 56px;
  }
  .cal-num {
    font-size: 11px;
  }
  /* Event pill inside day */
  .cal-event {
    font-size: 9px !important;
    padding: 1px 3px !important;
    line-height: 1.15 !important;
    margin-bottom: 1px;
  }
  /* Tabs (Kalendārs / Nedēļa / Saraksts) */
  .calendar-tabs {
    gap: 4px !important;
    margin-bottom: 14px !important;
    flex-wrap: wrap;
  }
  .cal-tab {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }
  /* Calendar list view items */
  .cal-list-item {
    padding: 12px 14px !important;
    gap: 12px !important;
  }
  .cal-list-date {
    padding: 6px 8px !important;
    min-width: 56px !important;
  }
  .cal-list-date-day {
    font-size: 18px !important;
  }
  .cal-list-date-month {
    font-size: 9px !important;
  }
  .cal-list-date-weekday {
    font-size: 9px !important;
  }
  .cal-list-info-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .cal-list-info-meta {
    font-size: 11.5px !important;
    gap: 4px !important;
  }
  .cal-list-info-desc {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }
  /* Calendar legend */
  .cal-legend {
    padding: 14px 16px;
    font-size: 12px;
    gap: 10px;
    margin-top: 16px;
  }
  .cal-legend-item {
    font-size: 11px;
    gap: 6px;
  }
  .cal-popover {
    /* Popover should not take mobile width — keep within screen */
    max-width: calc(100vw - 32px) !important;
  }

  /* Section sub generic (used by multiple sections) */
  .section-sub {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
  }
}

/* =====================================================
   HERO ORNAMENT STRIP — Latvian ornament border in hero
   ===================================================== */
.hero-ornament-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 880px;
  margin: 0 auto 36px;
  color: var(--c-red);
  opacity: 0.85;
}
.hero-ornament-strip svg {
  width: 100%;
  height: 32px;
  max-width: 720px;
  display: block;
}
@media (max-width: 768px) {
  .hero-ornament-strip {
    margin-bottom: 24px;
    max-width: 360px;
  }
  .hero-ornament-strip svg { height: 24px; }
}

/* =====================================================
   SECTION DIVIDER STRIP — v1-style ornament + quote
   Sits between major sections as a visual breath.
   ===================================================== */
.ornament-strip {
  background: var(--c-red);
  padding: 16px 0;
  border-top: 1px solid var(--c-red-dark);
  border-bottom: 1px solid var(--c-red-dark);
  position: relative;
  overflow: hidden;
}
.ornament-strip::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 80px;
  background: var(--c-cream);
  opacity: 0.08;
  background-image: linear-gradient(135deg, transparent 45%, rgba(255,255,255,0.15) 50%, transparent 55%);
}
.ornament-strip-inner {
  /* Full-bleed divider — inner content still centered via flex */
  max-width: none;
  margin: 0;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: var(--c-cream);
}
.ornament-strip svg { width: 200px; height: 28px; opacity: 0.85; color: var(--c-paper); flex-shrink: 0; }
.ornament-strip-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--c-paper);
  font-weight: 400;
  letter-spacing: 0.005em;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .ornament-strip {
    padding: 20px 0;
  }
  .ornament-strip-inner {
    gap: 16px;
    padding: 0 20px;
  }
  .ornament-strip svg {
    width: 80px;
    height: 22px;
  }
  .ornament-strip-quote {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .ornament-strip-inner {
    flex-direction: column;
    gap: 14px;
  }
  .ornament-strip svg:last-child { display: none; }
  .ornament-strip-quote { font-size: 15px; }
}

/* =====================================================
   V2 ≤480 SECTION RESPONSIVENESS PASS
   Tightens section vertical rhythm on the smallest phones
   so the page reads as a series of distinct, breathing blocks.
   ===================================================== */
@media (max-width: 480px) {
  .hero { padding: 88px 0 24px; }
  .hero-title { font-size: 34px !important; line-height: 1.04; }
  .hero-sub { font-size: 14px; }
  .hero-content { gap: 18px; }

  .section-about      { padding: 48px 0; }
  .section-news       { padding: 48px 0; }
  .section-calendar   { padding: 44px 0; }
  .section-branches   { padding: 44px 0 52px; }
  .section-venue      { padding: 44px 0; }
  .section-join       { padding: 44px 0; }
  .section-gallery    { padding: 44px 0; }
  .section-contact    { padding: 44px 0; }
  .section-head       { margin-bottom: 22px; }

  .section-eyebrow    { font-size: 10px; margin-bottom: 10px; }
  .section-title      { font-size: 26px !important; line-height: 1.1 !important; }
  .section-sub        { font-size: 14px !important; line-height: 1.5; }
}


/* ============================================================
   SPEC INTEGRATION (Oct 2026) — #gallery + #shop
   ============================================================ */

.section-gallery { padding: 64px 0; }
.section-shop    { padding: 64px 0; background: var(--c-cream); }

/* --- Gallery tabs --- */
.gallery-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.gallery-tab {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-paper);
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.gallery-tab:hover { background: var(--c-cream); color: var(--c-ink); }
.gallery-tab.active {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: var(--c-ink);
}

/* --- Gallery grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
.gallery-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  transition: transform .2s, box-shadow .2s;
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(35, 22, 12, 0.08);
}
.gallery-img {
  aspect-ratio: 4 / 3;
  width: 100%;
}
.gallery-meta { padding: 16px 18px 20px; }
.gallery-year {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-red);
}
.gallery-meta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 6px 0 4px;
  color: var(--c-ink);
}
.gallery-meta p { font-size: 13px; color: var(--c-ink-soft); margin: 0; }

/* Filter behavior — cards not matching the year fade out */
.gallery-card.is-hidden, .news-card.is-hidden { display: none; }

/* --- Gallery video --- */
.gallery-video h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin: 0 0 16px;
  color: var(--c-ink);
}
.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) { .gallery-video-grid { grid-template-columns: 1fr; } }
.gallery-video-card { margin: 0; }
.gallery-video-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform .2s;
}
.gallery-video-thumb:hover { transform: scale(1.01); }
.play-icon {
  font-size: 32px;
  color: var(--c-paper);
  background: rgba(0, 0, 0, 0.4);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
}
.gallery-video-card p {
  font-size: 14px;
  color: var(--c-ink-soft);
  margin: 10px 0 0;
}
.gallery-video-note {
  font-size: 13px;
  color: var(--c-ink-soft);
  margin: 20px 0 0;
}
.gallery-video-note a { color: var(--c-red); text-decoration: none; font-weight: 500; }
.gallery-video-note a:hover { text-decoration: underline; }

/* --- Shop grid --- */
.shop-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
}
@media (max-width: 880px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .shop-card-feature { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .shop-grid { grid-template-columns: 1fr; }
}
.shop-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.shop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35, 22, 12, 0.06);
}
.shop-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.shop-card p { font-size: 14px; color: var(--c-ink-soft); margin: 0 0 12px; line-height: 1.5; }
.shop-card a.btn { display: inline-block; margin-top: 8px; }

.shop-card-feature {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.shop-card-feature .shop-img {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.shop-card-feature .shop-body { padding: 28px; }
.shop-emoji { font-size: 48px; }


/* ============================================================
   SPEC INTEGRATION (Oct 2026, cont.) — recurring events + supporters
   ============================================================ */

/* Recurring events grid in #calendar */
.cal-recurring {
  margin-top: 56px;
  padding: 32px 28px;
  background: var(--c-cream-2, var(--c-cream));
  border: 1px solid var(--c-line);
  border-radius: 16px;
}
.cal-recurring h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.cal-recurring-sub {
  font-size: 14px;
  color: var(--c-ink-soft);
  margin: 0 0 24px;
  max-width: 720px;
}
.cal-recurring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) {
  .cal-recurring-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .cal-recurring-grid { grid-template-columns: 1fr; }
}
.rec-card {
  display: flex;
  gap: 12px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 16px;
  transition: transform .2s, box-shadow .2s;
}
.rec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(35, 22, 12, 0.06);
}
.rec-emoji {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1.2;
}
.rec-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--c-ink);
}
.rec-when {
  font-size: 13px;
  color: var(--c-red);
  margin: 0 0 2px;
  font-weight: 500;
}
.rec-where {
  font-size: 12px;
  color: var(--c-ink-soft);
  margin: 0;
}
.cal-recurring-edit {
  font-size: 12px;
  color: var(--c-ink-mute, #6B6B6B);
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--c-line);
}
.cal-recurring-edit code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  background: var(--c-cream);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Ritums journal section */
.section-ritums { padding: 64px 0; }
.ritums-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 880px) {
  .ritums-grid { grid-template-columns: 1fr; }
}
.ritums-feature {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ritums-cover {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--c-paper);
  padding: 32px;
  text-align: center;
}
.ritums-cover-num {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ritums-cover-year {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.85;
}
.ritums-cover-label {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 12px;
  border-radius: 4px;
}
.ritums-feature-body { padding: 24px 28px 28px; }
.ritums-feature-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--c-ink);
}
.ritums-feature-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ink-soft);
  margin: 0 0 20px;
}
.ritums-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ritums-subscribe,
.ritums-archive {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 24px;
}
.ritums-subscribe h4,
.ritums-archive h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.ritums-subscribe p,
.ritums-archive-note {
  font-size: 13px;
  color: var(--c-ink-soft);
  margin: 0 0 16px;
  line-height: 1.5;
}
.ritums-form,
.ritums-search {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ritums-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-soft);
}
.ritums-form input,
.ritums-search input {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: var(--c-paper);
  color: var(--c-ink);
  width: 100%;
}
.ritums-form input:focus,
.ritums-search input:focus {
  outline: 2px solid var(--c-amber);
  outline-offset: 1px;
  border-color: var(--c-amber);
}
.ritums-form button { margin-top: 6px; }
.ritums-archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.ritums-archive-list a {
  font-size: 13px;
  color: var(--c-ink-soft);
  text-decoration: none;
  padding: 6px 0;
  display: block;
  border-bottom: 1px dashed var(--c-line);
}
.ritums-archive-list a:hover { color: var(--c-red); }

/* Partners section */
.section-partners { padding: 64px 0; background: var(--c-cream-2, var(--c-cream)); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .partners-grid { grid-template-columns: 1fr; } }
.partner-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(35, 22, 12, 0.08);
}
.partner-head {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 12px;
}
.partner-abbr {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-red);
  flex-shrink: 0;
  background: var(--c-cream-2, var(--c-cream));
  padding: 4px 10px;
  border-radius: 6px;
}
.partner-head h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  margin: 0;
  color: var(--c-ink);
  line-height: 1.3;
}
.partner-card > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ink-soft);
  margin: 0 0 16px;
}
.partner-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
}
.partner-region {
  font-size: 12px;
  color: var(--c-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.partner-link {
  font-size: 13px;
  color: var(--c-red);
  text-decoration: none;
  font-weight: 500;
}
.partner-link:hover { text-decoration: underline; }

/* Supporters / Donations section */
.section-supporters { padding: 64px 0; }
.supporters-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 880px) {
  .supporters-grid { grid-template-columns: 1fr; }
  .supporter-feature { grid-column: 1 / -1; }
}
.supporter-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.supporter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(35, 22, 12, 0.06);
}
.supporter-feature {
  background: var(--c-cream-2, var(--c-cream));
  border-color: var(--c-amber);
  border-width: 2px;
}
.supporter-tier {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-amber);
  background: rgba(212, 160, 23, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.supporter-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.supporter-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ink-soft);
  margin: 0 0 16px;
}
.supporter-amounts {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.supporter-amounts button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: var(--c-paper);
  color: var(--c-ink);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.supporter-amounts button:hover {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: var(--c-ink);
}
.supporter-thanks-line {
  font-size: 13px;
  color: var(--c-ink-soft);
  font-style: italic;
  margin-bottom: 12px;
}
.supporter-thanks-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.supporter-thanks-list li {
  font-size: 13px;
  color: var(--c-ink);
  padding: 6px 0;
  border-bottom: 1px dashed var(--c-line);
}
.supporter-thanks-list li:last-child { border-bottom: none; }


/* ============================================================
   Contact centralization (Oct 2026) — branch → #contact
   ============================================================ */

.branch-contact-link {
  display: inline-block;
  font-size: 13px;
  color: var(--c-red);
  text-decoration: none;
  font-weight: 500;
  margin-top: 8px;
  padding: 6px 0;
  border-top: 1px dashed var(--c-line);
}
.branch-contact-link:hover { text-decoration: underline; }
.branch-contact-link::before {
  content: "→ ";
  font-weight: 700;
}

/* Contact directory styles (inside #contact) */
.contact-directory-note {
  font-size: 12px;
  color: var(--c-ink-soft);
  margin: 0 0 12px;
  line-height: 1.5;
}
.contact-directory-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-directory-list > div {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
  border-bottom: 1px dashed var(--c-line-soft, #EEEEEE);
}
.contact-directory-list > div:last-child { border-bottom: none; }
.contact-directory-list dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-ink-mute, #6B6B6B);
  margin-bottom: 2px;
}
.contact-directory-list dd {
  font-size: 13px;
  margin: 0;
  color: var(--c-ink);
}
.contact-directory-list dd a { color: var(--c-red); text-decoration: none; }
.contact-directory-list dd a:hover { text-decoration: underline; }
.contact-directory-section {
  margin-top: 14px !important;
  padding: 6px 10px !important;
  background: var(--c-cream-2, var(--c-cream));
  border-radius: 6px;
  border-bottom: none !important;
}
.contact-directory-section span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-red);
}

/* Map iframe */
.contact-map {
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
}
.contact-phone {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--c-ink);
}
.contact-phone a {
  color: var(--c-red);
  text-decoration: none;
  font-weight: 500;
}
.contact-phone a:hover { text-decoration: underline; }


/* ============================================================
   Branch sub-page (Oct 2026) — Tier 1/2/3 dedicated page
   ============================================================ */

.page-branch .nav { position: relative; } /* sub-page nav, not sticky by default */

/* Breadcrumb */
.branch-breadcrumb {
  background: var(--c-cream-2, var(--c-cream));
  padding: 12px 0;
  font-size: 13px;
  color: var(--c-ink-soft);
  border-bottom: 1px solid var(--c-line);
}
.branch-breadcrumb a {
  color: var(--c-red);
  text-decoration: none;
}
.branch-breadcrumb a:hover { text-decoration: underline; }
.bc-sep { color: var(--c-ink-mute, #6B6B6B); margin: 0 8px; }
.bc-current { color: var(--c-ink); font-weight: 500; }

/* Branch hero */
.branch-hero {
  padding: 56px 0 36px;
  background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-cream-2, var(--c-cream)) 100%);
  border-bottom: 1px solid var(--c-line);
}
.branch-hero .section-eyebrow { color: var(--c-red); margin-bottom: 8px; }
.branch-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin: 0 0 12px;
}
.branch-subtitle {
  font-size: 16px;
  color: var(--c-ink-soft);
  margin: 0 0 28px;
  max-width: 720px;
}
.branch-quickfacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 720px) { .branch-quickfacts { grid-template-columns: repeat(2, 1fr); } }
.qf {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 12px 14px;
}
.qf-k {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-ink-mute, #6B6B6B);
  margin-bottom: 4px;
}
.qf-v {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
}

/* Branch section spacing */
.branch-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--c-line-soft, #EEEEEE);
}

/* About grid */
.branch-about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 880px) { .branch-about-grid { grid-template-columns: 1fr; } }
.branch-about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 24px 0 8px;
  color: var(--c-ink);
}
.branch-about-text h3:first-child { margin-top: 0; }
.branch-about-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-ink-soft);
  margin: 0 0 12px;
}
.branch-achievements {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.branch-achievements li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14px;
  color: var(--c-ink-soft);
  border-bottom: 1px dashed var(--c-line);
}
.branch-achievements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-red);
  font-weight: 700;
}
.branch-achievements li:last-child { border-bottom: none; }

.branch-about-side { display: flex; flex-direction: column; gap: 16px; }
.branch-side-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 20px;
}
.branch-side-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.branch-side-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-ink-soft);
  margin: 0 0 8px;
}
.branch-contact-line { margin: 12px 0 0 !important; }
.branch-social { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.branch-social a {
  font-size: 13px;
  color: var(--c-red);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid var(--c-line);
  border-radius: 6px;
}
.branch-social a:hover { background: var(--c-cream-2, var(--c-cream)); }

/* Branch news grid */
.branch-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .branch-news-grid { grid-template-columns: 1fr; } }
.bn-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 20px;
  transition: transform .2s, box-shadow .2s;
}
.bn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(35, 22, 12, 0.06);
}
.bn-date {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-red);
  margin-bottom: 8px;
}
.bn-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--c-ink);
  line-height: 1.3;
}
.bn-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-ink-soft);
  margin: 0;
}

/* Branch calendar list */
.branch-calendar {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.branch-calendar li {
  display: flex;
  gap: 16px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 16px;
  align-items: center;
}
.branch-calendar li.cal-recurring {
  background: var(--c-cream-2, var(--c-cream));
  border-style: dashed;
}
.cal-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 8px;
}
.cal-recurring .cal-date { background: var(--c-paper); }
.cal-day {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
}
.cal-month {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-ink-soft);
  margin-top: 2px;
}
.cal-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  margin: 0 0 4px;
  color: var(--c-ink);
}
.cal-body p {
  font-size: 13px;
  color: var(--c-ink-soft);
  margin: 0;
}

/* Branch photo grid */
.branch-photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 480px;
}
@media (max-width: 720px) {
  .branch-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 200px);
    height: auto;
  }
}
.bp-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
}
.bp-feature {
  grid-row: span 2;
}
.bp-img {
  flex: 1;
  min-height: 120px;
}
.bp-item figcaption {
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bp-item figcaption strong { color: var(--c-ink); font-weight: 600; }
.bp-credit { color: var(--c-ink-mute, #6B6B6B); font-size: 11px; }

/* Edit hint */
.branch-edit-note {
  font-size: 12px;
  color: var(--c-ink-mute, #6B6B6B);
  margin: 20px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--c-line);
  font-style: italic;
}
.branch-edit-note code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  background: var(--c-cream-2, var(--c-cream));
  padding: 2px 6px;
  border-radius: 4px;
  font-style: normal;
}
.branch-edit-note a { color: var(--c-red); text-decoration: none; }

/* Branch contact section */
.branch-contact { text-align: center; }
.branch-contact .section-title { font-size: 28px; margin-bottom: 12px; }
.branch-contact p { font-size: 15px; color: var(--c-ink-soft); margin: 0 0 16px; }
.branch-contact a { color: var(--c-red); }

/* Join CTA on branch page */
.branch-join-cta { background: var(--c-cream-2, var(--c-cream)); }
.join-cta-banner {
  background: var(--c-paper);
  border: 2px solid var(--c-amber);
  border-radius: 14px;
  padding: 36px 32px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.join-cta-banner .section-title { font-size: 28px; margin: 8px 0 12px; }
.join-cta-banner p { font-size: 14px; color: var(--c-ink-soft); margin: 0 0 20px; line-height: 1.5; }


/* Venue CTA row (PDF link + book button side by side) */
.venue-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.venue-pdf-link {
  font-size: 14px;
}


/* ============================================================
   News v2: toolbar (categories + view toggle), list view, search
   (Oct 2026)
   ============================================================ */

.section-news { padding: 64px 0 80px; }
.section-news-archive { padding: 32px 0 80px; }

/* Toolbar: categories on left, view toggle on right */
.news-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-line);
}
.news-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (min-width: 720px) {
  .news-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .news-toolbar-right { flex: 0 0 auto; }
}

.news-categories {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: var(--c-cream);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--c-line);
}
.news-cat {
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.news-cat:hover { color: var(--c-ink); background: var(--c-paper); }
.news-cat.active {
  background: var(--c-paper);
  color: var(--c-red);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* View toggle (segmented) */
.news-view {
  display: inline-flex;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.news-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-soft);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s, color 0.15s;
}
.news-view-btn:hover { color: var(--c-ink); }
.news-view-btn.active {
  background: var(--c-paper);
  color: var(--c-red);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.news-view-btn svg { flex-shrink: 0; opacity: 0.85; }
.news-view-btn.active svg { opacity: 1; color: var(--c-red); }

/* Search */
.news-search {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 280px;
}
.news-search input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  font-size: 13px;
  font-family: var(--sans);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: var(--c-paper);
  color: var(--c-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.news-search input:focus {
  outline: none;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.08);
}
.news-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-ink-mute, #6B6B6B);
  pointer-events: none;
}

/* News grid container (shared) */
.news-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .news-grid[data-view="grid"] {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid[data-view="grid"] .news-card-feature {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .news-grid[data-view="grid"] {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* News card base */
.news-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(35, 22, 12, 0.06);
}
.news-card.is-hidden { display: none; }

.news-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--c-cream);
  overflow: hidden;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.95);
  color: var(--c-ink);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.news-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.news-date {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-red);
  margin: 0;
}
.news-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.3;
  margin: 2px 0 4px;
}
.news-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink-soft);
  margin: 0;
  flex: 1;
}
.news-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
  margin-top: 6px;
  align-self: flex-start;
}
.news-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Feature card (grid view only) */
.news-grid[data-view="grid"] .news-card-feature {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .news-grid[data-view="grid"] .news-card-feature {
    grid-template-columns: 1.2fr 1fr;
  }
  .news-grid[data-view="grid"] .news-card-feature .news-img {
    aspect-ratio: auto;
    height: 100%;
  }
}
.news-grid[data-view="grid"] .news-card-feature .news-img img { object-fit: cover; }

/* ---- LIST view ---- */
.news-grid[data-view="list"] {
  grid-template-columns: 1fr;
  gap: 0;
}
.news-grid[data-view="list"] .news-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-radius: 0;
  border: none;
  border-bottom: 1px dashed var(--c-line);
  padding: 18px 0;
  align-items: start;
  gap: 20px;
}
.news-grid[data-view="list"] .news-card:hover {
  transform: none;
  box-shadow: none;
  background: var(--c-cream);
  border-radius: 8px;
  padding: 18px;
  margin: 0 -18px;
  border-bottom-color: transparent;
}
.news-grid[data-view="list"] .news-card:hover .news-img img { transform: scale(1.02); }
.news-grid[data-view="list"] .news-card-feature {
  /* Feature card looks the same in list view — horizontal */
  grid-template-columns: 280px 1fr;
}
.news-grid[data-view="list"] .news-img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
}
.news-grid[data-view="list"] .news-body {
  padding: 0;
}
.news-grid[data-view="list"] .news-card-feature .news-card h3,
.news-grid[data-view="list"] .news-card h3 {
  font-size: 17px;
}
.news-grid[data-view="list"] .news-card-feature h3 {
  font-size: 22px;
}
.news-grid[data-view="list"] .news-card-feature .news-img {
  aspect-ratio: 16 / 9;
}

@media (max-width: 720px) {
  .news-grid[data-view="list"] .news-card,
  .news-grid[data-view="list"] .news-card-feature {
    grid-template-columns: 100px 1fr;
    gap: 12px;
  }
  .news-grid[data-view="list"] .news-card:hover {
    margin: 0;
    padding: 14px;
  }
  .news-grid[data-view="list"] .news-card-feature h3 { font-size: 18px; }
}

/* Empty state */
.news-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--c-ink-mute, #6B6B6B);
  font-size: 15px;
}

/* ---- News page hero (dedicated /news/ page) ---- */
.page-news .nav { position: relative; }

.news-page-hero {
  padding: 56px 0 32px;
  background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-cream) 100%);
  border-bottom: 1px solid var(--c-line);
}
.news-page-hero .section-eyebrow { color: var(--c-red); margin-bottom: 8px; }
.news-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin: 0 0 12px;
}
.news-page-sub {
  font-size: 16px;
  color: var(--c-ink-soft);
  margin: 0;
  max-width: 720px;
}

.news-archive-note {
  margin-top: 40px;
  padding: 16px 20px;
  background: var(--c-cream);
  border-radius: 8px;
  border-left: 3px solid var(--c-amber, #D4A017);
  font-size: 13px;
  color: var(--c-ink-soft);
  text-align: center;
}
.news-archive-note a { color: var(--c-red); text-decoration: none; font-weight: 600; }
.news-archive-note a:hover { text-decoration: underline; }
