:root {
  --navy: #0A1C3A;        /* primary */
  --navy-2: #102A52;
  --royal: #1E56A4;       /* klubski dres */
  --red: #C8102E;         /* vrtnica v grbu */
  --white: #FFFFFF;
  --off: #F2F4F7;
  --steel: #5E6B7E;
  --rule: #DCE1E8;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --wrap: 1320px;
  --gut: clamp(16px, 3.5vw, 40px);
  --skew: -12deg;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.55; color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* Collegiate display type: heavy, condensed, italic caps */
.d { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.005em; line-height: .9; margin: 0; }
.kicker { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9375rem; }

/* Slanted buttons and tags */
.btn {
  display: inline-block; position: relative; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .04em; font-size: 1.0625rem; line-height: 1;
  padding: 1rem 1.75rem; transform: skewX(var(--skew)); transition: background-color .15s, color .15s;
}
.btn > span { display: inline-block; transform: skewX(12deg); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #A50D25; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--off); }
.btn-line { box-shadow: inset 0 0 0 2px currentColor; color: #fff; }
.btn-line:hover { background: #fff; color: var(--navy); box-shadow: none; }
.tag {
  display: inline-block; background: var(--red); color: #fff; transform: skewX(var(--skew));
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .06em; font-size: .875rem; line-height: 1; padding: .45rem .7rem;
}
.tag > span { display: inline-block; transform: skewX(12deg); }
.tag.royal { background: var(--royal); }

/* ---------- Utility bar ---------- */
.utility { background: #06132A; color: rgba(255,255,255,.75); font-size: .8125rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 1rem; }
.utility nav { display: flex; gap: 1.5rem; }
.utility a { text-decoration: none; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; }
.utility a:hover { color: #fff; }

/* ---------- Main header ---------- */
.masthead { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 4px solid var(--red); }
.masthead .wrap { display: flex; align-items: center; height: 84px; gap: 2rem; }
.crest-link { position: relative; align-self: flex-start; display: flex; align-items: flex-start; gap: 1rem; text-decoration: none; }
.crest-link img { width: 86px; height: auto; margin-top: 10px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); position: relative; z-index: 2; }
.wordmark { margin-top: 20px; line-height: .85; }
.wordmark b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 2rem; text-transform: uppercase; letter-spacing: .01em; }
.wordmark small { display: block; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .22em; font-size: .75rem; color: rgba(255,255,255,.7); margin-top: 4px; }
.mainnav { display: flex; gap: .25rem; margin-left: auto; align-items: center; }
.mainnav a {
  text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.125rem; text-transform: uppercase; letter-spacing: .04em;
  padding: .6rem .9rem; position: relative;
}
.mainnav a:not(.btn)::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.mainnav a:not(.btn):hover::after { transform: scaleX(1); }
.mainnav .btn { margin-left: 1rem; padding: .8rem 1.4rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.125rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Results strip (schedule bar) ---------- */
.strip { background: var(--off); border-bottom: 1px solid var(--rule); }
.strip .wrap { display: flex; align-items: stretch; }
.strip-label {
  flex: none; display: flex; flex-direction: column; justify-content: center; padding: 0 1.5rem 0 0; margin-right: 1rem; border-right: 1px solid var(--rule);
}
.strip-label .d { font-size: 1.5rem; }
.strip-label a { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; color: var(--royal); text-decoration: none; margin-top: .25rem; }
.strip-label a:hover { text-decoration: underline; }
.strip-scroll { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
.game {
  min-width: 0; padding: 1rem 1.25rem; border-right: 1px solid var(--rule);
  display: grid; grid-template-rows: auto 1fr auto; gap: .35rem; text-decoration: none; background: var(--off); transition: background-color .15s;
}
.game:hover { background: #fff; }
.game-date { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; color: var(--steel); }
.game-name { font-family: var(--display); font-weight: 800; font-size: 1.125rem; text-transform: uppercase; line-height: 1.05; }
.game-res { display: flex; gap: .4rem; flex-wrap: wrap; }
.medal { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--display); font-weight: 800; font-size: .9375rem; text-transform: uppercase; }
.medal i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.gold i { background: #D9B24C; } .silver i { background: #B9C0CA; } .bronze i { background: #B87840; }
.place-big { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.125rem; color: var(--red); text-transform: uppercase; }

/* ---------- Hero: top-stories slider ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; height: min(82vh, 780px); min-height: 560px; max-height: 780px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7.5s ease-out; }
.slide.is-active > img { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,28,58,.92) 0%, rgba(10,28,58,.6) 38%, rgba(10,28,58,0) 64%),
              linear-gradient(0deg, rgba(10,28,58,.9) 0%, rgba(10,28,58,0) 42%);
}
.hero-copy { position: absolute; inset: auto 0 0 0; z-index: 1; padding-bottom: calc(var(--tabs-h) + clamp(40px, 5vw, 64px)); }
.hero { --tabs-h: 104px; }
.hero-copy .tag { margin-bottom: 1.25rem; }
.hero-title { font-size: clamp(3.25rem, 8vw, 7.5rem); max-width: 9.5ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-copy p { font-size: 1.125rem; max-width: 46ch; margin: 1.25rem 0 1.75rem; color: rgba(255,255,255,.88); }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.slide .hero-copy > .wrap > * { transform: translateY(14px); opacity: 0; transition: transform .6s ease .2s, opacity .6s ease .2s; }
.slide.is-active .hero-copy > .wrap > * { transform: none; opacity: 1; }

/* story tabs along the bottom of the photo */
.tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: var(--tabs-h); background: rgba(6,19,42,.72); backdrop-filter: blur(6px); border-top: 1px solid rgba(255,255,255,.12); }
.tabs .wrap { display: grid; grid-template-columns: repeat(4, 1fr); height: 100%; }
.tab {
  position: relative; background: none; border: 0; color: rgba(255,255,255,.6); text-align: left; cursor: pointer;
  padding: 1.1rem 1.25rem; border-left: 1px solid rgba(255,255,255,.12); font: inherit; transition: color .2s, background-color .2s;
}
.tab:last-child { border-right: 1px solid rgba(255,255,255,.12); }
.tab:hover { color: #fff; background: rgba(255,255,255,.04); }
.tab.is-active { color: #fff; }
.tab small { display: block; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; opacity: .8; }
.tab b { display: block; margin-top: .3rem; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.25rem; line-height: 1; }
.tab .bar { position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.tab .bar::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.tab.is-active .bar::after { transform: scaleX(1); }
.hero.autoplay .tab.is-active .bar::after { animation: fill 7s linear forwards; }
.hero.paused .tab.is-active .bar::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .slide > img, .slide .hero-copy > .wrap > * { transition: none; transform: none; }
}

/* ---------- Section heads ---------- */
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.sec-head .d { font-size: clamp(2.5rem, 5vw, 4rem); }
.sec-head .d::after { content: ""; display: block; width: 72px; height: 6px; background: var(--red); margin-top: .9rem; transform: skewX(var(--skew)); }
.more-link { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .06em; color: var(--royal); text-decoration: none; }
.more-link:hover { color: var(--red); }

/* ---------- Results board ---------- */
.results { background: var(--off); }
.meets { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.meet { background: #fff; border-top: 6px solid var(--navy); }
.meet-head { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--rule); }
.datebox { background: var(--navy); color: #fff; text-align: center; padding: .5rem .75rem; min-width: 64px; }
.datebox b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.75rem; line-height: 1; }
.datebox span { font-family: var(--display); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.meet-head h3 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1; margin: 0; }
.meet-head p { margin: .3rem 0 0; color: var(--steel); font-size: .875rem; }
.tally { display: flex; gap: .75rem; }
.tally .medal { flex-direction: column; gap: .15rem; font-size: 1.5rem; font-style: italic; }
.tally .medal i { width: 14px; height: 14px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 1rem; align-items: center; padding: .85rem 1.5rem; border-bottom: 1px solid var(--rule); }
.rows li:last-child { border-bottom: 0; }
.rows .pl { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.5rem; color: var(--red); }
.rows strong { display: block; font-weight: 600; }
.rows small { color: var(--steel); font-size: .875rem; }
.rows .mk { font-family: var(--display); font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; }

/* ---------- By the numbers ---------- */
.numbers { position: relative; background: var(--navy); color: #fff; padding: clamp(80px, 10vw, 128px) 0; overflow: hidden;
  clip-path: polygon(0 60px, 100% 0, 100% calc(100% - 60px), 0 100%); margin: -30px 0; }
.numbers::before {
  content: "AK GORICA"; position: absolute; right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: 22vw; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.07); white-space: nowrap; pointer-events: none;
}
.numbers .wrap { position: relative; }
.numbers h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 2.5rem; }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.num { padding: 0 1.5rem; border-left: 4px solid var(--red); }
.num b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(3rem, 6vw, 5.25rem); line-height: .9; font-variant-numeric: tabular-nums; }
.num b small { font-size: .4em; margin-left: .1em; }
.num span { display: block; margin-top: .6rem; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: rgba(255,255,255,.8); line-height: 1.25; }

/* ---------- Roster ---------- */
.roster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.player { position: relative; display: block; text-decoration: none; background: var(--navy); color: #fff; overflow: hidden; }
.player img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 15%; transition: transform .4s; }
.player:hover img { transform: scale(1.04); }
.player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,28,58,.95) 0%, rgba(10,28,58,.4) 35%, rgba(10,28,58,0) 60%); }
.player-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.5rem; }
.player-info .kicker { color: rgba(255,255,255,.8); }
.player h3 { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 2.25rem; text-transform: uppercase; line-height: .9; margin: .35rem 0 .75rem; }
.pb-line { display: flex; gap: 1.25rem; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.pb-line b { display: block; font-size: 1.75rem; font-style: italic; font-weight: 900; line-height: 1; }
.pb-line span { font-size: .8125rem; letter-spacing: .06em; color: rgba(255,255,255,.7); }
.player-all { background: var(--red); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; min-height: 100%; text-decoration: none; color: #fff; }
.player-all::after { display: none; }
.player-all .d { font-size: clamp(2.5rem, 4vw, 3.5rem); }
.player-all p { margin: 1rem 0 1.5rem; color: rgba(255,255,255,.9); max-width: 28ch; }

/* ---------- Intro: three pillars ---------- */
.intro-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.intro-head .d { font-size: clamp(2.5rem, 5vw, 4.25rem); max-width: 20ch; }
.intro-head .d::after { content: ""; display: block; width: 72px; height: 6px; background: var(--red); margin-top: .9rem; transform: skewX(var(--skew)); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar { position: relative; display: block; overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; min-height: 440px; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pillar:hover img { transform: scale(1.05); }
.pillar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,28,58,.96) 0%, rgba(10,28,58,.7) 38%, rgba(10,28,58,.05) 70%); }
.pillar-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.75rem; }
.pillar h3 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: .9; margin: 0; }
.pillar p { margin: .9rem 0 1.25rem; color: rgba(255,255,255,.85); max-width: 34ch; }
.pillar .go { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .05em; border-bottom: 3px solid var(--red); padding-bottom: 3px; }

/* ---------- Video ---------- */
.video { background: var(--navy); color: #fff; }
.video-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.video .d { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.video .d::after { content: ""; display: block; width: 72px; height: 6px; background: var(--red); margin-top: .9rem; transform: skewX(var(--skew)); }
.video p { color: rgba(255,255,255,.8); margin: 1.25rem 0 1.75rem; max-width: 40ch; }
.yt { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.yt button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: none; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .5s; }
.yt button:hover img { opacity: 1; transform: scale(1.03); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 92px; height: 64px; margin: -32px 0 0 -46px; background: var(--red); transform: skewX(var(--skew)); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.yt .play::after { content: ""; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; transform: skewX(12deg); margin-left: 6px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Visit / contact ---------- */
.visit { background: var(--off); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.visit .d { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.visit .d::after { content: ""; display: block; width: 72px; height: 6px; background: var(--red); margin-top: .9rem; transform: skewX(var(--skew)); }
.visit-copy p { font-size: 1.125rem; color: var(--steel); margin: 1.25rem 0 0; max-width: 46ch; }
.office { background: #fff; border-top: 4px solid var(--navy); padding: 1.75rem; }
.office h3 { margin: 0 0 1rem; font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.office dl { margin: 0 0 1.5rem; }
.office dl div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--rule); }
.office dt { color: var(--steel); font-size: .9375rem; }
.office dd { margin: 0; font-weight: 600; }
.office dd a { text-decoration: none; }
.office dd a:hover { color: var(--royal); text-decoration: underline; }
.office .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }

/* ---------- Join ---------- */
.join { display: grid; grid-template-columns: 1fr 1fr; background: var(--royal); color: #fff; }
.join-photo { position: relative; min-height: 460px; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.join-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; transform: scale(1.12); transform-origin: 50% 0; }
.join-copy { padding: clamp(56px, 7vw, 96px) var(--gut) clamp(56px, 7vw, 96px) clamp(24px, 3vw, 48px); align-self: center; max-width: 620px; }
.join-copy .d { font-size: clamp(2.75rem, 5vw, 4.5rem); }
.join-copy p { font-size: 1.0625rem; margin: 1.1rem 0 0; color: rgba(255,255,255,.9); max-width: 52ch; }
.checks { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .5rem; }
.checks li { display: flex; gap: .75rem; align-items: baseline; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.125rem; }
.checks li::before { content: ""; flex: none; width: 14px; height: 6px; background: #fff; transform: skewX(var(--skew)); }

/* ---------- Partners ---------- */
.partners { padding: 56px 0; border-bottom: 1px solid var(--rule); }
.partners .wrap { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.partners .kicker { color: var(--steel); }
.logos { display: flex; flex: 1; justify-content: space-around; align-items: center; gap: 2rem; flex-wrap: wrap; }
.logos img { height: 58px; width: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; border-top: 6px solid var(--red); }
.footer .wrap { padding-top: 64px; padding-bottom: 28px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.foot-brand { display: flex; gap: 1rem; align-items: flex-start; }
.foot-brand img { width: 72px; }
.foot-brand b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.75rem; text-transform: uppercase; line-height: .9; }
.foot-brand p { margin: .75rem 0 0; color: rgba(255,255,255,.7); max-width: 30ch; }
.footer h4 { margin: 0 0 1rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; color: rgba(255,255,255,.6); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .strip-scroll { grid-template-columns: 1fr 1fr; }
  .game:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 960px) {
  .tab b { font-size: 1.0625rem; }
  .tab { padding: 1rem .9rem; }
  .meets, .join, .video-grid, .visit-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars .pillar:first-child { grid-column: 1 / -1; min-height: 380px; }
  .intro-head { grid-template-columns: 1fr; }
  .join-photo { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); min-height: 320px; }
  .num-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 0; }
  .roster-grid { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .menu-btn { display: block; }
  .mainnav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: .5rem var(--gut) 1.5rem; border-bottom: 4px solid var(--red); margin: 0;
  }
  .mainnav.open { display: flex; }
  .mainnav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.25rem; }
  .mainnav a:not(.btn)::after { display: none; }
  .mainnav .btn { margin: 1.25rem 0 0; text-align: center; }
  .masthead .wrap { height: 68px; position: relative; }
  .crest-link img { width: 62px; margin-top: 6px; }
  .wordmark { margin-top: 14px; }
  .wordmark b { font-size: 1.625rem; }
  .utility nav:first-child { display: none; }
}
@media (max-width: 640px) {
  .strip { display: none; }
  .hero { height: min(86svh, 720px); min-height: 580px; --tabs-h: 52px; }
  .slide::after { background: linear-gradient(0deg, rgba(10,28,58,.96) 0%, rgba(10,28,58,.75) 42%, rgba(10,28,58,.1) 72%); }
  .hero-copy p { font-size: 1rem; }
  .tab { padding: 0; border: 0 !important; }
  .tab small, .tab b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabs { background: transparent; backdrop-filter: none; border: 0; }
  .tabs .wrap { gap: 6px; align-items: center; }
  .tab .bar { top: auto; bottom: 22px; height: 4px; }
  .meet-head { grid-template-columns: auto 1fr; }
  .tally { grid-column: 1 / -1; }
  .rows li { padding: .85rem 1rem; grid-template-columns: 2rem 1fr auto; }
  .roster-grid { grid-template-columns: 1fr; }
  .numbers::before { font-size: 40vw; }
  .num { padding: 0 1rem; }
  .foot-top { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 360px; }
  .office dl div { grid-template-columns: 1fr; gap: .15rem; }
  .logos img { height: 44px; }
}

/* ---------- Active nav item ---------- */
.mainnav a[aria-current="page"]::after { transform: scaleX(1); }

/* ================= Sub-page hero (Trenerji etc.) ================= */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 clamp(104px, 11vw, 150px); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .28; }
.page-hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 2;
  background: var(--white); clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { font-size: .875rem; color: rgba(255,255,255,.65); margin-bottom: 1.5rem; }
.crumbs a { color: rgba(255,255,255,.9); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 .5rem; }
.page-hero h1 { font-size: clamp(4rem, 11vw, 9rem); }
.page-hero .lede { font-size: 1.1875rem; max-width: 52ch; margin: 1.25rem 0 0; color: rgba(255,255,255,.85); }
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.jump a {
  display: inline-block; text-decoration: none; transform: skewX(var(--skew));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); padding: .6rem 1rem; transition: background-color .15s, color .15s, box-shadow .15s;
}
.jump a span { display: inline-block; transform: skewX(12deg); font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .04em; }
.jump a:hover { background: #fff; color: var(--navy); box-shadow: none; }

/* ================= Coach profiles ================= */
.staff { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.coach { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 110px; }
.coach:first-child { border-top: 0; }
.coach:nth-child(even) .coach-photo { order: 2; }
.coach-photo { position: relative; }
.coach-photo .frame { overflow: hidden; aspect-ratio: 4/5; background: var(--off); }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; }
.coach-photo .frame.small { max-width: 360px; }
.coach-photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 42%; height: 10px; background: var(--red); transform: skewX(var(--skew)); }
.coach:nth-child(even) .coach-photo::after { left: auto; right: -14px; }
.coach .tag { margin-bottom: 1rem; }
.coach h2 { font-size: clamp(2.75rem, 5.5vw, 4.5rem); }
.coach .role { margin: .6rem 0 0; color: var(--steel); font-size: 1.0625rem; }
.coach-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 2rem 0; }
.coach-stats div { padding: .25rem 1.25rem; border-left: 3px solid var(--red); }
.coach-stats b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: .95; font-variant-numeric: tabular-nums; }
.coach-stats b small { font-size: .5em; margin-left: .1em; }
.coach-stats span { display: block; margin-top: .45rem; font-size: .875rem; color: var(--steel); line-height: 1.35; }
.coach-bio { font-size: 1.0625rem; line-height: 1.7; max-width: 60ch; margin: 0; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-band .d { font-size: clamp(2.5rem, 5vw, 4rem); }
.cta-band p { margin: .75rem 0 0; color: rgba(255,255,255,.9); max-width: 46ch; }

@media (max-width: 960px) {
  .coach { grid-template-columns: 1fr; }
  .coach:nth-child(even) .coach-photo { order: 0; }
  .coach-photo { max-width: 480px; }
}
@media (max-width: 640px) {
  .coach-stats { grid-template-columns: 1fr; gap: 1.1rem; }
}
.coach-photo:has(.frame.small) { max-width: 360px; }

/* ================= Single coach page ================= */
.coach-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: clamp(40px, 5vw, 64px) 0 clamp(96px, 10vw, 140px); }
.coach-hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 2;
  background: var(--white); clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.coach-hero .wrap { position: relative; z-index: 1; }
.coach-hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.coach-hero .photo { position: relative; }
.coach-hero .photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.coach-hero .photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 42%; height: 10px; background: var(--red); transform: skewX(var(--skew)); }
.coach-hero .tag { margin-bottom: 1.1rem; }
.coach-hero h1 { font-size: clamp(3.5rem, 8vw, 7rem); }
.coach-hero .role { margin: .75rem 0 0; color: rgba(255,255,255,.75); font-size: 1.125rem; }
.coach-hero .coach-stats span { color: rgba(255,255,255,.7); }
.coach-hero .coach-stats { margin: 2.5rem 0 0; }

.about { padding: clamp(64px, 8vw, 104px) 0; }
.about-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.about .d { font-size: clamp(2.5rem, 5vw, 4rem); }
.about .d::after { content: ""; display: block; width: 72px; height: 6px; background: var(--red); margin-top: .9rem; transform: skewX(var(--skew)); }
.about-text p { font-size: 1.1875rem; line-height: 1.7; margin: 0 0 1em; max-width: 62ch; }

/* Athletes coached */
.proteges { background: var(--off); padding: clamp(64px, 8vw, 104px) 0; }
.proteges .lede { color: var(--steel); max-width: 60ch; margin: -1rem 0 2.5rem; font-size: 1.0625rem; }
.era { margin-top: 3rem; }
.era:first-of-type { margin-top: 0; }
.era h3 { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.25rem; font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.era h3::after { content: ""; flex: 1; height: 2px; background: var(--rule); }
.era h3 small { font-family: var(--body); font-weight: 500; text-transform: none; font-size: .9375rem; color: var(--steel); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
.pcard { background: #fff; border-top: 4px solid var(--navy); }
.pcard summary { list-style: none; cursor: pointer; padding: 1.25rem 1.25rem 1.1rem; display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; }
.pcard summary::-webkit-details-marker { display: none; }
.pcard .nm { font-weight: 600; font-size: 1.0625rem; }
.pcard .mk { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.875rem; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.pcard .hl { color: var(--steel); font-size: .9375rem; line-height: 1.35; }
.pcard .more { grid-column: 1 / -1; margin-top: .6rem; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .8125rem; color: var(--royal); }
.pcard .more::after { content: " +"; }
.pcard[open] .more::after { content: " −"; }
.pcard[open] { border-top-color: var(--red); }
.pcard summary:hover .nm { color: var(--royal); }
.pcard .body { padding: 0 1.25rem 1.25rem; font-size: .9375rem; line-height: 1.6; color: #2A3A52; }
.pcard .body p { margin: 0; padding-top: .9rem; border-top: 1px solid var(--rule); }
.pcard .body a { color: var(--royal); font-weight: 600; }

/* Other coaches */
.others { padding: clamp(64px, 8vw, 104px) 0; }
.ogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ocard { position: relative; display: block; overflow: hidden; text-decoration: none; color: #fff; background: var(--navy); aspect-ratio: 4/5; }
.ocard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ocard:hover img { transform: scale(1.04); }
.ocard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,28,58,.95) 0%, rgba(10,28,58,.35) 38%, rgba(10,28,58,0) 60%); }
.ocard div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.5rem; }
.ocard small { font-size: .875rem; color: rgba(255,255,255,.75); }
.ocard h3 { margin: .3rem 0 0; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 2rem; line-height: .95; }

/* Link from list page to full profile */
.profile-link { display: inline-block; margin-top: 1.5rem; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); text-decoration: none; border-bottom: 3px solid var(--red); padding-bottom: 3px; }
.profile-link:hover { color: var(--royal); }

@media (max-width: 960px) {
  .coach-hero-grid, .about-grid { grid-template-columns: 1fr; }
  .coach-hero .photo { max-width: 420px; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .ogrid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .pgrid, .ogrid { grid-template-columns: 1fr; }
  .ocard { aspect-ratio: 16/11; }
}

/* ================= Athletes archive ================= */
.featured { padding: clamp(40px, 5vw, 64px) 0 0; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.featured .player img { aspect-ratio: 16/11; object-position: 50% 20%; }
.featured .player h3 { font-size: clamp(2.25rem, 4vw, 3.25rem); }

.roster { padding: clamp(64px, 8vw, 104px) 0; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: -.5rem 0 2rem; }
.filters button {
  font: inherit; cursor: pointer; border: 0; background: none; color: var(--navy);
  transform: skewX(var(--skew)); box-shadow: inset 0 0 0 2px var(--rule); padding: .6rem 1rem; transition: background-color .15s, color .15s, box-shadow .15s;
}
.filters button span { display: inline-block; transform: skewX(12deg); font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .04em; }
.filters button:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: none; }

.group { margin-top: 2.5rem; }
.group:first-of-type { margin-top: 0; }
.group h3 { display: flex; align-items: center; gap: 1rem; margin: 0 0 .5rem; font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.group h3::after { content: ""; flex: 1; height: 2px; background: var(--rule); }
.group h3 small { font-family: var(--body); font-weight: 500; text-transform: none; font-size: .9375rem; color: var(--steel); }
.rtable { width: 100%; border-collapse: collapse; }
.rtable th { text-align: left; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; color: var(--steel); padding: .75rem 1rem; border-bottom: 2px solid var(--navy); }
.rtable td { padding: .9rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.rtable tbody tr:hover { background: var(--off); }
.rtable .nm { font-weight: 600; font-size: 1.0625rem; }
.rtable .nm a { color: var(--royal); text-decoration: none; }
.rtable .nm a:hover { text-decoration: underline; }
.rtable .nm a::after { content: " ›"; }
.rtable .dis { color: #2A3A52; }
.rtable .cat { color: var(--steel); font-size: .9375rem; }
.rtable .pb { text-align: right; white-space: nowrap; }
.rtable .pb b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.rtable .pb small { display: block; color: var(--steel); font-size: .8125rem; }
.rtable th:last-child { text-align: right; }
.rtable tr[hidden], .group[hidden] { display: none; }
.roster-note { margin-top: 2rem; color: var(--steel); font-size: .9375rem; }

@media (max-width: 760px) {
  .featured-grid { grid-template-columns: 1fr; }
  .rtable thead { display: none; }
  .rtable, .rtable tbody, .rtable tr, .rtable td { display: block; }
  .rtable tr { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
  .rtable td { padding: 0; border: 0; }
  .rtable .nm { grid-column: 1; }
  .rtable .dis { grid-column: 1; font-size: .9375rem; }
  .rtable .cat { display: none; }
  .rtable .pb { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
@media (min-width: 761px) {
  .rtable { table-layout: fixed; }
  .rtable th:nth-child(1) { width: 26%; }
  .rtable th:nth-child(2) { width: 32%; }
  .rtable th:nth-child(3) { width: 18%; }
  .rtable th:nth-child(4) { width: 24%; }
}

/* ================= Single athlete page ================= */
.facts-row { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 1.5rem 0 0; }
.facts-row div { display: flex; gap: .5rem; }
.facts-row dt { color: rgba(255,255,255,.6); }
.facts-row dd { margin: 0; font-weight: 600; }
.facts-row a { color: #fff; }

.achievements { padding: clamp(64px, 8vw, 104px) 0; }
.ach-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.ach-grid .d { font-size: clamp(2.5rem, 5vw, 4rem); }
.ach-grid .d::after { content: ""; display: block; width: 72px; height: 6px; background: var(--red); margin-top: .9rem; transform: skewX(var(--skew)); }
.ach-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.ach-list li { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.ach-list .yr { font-family: var(--display); font-weight: 800; font-size: 1.125rem; color: var(--steel); }
.ach-list strong { display: block; font-weight: 600; font-size: 1.0625rem; }
.ach-list small { color: var(--steel); font-size: .9375rem; }
.ach-list .mk { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.625rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ach-list .medal { margin: 0; }
.ach-list .medal i { width: 16px; height: 16px; }

.bio-sec { background: var(--off); padding: clamp(64px, 8vw, 104px) 0; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, clamp(180px, 17vw, 250px)); gap: 12px; margin-top: 3rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: 1 / 3; }
.gallery.one { grid-template-columns: 1fr; grid-template-rows: clamp(260px, 30vw, 420px); }

.coach-mini { display: grid; grid-template-columns: 120px 1fr auto; gap: 1.5rem; align-items: center; background: #fff; border-top: 4px solid var(--navy); padding: 1.25rem; margin-top: 3rem; text-decoration: none; }
.coach-mini img { width: 120px; height: 120px; object-fit: cover; }
.coach-mini small { color: var(--steel); font-size: .875rem; }
.coach-mini h3 { margin: .2rem 0 0; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.875rem; line-height: 1; }
.coach-mini .go { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .05em; border-bottom: 3px solid var(--red); padding-bottom: 3px; }
.coach-mini:hover h3 { color: var(--royal); }

@media (max-width: 960px) {
  .ach-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ach-list li { grid-template-columns: 1fr auto; }
  .ach-list .yr { grid-column: 1 / -1; font-size: .9375rem; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 240px 180px 180px; }
  .gallery img:first-child { grid-row: auto; }
  .coach-mini { grid-template-columns: 80px 1fr; }
  .coach-mini img { width: 80px; height: 80px; }
  .coach-mini .go { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) { .ogrid > * { grid-column: auto !important; } .ogrid .player-all { min-height: 260px; } }

/* ================= Enrolment (Vpisnica) ================= */
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Steps: a real sequence, so numbered */
.steps { padding: clamp(56px, 7vw, 88px) 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 1.5rem 1.5rem 1.6rem; background: var(--off); border-top: 4px solid var(--navy); }
.step::before { counter-increment: step; content: counter(step); display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 3.25rem; line-height: .9; color: var(--red); margin-bottom: .75rem; }
.step h3 { margin: 0 0 .5rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.375rem; line-height: 1.05; }
.step p { margin: 0; color: #2A3A52; font-size: .96875rem; }
.step a { color: var(--royal); font-weight: 600; }

/* Programs */
.programs { padding: clamp(64px, 8vw, 104px) 0; background: var(--off); }
.prog-main { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.prog-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
.prog { background: #fff; display: flex; flex-direction: column; }
.prog-top { background: var(--navy); color: #fff; padding: 1.5rem 1.75rem 1.4rem; position: relative; overflow: hidden; }
.prog-top::after { content: ""; position: absolute; right: -30px; top: 0; bottom: 0; width: 120px; background: var(--red); transform: skewX(var(--skew)); opacity: .9; }
.prog.royal .prog-top { background: var(--royal); }
.prog-age { position: relative; z-index: 1; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(3rem, 5vw, 4.25rem); line-height: .85; }
.prog-age small { font-size: .38em; margin-left: .15em; }
.prog-top h3 { position: relative; z-index: 1; margin: .6rem 0 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.prog-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.prog ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.prog li { display: flex; gap: .7rem; align-items: baseline; }
.prog li::before { content: ""; flex: none; width: 12px; height: 4px; background: var(--red); transform: skewX(var(--skew)) translateY(-3px); }
.when { border-top: 1px solid var(--rule); padding-top: 1rem; }
.when dt { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; color: var(--steel); margin-bottom: .35rem; }
.when dd { margin: 0 0 .2rem; font-weight: 600; }
.when dd small { display: block; font-weight: 400; color: var(--steel); font-size: .875rem; }
.prog .btn { align-self: flex-start; margin-top: auto; }
.prog-more .prog-top { padding: 1.25rem 1.5rem; }
.prog-more .prog-age { font-size: 2.25rem; }
.prog-more .prog-top h3 { font-size: 1.25rem; }
.prog-more .prog-body { padding: 1.25rem 1.5rem 1.5rem; }

/* Weekly timetable */
.timetable { padding: clamp(64px, 8vw, 104px) 0; }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.day { background: var(--off); min-height: 220px; display: flex; flex-direction: column; }
.day h3 { margin: 0; padding: .75rem 1rem; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 1.125rem; }
.slots { padding: .75rem; display: grid; gap: .6rem; align-content: start; }
.slot { padding: .75rem .85rem; background: #fff; border-left: 4px solid var(--royal); }
.slot.red { border-left-color: var(--red); }
.slot b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.slot span { font-size: .875rem; color: #2A3A52; }
.slot small { display: block; margin-top: .3rem; font-size: .8125rem; color: var(--steel); line-height: 1.35; }
.day .none { padding: 1rem; color: var(--steel); font-size: .9375rem; }
.legend { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.25rem; font-size: .9375rem; color: #2A3A52; }
.legend span { display: inline-flex; align-items: center; gap: .5rem; }
.legend i { width: 14px; height: 14px; background: var(--royal); display: inline-block; }
.legend i.red { background: var(--red); }

/* Fees + what you need */
.fees { background: var(--navy); color: #fff; padding: clamp(64px, 8vw, 104px) 0; }
.fees .sec-head .d { color: #fff; }
.fees-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
.fee { border-top: 4px solid var(--red); background: rgba(255,255,255,.05); padding: 1.5rem; }
.fee .big { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(2.75rem, 5vw, 4rem); line-height: .9; }
.fee h3 { margin: .75rem 0 .5rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.375rem; }
.fee p { margin: 0 0 .6rem; color: rgba(255,255,255,.82); font-size: .96875rem; }
.bank { margin: .75rem 0 0; display: grid; gap: .5rem; }
.bank div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; font-size: .9375rem; }
.bank dt { color: rgba(255,255,255,.6); }
.bank dd { margin: 0; font-weight: 600; word-break: break-word; }
.copy { font: inherit; font-size: .8125rem; font-weight: 600; margin-left: .5rem; color: #fff; background: none; border: 1px solid rgba(255,255,255,.4); padding: .1rem .5rem; cursor: pointer; }
.copy:hover { background: #fff; color: var(--navy); }

.needs { padding: clamp(64px, 8vw, 104px) 0; }
.needs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.needs h3 { margin: 0 0 1rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.checklist li { padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--rule); position: relative; }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: 1.15rem; width: 12px; height: 7px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.checklist small { display: block; color: var(--steel); font-size: .875rem; }
.needs p.note { color: var(--steel); margin: 1.25rem 0 0; font-size: .9375rem; }

@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .fees-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .prog-main, .prog-more, .needs-grid { grid-template-columns: 1fr; }
  .week { grid-template-columns: 1fr; }
  .day { min-height: 0; }
  .day h3 { font-size: 1rem; }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ================= News archive ================= */
.news-lead { padding: clamp(40px, 5vw, 64px) 0 0; }
.lead-card { display: grid; grid-template-columns: 7fr 5fr; background: var(--navy); color: #fff; text-decoration: none; overflow: hidden; }
.lead-card .ph { position: relative; min-height: 380px; overflow: hidden; }
.lead-card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lead-card:hover .ph img { transform: scale(1.04); }
.lead-card .txt { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 1rem; position: relative; }
.lead-card .txt::before { content: ""; position: absolute; left: -40px; top: 0; bottom: 0; width: 80px; background: var(--navy); transform: skewX(var(--skew)); }
.lead-card time { font-size: .9375rem; color: rgba(255,255,255,.7); position: relative; }
.lead-card h2 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); position: relative; }
.lead-card p { margin: 0; color: rgba(255,255,255,.85); position: relative; }
.lead-card .go { position: relative; align-self: flex-start; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .05em; border-bottom: 3px solid var(--red); padding-bottom: 3px; }
.lead-card .tag { align-self: flex-start; position: relative; }

.news-list-sec { padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.25rem; }
.ncard { text-decoration: none; display: flex; flex-direction: column; }
.ncard[hidden] { display: none; }
.ncard .ph { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--off); }
.ncard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ncard:hover .ph img { transform: scale(1.04); }
.ncard .tag { position: absolute; left: 1rem; bottom: 1rem; }
.ncard time { display: block; margin: 1.1rem 0 .4rem; font-size: .875rem; color: var(--steel); }
.ncard h3 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.625rem; line-height: 1; }
.ncard p { margin: .6rem 0 0; color: #2A3A52; font-size: .96875rem; line-height: 1.55; }
.ncard:hover h3 { color: var(--royal); }
.fb-more { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; border-top: 2px solid var(--navy); padding-top: 1.5rem; }
.fb-more p { margin: 0; color: var(--steel); }

@media (max-width: 960px) {
  .lead-card { grid-template-columns: 1fr; }
  .lead-card .ph { min-height: 260px; }
  .lead-card .txt::before { display: none; }
  .ngrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .ngrid { grid-template-columns: 1fr; } }
.ngrid.two { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
.ngrid.two .ncard h3 { font-size: 1.875rem; }
@media (max-width: 600px) { .ngrid.two { grid-template-columns: 1fr; } }

/* ================= Single news article ================= */
.art-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; min-height: clamp(420px, 56vh, 600px); display: flex; align-items: flex-end; }
.art-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,28,58,.95) 0%, rgba(10,28,58,.6) 45%, rgba(10,28,58,.15) 100%); }
.art-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; z-index: 2; background: var(--white); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.art-hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 3rem; padding-bottom: clamp(88px, 9vw, 120px); }
.art-hero .tag { margin-bottom: 1rem; }
.art-hero h1 { font-size: clamp(2.75rem, 6.5vw, 5.5rem); max-width: 16ch; }
.art-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 1.25rem; color: rgba(255,255,255,.8); font-size: .9375rem; }

.art { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.art-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.art-body .lead { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.5; margin: 0 0 1.5rem; color: var(--navy); font-weight: 500; }
.art-body p { font-size: 1.125rem; line-height: 1.75; margin: 0 0 1.2em; max-width: 68ch; color: #1C2B42; }
.art-body h2 { margin: 2.5rem 0 1rem; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.art-body h2::after { content: ""; display: block; width: 56px; height: 5px; background: var(--red); margin-top: .6rem; transform: skewX(var(--skew)); }
.res-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1.5rem; }
.res-table th { text-align: left; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; color: var(--steel); padding: .6rem .75rem; border-bottom: 2px solid var(--navy); }
.res-table td { padding: .8rem .75rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.res-table .pl { width: 3.5rem; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.375rem; color: var(--red); white-space: nowrap; }
.res-table .pl .medal { margin: 0; vertical-align: middle; }
.res-table .pl .medal i { width: 14px; height: 14px; }
.res-table .nm strong { display: block; font-weight: 600; }
.res-table .nm small { display: block; color: var(--steel); font-size: .875rem; margin-top: .15rem; line-height: 1.45; }
.res-table .mk { text-align: right; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.375rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.art-body .thanks { margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--off); border-left: 4px solid var(--red); font-size: 1rem; }
.art-body .thanks p { margin: 0; font-size: 1rem; }
.art-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

.side { position: sticky; top: 112px; display: grid; gap: 1.25rem; }
.side-box { background: var(--off); border-top: 4px solid var(--navy); padding: 1.5rem; }
.side-box h3 { margin: 0 0 1rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; }
.side-box dl { margin: 0; display: grid; gap: .7rem; }
.side-box dt { font-size: .8125rem; color: var(--steel); }
.side-box dd { margin: .1rem 0 0; font-weight: 600; }
.tally-big { display: flex; gap: 1.25rem; margin-top: .25rem; }
.tally-big .medal { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.75rem; }
.tally-big .medal i { width: 16px; height: 16px; }
.share { display: flex; flex-wrap: wrap; gap: .5rem; }
.share a, .share button { font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--navy); background: #fff; border: 1px solid var(--rule); padding: .55rem .9rem; }
.share a:hover, .share button:hover { border-color: var(--navy); }
.side .fb-src { font-size: .9375rem; }
.side .fb-src a { color: var(--royal); font-weight: 600; }

.more-news { background: var(--off); padding: clamp(64px, 8vw, 104px) 0; }

@media (max-width: 960px) {
  .art-grid { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 600px) {
  .res-table thead { display: none; }
  .res-table tr { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: .25rem .75rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
  .res-table td { padding: 0; border: 0; }
  .res-table .pl { width: auto; }
}
.art-hero .crumbs { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.art-hero::after { background: linear-gradient(0deg, rgba(10,28,58,.95) 0%, rgba(10,28,58,.6) 45%, rgba(10,28,58,.45) 100%); }

/* ================= Donate (Doniraj) ================= */
.don-intro { padding: clamp(56px, 7vw, 88px) 0; }
.don-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.don-grid .lead { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.5; font-weight: 500; margin: 0 0 1.25rem; }
.don-grid p { font-size: 1.125rem; line-height: 1.7; margin: 0 0 1em; max-width: 60ch; color: #1C2B42; }
.big-pct { background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.big-pct::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 140px; background: var(--red); transform: skewX(var(--skew)); }
.big-pct b { position: relative; z-index: 1; display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(6rem, 12vw, 9.5rem); line-height: .8; }
.big-pct span { position: relative; z-index: 1; display: block; margin-top: 1rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; max-width: 14ch; }
.big-pct p { position: relative; z-index: 1; color: rgba(255,255,255,.8); margin: 1rem 0 0; max-width: 30ch; font-size: .96875rem; }

.funds { background: var(--off); padding: clamp(64px, 8vw, 104px) 0; }
.funds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.fund { position: relative; overflow: hidden; background: var(--navy); color: #fff; min-height: 320px; }
.fund img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fund::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,28,58,.96) 0%, rgba(10,28,58,.55) 45%, rgba(10,28,58,.05) 75%); }
.fund div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.5rem; }
.fund h3 { margin: 0; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 2rem; line-height: .95; }
.fund p { margin: .6rem 0 0; color: rgba(255,255,255,.85); font-size: .96875rem; }

.ways { padding: clamp(64px, 8vw, 104px) 0; }
.ways-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.way { border-top: 4px solid var(--navy); background: var(--off); padding: 1.75rem; display: flex; flex-direction: column; gap: .9rem; }
.way.primary { background: var(--red); color: #fff; border-top-color: var(--navy); }
.way .k { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; opacity: .75; }
.way h3 { margin: 0; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: .95; }
.way p { margin: 0; font-size: 1rem; line-height: 1.6; }
.way.primary p { color: rgba(255,255,255,.92); }
.way .btn { align-self: flex-start; margin-top: auto; }
.way ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; font-size: .96875rem; }
.way a:not(.btn) { color: var(--royal); font-weight: 600; }

.taxid { background: var(--navy); color: #fff; padding: clamp(48px, 6vw, 72px) 0; }
.taxid .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.taxid dl { margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 1rem 3rem; justify-content: start; }
.taxid dt { font-size: .875rem; color: rgba(255,255,255,.6); }
.taxid dd { margin: .25rem 0 0; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; }
.taxid .copy { vertical-align: middle; }
.qr-card { background: #fff; padding: .75rem; width: 190px; }
.qr-card img { width: 100%; display: block; }
.qr-card small { display: block; color: var(--steel); font-size: .75rem; text-align: center; margin-top: .4rem; }

.thanks-band { padding: clamp(56px, 7vw, 88px) 0; text-align: center; }
.thanks-band .d { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.thanks-band p { margin: 1rem auto 0; max-width: 56ch; color: var(--steel); font-size: 1.125rem; }

@media (max-width: 960px) {
  .don-grid, .ways-grid { grid-template-columns: 1fr; }
  .funds-grid { grid-template-columns: 1fr; }
  .fund { min-height: 240px; }
  .taxid .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .taxid dl { grid-template-columns: 1fr; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.taxid .wrap { align-items: center; }
.taxid .qr-card { align-self: center; width: 170px; }


/* ================= WordPress additions ================= */
.photo.none { aspect-ratio: 4/5; background: var(--navy-2); display: grid; place-items: center; }
.photo.none img { width: 38%; height: auto; aspect-ratio: auto; object-fit: contain; opacity: .9; }
.filters .filter-link { display: inline-block; text-decoration: none; color: var(--navy); transform: skewX(var(--skew)); box-shadow: inset 0 0 0 2px var(--rule); padding: .6rem 1rem; transition: background-color .15s, color .15s, box-shadow .15s; }
.filters .filter-link span { display: inline-block; transform: skewX(12deg); font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .04em; }
.filters .filter-link:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.filters .filter-link[aria-current="page"] { background: var(--navy); color: #fff; box-shadow: none; }
.pager { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.pager .page-numbers { display: inline-block; min-width: 2.75rem; text-align: center; padding: .6rem .9rem; text-decoration: none; font-family: var(--display); font-weight: 800; background: var(--off); color: var(--navy); }
.pager .page-numbers.current { background: var(--navy); color: #fff; }
.pager a.page-numbers:hover { background: var(--rule); }
.art-body img, .about-text img { max-width: 100%; height: auto; }
.art-body figure { margin: 1.5rem 0; }
.art-body ul, .art-body ol { font-size: 1.125rem; line-height: 1.7; padding-left: 1.4rem; margin: 0 0 1.2em; }
.art-body a { color: var(--royal); }
.about-text p:last-child, .art-body > p:last-child { margin-bottom: 0; }
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 0; } }
