@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/rubik-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF, U+2020, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --green: #008136;
  --green-deep: #0b4423;
  --green-ink: #06170e;
  --paper: #ffffff;
  --paper-tint: #f4f7f4;
  --line: #e3e8e3;
  --red: #e30613;
  --gold: #d6b469;
  --on-gold: #2b2007;
  --section: var(--green);
  --section-deep: var(--green-deep);
  --font: 'Rubik', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Siatkówka: motyw sekcji (złoto jako kolor wiodący, zieleń jako akcent) ---------- */
:root {
  --section: #d6b469;
  --section-deep: #93712f;
  --gold: #008136;
  --on-gold: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--green-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--on-gold);
  padding: 10px 16px; font-weight: 700; z-index: 50;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ---------- leaf motif (assets/listek_PNG.png — already gold, shown as a plain image) ---------- */
.leaf {
  display: inline-block; width: 1em; height: 1em; flex: none;
  background: url('listek_PNG.png') center / contain no-repeat;
}
.leaf-watermark {
  position: absolute; width: 380px; height: 380px;
  background: url('listek_PNG.png') center / contain no-repeat;
  opacity: .2; pointer-events: none; z-index: 0;
}

.leaf-rule { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 14px 0; }
.leaf-rule .leaf { width: 15px; height: 15px; }
.leaf-rule .leaf:nth-child(2) { width: 22px; height: 22px; }

.sponsor-strip {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 9px 20px; background: var(--paper-tint); border-bottom: 1px solid var(--line);
  font-size: 11px; color: #9aa79c; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.sponsor-inline { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 11px; color: #9aa79c; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 14px; }
.ad-banner {
  border: 1px dashed var(--line); border-radius: 14px; padding: 20px; text-align: center;
  font-size: 12.5px; color: #9aa79c; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: var(--paper-tint);
}

.divider {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 0 0 28px; position: relative; z-index: 1;
}
.divider .leaf { width: 24px; height: 24px; }
.divider::before, .divider::after {
  content: ''; height: 1px; width: 46px; background: var(--line);
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); position: relative; }
section { padding: 64px 0; position: relative; overflow: hidden; }
section.alt { background: var(--paper-tint); }
section.tight { padding: 40px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--section);
}
h2.title { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 6px; font-weight: 800; }
.section-head { margin-bottom: 34px; position: relative; z-index: 1; }
.section-head p { max-width: 60ch; color: #46564c; margin: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: var(--on-gold); }
.btn.gold:hover { background: #e6c98a; }
.btn.outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn.outline:hover { background: rgba(255,255,255,.12); }
.btn.outline-dark { border-color: var(--section); color: var(--section); }
.btn.outline-dark:hover { background: var(--section); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-utility {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px clamp(18px, 4vw, 40px);
  background: var(--paper-tint);
  border-bottom: 1px solid var(--line);
}
.section-switch { display: flex; gap: 16px; align-items: center; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; font-size: 12.5px; font-weight: 600; }
.section-switch::-webkit-scrollbar { display: none; }
.ss-current { display: flex; align-items: center; gap: 5px; font-weight: 700; color: var(--green-ink); flex: 0 0 auto; white-space: nowrap; }
.ss-current .leaf { width: 12px; height: 12px; }
.section-switch a {
  flex: 0 0 auto; white-space: nowrap;
  text-decoration: none; color: #9aa79c; font-weight: 600;
  transition: color .2s ease;
}
.section-switch a:hover { color: var(--section); }

.nav-tag { font-size: 12.5px; font-weight: 600; color: var(--green-ink); opacity: .85; letter-spacing: .01em; flex: none; display: flex; align-items: center; gap: 6px; }
.nav-tag b, .foot-tag b { font-weight: 700; }
.nav-tag .thin, .foot-tag .thin { font-weight: 300; }

.nav-main {
  display: flex; align-items: center;
  padding: 12px clamp(18px, 4vw, 40px);
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-ink); flex: none; }
.brand img { height: 52px; width: auto; }
.brand span { font-weight: 800; font-size: 17px; line-height: 1.2; }
.brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.nav-links { margin-left: auto; display: flex; gap: 20px; align-items: center; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.nav-links > a, .nav-dd-trigger {
  text-decoration: none; color: #33422f; background: none; border: none; padding: 8px 2px;
  cursor: pointer; font: inherit; display: flex; align-items: center; gap: 5px; position: relative;
}
.nav-links > a::after, .nav-dd-trigger::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--gold);
  transition: right .25s ease;
}
.nav-links > a:hover::after, .nav-links > a:focus-visible::after, .nav-dd-trigger:hover::after { right: 0; }
.nav-links > a[aria-current="page"] { color: var(--section); }
.dd-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s ease; opacity: .6; }
.nav-dropdown.open .dd-caret { transform: rotate(225deg); margin-top: 2px; }
.nav-dropdown { position: relative; }
.nav-dd-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px rgba(6,23,14,.14);
  padding: 8px; min-width: 170px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 30;
}
.nav-dropdown:hover .nav-dd-menu, .nav-dropdown.open .nav-dd-menu {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dd-menu a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 13.5px; font-weight: 600; color: #33422f; text-decoration: none; white-space: nowrap; }
.nav-dd-menu a:hover, .nav-dd-menu a:focus-visible { background: var(--paper-tint); color: var(--section); }

.nav-right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ''; display: block; width: 22px; height: 2px; background: var(--green-ink); margin: 5px 0;
}

@media (max-width: 760px) {
  .nav-utility { display: none; }
  .nav-toggle { display: block; }
  .brand img { height: 40px; }
  .brand span { font-size: 14px; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px clamp(18px,4vw,40px) 16px; box-shadow: 0 14px 30px rgba(6,23,14,.14);
  }
  .nav-links > a { padding: 12px 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav-dropdown { width: 100%; }
  .nav-dd-trigger { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav-dd-menu {
    position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none;
    border: none; padding: 0 0 6px 14px; display: none; background: none;
  }
  .nav-dropdown.open .nav-dd-menu { display: flex; }
  .nav-dropdown:hover .nav-dd-menu { display: none; }
  .nav-dropdown.open:hover .nav-dd-menu { display: flex; }
  .site-nav.open .nav-links { display: flex; }
  .site-nav.open .nav-utility { display: flex; justify-content: center; }
  .section-switch { display: none; }
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  background: var(--paper-tint); border-bottom: 1px solid var(--line);
  padding: 10px clamp(18px,4vw,40px);
  font-size: 12.5px; font-weight: 600; color: #7c8b7f;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.breadcrumbs a { color: #7c8b7f; text-decoration: none; }
.breadcrumbs a:hover { color: var(--section); }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs .current { color: var(--green-ink); font-weight: 700; }

/* ---------- hero slider ---------- */
.hero-slider { position: relative; min-height: 58vh; overflow: hidden; background: var(--section-deep); padding: 0; }
.hs-track { display: flex; height: 58vh; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hs-slide {
  flex: 0 0 100%; min-width: 0; position: relative; display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  text-decoration: none; color: #fff;
}
.hs-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,23,14,.35), rgba(6,23,14,.82)); }
.hs-body { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px,4vw,40px); text-align: left; }
.hs-body > * { max-width: 640px; }
.hs-body .cat-tag { display: inline-block; background: var(--gold); color: var(--on-gold); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.hs-body h1 { font-size: clamp(28px, 4.6vw, 48px); font-weight: 800; margin: 0 0 10px; line-height: 1.08; }
.hs-body p { font-size: clamp(14px,1.5vw,16px); color: rgba(255,255,255,.85); margin: 0 0 14px; max-width: 56ch; }
.hs-more { font-size: 13px; font-weight: 700; color: var(--gold); }

/* ---------- page hero (subpages: smaller, static banner) ---------- */
.page-hero {
  position: relative; min-height: 260px; display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  color: #fff; overflow: hidden;
}
.page-hero:not(.plain)::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,23,14,.35), rgba(6,23,14,.82)); }
.page-hero .container { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 40px; }
.page-hero .cat-tag { display: inline-block; background: var(--gold); color: var(--on-gold); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; margin: 0 0 10px; line-height: 1.1; max-width: 46ch; }
.page-hero .meta { font-size: 13.5px; color: rgba(255,255,255,.8); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.page-hero.plain { background: var(--section-deep); min-height: 160px; }

/* ---------- match widgets ---------- */
.match-widgets-wrap { margin-top: -56px; position: relative; z-index: 5; }
.match-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .match-widgets { grid-template-columns: 1fr; } }
.match-card {
  background: var(--paper); border-radius: 16px; box-shadow: 0 18px 40px rgba(6,23,14,.18);
  padding: 22px clamp(18px, 3vw, 28px);
  min-width: 0; position: relative;
}
.mc-label {
  font-size: 13.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--section); display: flex; align-items: center; gap: 7px; margin-bottom: 18px;
}
.mc-label .leaf { width: 19px; height: 19px; }

.nm-teams { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 16px; min-width: 0; }
.nm-team { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.nm-team img.crest { height: 76px; width: 76px; object-fit: contain; flex: none; }
.nm-team span { font-weight: 700; font-size: 14.5px; line-height: 1.3; text-align: center; overflow-wrap: break-word; max-width: 100%; min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
.nm-teams .vs { color: var(--gold); font-weight: 700; font-size: 13px; flex: none; }
.nm-meta { font-size: 13px; color: #56685c; text-align: center; margin-bottom: 16px; }
.nm-cta { display: flex; justify-content: center; }

.match-card .league-badge { justify-content: center; margin-bottom: 16px; }

.live-badge {
  position: absolute; top: 24px; right: clamp(18px, 3vw, 28px);
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; color: #56685c; text-decoration: none;
}
.live-badge:hover { color: var(--section); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 480px) {
  .live-badge { position: static; margin-bottom: 12px; }
}

.quick-links { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; margin-bottom: 16px; }
.quick-links a { color: var(--section); text-decoration: none; }
.quick-links a:hover { text-decoration: underline; }

.nm-teams .score { font-weight: 800; font-size: 28px; color: var(--section); flex: none; min-width: 52px; text-align: center; }

.tier-links { display: flex; gap: 8px; flex-wrap: wrap; }
.tier-links a, .tier-links span {
  font-size: 12.5px; font-weight: 700; padding: 7px 13px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--line); color: #56685c;
}
.tier-links a { color: var(--section); border-color: var(--section); }
.tier-links a:hover { background: var(--section); color: #fff; }
.tier-links span[aria-current="true"] { background: var(--section); border-color: var(--section); color: #fff; }

/* ---------- promo banners (shop / DalinTV) ---------- */
.shop-banner, .tv-banner {
  border-radius: 18px; color: #fff; padding: 28px clamp(20px,3vw,36px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  position: relative; overflow: hidden;
  margin: 32px 0;
}
.shop-banner { background: linear-gradient(120deg, var(--section-deep), var(--section)); }
.tv-banner { background: linear-gradient(120deg, #1a0505, var(--red)); }
.shop-banner .leaf-watermark, .tv-banner .leaf-watermark { opacity: .18; width: 260px; height: 260px; right: -50px; top: -70px; transform: rotate(-12deg); }
.shop-banner-text, .tv-banner-text { position: relative; z-index: 1; }
.shop-banner-text .eyebrow, .tv-banner-text .eyebrow { color: var(--gold); }
.shop-banner-text h3, .tv-banner-text h3 { font-size: clamp(20px,2.4vw,26px); margin: 6px 0 4px; font-weight: 800; }
.shop-banner-text p, .tv-banner-text p { margin: 0; font-size: 14px; color: rgba(255,255,255,.8); }
.shop-banner .btn.gold, .tv-banner .btn.gold { position: relative; z-index: 1; flex: none; }
.tv-banner .play-icon {
  position: relative; z-index: 1; flex: none;
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}

/* ---------- aktualności ---------- */
.slider-nav { position: absolute; bottom: 16px; right: 16px; display: flex; gap: 8px; z-index: 3; }
.slider-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.25); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slider-nav button:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.slider-dots { position: absolute; bottom: 22px; left: 24px; display: flex; gap: 7px; z-index: 3; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.slider-dots button[aria-current="true"] { background: var(--gold); width: 22px; border-radius: 5px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filters button {
  border: 1px solid var(--line); background: var(--paper); color: #46564c;
  font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filters button:hover { border-color: var(--section); color: var(--section); }
.filters button[aria-pressed="true"] { background: var(--section); border-color: var(--section); color: #fff; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(6,23,14,.1); }
.news-thumb { height: 180px; background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; }
.news-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,23,14,.55), transparent 55%); }
.news-card .cat-tag { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--on-gold); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; z-index: 1; }
.news-body { padding: 18px 18px 20px; }
.news-date { font-size: 12px; color: #7c8b7f; font-weight: 600; margin-bottom: 6px; }
.news-card h4 { font-size: 17px; font-weight: 700; margin: 0 0 6px; line-height: 1.35; }
.news-card p { font-size: 13.5px; color: #56685c; margin: 0; }
.news-card[hidden] { display: none; }
.view-all { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- galeria: album grid + carousel reuse ---------- */
.carousel-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 18px; }
.carousel-controls button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--section); cursor: pointer; }
.carousel-controls button:hover { background: var(--section); color: #fff; border-color: var(--section); }
.card-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.card-carousel::-webkit-scrollbar { display: none; }
.card-carousel .news-card, .card-carousel .album-card { flex: 0 0 calc((100% - 40px) / 3); min-width: 220px; scroll-snap-align: start; }
@media (max-width: 900px) { .card-carousel .news-card, .card-carousel .album-card { flex: 0 0 calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .card-carousel .news-card, .card-carousel .album-card { flex: 0 0 85%; } }

.news-card[data-cat="wideo"] .news-thumb::before {
  content: '▶'; position: absolute; inset: 0; z-index: 1; margin: auto;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--section);
}

.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .album-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .album-grid { grid-template-columns: 1fr; } }
.album-card { display: block; text-decoration: none; color: inherit; border-radius: 14px; overflow: hidden; position: relative; height: 220px; background-size: cover; background-position: center; background-repeat: no-repeat; transition: transform .2s ease; }
.album-card:hover { transform: translateY(-3px); }
.album-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,23,14,.85), rgba(6,23,14,.1) 60%); }
.album-card .album-count {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: rgba(6,23,14,.55); backdrop-filter: blur(3px); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  display: flex; align-items: center; gap: 5px;
}
.album-card .album-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px; color: #fff; }
.album-card .cat-tag { display: inline-block; background: var(--gold); color: var(--on-gold); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; margin-bottom: 8px; }
.album-card h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.album-card .album-date { font-size: 12px; color: rgba(255,255,255,.75); }

.photo-lightbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 700px) { .photo-lightbox-grid { grid-template-columns: repeat(2, 1fr); } }
.photo-lightbox-grid a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background-size: cover; background-position: center; }

/* ---------- terminarz / tabela ---------- */
.tt-tabs { display: flex; gap: 8px; margin-bottom: 28px; }
.tt-tabs button {
  border: 1px solid var(--line); background: var(--paper); color: #46564c;
  font-weight: 800; font-size: 14px; padding: 11px 22px; border-radius: 10px; cursor: pointer;
}
.tt-tabs button[aria-selected="true"] { background: var(--section); border-color: var(--section); color: #fff; }

.tt-panel[hidden] { display: none; }
.fixtures { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 700px) { .fixtures { grid-template-columns: 1fr; } }
.fixtures h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--section); margin: 0 0 14px; }
.match-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.match-row .m-date { flex: 0 0 60px; color: #7c8b7f; font-size: 12.5px; font-weight: 700; }
.match-row .m-crest { height: 22px; width: 22px; object-fit: contain; flex: none; }
.match-row .m-teams { flex: 1; font-weight: 700; }
.match-row .m-score { font-weight: 800; color: var(--section); font-size: 13.5px; flex: 0 0 auto; }
.match-row .m-comp { flex: 0 0 auto; font-size: 11px; color: #9aa79c; text-transform: uppercase; letter-spacing: .04em; }
.match-row.is-played .m-teams { color: var(--green-ink); }
.match-row.is-upcoming .m-teams { color: #46564c; }
.match-row .m-vs { color: #c7d1c9; font-weight: 700; font-size: 12px; flex: 0 0 auto; }
.match-row .m-link { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--section); text-decoration: none; white-space: nowrap; }
.match-row .m-link:hover { text-decoration: underline; }

.match-list { max-width: 720px; margin: 0 auto; }
@media (max-width: 560px) {
  .match-row { flex-wrap: wrap; }
  .match-row .m-link { flex: 1 0 100%; text-align: right; margin-top: 2px; }
}

/* ---------- league badge ---------- */
.league-badge { display: flex; align-items: center; gap: 10px; }
.league-badge img { height: 48px; width: auto; flex: none; }
.league-badge .lb-text { font-size: 12px; color: #7c8b7f; line-height: 1.3; }
.league-badge .lb-text strong { display: block; color: var(--green-ink); font-size: 13.5px; font-weight: 800; }

table.standings { width: 100%; border-collapse: collapse; font-size: 14px; }
table.standings th, table.standings td { padding: 10px 10px; text-align: left; border-bottom: 1px solid var(--line); }
table.standings th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: #7c8b7f; font-weight: 700; }
table.standings th.num, table.standings td.num { text-align: center; }
table.standings .t-crest { height: 20px; width: 20px; object-fit: contain; vertical-align: middle; margin-right: 8px; }
table.standings .t-name { display: flex; align-items: center; }
table.standings tr.us { background: rgba(214,180,105,.18); font-weight: 800; }
table.standings tr.us td:first-child { border-left: 3px solid var(--gold); }

.placeholder-note { font-size: 12.5px; color: #9aa79c; font-style: italic; margin-top: 8px; }

/* ---------- event timeline (kalendarz wydarzeń) ---------- */
.event-timeline { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 16px; }
.event-timeline::-webkit-scrollbar { display: none; }
.event-timeline::before { content: none; }
.ev-chip {
  flex: 0 0 150px; border: 1px solid var(--line); border-radius: 12px; padding: 14px;
  text-align: center; position: relative; background: var(--paper);
}
.ev-chip.is-match { border-color: rgba(0,129,54,.35); }
.ev-chip.is-birthday { border-color: rgba(214,180,105,.5); }
.ev-chip .ev-icon { width: 26px; height: 26px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--paper-tint); color: var(--section); font-size: 13px; }
.ev-chip.is-birthday .ev-icon { color: var(--on-gold); background: rgba(214,180,105,.18); }
.ev-chip .ev-date { font-size: 11.5px; font-weight: 700; color: #7c8b7f; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.ev-chip .ev-label { font-size: 13px; font-weight: 700; line-height: 1.3; }
.ev-chip.is-past { opacity: .5; filter: grayscale(.8); }
.ev-chip.is-far { opacity: .7; }

/* ---------- skład (Raków-style dark cards) ---------- */
.squad-grid { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.squad-grid::-webkit-scrollbar { display: none; }
.squad-grid .player-card { flex: 0 0 calc((100% - 60px) / 4); min-width: 190px; scroll-snap-align: start; }
@media (max-width: 900px) { .squad-grid .player-card { flex: 0 0 calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .squad-grid .player-card { flex: 0 0 78%; } }
.squad-grid.wrap { flex-wrap: wrap; overflow: visible; }
.squad-grid.wrap .player-card { flex: 0 0 calc((100% - 60px) / 4); }
@media (max-width: 900px) { .squad-grid.wrap .player-card { flex: 0 0 calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .squad-grid.wrap .player-card { flex: 0 0 100%; } }
.player-card { position: relative; border-radius: 16px; overflow: hidden; background: var(--green-ink); color: #fff; display: block; text-decoration: none; transition: transform .2s ease; }
.player-card:hover { transform: translateY(-3px); }
.player-photo {
  position: relative; height: 280px;
  background: linear-gradient(165deg, var(--section-deep), var(--green-ink));
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.player-photo .leaf-watermark { opacity: .16; width: 220px; height: 220px; top: 10px; right: -50px; transform: rotate(20deg); }
.player-photo svg { width: 96px; height: 96px; color: rgba(255,255,255,.18); margin-bottom: 10px; position: relative; z-index: 1; }
.p-number {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  width: 46px; height: 46px; border-radius: 10px; background: var(--gold); color: var(--on-gold);
  font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center;
}
.p-info { padding: 14px 16px 18px; }
.p-info .p-first { display: block; font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: rgba(255,255,255,.6); }
.p-info .p-last { display: block; font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.p-info .p-pos { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; font-weight: 700; }

/* ---------- historia (timeline) / stadion ---------- */
.timeline { display: flex; justify-content: space-between; gap: 20px; position: relative; z-index: 1; padding-top: 6px; max-width: 780px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; top: 24px; left: 48px; right: 48px; height: 2px; background: var(--line); }
.tl-item { flex: 1; text-align: center; position: relative; }
.tl-dot {
  width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; position: relative; z-index: 1;
}
.tl-dot .leaf { width: 20px; height: 20px; }
.tl-year { font-weight: 800; font-size: 15px; color: var(--section); margin-bottom: 4px; }
.tl-label { font-size: 13px; color: #46564c; max-width: 22ch; margin: 0 auto; }
@media (max-width: 700px) {
  .timeline { flex-direction: column; align-items: flex-start; gap: 26px; padding-left: 24px; max-width: none; }
  .timeline::before { top: 0; bottom: 0; left: 24px; right: auto; width: 2px; height: auto; }
  .tl-item { text-align: left; display: flex; align-items: center; gap: 14px; }
  .tl-dot { margin: 0; flex: none; }
  .tl-label { max-width: none; }
}

.stadion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 760px) { .stadion-grid { grid-template-columns: 1fr; } }
.stadion-photo { border-radius: 16px; overflow: hidden; height: 280px; background-size: cover; background-position: center; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(214,180,105,.18); color: var(--on-gold); font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
.stadion-text p { color: #46564c; font-size: 14.5px; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ci { flex: none; width: 20px; height: 20px; color: var(--section); margin-top: 1px; }
.contact-panel { background: var(--section-deep); color: #fff; border-radius: 16px; padding: 28px; position: relative; overflow: hidden; }
.contact-panel h3 { margin: 0 0 6px; font-size: 18px; position: relative; z-index: 1; }
.contact-panel p { margin: 0 0 18px; font-size: 13.5px; color: rgba(255,255,255,.75); position: relative; z-index: 1; }
.social-row { display: flex; gap: 10px; position: relative; z-index: 1; }
.social-row a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; transition: background .2s ease, color .2s ease; flex: none; }
.social-row a:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.social-row .icon { width: 18px; height: 18px; flex: none; }
.icon path, .icon circle, .icon rect { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon.filled path, .icon.filled circle { fill: currentColor; stroke: none; }
.icon-ig path, .icon-ig circle, .icon-ig rect { stroke-width: 2.4; }

.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 700px) { .staff-grid { grid-template-columns: 1fr 1fr; } }
.staff-card { text-align: center; }
.staff-avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 10px; background: var(--paper-tint); border: 2px dashed #c7d1c9; display: flex; align-items: center; justify-content: center; color: #c7d1c9; }
.staff-avatar svg { width: 38px; height: 38px; }
.staff-card .staff-name { font-weight: 700; font-size: 14px; }
.staff-card .staff-role { font-size: 12px; color: #7c8b7f; }

/* ---------- sponsors ---------- */
.sponsor-row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.sponsor-slot { width: 140px; height: 64px; border-radius: 8px; background: var(--paper); border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; font-size: 11px; color: #9aa79c; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sponsor-slot--sm { width: 76px; height: 28px; font-size: 8.5px; }
.sponsor-slot--xs { width: 56px; height: 22px; font-size: 8px; }

/* ---------- footer ---------- */
.site-foot { background: var(--green-ink); color: rgba(255,255,255,.7); padding: 40px 0 20px; position: relative; overflow: hidden; }
.site-foot .leaf-watermark { opacity: .1; width: 300px; height: 300px; left: -60px; bottom: -80px; transform: rotate(-20deg); }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 24px; align-items: center; position: relative; z-index: 1; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.foot-brand img { height: 30px; }
.foot-tag { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 13px; }
.foot-links a { color: rgba(255,255,255,.7); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 12px; text-align: center; color: rgba(255,255,255,.5); display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; position: relative; z-index: 1; }
.foot-legal a { color: rgba(255,255,255,.6); text-decoration: none; }
.foot-legal a:hover { color: var(--gold); }
.foot-legal .sep { opacity: .35; }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 720px; margin: 0 auto;
  background: var(--green-ink); color: #fff; border-radius: 16px;
  padding: 20px 22px; box-shadow: 0 18px 50px rgba(0,0,0,.35);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cookie-banner.hidden { display: none; }
.cookie-banner .leaf { width: 20px; height: 20px; flex: none; }
.cookie-text { flex: 1 1 260px; font-size: 13px; color: rgba(255,255,255,.85); }
.cookie-text strong { color: #fff; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { padding: 10px 18px; font-size: 13px; }
.cookie-actions .btn.text { border: none; background: none; color: rgba(255,255,255,.6); padding: 10px 6px; }
.cookie-actions .btn.text:hover { color: #fff; }

/* ---------- article page ---------- */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body .lede { font-size: 17px; font-weight: 600; color: #33422f; margin-bottom: 20px; }
.article-body p { font-size: 15.5px; color: #33422f; margin: 0 0 18px; }
.article-body h2 { font-size: 20px; font-weight: 800; margin: 32px 0 12px; }
.article-body figure { margin: 28px 0; }
.article-body figure img { border-radius: 14px; width: 100%; }
.article-body figcaption { font-size: 12.5px; color: #7c8b7f; margin-top: 8px; text-align: center; }
.article-share { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-share span { font-size: 12.5px; font-weight: 700; color: #7c8b7f; text-transform: uppercase; letter-spacing: .05em; }
.article-share a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--section); text-decoration: none; }
.article-share a:hover { background: var(--section); color: #fff; border-color: var(--section); }
.article-share .icon { width: 16px; height: 16px; }

/* ---------- lineup box (zapowiedź / raport) ---------- */
.lineup-box { max-width: 760px; margin: 0 auto 28px; background: var(--paper-tint); border-radius: 14px; padding: 20px 24px; }
.lineup-box h3 { margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--section); }
.lineup-box ol { margin: 0; padding-left: 20px; font-size: 14px; color: #33422f; columns: 2; gap: 24px; }
.lineup-box ol li { margin-bottom: 6px; break-inside: avoid; }

.match-summary { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: nowrap; }
.match-summary .ms-team { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1 1 160px; min-width: 0; max-width: 200px; }
.match-summary .ms-team img.crest { height: 56px; width: 56px; object-fit: contain; flex: none; }
.match-summary .ms-team span { font-weight: 700; font-size: 14.5px; line-height: 1.3; text-align: center; overflow-wrap: break-word; }
.match-summary .vs, .match-summary .score { flex: none; font-weight: 700; color: var(--gold); font-size: 16px; }
.match-summary .score { font-size: 32px; color: var(--section); font-weight: 800; }
@media (max-width: 480px) {
  .match-summary { gap: 12px; }
  .match-summary .ms-team { flex-basis: 100px; }
  .match-summary .ms-team img.crest { height: 40px; width: 40px; }
  .match-summary .ms-team span { font-size: 12px; }
  .match-summary .score { font-size: 24px; }
  .match-summary .vs { font-size: 13px; }
}

/* ---------- match events (strzelcy / kartki) — two-sided: gospodarze/lewa, goście/prawa ---------- */
.match-events { max-width: 640px; margin: 0 auto 32px; position: relative; }
.match-events::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-1px); }
.me-item { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; column-gap: 14px; padding: 9px 0; }
.me-content { font-size: 13.5px; color: #33422f; line-height: 1.35; }
.me-content strong { font-weight: 700; }
.me-content .me-team { font-size: 10.5px; color: #9aa79c; text-transform: uppercase; letter-spacing: .03em; }
.me-item.side-home .me-content { grid-column: 1; text-align: right; }
.me-item.side-away .me-content { grid-column: 3; text-align: left; }
.me-minute {
  grid-column: 2; justify-self: center; position: relative; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #7c8b7f;
}
.me-item.is-goal .me-minute { border-color: var(--section); background: var(--section); color: #fff; }
.me-item.is-card-yellow .me-minute { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }
.me-item.is-card-red .me-minute { border-color: var(--red); background: var(--red); color: #fff; }
.me-item.is-sub .me-minute { border-color: #8a97a3; background: #8a97a3; color: #fff; }
@media (max-width: 520px) {
  .match-events { padding: 0 4px; }
  .me-item { grid-template-columns: 1fr 36px 1fr; column-gap: 8px; }
  .me-content { font-size: 12.5px; }
  .me-minute { width: 32px; height: 32px; font-size: 10px; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 70; background: rgba(6,23,14,.92);
  display: flex; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 20px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 22px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 13px; font-weight: 600; }
.photo-lightbox-grid a { cursor: zoom-in; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .news-card, .hs-track { transition: none; }
}

/* ---------- zdjęcia zastępcze (sekcja bez własnej fotografii) ---------- */
.hs-slide, .news-thumb, .album-card, .stadion-photo, .page-hero:not(.plain) {
  background-image: linear-gradient(155deg, var(--section), var(--section-deep));
}
.hs-slide .leaf-watermark, .page-hero .leaf-watermark { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 200px; height: 200px; opacity: .18; }
.news-thumb .leaf-watermark, .album-card .leaf-watermark, .stadion-photo .leaf-watermark { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90px; height: 90px; opacity: .3; }

/* ---------- odznaka drużyny bez własnego herbu (inicjał w kółku) ---------- */
.team-mono {
  height: 76px; width: 76px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-tint); border: 2px solid var(--line);
  font-weight: 800; font-size: 22px; color: var(--section);
}
.m-crest.team-mono { height: 22px; width: 22px; font-size: 10px; border-width: 1px; }
.t-crest.team-mono { height: 22px; width: 22px; font-size: 9px; border-width: 1px; margin-right: 8px; }
.crest.team-mono { font-size: 18px; }

/* ---------- karuzela wyników seniorek ---------- */
.result-card { flex: 0 0 200px; scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; }
.result-card .rc-date { font-size: 11px; color: #9aa79c; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.result-card .rc-teams { font-weight: 700; font-size: 13.5px; margin-bottom: 8px; line-height: 1.3; }
.result-card .rc-score { font-size: 22px; font-weight: 800; color: var(--section); }
.result-card .rc-comp { font-size: 11px; color: #9aa79c; margin-top: 6px; }
@media (max-width: 600px) { .result-card { flex: 0 0 78%; } }

/* ---------- wynik setowy (raport meczowy) ---------- */
.set-scores { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; max-width: 640px; margin: 0 auto 32px; }
.set-item { background: var(--paper-tint); border-radius: 12px; padding: 14px 22px; text-align: center; min-width: 84px; border: 2px solid var(--line); }
.set-label { font-size: 11px; color: #9aa79c; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; margin-bottom: 6px; }
.set-score { font-size: 20px; font-weight: 800; color: #9aa79c; }
.set-item.is-win { border-color: var(--section); }
.set-item.is-win .set-score { color: var(--section); }
@media (max-width: 480px) {
  .set-scores { gap: 10px; }
  .set-item { padding: 10px 14px; min-width: 68px; }
  .set-score { font-size: 17px; }
}
