/* =====================================================================
   Parafia Najświętszego Serca Pana Jezusa w Czeszowie — style własne
   Kolory i fonty są też w js/tailwind.config.js (klasy Tailwind).
   Tu: komponenty powtarzalne, animacje, menu mobilne, baner cookies.
   ===================================================================== */
:root {
  --brand: #8B1E19;
  --brand-dark: #701412;
  --gold: #C4823F;
  --gold-dark: #B87333;
  --canvas: #FDFBF7;
  --surface-warm: #FAF7F2;
  --surface-muted: #F5EFE6;
  --surface-line: #F0E8DC;
  --surface-tile: #F9F6F0;
  --ink: #1C1917;
  --ink-soft: #57534E;
  --footer: #242B30;
  --header-h: 74px;
  --serif: "Playfair Display", Georgia, serif;
  --body: "Source Serif 4", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- podstawy ---------- */
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--canvas); color: var(--ink); }
svg { flex-shrink: 0; }
[data-next-mass][hidden] { display: none; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 6px; font-family: var(--sans);
}
.skip-link:focus { top: 12px; }

/* ---------- nagłówek (sticky) ---------- */
.site-header { transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(28, 25, 23, .10); }
.site-header__bar { height: 80px; transition: height .25s ease; }
@media (min-width: 1024px) { .site-header__bar { height: var(--header-h); } }
.site-logo { transition: transform .25s ease; } /* logo-parafia.png ma przezroczyste tło */
.site-header.is-scrolled .site-logo { transform: scale(.9); }

.nav-link {
  position: relative; display: block; padding: 10px 11px; border-radius: 6px; white-space: nowrap;
  transition: color .2s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
@media (max-width: 1279.98px) { .nav-link { padding: 10px 7px; } .nav-link::after { left: 7px; right: 7px; } }
.nav-link:hover, .nav-link.is-active { color: var(--brand); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

/* wyniki wyszukiwania */
[data-search-results] a {
  display: flex; justify-content: space-between; gap: 12px; padding: 10px 4px;
  border-bottom: 1px solid var(--surface-line); color: var(--ink);
}
[data-search-results] a:hover { color: var(--brand); }
[data-search-results] small { color: var(--ink-soft); font-size: 13px; }
[data-search-results] .empty { padding: 10px 4px; color: var(--ink-soft); }

/* ---------- menu mobilne (wysuwany panel) ---------- */
.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 70; width: min(86vw, 380px);
  display: flex; flex-direction: column; overflow-y: auto;
  background: var(--canvas); box-shadow: -10px 0 30px rgba(0,0,0,.18);
  transform: translateX(100%); transition: transform .3s ease;
}
.drawer.is-open { transform: translateX(0); }
.drawer[hidden] { display: none; }
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(28, 25, 23, .45);
  opacity: 0; transition: opacity .3s ease;
}
.drawer-backdrop.is-open { opacity: 1; }
.drawer-backdrop[hidden] { display: none; }
.drawer-links a {
  display: flex; align-items: center; min-height: 52px; color: var(--brand);
  border-bottom: 1px solid var(--surface-line);
}
.drawer-links a::after {
  content: "›"; margin-left: auto; font-size: 26px; line-height: 1; color: var(--gold);
}
body.menu-open { overflow: hidden; }

/* ---------- przyciski ---------- */
.btn-brand, .btn-outline {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 18px;
  border-radius: 4px; font-family: var(--body); font-size: 15px; font-weight: 600;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 2px 6px rgba(112, 20, 18, .25); }
.btn-brand:hover, .group:hover .btn-brand { background: var(--brand-dark); }
.btn-outline { border: 1.5px solid var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--surface-muted); }

.link-more {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--body); font-size: 14.5px; color: var(--brand); padding: 4px 0;
}

.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .link-more { font-size: 15.5px; } }

/* ---------- nagłówki sekcji ---------- */
.section-title {
  font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--brand);
  padding-bottom: 6px; border-bottom: 2px solid rgba(196, 130, 63, .6);
}
@media (min-width: 1024px) { .section-title { font-size: 26px; } }

/* ---------- HERO ---------- */
.hero-tile { position: relative; display: block; height: 144px; overflow: hidden; background: #6b5a4a; }
@media (min-width: 640px) { .hero-tile { height: 180px; } }
@media (min-width: 1024px) { .hero-tile { height: 280px; } }
@media (min-width: 1280px) { .hero-tile { height: 300px; } }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s ease;
}
.hero-tile:hover .hero-img { transform: scale(1.04); }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,.08) 100%);
}
.hero-caption {
  position: relative; z-index: 1; display: flex; height: 100%; align-items: center;
  justify-content: space-between; gap: 12px; padding: 0 18px 0 24px; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.hero-name { display: block; font-family: var(--serif); font-size: 27px; line-height: 1.15; }
.hero-sub { display: block; font-family: var(--body); font-size: 16px; line-height: 1.3; }
.hero-chevron { width: 30px; height: 30px; color: #fff; }
@media (min-width: 1024px) {
  .hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.25) 38%, rgba(0,0,0,0) 62%); }
  .hero-caption { align-items: flex-end; padding: 0 30px 18px; }
  .hero-name { font-size: 28px; }
  .hero-sub { font-family: var(--serif); font-style: italic; font-size: 18px; }
  .hero-chevron { display: none; }
}

/* ---------- tabela Mszy ---------- */
.mass-table {
  width: 100%; border-collapse: collapse; background: #fff; font-family: var(--body);
  font-size: 17.5px; align-self: start; box-shadow: 0 1px 4px rgba(60, 30, 10, .06);
}
@media (min-width: 1024px) { .mass-table { box-shadow: none; } }
.mass-table caption {
  caption-side: top; text-align: left; padding: 7px 14px; background: var(--surface-muted);
  font-family: var(--serif); font-weight: 600; font-size: 16.5px; color: var(--brand);
}
.mass-table th, .mass-table td { padding: 5px 0; border-bottom: 1px solid var(--surface-line); text-align: left; }
.mass-table tr:last-child th, .mass-table tr:last-child td { border-bottom: 0; }
.mass-table th { width: 42%; padding-left: 16px; padding-right: 10px; font-weight: 600; text-align: right; }
.mass-table td { padding-right: 10px; }
@media (min-width: 1024px) {
  .mass-table th { width: 34%; padding-left: 10px; padding-right: 26px; text-align: center; }
}

/* ---------- karty Ogłoszenia / Intencje ---------- */
.info-card {
  position: relative; display: grid; grid-template-columns: 36% 1fr auto; align-items: center; gap: 0 14px;
  background: #fff; border-radius: 4px; padding: 4px; box-shadow: 0 2px 10px rgba(60, 30, 10, .08);
  transition: box-shadow .25s ease, transform .25s ease;
}
.info-card:hover { box-shadow: 0 8px 24px rgba(60, 30, 10, .14); }
.info-card__img { width: 100%; height: 78px; object-fit: cover; border-radius: 2px; }
.info-card__body { display: block; padding: 4px 0; }
.info-card__title { display: block; font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--brand); line-height: 1.2; }
.info-card__text { display: block; margin-top: 2px; font-family: var(--body); font-size: 15.5px; line-height: 1.3; color: var(--ink-soft); }
.info-card__btn { display: none; }
.info-card__chevron { width: 22px; height: 22px; margin-right: 10px; color: var(--brand); }
@media (min-width: 640px) {
  .info-card { display: flex; flex-direction: column; align-items: stretch; padding: 6px; }
  .info-card__img { height: 70px; }
  .info-card__body { display: flex; flex-direction: column; flex: 1; padding: 8px 10px 6px; }
  .info-card__title { font-size: 20px; }
  .info-card__text { flex: 1; margin-top: 6px; }
  .info-card__btn { display: flex; justify-content: center; margin-top: 10px; }
  .info-card__chevron { display: none; }
}
@media (min-width: 1024px) { .info-card__img { height: 72px; } }

/* ---------- sakramenty ---------- */
.sacrament-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 82px; padding: 8px 0; border-radius: 10px; background: var(--surface-tile);
  border: 1px solid transparent; box-shadow: 0 1px 3px rgba(60, 30, 10, .06);
  font-family: var(--body); font-size: clamp(10.5px, 2.9vw, 13.5px); line-height: 1.1; color: var(--ink); text-align: center;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.sacrament-tile svg { width: 34px; height: 34px; color: var(--gold); transition: transform .25s ease; }
.sacrament-tile:hover { background: var(--surface-muted); }
.sacrament-tile:hover svg { transform: translateY(-2px); }
.sacrament-tile[aria-expanded="true"] { border-color: var(--gold); background: #fff; color: var(--brand); }
@media (min-width: 640px) { .sacrament-tile { font-size: 15.5px; min-height: 66px; } }
@media (min-width: 1024px) {
  .sacrament-tile { flex-direction: column; min-height: 64px; padding: 6px 4px; border-radius: 4px; font-size: 15.5px; font-weight: 600; }
  .sacrament-tile svg { width: 42px; height: 42px; }
}
.sacrament-panel {
  margin-top: 12px; padding: 16px 18px; background: #fff; border-left: 3px solid var(--gold);
  border-radius: 4px; box-shadow: 0 2px 10px rgba(60, 30, 10, .08); font-size: 15.5px; line-height: 1.5;
}
.sacrament-panel h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--brand); margin-bottom: 6px; }
.sacrament-panel ul { list-style: disc; padding-left: 20px; }
.sacrament-panel li + li { margin-top: 4px; }
.sacrament-panel a { color: var(--brand); text-decoration: underline; }
.sacrament-panel[hidden] { display: none; }

/* ---------- karty kościołów ---------- */
.church-card {
  position: relative; display: grid; grid-template-columns: 36% 1fr auto; align-items: center; gap: 0 14px;
  padding: 6px 0; border-bottom: 1px solid var(--surface-line);
}
.church-card:last-child { border-bottom: 0; }
.church-card__img { width: 100%; height: 84px; object-fit: cover; border-radius: 3px; }
.church-card__name { display: block; font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--brand); line-height: 1.2; }
.church-card__desc { display: block; font-family: var(--body); font-size: 15px; line-height: 1.25; color: var(--ink-soft); }
.church-card__year { display: block; margin-top: 1px; font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--brand); }
.church-card__chevron { width: 22px; height: 22px; color: var(--brand); transition: transform .2s ease; }
.church-card:hover .church-card__chevron { transform: translateX(3px); }
.church-card:hover .church-card__name { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 640px) { .church-card__img { height: 110px; } .church-card { grid-template-columns: 40% 1fr auto; } }
@media (min-width: 1024px) {
  .church-card {
    grid-template-columns: 54% 1fr; align-items: stretch; gap: 0 18px; padding: 5px;
    background: #fff; border: 0; border-radius: 3px; box-shadow: 0 2px 10px rgba(60, 30, 10, .08);
    transition: box-shadow .25s ease;
  }
  .church-card:hover { box-shadow: 0 8px 24px rgba(60, 30, 10, .14); }
  .church-card__img { height: 106px; }
  .church-card__body { padding: 2px 30px 2px 0; display: flex; flex-direction: column; }
  .church-card__desc { font-size: 14px; }
  .church-card__year { margin-top: auto; font-size: 20px; }
  .church-card__chevron { position: absolute; right: 14px; bottom: 16px; }
}
@media (min-width: 1280px) { .church-card { grid-template-columns: 50% 1fr; } }

/* ---------- Historia / Z życia parafii: zwijane na telefonie ---------- */
.collapse-toggle {
  display: flex; width: 100%; align-items: center; gap: 14px; padding: 6px 14px;
  background: #fff; border: 1px solid var(--surface-line); border-radius: 3px;
  font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--brand); text-align: left;
  box-shadow: 0 1px 4px rgba(60, 30, 10, .06);
}
.collapse-chevron { width: 22px; height: 22px; transition: transform .25s ease; }
.collapse-toggle[aria-expanded="true"] .collapse-chevron { transform: rotate(90deg); }
.collapse-link { display: none; }
.js .collapse-body:not(.is-open) { display: none; }
@media (max-width: 1023.98px) {
  .collapse-body.is-open .collapse-link { display: inline-flex; }
}
@media (min-width: 1024px) {
  #historia > h2, #aktualnosci > h2 {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
    border-bottom: 2px solid rgba(196, 130, 63, .6); padding-bottom: 6px;
  }
  .collapse-toggle {
    width: auto; padding: 0; background: none; border: 0; box-shadow: none; font-size: 26px; line-height: 1.2;
    cursor: default; pointer-events: none;
  }
  .collapse-chevron { display: none; }
  .collapse-link { display: inline-flex; }
  .js .collapse-body:not(.is-open) { display: block; }
}

/* pocztówka archiwalna (zastępczo: zdjęcie w sepii) */
.postcard { position: relative; padding: 6px; background: #efe6d6; box-shadow: 0 2px 10px rgba(60, 30, 10, .15); }
.postcard img {
  display: block; width: 100%; height: 100%; min-height: 150px; max-height: 190px; object-fit: cover;
  filter: grayscale(1) sepia(.55) contrast(1.05) brightness(1.05);
}
.postcard figcaption {
  position: absolute; top: 10px; right: 16px; font-family: Georgia, serif; font-size: 12px; color: #3b2f22;
  background: rgba(239, 230, 214, .7); padding: 0 4px;
}

.timeline { margin-top: 14px; padding-left: 4px; border-left: 2px solid rgba(196, 130, 63, .5); font-size: 15px; line-height: 1.45; }
.timeline li { position: relative; padding: 0 0 10px 16px; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--canvas); border: 2px solid var(--gold);
}
.timeline b { display: block; font-family: var(--serif); color: var(--brand); }
.timeline[hidden] { display: none; }

/* galeria (zastępcze kafelki do czasu wstawienia zdjęć) */
.gallery-tile { background: #fff; padding: 4px; box-shadow: 0 2px 8px rgba(60, 30, 10, .08); border-radius: 2px; }
.gallery-tile p { padding: 6px 2px 3px; text-align: center; font-family: var(--body); font-weight: 600; font-size: 14px; }
.gallery-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph {
  display: grid; place-items: center; aspect-ratio: 4 / 3; color: rgba(255, 236, 200, .9);
  background: radial-gradient(circle at 50% 40%, #c9954f 0%, #8a5a2b 70%, #5b3a1c 100%);
}
.ph svg { width: 44%; height: 44%; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.ph--cross { background: radial-gradient(circle at 50% 30%, #a9b4bf 0%, #6c7883 70%, #3f4851 100%); }
.ph--tree  { background: radial-gradient(circle at 50% 40%, #b3713a 0%, #6d3a1c 70%, #3e1f10 100%); }
.ph--organ { background: radial-gradient(circle at 50% 40%, #d0a560 0%, #91652f 70%, #5e3d18 100%); }

/* przycisk kopiowania numeru konta */
.copy-btn {
  display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  color: var(--gold-dark); transition: background-color .2s ease, color .2s ease;
}
.copy-btn:hover { background: var(--surface-muted); color: var(--brand); }
.copy-btn.is-copied { color: #2f7d32; }
@media (max-width: 639.98px) { .copy-btn { width: 36px; height: 36px; margin-right: -6px; } }

/* stopka */
.footer-item { display: flex; align-items: center; gap: 10px; }
@media (min-width: 1024px) { .footer-item { white-space: nowrap; gap: 8px; } }
.footer-item a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-item svg { color: #fff; }
@media (max-width: 1023.98px) {
  .footer-row { font-size: 12.5px; }
  .footer-row > li:nth-child(-n+3) svg { width: 22px; height: 22px; }
}

/* przycisk „do góry” */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.2); opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- animacje Fade-In (tylko gdy działa JS i użytkownik nie wyłączył animacji) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* =====================================================================
   BANER COOKIES (elementy tworzy js/cookies.js)
   ===================================================================== */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px;
  padding: 20px 22px; background: #fff; color: var(--ink); border-top: 4px solid var(--brand);
  border-radius: 8px; box-shadow: 0 12px 40px rgba(28, 25, 23, .28);
  font-family: var(--sans); font-size: 14px; line-height: 1.5;
}
@media (min-width: 640px) { .cc-banner { left: 24px; bottom: 24px; } }
.cc-banner a, .cc-modal a { color: var(--brand); text-decoration: underline; }
.cc-title { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--brand); margin-bottom: 6px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: flex-end; }
.cc-btn {
  min-height: 44px; padding: 8px 16px; border-radius: 6px; border: 1.5px solid var(--brand);
  background: #fff; color: var(--brand); font-family: var(--sans); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.cc-btn:hover { background: var(--surface-muted); }
.cc-btn--primary { background: var(--brand); color: #fff; }
.cc-btn--primary:hover { background: var(--brand-dark); }
@media (max-width: 479.98px) { .cc-btn { flex: 1 1 100%; } }
.cc-overlay {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px;
  background: rgba(28, 25, 23, .55);
}
.cc-modal {
  width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 24px; background: #fff; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.3);
  font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink);
}
.cc-category { padding: 14px 0; border-top: 1px solid var(--surface-line); }
.cc-category-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-category-name { font-weight: 600; font-size: 15px; cursor: pointer; }
.cc-details { margin-top: 8px; }
.cc-details summary { cursor: pointer; color: var(--brand); font-weight: 500; }
.cc-table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 12.5px; }
.cc-table th, .cc-table td { padding: 6px; border: 1px solid var(--surface-line); text-align: left; vertical-align: top; }
.cc-table th { background: var(--surface-muted); }
.cc-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cc-switch input:disabled { cursor: not-allowed; }
.cc-switch span {
  position: absolute; inset: 0; border-radius: 26px; background: #cfc8bd; transition: background-color .2s ease;
}
.cc-switch span::before {
  content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.cc-switch input:checked + span { background: var(--brand); }
.cc-switch input:checked + span::before { transform: translateX(20px); }
.cc-switch input:disabled + span { opacity: .6; }
.cc-switch input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

/* =====================================================================
   ZNACZNIK [DO UZUPEŁNIENIA] — dane, których parafia jeszcze nie podała.
   Widoczny celowo: przed publikacją wyszukaj „DO UZUPEŁNIENIA” we wszystkich plikach.
   ===================================================================== */
.todo {
  background: #fff1cc; color: #5a3d0c; border-radius: 3px; padding: 1px 6px;
  font-family: var(--sans); font-size: .85em; font-weight: 500;
}

/* powitanie pod czerwoną belką (pełna nazwa, diecezja) */
.welcome { text-align: center; padding: 8px 16px 0; font-family: var(--body); font-size: 15px; color: var(--ink-soft); }
.welcome a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* uwagi pod tabelą Mszy (spowiedź, święta nakazane) */
.mass-notes { margin-top: 8px; padding: 10px 14px; background: #fff; box-shadow: 0 1px 4px rgba(60, 30, 10, .06); font-size: 16px; line-height: 1.5; }
.mass-notes li + li { margin-top: 4px; }
.mass-notes b { color: var(--brand); font-weight: 600; }

/* linia telefonów w Kancelarii na stronie głównej */
.office-line { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 16px; }
.office-line a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- dolny pasek nawigacji (telefon) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border-top: 1px solid var(--surface-line); box-shadow: 0 -4px 16px rgba(28, 25, 23, .08);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a, .bottom-nav button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 60px; font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-soft);
}
.bottom-nav svg { width: 24px; height: 24px; }
.bottom-nav [aria-current="page"] { color: var(--brand); }
.bottom-nav [aria-current="page"] svg { color: var(--brand); }
@media (max-width: 1023.98px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .to-top { bottom: 76px; }
  .cc-banner { bottom: 72px; }
}
@media (min-width: 1024px) { .bottom-nav { display: none; } }

/* ---------- PODSTRONY ---------- */
.page-head { background: var(--surface-warm); border-bottom: 2px solid rgba(196, 130, 63, .55); }
.crumbs { font-family: var(--sans); font-size: 14px; color: var(--ink-soft); }
.crumbs a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.page-title { margin-top: 6px; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; color: var(--brand); }
@media (min-width: 1024px) { .page-title { font-size: 38px; } }
.page-lead { margin-top: 8px; max-width: 70ch; font-size: 18px; line-height: 1.55; color: var(--ink); }

.prose-page { font-size: 18px; line-height: 1.6; }
.prose-page h2 {
  font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.2; color: var(--brand);
  margin: 36px 0 10px; padding-bottom: 6px; border-bottom: 2px solid rgba(196, 130, 63, .55);
}
.prose-page h2:first-child { margin-top: 0; }
.prose-page h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--brand); margin: 20px 0 6px; }
.prose-page p + p { margin-top: 10px; }
.prose-page ul, .prose-page ol { padding-left: 24px; }
.prose-page ul { list-style: disc; }
.prose-page ol { list-style: decimal; }
.prose-page li + li { margin-top: 5px; }
.prose-page a:not(.btn-brand):not(.btn-outline) { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose-page strong { font-weight: 600; }
.prose-page [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.box {
  margin-top: 14px; padding: 18px 20px; background: #fff; border-radius: 4px;
  box-shadow: 0 2px 10px rgba(60, 30, 10, .08);
}
.box--accent { border-left: 4px solid var(--brand); }
.box--gold { border-left: 4px solid var(--gold); }
.box h3:first-child { margin-top: 0; }

/* tabela danych (Msze, intencje, godziny) */
.data-table { width: 100%; border-collapse: collapse; margin-top: 10px; background: #fff; font-size: 17px; }
.data-table caption { caption-side: top; text-align: left; padding: 8px 12px; background: var(--surface-muted); font-family: var(--serif); font-weight: 600; color: var(--brand); }
.data-table th, .data-table td { padding: 8px 12px; border-bottom: 1px solid var(--surface-line); text-align: left; vertical-align: top; }
.data-table th[scope="row"], .data-table .time { font-weight: 700; white-space: nowrap; }
.data-table thead th { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-soft); }

/* sprawa w kancelarii — stała budowa */
.sprawa dl { display: grid; gap: 4px 18px; margin-top: 6px; }
.sprawa dt { font-family: var(--sans); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #8A5A24; margin-top: 10px; }
.sprawa dd ul { margin-top: 2px; }
@media (min-width: 768px) { .sprawa dl { grid-template-columns: 210px 1fr; } .sprawa dt { margin-top: 2px; } }

/* spis treści na podstronach */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.toc a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--surface-line); font-family: var(--sans); font-size: 15px; color: var(--brand);
}
.toc a:hover { border-color: var(--gold); }

/* „Dzisiaj w parafii” */
.today { padding: 16px 18px; background: var(--brand); color: #fff; border-radius: 4px; }
.today h2 { color: #fff; border: 0; margin: 0 0 6px; padding: 0; font-size: 22px; }
.today ul { list-style: none; padding: 0; font-size: 19px; }
.today li { display: flex; gap: 12px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.today li:last-child { border-bottom: 0; }
.today .t { font-weight: 700; min-width: 58px; }
.today .past { opacity: .6; }
.today small { font-size: 15px; opacity: .9; }

/* galeria i karty kościołów na podstronach */
.church-block { display: grid; gap: 16px; }
.church-block img { width: 100%; height: 240px; object-fit: cover; border-radius: 4px; }
@media (min-width: 768px) { .church-block { grid-template-columns: 300px 1fr; } .church-block img { height: 100%; min-height: 220px; } }

@media print {
  .site-header, .to-top, .cc-banner, .cc-overlay, .drawer, .bottom-nav { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  body { padding-bottom: 0 !important; }
}

/* =====================================================================
   PODSTRONY WG MAKIET (Msze święte, Aktualności, Nasze kościoły, Kontakt)
   ===================================================================== */
/* aktywna pozycja menu — czerwona „pigułka” */
.nav-link.is-active { background: var(--brand); color: #fff; border-radius: 4px; }
.nav-link.is-active::after { display: none; }
.nav-link.is-active:hover { color: #fff; background: var(--brand-dark); }

/* baner ze zdjęciem i tytułem strony */
.page-banner { position: relative; overflow: hidden; background: #3b2a20; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28, 16, 10, .78) 0%, rgba(28, 16, 10, .45) 40%, rgba(28, 16, 10, .05) 75%);
}
.page-banner__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: 170px; padding-top: 18px; padding-bottom: 18px; }
@media (min-width: 1024px) { .page-banner__inner { min-height: 220px; } .page-banner--tall .page-banner__inner { min-height: 260px; padding-bottom: 70px; } }
.page-banner .page-title { color: #fff; margin: 0; font-size: 32px; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
@media (min-width: 1024px) { .page-banner .page-title { font-size: 46px; } }
.page-banner .crumbs { order: 2; margin-top: 8px; color: rgba(255,255,255,.88); font-family: var(--body); font-size: 16px; }
.page-banner .crumbs a { color: #fff; text-decoration: none; }
.page-banner .crumbs a:hover { text-decoration: underline; }
.page-banner .crumbs .sep { margin: 0 8px; }

/* nagłówek sekcji z linią (jak na stronie głównej) */
.sec-title { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--brand); padding-bottom: 8px; border-bottom: 2px solid rgba(196, 130, 63, .55); }
@media (min-width: 1024px) { .sec-title { font-size: 28px; } }
.col-title { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--brand); padding-bottom: 10px; border-bottom: 2px solid rgba(196, 130, 63, .55); }
.col-title svg { width: 30px; height: 30px; color: var(--gold); }

/* ---------- Msze święte ---------- */
.mass-card { background: #fff; border-radius: 4px; box-shadow: 0 2px 10px rgba(60, 30, 10, .08); overflow: hidden; }
.mass-card__head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--surface-muted); font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--brand); }
.mass-card__head svg { width: 26px; height: 26px; color: var(--brand); }
.mass-card table { width: 100%; border-collapse: collapse; }
.mass-card th, .mass-card td { padding: 11px 0; border-bottom: 1px solid var(--surface-line); vertical-align: top; text-align: left; }
.mass-card tr:last-child th, .mass-card tr:last-child td { border-bottom: 0; }
.mass-card th { width: 88px; padding-left: 18px; padding-right: 14px; font-family: var(--body); font-size: 20px; font-weight: 700; text-align: right; }
.mass-card td { padding-right: 16px; }
.mass-card td b { display: block; font-family: var(--body); font-weight: 700; font-size: 18px; }
.mass-card td span { display: block; font-size: 15px; line-height: 1.35; color: var(--ink-soft); }
/* zapowiedź zmiany godzin — pokazywana przez main.js na tydzień przed zmianą */
.season-notice { display: block; padding: 8px 12px; border-left: 3px solid var(--brand); background: var(--surface-muted); font-size: 16px; font-weight: 600; line-height: 1.4; list-style: none; }
.season-notice[hidden] { display: none; }
.season-notice--card { margin: 12px 18px 0; }
.note-box { display: flex; gap: 14px; align-items: flex-start; margin: 12px; padding: 14px 16px; background: #FBF1E2; border-radius: 4px; font-size: 16px; line-height: 1.45; }
.note-box svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--gold); }

.side-card { background: #fff; border-radius: 4px; box-shadow: 0 2px 10px rgba(60, 30, 10, .08); overflow: hidden; }
.side-card > img { width: 100%; height: 150px; object-fit: cover; }
.side-card__body { padding: 18px 20px 20px; }
.side-card__body h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--brand); }
.side-card__row { display: flex; gap: 14px; align-items: flex-start; margin-top: 8px; font-size: 16px; line-height: 1.45; }
.side-card__row svg { width: 40px; height: 40px; flex-shrink: 0; color: var(--gold); }

.link-band { background: var(--surface-warm); border-top: 1px solid var(--surface-line); }
.link-band__grid { display: grid; gap: 0; }
@media (min-width: 768px) { .link-band__grid { grid-template-columns: repeat(3, 1fr); } }
.link-card { display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 22px 8px; border-bottom: 1px solid var(--surface-line); }
@media (min-width: 768px) { .link-card { padding: 26px 28px; border-bottom: 0; border-left: 1px solid var(--surface-line); } .link-card:first-child { border-left: 0; padding-left: 0; } }
.link-card > svg { width: 52px; height: 52px; color: var(--gold); grid-row: span 3; }
.link-card h2 { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--brand); }
.link-card p { font-size: 16px; line-height: 1.45; color: var(--ink); }
.link-card .btn-outline { justify-self: start; margin-top: 8px; min-height: 42px; padding: 6px 22px; font-weight: 500; border-width: 1px; }

/* ---------- Aktualności ---------- */
.news-layout { display: grid; gap: 22px; }
@media (min-width: 1024px) { .news-layout { grid-template-columns: 290px 1fr; gap: 34px; align-items: start; } }
.news-filter { background: var(--surface-warm); border: 1px solid var(--surface-line); border-radius: 4px; overflow: hidden; box-shadow: 0 1px 4px rgba(60, 30, 10, .06); }
.news-filter button, .news-filter a {
  display: flex; width: 100%; align-items: center; gap: 14px; min-height: 52px; padding: 10px 18px;
  border-bottom: 1px solid var(--surface-line); font-family: var(--body); font-size: 17px; color: var(--ink); text-align: left;
}
.news-filter li:last-child > * { border-bottom: 0; }
.news-filter svg { width: 26px; height: 26px; color: var(--gold); }
.news-filter button:hover, .news-filter a:hover { background: #fff; }
.news-filter [aria-pressed="true"] { background: var(--brand); color: #fff; font-weight: 600; }
.news-filter [aria-pressed="true"] svg { color: #fff; }
.news-filter .chev { margin-left: auto; width: 18px; height: 18px; }
.news-filter__sub { margin-top: 14px; }
.no-js .js-only { display: none !important; }

.news-item { display: grid; grid-template-columns: 1fr auto; gap: 12px 18px; padding: 14px 0; border-bottom: 1px solid var(--surface-line); }
.news-item:first-child { padding-top: 0; }
.news-item__thumb { grid-column: 1 / -1; width: 100%; height: 170px; object-fit: cover; border-radius: 4px; }
.news-item__thumb.ph { aspect-ratio: auto; border-radius: 4px; }
@media (min-width: 640px) {
  .news-item { grid-template-columns: 230px 1fr auto; align-items: center; }
  .news-item__thumb { grid-column: auto; height: 122px; }
}
.news-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.tag { display: inline-block; padding: 2px 9px; border-radius: 3px; background: #F6E3C8; color: #7A4E1E; font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.news-item h2 { margin-top: 4px; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--brand); }
.news-item__lead { margin-top: 4px; font-size: 16px; line-height: 1.45; }
.news-item__more { align-self: stretch; display: grid; place-items: center; width: 52px; border-left: 1px solid var(--surface-line); color: var(--brand); }
.news-item__more svg { width: 24px; height: 24px; transition: transform .25s ease; }
.news-item__more[aria-expanded="true"] svg { transform: rotate(90deg); }
.news-item__full { grid-column: 1 / -1; padding: 14px 18px; background: #fff; border-left: 3px solid var(--gold); border-radius: 3px; font-size: 17px; line-height: 1.55; }
.news-item__full[hidden] { display: none; }
.news-item__full ol, .news-item__full ul { padding-left: 22px; }
.news-item__full ol { list-style: decimal; }
.news-item__full ul { list-style: disc; }
.news-item[hidden] { display: none; }

/* ---------- Nasze kościoły ---------- */
.church-panel { position: relative; z-index: 2; margin-top: -54px; padding: 12px; background: #fff; border-radius: 6px; box-shadow: 0 6px 26px rgba(60, 30, 10, .12); }
@media (max-width: 1023.98px) { .church-panel { margin-top: 16px; padding: 0; background: transparent; box-shadow: none; } }
.church-panel__grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .church-panel__grid { grid-template-columns: repeat(3, 1fr); } }
.church-tile { display: flex; flex-direction: column; background: var(--canvas); border: 1px solid var(--surface-line); border-radius: 4px; overflow: hidden; }
.church-tile > img { width: 100%; height: 210px; object-fit: cover; }
.church-tile__body { display: flex; flex-direction: column; flex: 1; padding: 14px 18px 18px; }
.church-tile h2 { font-family: var(--serif); font-weight: 700; font-size: 25px; color: var(--brand); }
.church-tile__sub { font-size: 16px; line-height: 1.35; color: var(--ink-soft); padding-bottom: 12px; border-bottom: 1px solid rgba(196, 130, 63, .55); }
.church-tile ul { margin: 12px 0 16px; }
.church-tile li { display: flex; align-items: center; gap: 12px; padding: 4px 0; font-size: 16px; }
.church-tile li svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--gold); }
.church-tile .btn-brand { margin-top: auto; justify-content: center; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr 1.05fr; gap: 0; } .contact-grid > * { padding: 0 28px; border-left: 1px solid var(--surface-line); } .contact-grid > *:first-child { padding-left: 0; border-left: 0; } .contact-grid > *:last-child { padding-right: 0; } }
.contact-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 10px 0; font-size: 17px; line-height: 1.4; }
.contact-row > svg, .contact-row > img { width: 34px; height: 34px; justify-self: center; color: var(--gold); }
.contact-row a { color: var(--ink); }
.contact-row a:hover { color: var(--brand); text-decoration: underline; }
.hours { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(196, 130, 63, .55); font-size: 19px; line-height: 1.35; font-weight: 600; }
.hours svg { width: 36px; height: 36px; color: var(--gold); justify-self: center; }
.map-box { position: relative; display: block; margin-top: 18px; height: 230px; border-radius: 4px; overflow: hidden; border: 1px solid var(--surface-line); background: #EEF0EA; }
.map-box svg.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-box__pin { position: absolute; left: 50%; top: 42%; display: flex; align-items: flex-start; gap: 6px; transform: translate(-14px, -32px); font-family: var(--sans); font-size: 13px; line-height: 1.25; color: #B3261E; font-weight: 500; }
.map-box__pin svg { width: 30px; height: 30px; color: #D93025; flex-shrink: 0; }
.map-box__btn { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); font-family: var(--sans); font-size: 13.5px; color: var(--ink); }
.map-box:hover .map-box__btn { text-decoration: underline; }

.form-field { display: block; margin-top: 10px; }
.form-field span { display: block; font-family: var(--sans); font-size: 14px; color: var(--ink-soft); margin-bottom: 4px; }
.form-field span b { color: var(--brand); }
.form-field input, .form-field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; background: #fff; border: 1px solid #D9CFC0; border-radius: 4px;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form-field input:user-invalid, .form-field textarea:user-invalid { border-color: #B3261E; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-family: var(--sans); font-size: 14px; line-height: 1.45; }
.form-consent input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--brand); }
.form-consent a { color: var(--brand); text-decoration: underline; }
.form-info { margin-top: 10px; font-family: var(--sans); font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.form-info a { color: var(--brand); text-decoration: underline; }
[data-form-status] { margin-top: 10px; font-family: var(--sans); font-size: 15px; font-weight: 500; }

.icon-cards { display: grid; gap: 18px; }
@media (min-width: 768px) { .icon-cards { grid-template-columns: repeat(3, 1fr); } }
.icon-card { position: relative; display: block; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(60, 30, 10, .08); transition: box-shadow .25s ease; }
.icon-card:hover { box-shadow: 0 8px 24px rgba(60, 30, 10, .14); }
.icon-card > img { width: 100%; height: 110px; object-fit: cover; }
.icon-card__body { position: relative; display: grid; grid-template-columns: 88px 1fr 20px; gap: 0 14px; align-items: center; padding: 10px 18px 16px; }
.icon-card__icon { display: grid; place-items: center; width: 84px; height: 84px; margin-top: -42px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(60, 30, 10, .15); color: var(--gold); }
.icon-card__icon svg { width: 40px; height: 40px; }
.icon-card h2 { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--brand); }
.icon-card p { font-size: 15px; line-height: 1.4; color: var(--ink); }
.icon-card .arr { width: 18px; height: 18px; color: var(--brand); }

.icon-card__title { display: block; font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--brand); }
.icon-card__text { display: block; font-size: 15px; line-height: 1.4; color: var(--ink); }
.contact-row > img { width: 40px; height: 40px; }
/* Aktualności na telefonie: kategorie jako „pigułki”, bez przewijania w poziomie */
.news-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .news-layout { grid-template-columns: 290px minmax(0, 1fr); } }
@media (max-width: 1023.98px) {
  .news-filter { display: flex; flex-wrap: wrap; gap: 8px; background: none; border: 0; box-shadow: none; overflow: visible; }
  .news-filter button, .news-filter a { width: auto; min-height: 44px; gap: 8px; padding: 6px 14px; border: 1px solid var(--surface-line); border-radius: 999px; background: #fff; font-size: 15px; }
  .news-filter li:last-child > * { border-bottom: 1px solid var(--surface-line); }
  .news-filter svg { width: 20px; height: 20px; }
  .news-filter .chev { display: none; }
  .news-filter__sub { margin-top: 8px; }
}
@media (max-width: 639.98px) { .data-table { display: block; overflow-x: auto; } }
/* =====================================================================
   PODSTRONY WG MAKIETY: Historia, Kancelaria, Cmentarz
   ===================================================================== */
.intro-split { display: grid; gap: 24px; align-items: center; }
@media (min-width: 1024px) { .intro-split { grid-template-columns: 1.05fr 1fr; gap: 10px; } }
.intro-split p { font-size: 17px; line-height: 1.6; }
.intro-split__img { width: 100%; height: 260px; object-fit: cover; border-radius: 4px; }
@media (min-width: 1024px) {
  .intro-split__img { height: 300px; border-radius: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
}
.intro-split__img.is-sepia { filter: grayscale(1) sepia(.55) contrast(1.1) brightness(1.05); object-position: 40% 30%; }

.tl { margin-top: 14px; }
.tl li { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 7px 0 7px 30px; font-size: 17px; }
.tl li::before { content: ""; position: absolute; left: 5px; top: 13px; width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid var(--gold); background: var(--canvas); z-index: 1; }
.tl li::after { content: ""; position: absolute; left: 11px; top: 26px; bottom: -12px; width: 2px; background: rgba(196, 130, 63, .45); }
.tl li:last-child::after { display: none; }
.tl b { font-family: var(--serif); font-weight: 600; color: #8A5A24; font-size: 18px; }

.photo-tiles { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
@media (max-width: 639.98px) { .photo-tiles { grid-template-columns: 1fr 1fr; } .photo-tiles > :last-child { grid-column: 1 / -1; } }
.photo-tiles figure { background: #fff; padding: 4px; border-radius: 3px; box-shadow: 0 2px 8px rgba(60, 30, 10, .08); }
.photo-tiles img, .photo-tiles .ph { display: block; width: 100%; height: 150px; object-fit: cover; aspect-ratio: auto; }
.photo-tiles figcaption { padding: 6px 2px 3px; text-align: center; font-size: 15px; }

.office-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .office-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; } }
.hours-table { width: 100%; margin-top: 12px; border-collapse: collapse; background: #fff; border: 1px solid var(--surface-line); font-size: 16.5px; }
.hours-table th, .hours-table td { padding: 10px 14px; border-bottom: 1px solid var(--surface-line); text-align: left; }
.hours-table th { width: 46%; font-weight: 400; border-right: 1px solid var(--surface-line); }
.hours-table tr.is-open td { font-weight: 700; color: var(--brand); }
.contact-list li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 10px 0; font-size: 16px; line-height: 1.45; }
.contact-list li > svg { width: 40px; height: 40px; color: var(--gold); }
.contact-list strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--brand); }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }
.contact-list ul { list-style: disc; padding-left: 18px; font-size: 15.5px; }

.feature-cards { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 768px) { .feature-cards { grid-template-columns: repeat(3, 1fr); } }
.feature-card { display: flex; flex-direction: column; align-items: center; padding: 22px 20px 20px; background: var(--surface-warm); border: 1px solid var(--surface-line); border-radius: 4px; text-align: center; box-shadow: 0 1px 4px rgba(60, 30, 10, .05); }
.feature-card > svg { width: 46px; height: 46px; color: var(--gold); }
.feature-card h2 { margin-top: 10px; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--brand); }
.feature-card p { margin: 6px 0 14px; font-size: 15.5px; line-height: 1.45; flex: 1; }
.feature-card .btn-brand { min-height: 42px; padding: 6px 18px; font-size: 15px; }

.media-cards { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 768px) { .media-cards { grid-template-columns: 1fr 1fr; } }
.media-card { display: grid; grid-template-columns: 38% 1fr; gap: 16px; align-items: center; padding: 6px; background: #fff; border-radius: 4px; box-shadow: 0 2px 10px rgba(60, 30, 10, .08); }
.media-card > img, .media-card > .ph { width: 100%; height: 150px; object-fit: cover; border-radius: 3px; aspect-ratio: auto; }
.media-card h2 { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--brand); }
.media-card p { margin-top: 4px; font-size: 15.5px; line-height: 1.45; padding-right: 8px; }
.contact-list ul li { display: list-item; grid-template-columns: none; padding: 2px 0; font-size: 15.5px; }
