/* =========================================================
   Koło Łowieckie nr 36 „Jenot” — style
   Stonowana, elegancka wersja: głęboka zieleń, złoto, biel;
   w banerze zdjęcie lasu z amboną (img/tlo-ambona.jpg), duże na „O nas”.
   (starsza wersja style-ciemny.css leży w ../stronakola-kopie)
   ========================================================= */

:root {
  /* głęboka zieleń — nagłówek, baner, stopka, akcenty */
  --green-950: #111a14;
  --green-900: #172219;
  --green-800: #1f2f23;
  --green-700: #2a3f30;
  --green-600: #3b5442;

  /* tła i powierzchnie */
  --bg:      #f6f5f1;
  --surface: #ffffff;
  --muted:   #efede6;

  /* tekst */
  --ink:      #1b211c;
  --ink-soft: #5d645e;

  /* złoto — stonowane, metaliczne */
  --gold:    #9c7f45;   /* na jasnym tle */
  --gold-lt: #c8ad74;   /* na ciemnym tle */

  --line:   rgba(23, 34, 25, .12);
  --line-2: rgba(23, 34, 25, .22);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Lato", "Segoe UI", Arial, sans-serif;

  --radius: 2px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Herb (wspólne) ---------- */
.jh-fill { fill: var(--gold-lt); }
/* kolor „wycięć” (maska, nos) = kolor tła pod herbem; dziedziczony przez <use> */
.jh-cut  { fill: var(--cut, var(--green-900)); }
.jh-line { stroke: var(--cut, var(--green-900)); stroke-width: 1.4; stroke-linecap: round; }

.cr-shield { fill: var(--green-800); stroke: var(--gold-lt); stroke-width: 2.5; }
.cr-inner  { fill: none; stroke: var(--gold-lt); stroke-width: .8; opacity: .6; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 26, 20, .97);
  border-bottom: 1px solid rgba(200, 173, 116, .45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.emblem { width: 46px; height: 46px; flex-shrink: 0; --cut: var(--green-800); }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-small {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #b9b8ad;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gold-lt);
}

.main-nav { display: flex; gap: 4px; }

.main-nav a {
  position: relative;
  padding: 10px 14px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #e4e2d8;
  transition: color .2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--gold-lt);
  transform: scaleX(0);
  transition: transform .25s;
}

.main-nav a:hover,
.main-nav a.is-active { color: var(--gold-lt); }

.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span { pointer-events: none; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 6px 0;
  background: var(--gold-lt);
  transition: transform .25s, opacity .25s;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  min-height: 150px;
  padding: 30px 0;
  text-align: center;
  color: #f1efe7;
  /* zdjęcie łowiska z przyciemnieniem, żeby napis był czytelny */
  background:
    linear-gradient(180deg, rgba(17, 26, 20, .55) 0%, rgba(17, 26, 20, .35) 45%, rgba(17, 26, 20, .75) 100%),
    url("img/tlo-ambona.jpg") center 62% / cover no-repeat,
    var(--green-900);
  border-bottom: 1px solid rgba(200, 173, 116, .45);
  transition: min-height .5s ease;
}
.hero-content { width: 100%; }
.hero h1, .hero-motto, .hero-lead { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.hero .hero-motto { color: #e2cc98; }

/* Strona główna („O nas”): duże zdjęcie na pół ekranu */
body[data-tab="o-nas"] .hero { min-height: min(68vh, 640px); }
body[data-tab="o-nas"] .hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); }
body[data-tab="o-nas"] .hero-motto { font-size: 1.25rem; margin-top: 12px; }

.hero-lead,
.hero-btn { display: none; }
body[data-tab="o-nas"] .hero-lead {
  display: block;
  margin: 18px 0 0;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(241, 239, 231, .9);
}
body[data-tab="o-nas"] .hero-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 28px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green-950);
  background: var(--gold-lt);
  border-radius: var(--radius);
  transition: background .2s, transform .2s;
}
body[data-tab="o-nas"] .hero-btn:hover { background: #dcc48f; transform: translateY(-1px); }

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: .01em;
}
.hero h1 span { color: var(--gold-lt); font-style: italic; }

.hero-motto {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold-lt);
}
.hero-motto::before,
.hero-motto::after {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(200, 173, 116, .5);
}

/* ---------- Zakładki ---------- */
main { min-height: 50vh; scroll-margin-top: 76px; }

.tab-panel {
  scroll-margin-top: 76px;
  display: none;
  padding: 64px 0 96px;
}
.tab-panel.is-active {
  display: block;
  animation: fadeIn .4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--green-800);
}
/* złota linia z rombem pod tytułem sekcji */
.rule {
  position: relative;
  display: block;
  width: 120px;
  height: 1px;
  margin: 14px auto 14px;
  background: var(--gold);
}
.rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--bg);
  border: 1px solid var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}
.section-lead {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
}

.sub-head {
  margin: 64px 0 22px;
  padding-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--green-800);
  border-bottom: 1px solid var(--line-2);
}

.placeholder-note {
  color: var(--gold);
  font-size: .85rem;
  font-style: italic;
}
.placeholder-note.center { text-align: center; margin-top: 30px; }
.hunt-empty.center { text-align: center; }

.small-note { font-size: .82rem; color: var(--ink-soft); }

/* ---------- O nas ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text p { margin-top: 0; font-size: 1.02rem; }
.about-text .lead {
  margin-bottom: 18px;
  padding-left: 20px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--green-800);
  border-left: 2px solid var(--gold);
}

.facts {
  display: grid;
  border-top: 1px solid var(--line-2);
}
.fact {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}
.fact-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--green-800);
  line-height: 1.1;
}
.fact-label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Struktura koła */
.org-intro {
  margin: -6px 0 32px;
  color: var(--ink-soft);
}

.org-top {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 32px;
}
.org-top .org-card { width: min(340px, 100%); border-top: 2px solid var(--gold); }
.org-top::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 32px;
  border-left: 1px solid var(--gold);
}

.org-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
}
.org-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - 48px) / 6);
  right: calc((100% - 48px) / 6);
  border-top: 1px solid var(--gold);
}
.org-branches .org-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -33px;
  height: 32px;
  border-left: 1px solid var(--gold);
}

.org-card {
  position: relative;
  padding: 26px 24px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: .06em;
  color: var(--gold-lt);
  background: var(--green-800);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--gold);
}
.org-card .role,
.person .role {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.org-card h4 {
  margin: 4px 0 8px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--green-800);
}
.org-card p { margin: 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }

.org-more { margin: 22px 0 0; text-align: center; }
.org-more a,
.read-more {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
}
.org-more a:hover,
.read-more:hover { color: var(--green-700); }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.value-card {
  padding: 36px 30px;
  text-align: center;
}
.value-card + .value-card { border-left: 1px solid var(--line-2); }
.value-card svg { width: 38px; height: 38px; color: var(--gold); }
.value-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--green-800);
}
.value-card p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

/* ---------- Chipy / filtry ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.chip {
  padding: 7px 16px;
  font: inherit;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-800);
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--green-700); }
.chip.is-active { background: var(--green-800); color: var(--gold-lt); border-color: var(--green-800); }

/* ---------- Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--surface);
  box-shadow: 0 2px 6px rgba(23, 34, 25, .08), 0 10px 24px -14px rgba(23, 34, 25, .35);
  transition: box-shadow .3s ease;
}
.gallery-item:hover {
  box-shadow: 0 4px 10px rgba(23, 34, 25, .1), 0 16px 32px -14px rgba(23, 34, 25, .45);
}
/* Rama: białe passe-partout + cienka złota linia na zdjęciu */
.gallery-item .thumb {
  position: absolute;
  top: 7px;
  left: 7px;
  display: block;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  object-fit: cover;
  background-color: var(--green-800);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(200, 173, 116, .55);
  pointer-events: none;
}
.gallery-item .caption {
  position: absolute;
  left: 7px; right: 7px; bottom: 7px;
  padding: 28px 16px 12px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #f1efe7;
  background: linear-gradient(transparent, rgba(12, 18, 14, .85));
}
.gallery-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(10, 15, 11, .97);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; width: min(900px, 100%); }
.lightbox figure { text-align: center; }
.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: min(80vh, 675px);
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.lightbox figcaption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-lt);
}
.lightbox-count {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: .75rem;
  letter-spacing: .14em;
  color: rgba(241, 239, 231, .55);
}
.lightbox-nav {
  flex: none;
  width: 52px;
  height: 52px;
  margin: 0 12px;
  font-size: 2.2rem;
  line-height: 1;
  color: #f1efe7;
  background: rgba(241, 239, 231, .08);
  border: 1px solid rgba(200, 173, 116, .45);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.lightbox-nav:hover,
.lightbox-nav:focus-visible { background: rgba(200, 173, 116, .22); border-color: var(--gold-lt); }
.lightbox.is-single .lightbox-nav { visibility: hidden; }
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 2.4rem;
  line-height: 1;
  color: #f1efe7;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ---------- Aktualności ---------- */
.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-card {
  padding: 28px 30px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s;
}
.news-card:hover { border-color: var(--gold); }
.news-card.featured {
  grid-column: 1 / -1;
  padding: 36px 40px 32px;
  color: #e4e2d8;
  background: var(--green-800);
  border-color: var(--green-800);
}
.news-card time {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tag {
  margin-left: 12px;
  padding: 2px 10px;
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid currentColor;
  border-radius: var(--radius);
}
.news-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--green-800);
}
.news-card p { margin: 0 0 16px; color: var(--ink-soft); }
.news-card.featured time,
.news-card.featured p { color: #c4c3b8; }
.news-card.featured h3 { font-size: 2.1rem; color: #f1efe7; }
.news-card.featured .tag,
.news-card.featured .read-more { color: var(--gold-lt); }

/* ---------- Kalendarz polowań ---------- */
.today-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}
.today-card {
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.today-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--green-800);
}
.today-date { margin: 0 0 12px; color: var(--gold); font-weight: 700; font-size: .92rem; }
.sun-list { margin: 0; }
.sun-list div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.sun-list dt { color: var(--ink-soft); }
.sun-list dd { margin: 0; font-weight: 700; color: var(--green-800); }

.open-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.open-list li {
  padding: 4px 12px;
  font-size: .86rem;
  color: var(--green-800);
  background: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.season-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  font-size: .82rem;
  color: var(--ink-soft);
}
.season-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  margin-right: 4px;
  vertical-align: middle;
}
.lg-open { background: var(--green-700); }
.lg-now  { background: rgba(156, 127, 69, .18); outline: 1px solid var(--gold); }
.season-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.season-table,
.hunt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.season-table th,
.season-table td,
.hunt-table th,
.hunt-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.season-table thead th,
.hunt-table thead th {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-lt);
  background: var(--green-800);
}
.season-table tbody tr:hover,
.hunt-table tbody tr:hover { background: #faf9f6; }
.season-table tr.group-row td {
  padding: 8px 12px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--muted);
}
.season-table td.species { white-space: nowrap; font-weight: 700; color: var(--green-800); }
.season-table td.period  { white-space: nowrap; color: var(--ink-soft); }
.season-table .m {
  width: 34px;
  padding: 10px 2px;
  text-align: center;
}
.season-table thead .m { font-size: .64rem; letter-spacing: .04em; }
.season-table .m.now { background: rgba(156, 127, 69, .1); }
.season-table thead .m.now { color: var(--green-950); background: var(--gold-lt); }
.season-table .bar {
  display: block;
  height: 8px;
}
.season-table .bar.full { background: var(--green-700); }
.season-table .bar.part { background: linear-gradient(90deg, var(--green-700) 50%, rgba(42, 63, 48, .15) 50%); }
.season-table .bar.part.end { background: linear-gradient(90deg, rgba(42, 63, 48, .15) 50%, var(--green-700) 50%); }
.season-table tr.is-hidden { display: none; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}
.notice,
.links-card {
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.notice { border-left: 3px solid var(--gold); }
.notice h3,
.links-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--green-800);
}
.notice p { margin: 0; color: var(--ink-soft); }
.links-card ul { margin: 0; padding-left: 18px; }
.links-card li { margin: 4px 0; }
.links-card li::marker { color: var(--gold); }
.links-card li span { color: var(--ink-soft); }

/* ---------- Kontakt ---------- */
.contact-top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
}
.address-card {
  padding: 32px;
  color: #e4e2d8;
  background: var(--green-800);
  border-radius: var(--radius);
}
.address-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold-lt);
}
.address { margin: 0 0 24px; font-size: 1.02rem; }

/* mapa w ramce „passe-partout”: biały margines, złota linia i złote narożniki */
.map-wrap {
  position: relative;
  display: flex;
  min-height: 300px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.map-wrap::before {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  --c: var(--gold);
  background:
    linear-gradient(var(--c), var(--c)) top left     / 26px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top left     / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) top right    / 26px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top right    / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left  / 26px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left  / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 26px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 2px 26px no-repeat;
}
.map-wrap iframe {
  display: block;
  flex: 1;
  width: 100%;
  min-height: 270px;
  border: 1px solid rgba(156, 127, 69, .55);
  filter: grayscale(.35);
  background: var(--muted);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.person {
  padding: 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
}
.person h4 {
  margin: 4px 0 10px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--green-800);
}
.person p { margin: 0; font-size: .9rem; }
.person a { text-decoration: none; }

.btn {
  display: inline-block;
  padding: 11px 24px;
  font: inherit;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-lt);
  background: transparent;
  border: 1px solid var(--gold-lt);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--gold-lt); color: var(--green-950); }

/* ---------- Odliczanie do polowania ---------- */
.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: 24px;
  padding: 26px 30px;
  color: #f1efe7;
  background: var(--green-900);
  border: 1px solid rgba(200, 173, 116, .45);
  border-radius: var(--radius);
}
.countdown[hidden] { display: none; }
.countdown-kicker {
  margin: 0 0 6px;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-lt);
}
.countdown-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
}
.countdown-meta { margin: 6px 0 0; font-size: .85rem; color: #b9b8ad; }
.countdown-clock { display: flex; gap: 10px; }
.countdown-clock div {
  min-width: 68px;
  padding: 10px 6px 8px;
  text-align: center;
  border: 1px solid rgba(200, 173, 116, .3);
  border-radius: var(--radius);
}
.countdown-clock span {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--gold-lt);
}
.countdown-clock small {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b9b8ad;
}
.hunt-table tr.is-next td { background: rgba(200, 173, 116, .14); font-weight: 700; }

/* ---------- Pojawianie się przy przewijaniu ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease, border-color .25s;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.fact-num { font-variant-numeric: tabular-nums; }

/* ---------- Kontakt mailowy z zarządem ---------- */
/* karta e-mail w ramce jak mapa: biały margines, złota linia, złote narożniki */
.mail-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px 38px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.mail-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  border: 1px solid rgba(156, 127, 69, .35);
  --c: var(--gold);
  background:
    linear-gradient(var(--c), var(--c)) top left     / 26px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top left     / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) top right    / 26px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top right    / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left  / 26px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left  / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 26px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 2px 26px no-repeat;
}
.mail-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--gold-lt);
  background: var(--green-800);
  border: 1px solid var(--gold-lt);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px rgba(156, 127, 69, .45);
}
.mail-kicker {
  margin: 0 0 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.mail-link {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.2vw, 1.95rem);
  font-weight: 500;
  color: var(--green-800);
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
  transition: color .2s, background-size .3s;
}
.mail-link:hover { color: var(--gold); }
.mail-note {
  margin: 10px 0 0;
  max-width: 46ch;
  font-size: .95rem;
  color: var(--ink-soft);
}
.mail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mail-actions .btn { text-align: center; white-space: nowrap; }
.btn-solid {
  color: #f1efe7;
  background: var(--green-800);
  border-color: var(--green-800);
}
.btn-solid:hover { color: var(--green-950); background: var(--gold-lt); border-color: var(--gold-lt); }
.btn-dark {
  color: var(--green-800);
  border-color: var(--line-2);
}
.btn-dark:hover { color: var(--green-950); background: var(--muted); }
.btn-solid.is-copied,
.btn-dark.is-copied { color: var(--gold); border-color: var(--gold); background: transparent; }

@media (max-width: 760px) {
  .mail-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 34px 22px;
    text-align: center;
  }
  .mail-note { margin-inline: auto; }
  .mail-actions { width: 100%; max-width: 280px; }
}

/* ---------- Brak terminów polowań ---------- */
.hunt-empty {
  margin: 0 0 24px;
  padding: 22px 26px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}

/* ---------- Stopka ---------- */
.site-footer {
  padding: 36px 0;
  text-align: center;
  font-size: .8rem;
  letter-spacing: .04em;
  color: #9fa197;
  background: var(--green-950);
  border-top: 1px solid rgba(200, 173, 116, .45);
}
.footer-inner p { margin: 4px 0; }
.footer-motto {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold-lt);
}

/* ---------- Responsywność ---------- */
@media (max-width: 960px) {
  .about-grid,
  .news-list,
  .today-grid,
  .info-grid,
  .contact-top { grid-template-columns: 1fr; }
  .about-grid { gap: 32px; }
  .values { grid-template-columns: 1fr; }
  .value-card + .value-card { border-left: 0; border-top: 1px solid var(--line-2); }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .season-filter { margin-left: 0; }

  /* struktura: bez linii łączących, karty jedna pod drugą */
  .org-top { padding-bottom: 16px; }
  .org-top::after,
  .org-branches::before,
  .org-branches .org-card::before { display: none; }
  .org-branches { grid-template-columns: 1fr; gap: 16px; padding-top: 0; }
  .org-top .org-card { width: 100%; }

  /* menu mobilne */
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--green-950);
    border-bottom: 1px solid rgba(200, 173, 116, .45);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.is-open { max-height: 360px; }
  .main-nav a { padding: 14px 20px; border-top: 1px solid rgba(200, 173, 116, .12); }
  .main-nav a::after { display: none; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .hero { padding: 24px 0; min-height: 120px; }
  body[data-tab="o-nas"] .hero { min-height: 72vh; }
  body[data-tab="o-nas"] .hero-lead { letter-spacing: .14em; font-size: .75rem; }
  .countdown { padding: 22px 20px; }
  .countdown-clock { width: 100%; }
  .countdown-clock div { flex: 1; min-width: 0; }
  .facts { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .news-card.featured { padding: 28px 24px; }

  /* Podgląd zdjęcia: zdjęcie na całą szerokość, strzałki pod spodem */
  .lightbox { padding: 16px 16px 96px; }
  .lightbox-img { max-height: 66vh; }
  .lightbox-nav { position: absolute; bottom: 26px; margin: 0; width: 48px; height: 48px; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
}
