/* ==========================================================================
   LKS Ładna — nowa wersja strony · arkusz stylów
   Paleta z herbu: zieleń #12933B · żółć #FFE01A · czerń #101310 · krem #F7F1DC
   ========================================================================== */

:root {
  --green: #12933B;
  --green-600: #0F7A31;
  --green-700: #0C6E2B;
  --green-900: #06381A;
  --yellow: #FFE01A;
  --yellow-dark: #E8C900;
  --black: #101310;
  --ink: #1A211B;
  --muted: #5B635A;
  --cream: #F7F1DC;
  --paper: #FBFAF6;
  --white: #FFFFFF;
  --line: #E5E3D8;
  --danger: #C0392B;
  --draw: #A8A285;

  --font-display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 19, 16, .06), 0 2px 8px rgba(16, 19, 16, .06);
  --shadow-md: 0 6px 24px rgba(16, 19, 16, .10);
  --shadow-lg: 0 18px 50px rgba(16, 19, 16, .18);
}

/* ---------- Reset i baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--black); font-weight: 700;
  padding: 10px 16px; border-radius: 0 0 10px 10px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--black); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-solid { background: var(--yellow); color: var(--black); }
.btn-solid:hover { background: var(--yellow-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-600); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-lg { padding: 15px 30px; font-size: 1.2rem; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 18, 13, .94);
  backdrop-filter: blur(10px);
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 46px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: .05em; }
.brand-sub { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }

.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block; color: rgba(255,255,255,.85); text-decoration: none;
  font-weight: 600; font-size: .93rem; padding: 10px 13px; border-radius: 10px;
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--yellow); background: rgba(255,255,255,.06); }
.site-nav a[aria-current="page"] { color: var(--yellow); }
.nav-cta { margin-left: 8px; }
.has-sub, .site-nav li.menu-item-has-children { position: relative; }
.has-sub > a::after, .site-nav li.menu-item-has-children > a::after { content: " \25BE"; font-size: .7em; opacity: .7; }
.site-nav ul.sub, .site-nav ul.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 190px;
  background: #141a14; border: 1px solid #2a3524; border-radius: 12px;
  padding: 8px; display: none; box-shadow: var(--shadow-lg);
}
.site-nav ul.sub a, .site-nav ul.sub-menu a { padding: 9px 12px; font-size: .9rem; }
.site-nav .has-sub:hover ul.sub, .site-nav .has-sub:focus-within ul.sub,
.site-nav li.menu-item-has-children:hover > ul.sub-menu,
.site-nav li.menu-item-has-children:focus-within > ul.sub-menu { display: block; }
/* niewidzialny mostek — menu nie znika przy przechodzeniu myszką przez szczelinę */
@media (min-width: 941px) {
  .site-nav .has-sub::before, .site-nav li.menu-item-has-children::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
}

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 2px solid rgba(255,255,255,.3); color: #fff;
  border-radius: 10px; padding: 8px 12px; font-size: 1.1rem; cursor: pointer;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 74px 0 auto 0; z-index: 55;
    background: #0E120D; border-bottom: 1px solid #2a3524;
    padding: 14px 20px 26px; display: none; max-height: calc(100vh - 74px); overflow: auto;
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: 12px 10px; font-size: 1rem; }
  .site-nav ul.sub, .site-nav ul.sub-menu { position: static; display: block; border: 0; background: transparent; box-shadow: none; padding: 0 0 0 18px; }
  .site-nav ul.sub a, .site-nav ul.sub-menu a { font-size: .88rem; color: rgba(255,255,255,.65); }
  .has-sub > a::after, .site-nav li.menu-item-has-children > a::after { content: ""; }
  .nav-cta { margin: 10px 0 0; }
}

/* ---------- Pasek pod nagłówkiem ---------- */
.ticker {
  background: var(--yellow); color: var(--black);
  font-weight: 600; font-size: .9rem; text-align: center; padding: 7px 16px;
}
.ticker strong { font-weight: 800; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .55; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,56,26,.94) 6%, rgba(10,14,9,.62) 52%, rgba(10,14,9,.30) 100%);
}
.hero-inner {
  position: relative; padding: clamp(80px, 12vh, 140px) 0 clamp(70px, 10vh, 120px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--yellow); }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.8rem); font-weight: 800; text-transform: uppercase; margin-bottom: .3em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-lead { max-width: 560px; color: rgba(255,255,255,.88); font-size: 1.08rem; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.next-match {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.next-match .label { display: block; text-align: center; margin-bottom: 10px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); font-weight: 700; }
.nm-teams { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 12px 0 8px; }
.nm-team { text-align: center; font-weight: 700; font-size: .95rem; max-width: 130px; }
.nm-team img { width: 52px; height: 58px; margin: 0 auto 6px; }
.nm-vs { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: rgba(255,255,255,.5); }
.nm-meta { text-align: center; color: rgba(255,255,255,.75); font-size: .88rem; margin-bottom: 16px; }
.count { display: flex; justify-content: center; gap: 10px; }
.count div {
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; min-width: 62px; padding: 8px 6px; text-align: center;
}
.count b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; line-height: 1; }
.count span { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .next-match { max-width: 460px; }
}

/* ---------- Pasek liczb ---------- */
.stats { border-block: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 26px 14px; border-inline: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--green-700); line-height: 1; }
.stat span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat { border-bottom: 1px solid var(--line); } }

/* ---------- Sekcje ---------- */
.section { padding: clamp(48px, 6vw, 76px) 0; }
.section-tint { background: var(--cream); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-title { position: relative; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; text-transform: uppercase; padding-left: 26px; margin: 0; }
.sec-title::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 11px; height: .9em;
  background: linear-gradient(180deg, var(--green), var(--yellow));
  transform: skewX(-12deg); border-radius: 3px;
}
.sec-sub { color: var(--muted); max-width: 640px; margin: 0; }
.sec-link { font-weight: 700; text-decoration: none; white-space: nowrap; }
.sec-link:hover { text-decoration: underline; }
.sample-chip {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(192,57,43,.1); color: var(--danger); border: 1px dashed rgba(192,57,43,.5);
  border-radius: 999px; padding: 3px 10px; vertical-align: middle;
}

/* ---------- Karty meczów ---------- */
.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.match-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: grid; gap: 10px; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.match-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mc-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mc-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.mc-teams .home { text-align: right; }
.score {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  background: var(--black); color: #fff; border-radius: 10px; padding: 2px 13px; letter-spacing: .06em;
}
.score.win { background: var(--green); }
.score.loss { background: var(--danger); }
.score.draw { background: var(--draw); color: var(--black); }
.mc-vs { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--muted); }
.mc-note { font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; }
.result-chip {
  font-family: var(--font-display); font-weight: 800; font-size: .85rem;
  width: 26px; height: 26px; display: inline-grid; place-items: center;
  border-radius: 8px; color: #fff;
}
.result-chip.w { background: var(--green); }
.result-chip.l { background: var(--danger); }
.result-chip.d { background: var(--draw); color: var(--black); }
.form-row { display: flex; gap: 6px; align-items: center; }
.form-row .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }

/* ---------- Tabela ligowa ---------- */
.tbl-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
.tbl th {
  text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 14px 12px; border-bottom: 2px solid var(--line); white-space: nowrap;
}
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: center; width: 42px; }
.tbl .pts { font-weight: 800; color: var(--green-700); }
.pos-badge {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 8px; background: #EFF0E8; font-weight: 700; font-size: .82rem;
}
.pos-1 .pos-badge, .pos-2 .pos-badge { background: var(--green); color: #fff; }
.pos-3 .pos-badge { background: var(--yellow); color: var(--black); }
.row-lks { background: linear-gradient(90deg, rgba(18,147,59,.13), rgba(255,224,26,.10)); }
.row-lks td { font-weight: 600; }
.row-lks td:first-child { box-shadow: inset 4px 0 0 var(--green); }
.tbl-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* ---------- Aktualności ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s; box-shadow: var(--shadow-sm);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-media {
  aspect-ratio: 16 / 9; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-900), #1d2718 60%, #33421f);
}
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-media .crest-wm { position: absolute; right: -14px; bottom: -18px; width: 120px; opacity: .16; }
.news-body { padding: 20px; display: grid; gap: 10px; flex: 1; align-content: start; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.tag {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; background: rgba(18,147,59,.12); color: var(--green-700);
}
.tag.transfer { background: rgba(232,201,0,.25); color: #7a6900; }
.tag.youth { background: rgba(9,90,110,.12); color: #095a6e; }
.tag.cup { background: rgba(192,57,43,.12); color: var(--danger); }
.news-title { font-family: var(--font-display); font-size: 1.42rem; font-weight: 700; line-height: 1.12; margin: 0; }
.news-ex { color: var(--muted); font-size: .92rem; margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: .85rem; cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover { border-color: var(--green); }
.filter-btn.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--green-900), var(--green-700));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap; box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-55deg, transparent 0 26px, rgba(255,224,26,.07) 26px 52px);
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); text-transform: uppercase; margin-bottom: 8px; position: relative; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Sponsorzy ---------- */
.sponsors-strip {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px clamp(16px, 3vw, 36px); display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.sponsor-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sponsor-chips span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .85rem; font-weight: 600; color: var(--ink);
}

/* ---------- Stopka ---------- */
.site-footer { background: #0B0F0B; color: rgba(255,255,255,.82); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-footer h3 { color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 52px; height: 58px; }
.footer-brand b { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .05em; color: #fff; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-links li { margin-bottom: 9px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 10px; align-items: baseline; }
.footer-note { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .8rem; color: rgba(255,255,255,.45); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Podstrony ---------- */
.page-hero { background: linear-gradient(120deg, var(--green-900), var(--black)); color: #fff; padding: clamp(48px, 7vw, 84px) 0; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; font-weight: 800; margin: 0; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 640px; margin: 12px 0 0; }
.breadcrumbs { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.breadcrumbs a { color: rgba(255,255,255,.7); text-decoration: none; }

.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin: -22px 0 40px; position: relative; z-index: 5; }
.subnav a {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: .88rem; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.subnav a:hover { border-color: var(--green); color: var(--green-700); }

/* ---------- Historia ---------- */
.timeline { position: relative; padding-left: 30px; border-left: 3px solid var(--green); display: grid; gap: 34px; max-width: 780px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -39px; top: 10px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--yellow); border: 3px solid var(--green-700);
}
.timeline-year { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--green-700); line-height: 1; letter-spacing: .04em; }
.timeline-item p { margin: 8px 0 0; line-height: 1.65; }
.prose { max-width: 780px; }
.prose p { font-size: 1.02rem; line-height: 1.72; margin-bottom: 1.15em; }
.prose .lead { font-size: 1.22rem; font-weight: 500; line-height: 1.55; margin-bottom: 1.5em; }

/* ---------- Kadra ---------- */
.squad-group { margin-bottom: 34px; }
.squad-group h3 { font-size: 1.35rem; text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.squad-group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.squad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.player {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 12px; text-align: center; box-shadow: var(--shadow-sm);
}
.player .no { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--green-700); line-height: 1; }
.player .name { font-weight: 600; font-size: .92rem; margin-top: 6px; }
.player .pos { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.player.placeholder { border-style: dashed; opacity: .78; }
.signings { display: flex; flex-wrap: wrap; gap: 10px; }
.signings span {
  background: linear-gradient(120deg, rgba(255,224,26,.25), rgba(18,147,59,.15));
  border: 1px solid rgba(18,147,59,.35); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem;
}

/* ---------- Młodzież ---------- */
.youth-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.youth-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); display: grid; gap: 10px; align-content: start;
  transition: transform .18s, box-shadow .18s;
}
.youth-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.youth-age {
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  background: var(--yellow); color: var(--black); align-self: start;
  border-radius: 999px; padding: 4px 14px; letter-spacing: .06em;
}
.youth-card h3 { font-size: 1.6rem; text-transform: uppercase; margin: 0; }
.youth-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.youth-meta { font-size: .85rem; border-top: 1px dashed var(--line); padding-top: 10px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.contact-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ci { font-size: 1.2rem; }
.contact-list b { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.map-ph {
  aspect-ratio: 16 / 10; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(18,147,59,.08) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(18,147,59,.08) 38px 39px),
    linear-gradient(140deg, #EAF2E4, #DCEBD3);
  display: grid; place-items: center; text-align: center; color: var(--green-900); position: relative; overflow: hidden;
}
.map-ph .pin { font-size: 2.6rem; margin-bottom: 8px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.map-ph b { display: block; font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; margin-bottom: 4px; }
.map-ph span { font-size: .85rem; opacity: .75; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.form-ok { font-weight: 600; color: var(--green-700); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .88rem; }
.field input, .field textarea, .field select {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); transition: border-color .15s; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(18,147,59,.15); }

/* ---------- Ciasteczka ---------- */
.cookie {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  width: min(600px, calc(100% - 28px)); z-index: 90;
  background: #141a14; color: #fff; border: 1px solid #2a3524;
  border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-lg);
  display: none; gap: 14px; align-items: center; flex-wrap: wrap; font-size: .88rem;
}
.cookie.show { display: flex; }
.cookie p { margin: 0; flex: 1 1 260px; color: rgba(255,255,255,.85); }
.cookie .btn { padding: 9px 18px; font-size: .9rem; }

/* ---------- Animacje ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Dane na żywo (90minut.pl / laczynaspilka.pl) ---------- */
.ticker-src {
  display: inline-block; margin-left: 10px; padding: 1px 10px;
  background: rgba(16,19,16,.16); border-radius: 999px; font-size: .78rem; font-weight: 700;
}
.live-note {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 600; color: var(--green-700);
  background: rgba(18,147,59,.09); border: 1px solid rgba(18,147,59,.35);
  border-radius: 999px; padding: 4px 13px;
}
/* author display nie może nadpisać atrybutu [hidden] (nadpisałby domyślne display:none) */
.live-note[hidden] { display: none; }
.live-note::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(18,147,59,.22);
}
.mc-note a { font-weight: 600; }

/* ---------- Herb: porównanie wersji ---------- */
.crest-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 820px; }
.crest-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; text-align: center; box-shadow: var(--shadow-sm);
}
.crest-card img { width: 140px; height: auto; margin: 0 auto 16px; }
.crest-card figcaption b { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; margin-bottom: 4px; }
.crest-card figcaption span { font-size: .85rem; color: var(--muted); }

/* ---------- Dopracowanie typografii i rytmu ---------- */
.prose p:last-child { margin-bottom: 0; }
.prose h3 {
  font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em;
  margin: 1.9em 0 .7em; padding-left: 16px; position: relative;
}
.prose h3::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 7px; height: .55em;
  background: linear-gradient(180deg, var(--green), var(--yellow));
  border-radius: 2px; transform: skewX(-12deg);
}
.prose h3:first-of-type { margin-top: .3em; }
table.tbl, .score, .count b, .stat b, .mc-meta, .news-meta time, .tbl .pts { font-variant-numeric: tabular-nums; }
h1, h2, h3, .news-title, .sec-title { text-wrap: balance; }
p, .news-ex, .youth-card p, .mc-note, .sec-sub { text-wrap: pretty; }
.news-ex, .youth-card p, .mc-note { hyphens: auto; }
.contact-card h2 { margin-bottom: 18px; }

/* ---------- Rytm sekcji: bez podwójnych odstępów ---------- */
.page-hero + .section { padding-top: clamp(24px, 3.5vw, 36px); }
.section + .section:not(.section-tint) { padding-top: 0; }
.section-tint + .section { padding-top: clamp(28px, 4vw, 44px); }
.section + .section-tint { padding-top: clamp(40px, 5vw, 60px); }
