/* =========================================================
   KURS · kurskc.hr — Glavni CSS
   Dizajn: smjer „Tribina" (hi-fi)
   ========================================================= */

/* --- Design tokens --------------------------------------- */
:root {
  --font-body:  'Barlow', sans-serif;
  --font-cond:  'Barlow Semi Condensed', sans-serif;
  --font-mono:  'Space Mono', monospace;

  --c-bg:       #F4F4EE;
  --c-dark:     #111317;
  --c-dark2:    #1b1d22;
  --c-white:    #fff;
  --c-border:   #e6e6df;
  --c-muted:    #9a9a94;
  --c-text:     #111317;

  --c-kc:       #DA0F1E;
  --c-pan:      #F47B16;
  --c-gold:     #FDE206;
  --c-bronze:   #B07A1B;
  --c-win:      #1F7A43;
  --c-draw:     #c9a227;
  --c-loss:     #DA0F1E;
}

/* --- Reset / Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: #d8d6cf;   /* tamna platna boja oko boxa */
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── Container i box wrapper ────────────────────────────── */
.container {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 26px;
}

/* Sticky header — full-width, unutar 1080px sadržaj */
.site-header {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container { padding-inline: 26px; }

/* Boxed wrapper: main sadržaj + footer unutar 1080px okvira */
.site-box {
  max-width: 1080px;
  margin: 0 auto 40px;
  background: var(--c-bg);
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.site-main { min-height: 60vh; }

/* =========================================================
   TICKER
   ========================================================= */
.site-ticker {
  background: var(--c-dark);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.site-ticker__badge {
  background: var(--c-kc);
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 800;
  font-style: italic;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 5px;
}
/* Boja oznake po statusu */
.site-ticker--results   .site-ticker__badge { background: var(--c-dark); color: var(--c-gold); box-shadow: inset 0 0 0 1px #2a2c33; }
.site-ticker--upcoming  .site-ticker__badge { background: var(--c-pan); }
.site-ticker--champions .site-ticker__badge { background: var(--c-gold); color: var(--c-dark); }

.site-ticker__viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
/* Beskonačna vrtnja desno→lijevo: track je dupliciran 2× → -50% je bešavno */
.site-ticker__track {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 11px 18px;
  white-space: nowrap;
  will-change: transform;
  animation: kurs-ticker-scroll linear infinite;
}
@keyframes kurs-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.site-ticker__viewport:hover .site-ticker__track,
.site-ticker.is-paused .site-ticker__track { animation-play-state: paused; }
.site-ticker.is-static .site-ticker__track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .site-ticker__track { animation: none; } }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #e7e7e2;
  text-decoration: none;
  transition: color .15s ease;
}
.ticker-item:hover { color: #fff; }
.ticker-item__ico { font-size: 14px; }
.ticker-item__lg { color: #9a9ca4; font-weight: 700; font-size: 11px; letter-spacing: .5px; }
.ticker-item__lg.lg-lj { color: var(--c-pan); }
.ticker-item__sc { color: #fff; font-weight: 800; }
.ticker-item__dash { color: #6b6e76; margin: 0 1px; }
.ticker-item__vs { color: #6b6e76; font-style: italic; margin: 0 2px; font-size: 12px; }
.ticker-item__time { font-family: var(--font-mono); font-size: 11px; color: #9a9ca4; }
.ticker-item__note { font-family: var(--font-mono); font-size: 9px; letter-spacing: .5px; color: #fff; background: var(--c-kc); padding: 2px 7px; border-radius: 3px; }
.ticker-item--upcoming { color: #9a9ca4; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}
.site-logo img { height: 26px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Separator između skupina */
.site-nav__divider {
  width: 1px;
  height: 18px;
  background: var(--c-border);
  margin: 0 6px;
  flex-shrink: 0;
}

/* Svi linkovi — baza */
.site-nav a {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--c-muted);
  padding: 6px 11px;
  border-radius: 6px;
  position: relative;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--c-dark); background: var(--c-border); }

/* Aktivni link — podvlaka u boji */
.site-nav a[aria-current] {
  color: var(--c-dark);
  font-weight: 700;
}
.site-nav a[aria-current]::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 8px;
  right: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-dark);
}

/* Liga linkovi — pill s točkicom */
.site-nav a.nav-league {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--c-dark);
  padding: 5px 11px 5px 9px;
  border-radius: 20px;
  border: 1.5px solid var(--c-border);
  background: transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.site-nav a.nav-league:hover {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: #fff;
}
.site-nav a.nav-league:hover .nav-league__dot { opacity: 1; }

/* Aktivna liga */
.site-nav a.nav-league[aria-current] {
  font-weight: 800;
  background: transparent;
}
.site-nav a.nav-kc[aria-current] {
  border-color: var(--c-kc);
  color: var(--c-kc);
}
.site-nav a.nav-pan[aria-current] {
  border-color: var(--c-pan);
  color: var(--c-pan);
}
.site-nav a.nav-league[aria-current]::after { display: none; }

/* Točkica boje */
.nav-league__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-kc .nav-league__dot { background: var(--c-kc); }
.nav-pan .nav-league__dot { background: var(--c-pan); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: .2s; }

/* Liga dropdown (brzi pristup: Tablica / Raspored / Statistika) */
.nav-league-wrap { position: relative; display: inline-flex; }
.nav-league__caret { font-size: 10px; opacity: .65; margin-left: 1px; transition: transform .15s; }
.nav-league-wrap:hover .nav-league__caret,
.nav-league-wrap:focus-within .nav-league__caret { transform: rotate(180deg); }
.nav-dd {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 192px; background: #fff;
  border: 1px solid var(--c-border); border-radius: 10px;
  box-shadow: 0 14px 32px rgba(0,0,0,.15);
  padding: 6px; z-index: 120;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.nav-dd::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 12px; }
.nav-league-wrap:hover .nav-dd,
.nav-league-wrap:focus-within .nav-dd {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(9px);
}
.site-nav .nav-dd a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 7px;
  font-family: var(--font-cond); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--c-dark); white-space: nowrap; background: transparent;
}
.site-nav .nav-dd a::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-border); flex: none; transition: background .15s;
}
.site-nav .nav-dd a:hover { background: var(--c-bg); }
.nav-kc-wrap  .nav-dd a:hover { color: var(--c-kc); }
.nav-kc-wrap  .nav-dd a:hover::before { background: var(--c-kc); }
.nav-pan-wrap .nav-dd a:hover { color: var(--c-pan); }
.nav-pan-wrap .nav-dd a:hover::before { background: var(--c-pan); }

/* Sidro za skok iz izbornika na sadržaj lige (ispod sticky headera) */
html { scroll-behavior: smooth; }
#liga { scroll-margin-top: 80px; }

/* (site-main definiran gore u box sekciji) */

/* =========================================================
   SEARCH
   ========================================================= */
/* Uvijek otvorena tražilica u headeru (bez klika za otvaranje) */
.header-search {
  display: flex;
  align-items: center;
  background: #f1f1ea;
  border: 1px solid #e2e2da;
  border-radius: 22px;
  overflow: hidden;
  height: 38px;
  width: 230px;
  max-width: 100%;
  flex-shrink: 0;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.header-search:focus-within {
  background: var(--c-white);
  border-color: var(--c-dark);
  box-shadow: 0 0 0 3px rgba(17,19,23,.06);
}
.header-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-text);
  padding: 0 4px 0 16px;
}
.header-search__input::placeholder { color: #9a9a94; }
.header-search__btn {
  flex-shrink: 0;
  width: 40px;
  height: 100%;
  border: none;
  cursor: pointer;
  background: transparent;
  color: #8a8a84;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s;
}
.header-search:focus-within .header-search__btn,
.header-search__btn:hover { color: var(--c-kc); }
/* Mobilni gumb-ikona koji otvara tražilicu (skriven na desktopu) */
.header-search-toggle { display: none; align-items: center; justify-content: center; background: none; border: none; color: var(--c-text); cursor: pointer; padding: 6px; }
.header-search-toggle:hover { color: var(--c-kc); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* news-card placeholder stanje */
.news-card--placeholder { pointer-events: none; opacity: .45; }
.news-card--placeholder .news-card__thumb {
  background: #e7e5df;
  background-image: repeating-linear-gradient(45deg,#e7e7df 0,#e7e7df 7px,#f1f1ea 7px,#f1f1ea 14px);
}

/* =========================================================
   HOMEPAGE
   ========================================================= */
.kurs-home { padding-block: 26px; }

.kurs-hero {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}
.kurs-hero__main {
  flex: 2;
  border-radius: 6px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--c-dark2);
  text-decoration: none;
}
.hero-stripe {
  position: absolute;
  top: 0; left: 0;
  height: 5px; width: 100%;
  z-index: 3; /* iznad hero slike i gradijenta da se 3 boje vide na vrhu */
  background: linear-gradient(90deg, var(--c-kc) 0 33%, var(--c-pan) 33% 66%, var(--c-gold) 66% 100%);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,19,23,0) 35%, rgba(17,19,23,.92) 100%);
}
.kurs-hero__content { position: relative; padding: 30px; }
.hero-cat {
  display: inline-block;
  background: var(--c-kc);
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 11px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: #fff;
  font-size: 36px;
  line-height: .96;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}
.hero-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #c9cad0;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.kurs-hero__side { flex: 1; display: flex; flex-direction: column; gap: 18px; }

.league-card {
  flex: 1;
  background: var(--c-dark);
  border-radius: 6px;
  padding: 22px;
  border-bottom: 5px solid var(--c-kc);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  text-decoration: none;
  transition: opacity .15s;
}
.league-card:hover { opacity: .88; }
.league-card--pan { border-bottom-color: var(--c-pan); }
.league-card__top { display: flex; align-items: center; justify-content: space-between; }
.league-card__icon { display: flex; align-items: center; justify-content: center; }
.league-card__icon svg { height: 44px; width: auto; }
.league-card__icon img { height: 22px; width: auto; }
.league-card__type { font-family: var(--font-mono); font-size: 9px; color: #777; text-transform: uppercase; }
.league-card__name {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  color: #fff; font-size: 28px; text-transform: uppercase; line-height: .9;
}
.league-card__cta { font-family: var(--font-cond); font-weight: 600; color: #9a9ca4; font-size: 13px; text-transform: uppercase; margin-top: 6px; }

/* Section heading */
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sec-head__title {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  font-size: 21px; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.sec-head__title::before {
  content: ''; display: block; width: 5px; height: 20px;
  background: var(--c-kc); flex-shrink: 0; border-radius: 1px;
}
.sec-head__link {
  font-family: var(--font-cond); font-weight: 700; font-size: 13px;
  text-transform: uppercase; color: var(--c-muted); transition: color .15s;
}
.sec-head__link:hover { color: var(--c-text); }

/* News grid */
.news-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.news-card {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: 6px; overflow: hidden; text-decoration: none;
  transition: box-shadow .15s;
}
.news-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.news-card__thumb { aspect-ratio: 16/9; background: #e7e5df; position: relative; overflow: hidden; }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card__badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--c-dark); color: #fff;
  font-family: var(--font-cond); font-weight: 700; font-size: 10px;
  text-transform: uppercase; padding: 3px 8px; border-radius: 3px;
  border-left: 3px solid var(--c-kc);
}
.news-card__body { padding: 14px; }
.news-card__title {
  font-family: var(--font-cond); font-weight: 700; font-size: 17px;
  line-height: 1.05; text-transform: uppercase; margin-bottom: 8px;
}
.news-card__date { font-family: var(--font-mono); font-size: 10px; color: var(--c-muted); text-transform: uppercase; }


/* =========================================================
   O NAMA
   ========================================================= */
.o-nama-hero {
  background: var(--c-dark);
  padding: 56px 0 48px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.o-nama-hero::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-kc) 0%, var(--c-pan) 50%, var(--c-gold) 100%);
}
.o-nama-hero__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #55575f;
  margin-bottom: 10px;
}
.o-nama-hero__title {
  font-family: var(--font-cond);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}

/* Fotografija na O nama stranici (Gutenberg img block) */
.o-nama-content .wp-block-image {
  margin-bottom: 40px;
}
.o-nama-content .wp-block-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  display: block;
}
@media (max-width: 640px) {
  .o-nama-content .wp-block-image img { height: 220px; }
}

/* Sadržaj */
.o-nama-content {
  max-width: 780px;
  padding-bottom: 64px;
}
.o-nama-content h2 {
  font-family: var(--font-cond);
  font-size: 1.6rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: var(--c-dark);
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-kc);
}
.o-nama-content h2:first-child { margin-top: 0; }
.o-nama-content h3 {
  font-family: var(--font-cond);
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: var(--c-dark);
  margin: 32px 0 10px;
}
.o-nama-content p {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 16px;
}
.o-nama-content strong { color: var(--c-dark); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--c-dark);
  margin-top: 48px;
  color: #b0b2ba;
}

/* 3 akcent pruge na vrhu */
.site-footer__stripes {
  display: flex;
  height: 4px;
}
.site-footer__stripes span { flex: 1; }

/* Glavni grid */
.site-footer__inner {
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr) auto;
  gap: 40px;
  padding: 48px 40px 36px;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 1100px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__social-col { grid-column: auto; }
}
@media (max-width: 640px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 20px 24px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* Brand stupac */
.site-footer__logo { display: inline-block; margin-bottom: 16px; }
.site-footer__logo img { height: 28px; width: auto; opacity: .9; }
.site-footer__tagline {
  font-size: 13px;
  line-height: 1.6;
  color: #787a82;
  max-width: 260px;
  margin-bottom: 20px;
}

/* Liga indikatori */
.site-footer__leagues {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.site-footer__leagues li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #d8dae2;
}
.site-footer__league-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.site-footer__league-dot--sm { width: 7px; height: 7px; }
.site-footer__league-meta {
  color: #787a82;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}

/* Nav stupci */
.site-footer__nav-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #55575f;
  margin-bottom: 14px;
}
.site-footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.site-footer__nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: #b0b2ba;
  transition: color .15s;
}
.site-footer__nav a:hover { color: #fff; }

/* Socijalne mreže */
.site-footer__social {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.site-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid #2a2c34;
  color: #b0b2ba;
  transition: background .15s, color .15s, border-color .15s;
}
.site-footer__social-btn:hover {
  background: #fff;
  color: var(--c-dark);
  border-color: #fff;
}

/* Donji bar */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  border-top: 1px solid #1e2028;
  max-width: 1400px;
  margin: 0 auto;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #45474f;
}
.site-footer__legal {
  display: flex;
  gap: 20px;
}
.site-footer__legal a {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #45474f;
  transition: color .15s;
}
.site-footer__legal a:hover { color: #b0b2ba; }

/* =========================================================
   LEAGUE HUB (B)
   ========================================================= */
.league-banner {
  background: var(--c-dark);
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 4px solid var(--c-kc);
  position: relative; /* overflow:hidden izostavljen da se dropdown sezone ne reže */
}
.league-banner--pan { border-bottom-color: var(--c-pan); }
.league-banner__hatch {
  position: absolute; inset: 0; opacity: .35;
  background-image: repeating-linear-gradient(45deg,#1b1d22 0,#1b1d22 9px,#23252b 9px,#23252b 18px);
}
.league-banner__left { position: relative; display: flex; align-items: center; gap: 16px; }
.league-banner__icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.league-banner__icon svg { height: 54px; width: auto; }
.league-banner__icon img { height: 30px; width: auto; }
.league-banner__name {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  color: #fff; font-size: 30px; text-transform: uppercase; line-height: 1;
}
.league-banner__sub { font-family: var(--font-mono); font-size: 10px; color: #9a9ca4; letter-spacing: .5px; margin-top: 3px; }
.league-banner__final { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; padding: 3px 11px; border-radius: 20px; background: var(--c-gold); color: var(--c-dark); font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.season-select {
  position: relative;
  background: #23252b; border: 1px solid #33353d; border-radius: 6px;
  padding: 9px 32px 9px 14px;
  font-family: var(--font-cond); font-weight: 700; font-size: 14px;
  color: #e7e7e2; text-transform: uppercase; cursor: pointer; appearance: none;
}

.hub-tabs {
  background: var(--c-white); border-bottom: 1px solid var(--c-border);
  padding: 14px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.div-toggle { display: flex; border: 2px solid var(--c-dark); border-radius: 4px; overflow: hidden; }
.div-toggle a {
  font-family: var(--font-cond); font-weight: 700; font-size: 14px;
  text-transform: uppercase; padding: 8px 18px; color: var(--c-text); white-space: nowrap;
}
.div-toggle a.is-active { background: var(--c-dark); color: #fff; font-weight: 800; }
.view-tabs { display: flex; gap: 22px; }
.view-tabs a {
  font-family: var(--font-cond); font-weight: 700; font-size: 14px;
  text-transform: uppercase; color: var(--c-muted); padding-bottom: 4px; border-bottom: 3px solid transparent;
}
.view-tabs a.is-active { color: var(--c-text); font-weight: 800; border-bottom-color: var(--c-kc); }
.league-hub--pan .view-tabs a.is-active { border-bottom-color: var(--c-pan); }

.hub-body { padding: 22px 0; display: flex; gap: 20px; align-items: flex-start; }
.hub-main { flex: 1; min-width: 0; }
.hub-side { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }

/* Standings */
.standings {
  background: var(--c-white); border: 2px solid var(--c-dark);
  border-radius: 5px; overflow: hidden; margin-bottom: 20px;
}
.standings__head {
  display: grid;
  grid-template-columns: 38px 1fr 40px 40px 40px 40px 60px 54px;
  background: var(--c-dark); color: #fff;
  font-family: var(--font-cond); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .5px; padding: 10px 16px;
}
.standings__head > div:nth-child(n+3) { text-align: center; }
.standings__head > div:last-child { text-align: right; }
.standings__row {
  display: grid;
  grid-template-columns: 38px 1fr 40px 40px 40px 40px 60px 54px;
  align-items: center; padding: 9px 16px;
  font-family: var(--font-body); font-size: 14px; font-variant-numeric: tabular-nums;
  border-bottom: 1px solid #f0f0ea;
}
.standings__row:last-child { border-bottom: 0; }
.standings__row:nth-child(even) { background: #f7f7f1; }
.standings__row.playoff { border-left: 4px solid var(--c-kc); }
.standings__row--cutoff { border-bottom: 2px dashed var(--c-kc) !important; }
.standings__row > div:nth-child(n+3) { text-align: center; }
.standings__row > div:last-child { text-align: right; }
.st-pos { font-family: var(--font-cond); font-weight: 800; font-size: 17px; }
.st-club { display: flex; align-items: center; gap: 10px; }
.st-pts { font-family: var(--font-cond); font-weight: 800; font-size: 17px; text-align: right; }
.st-gd { font-family: var(--font-mono); font-size: 12px; }
.st-gd.pos { color: var(--c-win); font-weight: 600; }
.st-gd.neg { color: var(--c-muted); }
.team-badge {
  width: 26px; height: 26px; border-radius: 5px;
  background: #3a3c42; color: #fff;
  font-family: var(--font-cond); font-weight: 800; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; text-transform: uppercase; overflow: hidden;
}
.team-badge img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.standings__legend {
  display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid #edede6;
  font-family: var(--font-mono); font-size: 9.5px; color: var(--c-muted);
}
.standings__legend span { display: flex; align-items: center; gap: 6px; }
.standings__legend i { display: block; width: 8px; height: 8px; border-radius: 2px; background: var(--c-kc); font-style: normal; }
/* Pan: prolaz u playoff u boji natjecanja (narančasta), ne KC crvena */
.league-hub--pan .standings__row.playoff { border-left-color: var(--c-pan); }
.league-hub--pan .standings__row--cutoff { border-bottom-color: var(--c-pan) !important; }
.league-hub--pan .standings__legend i { background: var(--c-pan); }
.league-hub--pan .kurs-bracket__score.is-winner { color: var(--c-pan); }

/* Schedule */
.schedule { display: flex; flex-direction: column; }
.sched-round-label {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  font-size: 12px; text-transform: uppercase; color: var(--c-muted);
  padding: 14px 0 6px; letter-spacing: .5px;
}
.sched-round-label__no {
  display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 3px;
  background: var(--c-dark); color: #fff; font-style: normal; letter-spacing: .3px;
}
.sched-match {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: 5px; padding: 11px 14px;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; transition: box-shadow .12s;
  margin-bottom: 8px;
}
.sched-match:hover { box-shadow: 0 2px 8px rgba(0,0,0,.07); }
.sched-match__home { flex: 1; font-weight: 600; text-align: right; font-size: 14px; }
.sched-match__away { flex: 1; font-weight: 600; font-size: 14px; }
.sched-match__score {
  font-family: var(--font-cond); font-weight: 800; font-size: 20px;
  font-variant-numeric: tabular-nums; min-width: 60px; text-align: center;
}
.sched-match__score--vs {
  font-size: 11px; color: var(--c-muted); font-family: var(--font-mono);
  text-transform: uppercase; min-width: 60px; text-align: center;
}
.sched-match__date { font-family: var(--font-mono); font-size: 9px; color: var(--c-muted); text-align: center; }

/* Widgets */
.widget {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: 5px; padding: 16px;
}
.widget__title {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  font-size: 15px; text-transform: uppercase; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.widget__title::before {
  content: ''; display: block; width: 4px; height: 14px;
  background: var(--c-gold); flex-shrink: 0; border-radius: 1px;
}
.widget__title.red::before { background: var(--c-kc); }
.scorer-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid #f0f0ea;
}
.scorer-row:last-child { border-bottom: 0; }
.scorer-left { display: flex; align-items: center; gap: 9px; }
.scorer-badge {
  width: 22px; height: 22px; border-radius: 50%;
  background: #3a3c42; color: #fff;
  font-family: var(--font-cond); font-weight: 800; font-size: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; text-transform: uppercase;
}
.scorer-name { font-size: 13.5px; }
.scorer-goals { font-family: var(--font-cond); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.disc-boxes { display: flex; gap: 10px; }
.disc-box { flex: 1; border-radius: 4px; padding: 10px; text-align: center; }
.disc-box--y { background: #FEF7DC; border: 1px solid #efe0a8; }
.disc-box--r { background: #fdecec; border: 1px solid #f1c4c0; }
.disc-box__num { font-family: var(--font-cond); font-weight: 800; font-size: 22px; }
.disc-box--r .disc-box__num { color: var(--c-kc); }
.disc-box__lbl { font-family: var(--font-mono); font-size: 8.5px; color: #8a6d00; }
.disc-box--r .disc-box__lbl { color: #a11; }

/* =========================================================
   MATCH CENTER (C)
   ========================================================= */
.match-wrap { background: var(--c-white); border-radius: 0; overflow: hidden; }
.match-breadcrumb {
  padding: 14px 26px;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--font-mono); font-size: 10px; color: var(--c-muted);
}
.match-breadcrumb a { color: inherit; }
.match-breadcrumb a:hover { color: var(--c-text); }

.semafor {
  background: var(--c-dark); position: relative; overflow: hidden;
}
.semafor__stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--c-kc) 0 33%, var(--c-pan) 33% 66%, var(--c-gold) 66% 100%);
}
.semafor__hatch {
  position: absolute; inset: 5px 0 0 0; opacity: .35;
  background-image: repeating-linear-gradient(45deg,#1b1d22 0,#1b1d22 9px,#23252b 9px,#23252b 18px);
}
.semafor__inner {
  position: relative; padding: 34px;
  display: flex; align-items: center; justify-content: center; gap: 40px;
}
.semafor__team { text-align: center; width: 200px; }
.semafor__badge {
  width: 76px; height: 76px; border-radius: 8px;
  background: #3a3c42; color: #fff;
  font-family: var(--font-cond); font-weight: 800; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; overflow: hidden;
}
.semafor__badge img { width: 100%; height: 100%; object-fit: cover; }
.semafor__name {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  color: #fff; font-size: 22px; text-transform: uppercase;
}
.semafor__center { text-align: center; }
.semafor__score {
  font-family: var(--font-cond); font-weight: 800; color: #fff;
  font-size: 66px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: 2px;
}
.semafor__status {
  display: inline-block; font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 2px; padding: 4px 10px; border-radius: 3px; margin-top: 8px;
  text-transform: uppercase;
}
.semafor__status--done { background: var(--c-kc); color: #fff; }
.semafor__pen { margin: -2px 0 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: #c9cac4; text-transform: uppercase; }
.semafor__status--sched { background: rgba(255,255,255,.12); color: #9a9ca4; }
.semafor__date { font-family: var(--font-mono); font-size: 10px; color: #9a9ca4; margin-top: 8px; }

.match-body { display: flex; background: var(--c-white); }
.match-events { flex: 1; padding: 24px 26px; border-right: 1px solid var(--c-border); }
.match-lineups { width: 380px; flex-shrink: 0; padding: 24px 26px; }
.match-sec-title {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  font-size: 17px; text-transform: uppercase; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.match-sec-title::before { content: ''; display: block; width: 4px; height: 16px; background: var(--c-kc); flex-shrink: 0; }
.match-sec-title.dark::before { background: var(--c-dark); }

.tl-row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid #f2f2ec;
}
.tl-row:last-child { border-bottom: 0; }
.tl-min { font-family: var(--font-mono); font-size: 12px; color: var(--c-muted); width: 36px; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.tl-icon { flex-shrink: 0; }
.tl-icon--goal { width: 13px; height: 13px; border-radius: 50%; background: var(--c-dark); display: block; }
.tl-icon--yellow { width: 10px; height: 13px; border-radius: 2px; background: var(--c-gold); display: block; }
.tl-icon--red { width: 10px; height: 13px; border-radius: 2px; background: var(--c-kc); display: block; }
.tl-player { font-family: var(--font-body); font-weight: 600; font-size: 15px; }
.tl-team { font-family: var(--font-mono); font-size: 11px; color: var(--c-muted); }
.tl-empty { font-family: var(--font-mono); font-size: 11px; color: var(--c-muted); padding: 14px 0; }
.tl-half-title {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--c-kc);
  margin: 18px 0 2px; padding-bottom: 6px; border-bottom: 1px solid #ececE4;
}
.tl-half-title:first-child { margin-top: 0; }

.lineup-cols { display: flex; gap: 20px; }
.lineup-team { flex: 1; }
.lineup-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lineup-badge {
  width: 20px; height: 20px; border-radius: 4px;
  background: #3a3c42; color: #fff;
  font-family: var(--font-cond); font-weight: 800; font-size: 8px;
  display: flex; align-items: center; justify-content: center; text-transform: uppercase; overflow: hidden;
}
.lineup-badge img { width: 100%; height: 100%; object-fit: cover; }
.lineup-team-name { font-family: var(--font-cond); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.lineup-officials { margin: 0 0 10px; padding: 8px 0 0; border-top: 1px dashed #ececE4; font-family: var(--font-body); font-size: 12px; color: #444; display: flex; flex-direction: column; gap: 2px; }
.lineup-officials__role { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); margin-right: 4px; }
.lineup-player { display: flex; gap: 9px; font-size: 13.5px; color: #333; padding: 3.5px 0; }
.lineup-player a { color: inherit; text-decoration: none; }
.lineup-player a:hover { color: var(--c-kc); text-decoration: underline; }
.lineup-no { font-family: var(--font-mono); color: var(--c-muted); width: 20px; flex-shrink: 0; font-size: 12px; }

/* =========================================================
   TEAM PROFILE (E)
   ========================================================= */
.team-hero {
  background: var(--c-dark2); position: relative;
  padding: 0; min-height: 180px;
  display: flex; align-items: stretch;
  overflow: hidden;
}
.team-hero[style*="background-image"] {
  background-size: cover; background-position: center;
}
.team-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(17,19,23,.92) 50%, rgba(17,19,23,.6));
}
.team-hero__inner {
  position: relative; display: flex; align-items: center;
  gap: 24px; padding-block: 32px;
}
.team-hero__badge {
  width: 90px; height: 90px; border-radius: 10px;
  background: rgba(255,255,255,.12); flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-cond); font-weight: 800; font-size: 30px;
  color: #fff; text-transform: uppercase;
  border: 2px solid rgba(255,255,255,.2);
}
.team-hero__badge img { width: 100%; height: 100%; object-fit: cover; }
.team-hero__name {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  color: #fff; font-size: 40px; text-transform: uppercase; line-height: 1;
  margin-top: 6px;
}

/* Layout */
.team-body  { display: flex; gap: 22px; align-items: flex-start; }
.team-main  { flex: 1; min-width: 0; }
.team-side  { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; }

/* Stats strip */
.stat-strip {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px;
}
.stat-box {
  flex: 1; min-width: 80px;
  background: var(--c-dark); border-radius: 7px;
  padding: 14px 16px; text-align: center;
}
.stat-box__val {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  color: var(--c-gold); font-size: 28px; line-height: 1;
}
.stat-box__lbl {
  font-family: var(--font-mono); font-size: 8.5px;
  color: #9a9ca4; margin-top: 5px; text-transform: uppercase; letter-spacing: .04em;
}

/* Forma */
.form-bar { display: flex; gap: 6px; }
.form-box {
  flex: 1; height: 28px; border-radius: 4px; color: #fff;
  font-family: var(--font-cond); font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.form-box--W { background: var(--c-win); }
.form-box--D { background: var(--c-draw); }
.form-box--L { background: var(--c-loss); }

/* Sljedeća utakmica */
.next-match-card {
  background: var(--c-dark); border-radius: 7px; padding: 16px;
  margin-bottom: 4px;
}
.next-match-card__label {
  font-family: var(--font-mono); font-size: 9px; color: #9a9ca4;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px;
}
.next-match-card__teams {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-family: var(--font-cond); font-weight: 700;
  font-size: 16px; color: #fff; text-transform: uppercase;
}
.next-match-card__vs {
  font-family: var(--font-mono); font-size: 10px; color: var(--c-gold);
  padding: 4px 8px; background: rgba(255,255,255,.06); border-radius: 3px;
  flex-shrink: 0;
}
.next-match-card__date {
  margin-top: 10px; font-family: var(--font-mono); font-size: 9px; color: #9a9ca4;
}

/* Roster lista */
.roster-list { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.roster-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: 4px; text-decoration: none; color: var(--c-text);
  transition: background .12s;
}
.roster-row:hover { background: #eeeae2; }
.roster-row__num {
  font-family: var(--font-mono); font-size: 11px; color: var(--c-muted);
  width: 22px; text-align: center; flex-shrink: 0;
}
.roster-row__name { flex: 1; font-family: var(--font-cond); font-weight: 600; font-size: 14px; }
.roster-row__goals { font-family: var(--font-mono); font-size: 10px; color: var(--c-muted); flex-shrink: 0; }
.roster-row__pos { font-family: var(--font-mono); font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; background: var(--c-gold); color: var(--c-dark); padding: 1px 4px; border-radius: 3px; flex-shrink: 0; }

/* Stožer (trener / predstavnik) na profilu ekipe */
.team-officials { display: flex; flex-direction: column; gap: 8px; padding: 10px 0 2px; }
.team-officials__row { display: flex; flex-direction: column; gap: 1px; }
.team-officials__role { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); }
.team-officials__name { font-family: var(--font-cond); font-weight: 700; font-size: 14px; }
.team-officials__phone { font-family: var(--font-mono); font-size: 11px; color: var(--c-muted); }

/* Sponzorski baner na dnu profila ekipe */
.team-photo { margin-bottom: 20px; border-radius: 8px; overflow: hidden; border: 1px solid #e6e6df; }
.team-photo img { width: 100%; height: auto; display: block; }
.team-banner-wrap { margin: 8px auto 36px; }
.team-banner__label { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); margin-bottom: 8px; text-align: center; }
.team-banner { display: block; border-radius: 8px; overflow: hidden; border: 1px solid #e6e6df; transition: box-shadow .15s; }
.team-banner + .team-banner { margin-top: 14px; }
a.team-banner:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.team-banner img { width: 100%; height: auto; display: block; }

/* Dropdown lige/natjecanja (profil ekipe) */
.hub-select-bar { background: #fff; border-bottom: 1px solid var(--c-border); }
.hub-select-inner { display: flex; align-items: center; gap: 14px; padding-block: 12px; flex-wrap: wrap; }
.hub-select__label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); }
/* Custom dropdown lige (potpuno stiliziran — usklađen s dizajnom) */
.hub-dd { position: relative; }
.hub-dd__toggle { display: inline-flex; align-items: center; gap: 9px; min-width: 250px; max-width: 100%; background: #fff; border: 1px solid var(--c-border); border-radius: 6px; padding: 9px 12px; font-family: var(--font-cond); font-weight: 700; font-size: 14px; color: var(--c-dark); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.hub-dd__toggle:hover { border-color: #cfcfc6; }
.hub-dd.is-open .hub-dd__toggle { border-color: var(--c-dark); box-shadow: 0 0 0 3px rgba(17,19,23,.06); }
.hub-dd__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.hub-dd__current { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-dd__caret { color: var(--c-muted); font-size: 12px; transition: transform .15s; }
.hub-dd.is-open .hub-dd__caret { transform: rotate(180deg); }
.hub-dd__menu { position: absolute; top: calc(100% + 5px); left: 0; min-width: 100%; background: #fff; border: 1px solid var(--c-border); border-radius: 7px; box-shadow: 0 10px 28px rgba(0,0,0,.14); list-style: none; margin: 0; padding: 5px; z-index: 60; display: none; }
.hub-dd.is-open .hub-dd__menu { display: block; }
.hub-dd__menu li { margin: 0; }
.hub-dd__opt { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 5px; font-family: var(--font-cond); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; color: var(--c-dark); text-decoration: none; white-space: nowrap; }
.hub-dd__opt:hover { background: var(--c-bg); }
.hub-dd__opt.is-active { background: var(--c-dark); color: #fff; }
.hub-dd__opt.is-active .hub-dd__dot { box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
/* Tamna varijanta (selektor sezone na tamnom banneru lige) */
.hub-dd--season .hub-dd__toggle { background: #23252b; border-color: #33353d; color: #e7e7e2; }
.hub-dd--season .hub-dd__toggle:hover { border-color: #4a4d57; }
.hub-dd--season.is-open .hub-dd__toggle { border-color: #5a5d67; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.hub-dd--season .hub-dd__caret { color: #9a9ca4; }
.hub-dd--season .hub-dd__menu { background: #23252b; border-color: #33353d; }
.hub-dd--season .hub-dd__opt { color: #e7e7e2; }
.hub-dd--season .hub-dd__opt:hover { background: #2e3037; }
.hub-dd--season .hub-dd__opt.is-active { background: #fff; color: #111317; }

/* League hub banner — mobilno: naslov/podnaslov puna širina, dropdown ispod (puna širina) */
@media (max-width: 600px) {
  .league-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 16px; }
  .league-banner__left { width: 100%; }
  .league-banner__name { font-size: 26px; }
  .league-banner__sub { white-space: normal; }
  .hub-dd--season { width: 100%; }
  .hub-dd--season .hub-dd__toggle { width: 100%; min-width: 0; }
}

/* ═══ Traka sponzora (iznad footera) — dizajn „KURS Sponzori" ═══════════════ */
.sponsors { background: var(--c-bg); overflow: hidden; }
.sponsors__stripe { height: 4px; background: linear-gradient(90deg,var(--c-kc) 0 33%,var(--c-pan) 33% 66%,var(--c-gold) 66% 100%); }
.sponsors__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding-block: 18px 14px; flex-wrap: wrap; }
.sponsors__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-muted); margin-bottom: 5px; }
.sponsors__title { font-family: var(--font-cond); font-weight: 800; font-style: italic; font-size: 24px; line-height: .9; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.sponsors__title::before { content: ""; width: 5px; height: 20px; background: var(--c-kc); flex: none; }
.sponsors__viewport { position: relative; padding: 6px 0 22px; -webkit-mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.sponsors__track { display: flex; width: max-content; gap: 34px; padding: 0 17px; animation: kurskc-sponsors-scroll 40s linear infinite; will-change: transform; }
@keyframes kurskc-sponsors-scroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.sponsors:hover .sponsors__track, .sponsors.is-paused .sponsors__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .sponsors__track { animation: none; } }

.sp-item { flex: none; text-decoration: none; color: inherit; }
.sp-logo { display: inline-flex; align-items: center; }
.sp-logo img { width: auto; max-width: 100%; object-fit: contain; display: block; filter: grayscale(1) opacity(.62); transition: filter .35s ease; }
.sp-txt { display: flex; align-items: center; gap: 11px; filter: grayscale(1) opacity(.62); transition: filter .35s ease; }
.sp-item:hover .sp-logo img, .sp-item:hover .sp-txt { filter: grayscale(0) opacity(1); }
.sp-txt__abbr { display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-cond); font-weight: 800; border-radius: 8px; flex: none; line-height: 1; }
.sp-txt__name { display: block; font-family: var(--font-cond); font-weight: 800; text-transform: uppercase; letter-spacing: .3px; line-height: 1; color: var(--c-dark); }
.sp-txt__sub { display: block; font-family: var(--font-mono); font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-muted); margin-top: 3px; }

/* Razina 3 — obični logo (zasivljen) */
.sp-t3 { display: flex; align-items: center; height: 104px; padding: 0 6px; transition: transform .35s ease; }
.sp-t3:hover { transform: translateY(-2px); }
.sp-t3 .sp-logo img { height: 58px; }
.sp-t3 .sp-txt__abbr { width: 32px; height: 32px; font-size: 14px; }
.sp-t3 .sp-txt__name { font-size: 17px; }

/* Razina 2 — srebrni partner (kartica) */
.sp-t2 { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; height: 104px; min-width: 188px; padding: 0 18px; border-radius: 11px; background: #fff; border: 1px solid var(--c-border); box-shadow: 0 3px 12px rgba(0,0,0,.05); transition: transform .35s, box-shadow .35s; }
.sp-t2:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.sp-t2__tag { font-family: var(--font-mono); font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-muted); display: flex; align-items: center; gap: 5px; }
.sp-t2__tag i { width: 6px; height: 6px; border-radius: 50%; background: #b9bcc4; }
.sp-t2 .sp-logo img { height: 56px; }
.sp-t2 .sp-txt__abbr { width: 38px; height: 38px; font-size: 16px; border-radius: 9px; }
.sp-t2 .sp-txt__name { font-size: 20px; line-height: .9; }
.sp-t2 .sp-txt__sub { display: none; }

/* Razina 1 — glavni pokrovitelj (zlatna istaknuta kartica, uvijek u boji) */
.sp-t1 { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; height: 104px; min-width: 266px; padding: 0 20px; border-radius: 13px; background: #fff; overflow: hidden; border: 1.5px solid var(--c-gold); animation: kurskc-sp-pulse 2.8s ease-in-out infinite; transition: transform .35s; }
.sp-t1:hover { transform: translateY(-3px) scale(1.015); }
.sp-t1__stripe { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,var(--c-kc) 0 33%,var(--c-pan) 33% 66%,var(--c-gold) 66% 100%); }
.sp-t1__shine { position: absolute; top: 0; bottom: 0; left: 0; width: 64px; z-index: 2; pointer-events: none; overflow: hidden; }
.sp-t1__shine::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg,transparent,rgba(255,255,255,.6),transparent); transform: translateX(-140%) skewX(-18deg); animation: kurskc-sp-shimmer 3.6s ease-in-out infinite; }
.sp-t1__tag { position: relative; z-index: 1; display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 1.5px; text-transform: uppercase; color: #B07A1B; font-weight: 700; }
.sp-star { animation: kurskc-sp-crown 2.8s ease-in-out infinite; display: inline-block; }
.sp-t1__body { position: relative; z-index: 1; }
.sp-t1 .sp-logo img { height: 64px; }
.sp-t1 .sp-txt__abbr { width: 50px; height: 50px; font-size: 21px; border-radius: 11px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.sp-t1 .sp-txt__name { font-size: 27px; line-height: .86; }
.sp-t1 .sp-txt__sub { display: none; }
@keyframes kurskc-sp-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(253,226,6,0), 0 8px 22px rgba(0,0,0,.14); } 50% { box-shadow: 0 0 0 4px rgba(253,226,6,.40), 0 12px 30px rgba(253,226,6,.30); } }
@keyframes kurskc-sp-shimmer { 0% { transform: translateX(-140%) skewX(-18deg); } 55%,100% { transform: translateX(360%) skewX(-18deg); } }
@keyframes kurskc-sp-crown { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

/* Postani sponzor */
.sponsors__cta { display: flex; align-items: center; justify-content: center; gap: 14px; padding-bottom: 20px; }
.sponsors__cta-line { height: 1px; flex: 1; background: var(--c-border); }
.sponsors__cta-txt { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--c-muted); }
.sponsors__cta-btn { font-family: var(--font-cond); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: #fff; background: var(--c-kc); padding: 7px 15px; border-radius: 5px; text-decoration: none; white-space: nowrap; transition: background .15s; }
.sponsors__cta-btn:hover { background: #b50d18; }

@media (max-width: 600px) {
  .sponsors__title { font-size: 19px; }
  .sponsors__hint { display: none; }
  .sponsors__track { gap: 22px; }
  .sp-t3 { height: 92px; } .sp-t3 .sp-logo img { height: 46px; } .sp-t3 .sp-txt__abbr { width: 26px; height: 26px; font-size: 12px; } .sp-t3 .sp-txt__name { font-size: 14px; }
  .sp-t2 { height: 92px; min-width: 150px; padding: 12px 16px; gap: 5px; } .sp-t2 .sp-logo img { height: 42px; }
  .sp-t1 { height: 92px; min-width: 210px; padding: 14px 18px; gap: 5px; } .sp-t1 .sp-logo img { height: 42px; } .sp-t1 .sp-txt__name { font-size: 19px; }
  .sp-t1__tag, .sp-t2__tag { font-size: 8px; }
  .sponsors__cta { gap: 10px; } .sponsors__cta-txt { font-size: 9px; }
}

/* Statistika ekipe (prosjeci + razdioba po poluvremenu) */
.team-stats { margin-bottom: 20px; }
.team-stats__sub { font-family: var(--font-mono); font-size: 9px; font-weight: 400; color: var(--c-muted); text-transform: uppercase; margin-left: 6px; }
.ts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.ts-box { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 8px; padding: 12px 6px; text-align: center; }
.ts-box__val { font-family: var(--font-cond); font-weight: 800; font-style: italic; font-size: 26px; line-height: 1; color: var(--c-dark); }
.ts-box__lbl { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; color: var(--c-muted); margin-top: 5px; letter-spacing: .02em; }
.ts-box--gf .ts-box__val { color: var(--c-win); }
.ts-box--ga .ts-box__val { color: var(--c-loss); }
.ts-box--fl .ts-box__val { color: var(--c-pan); }
.ts-box--yc .ts-box__val { color: var(--c-draw); }
.ts-note { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; color: var(--c-muted); text-align: right; margin-top: 4px; }
.ts-halves { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--c-border); }
.ts-halves__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 8px; flex-wrap: wrap; }
.ts-halves__title { font-family: var(--font-cond); font-weight: 800; font-size: 13px; text-transform: uppercase; }
.ts-halves__leg { font-family: var(--font-mono); font-size: 9px; color: var(--c-muted); display: flex; align-items: center; gap: 4px; }
.ts-leg { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.ts-leg--1 { background: var(--c-dark); }
.ts-leg--2 { background: #c9c9c0; }
.ts-hrow { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 10px; margin-bottom: 7px; }
.ts-hrow__lbl { font-family: var(--font-cond); font-weight: 600; font-size: 12px; color: var(--c-muted); }
.ts-hbar { display: flex; height: 22px; border-radius: 5px; overflow: hidden; background: #ededE6; font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.ts-hbar__1, .ts-hbar__2 { display: flex; align-items: center; justify-content: center; min-width: 0; transition: width .3s; }
.ts-hbar__1 { background: var(--c-dark); color: #fff; }
.ts-hbar__2 { background: #c9c9c0; color: var(--c-dark); }
.ts-extra { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-border); font-family: var(--font-mono); font-size: 11px; color: var(--c-muted); }
.ts-extra strong { color: var(--c-dark); font-weight: 700; }
@media (max-width: 480px) { .ts-grid { grid-template-columns: repeat(2, 1fr); } }

/* Stara grid kartica (za moguće buduće upotrebe) */
.roster-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.player-card {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: 6px; padding: 12px;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; transition: box-shadow .12s;
}
.player-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.player-card__photo {
  width: 42px; height: 42px; border-radius: 6px;
  background: #e7e5df; flex-shrink: 0; overflow: hidden;
}
.player-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.player-card__no { font-family: var(--font-cond); font-weight: 800; font-size: 18px; color: var(--c-win); line-height: 1; }
.player-card__name { font-family: var(--font-cond); font-weight: 700; font-size: 14px; text-transform: uppercase; line-height: 1; }
.player-card__meta { font-family: var(--font-mono); font-size: 9px; color: var(--c-muted); margin-top: 3px; }

/* =========================================================
   PLAYER PROFILE (F)
   ========================================================= */
.player-hero {
  background: var(--c-dark); position: relative;
  min-height: 160px; overflow: hidden;
}
.player-hero[style*="background-image"] {
  background-size: cover; background-position: top center;
}
.player-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(17,19,23,.94) 55%, rgba(17,19,23,.6));
}
.player-hero__inner {
  position: relative; display: flex; align-items: center;
  gap: 24px; padding-block: 30px;
}
.player-hero__photo {
  width: 110px; height: 110px; border-radius: 10px;
  background: rgba(255,255,255,.1); flex-shrink: 0; overflow: hidden;
  border: 2px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-cond); font-weight: 800; font-size: 34px;
  color: #fff; text-transform: uppercase;
}
.player-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.player-hero__info { flex: 1; }
.player-hero__team {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; color: #9a9ca4;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px;
  text-decoration: none;
}
.player-hero__team:hover { color: #ccc; }
.player-hero__jersey {
  background: rgba(255,255,255,.1); border-radius: 3px; padding: 1px 5px;
  font-family: var(--font-mono); font-size: 9px; color: var(--c-gold);
}
.player-hero__pos {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 4px;
}
.player-hero__name {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  color: #fff; font-size: 44px; text-transform: uppercase; line-height: .95;
}
.player-hero__stats {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; flex-wrap: wrap;
  font-family: var(--font-cond); font-size: 14px; color: #9a9ca4;
}
.player-hero__stat span { font-weight: 700; color: #fff; font-size: 20px; margin-right: 3px; }
.player-hero__sep { color: rgba(255,255,255,.2); }

/* Player body layout */
.player-body { display: flex; gap: 22px; align-items: flex-start; }
.player-main { flex: 1; min-width: 0; }
.player-side { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; }

/* Career table */
.career-table-wrap { overflow-x: auto; margin-top: 6px; }
.career-table {
  width: 100%; border-collapse: collapse;
  border: 2px solid var(--c-dark); border-radius: 5px; overflow: hidden;
}
.career-table thead tr { background: var(--c-dark); }
.career-table th {
  padding: 10px 14px; text-align: left; color: #fff;
  font-family: var(--font-cond); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .5px;
}
.career-table th:nth-child(n+4) { text-align: center; }
.career-table td { padding: 10px 12px; font-size: 13.5px; font-variant-numeric: tabular-nums; border-bottom: 1px solid #f0f0ea; }
.career-table td:nth-child(n+4) { text-align: center; }
.career-table tr:last-child td { border-bottom: 0; }
.career-row--season-start td { border-top: 2px solid var(--c-border); }
.career-row--subtotal td { background: #f7f5ee; font-size: 12px; }
.career-total td {
  padding: 11px 12px; font-family: var(--font-cond); font-weight: 700;
  font-size: 14px; background: var(--c-dark); color: #fff;
}
.career-num { font-family: var(--font-mono); font-size: 13px; }
.career-num--goals { font-family: var(--font-cond); font-weight: 800; font-size: 15px; color: var(--c-kc); }
.career-badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  color: #fff; padding: 2px 5px; border-radius: 3px; margin-right: 6px;
  vertical-align: middle; min-width: 28px; text-align: center;
}
.career-div { display: flex; align-items: center; }
.career-div__name { font-size: 13px; }
.career-season { font-family: var(--font-mono); font-size: 10px; color: var(--c-muted); white-space: nowrap; }
.career-team a { color: var(--c-text); text-decoration: none; font-weight: 600; }
.career-team a:hover { text-decoration: underline; }

.season-badge {
  display: inline-block; font-family: var(--font-cond); font-weight: 700;
  font-size: 11px; text-transform: uppercase; padding: 2px 8px; border-radius: 3px;
}
.season-badge--kc  { background: #fdecec; color: var(--c-kc); border: 1px solid #f1c4c0; }
.season-badge--pan { background: #fdf0e3; color: #b3590c; border: 1px solid #f0cba1; }
.season-badge--bez { background: #f7eedd; color: #8a6314; border: 1px solid #e1cda0; }
.goals-td { font-family: var(--font-cond); font-weight: 800; font-size: 15px; }

/* Nedavni događaji (sidebar igrača) */
.event-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px; border-radius: 5px; text-decoration: none; color: var(--c-text);
  border-bottom: 1px solid var(--c-border); transition: background .12s;
}
.event-row:last-child { border-bottom: 0; }
.event-row:hover { background: #eeeae2; }
.event-row__icon { font-size: 18px; flex-shrink: 0; line-height: 1.2; }
.event-row__label { font-family: var(--font-cond); font-weight: 700; font-size: 13px; }
.event-row__match { font-family: var(--font-mono); font-size: 9px; color: var(--c-muted); margin-top: 2px; }
.event-row__date  { font-family: var(--font-mono); font-size: 9px; color: var(--c-muted); }

/* =========================================================
   SINGLE VIJEST
   ========================================================= */
.article-wrap { max-width: 760px; margin-inline: auto; padding-block: 30px; }
.article-meta { font-family: var(--font-mono); font-size: 10px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.article-title {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  font-size: 38px; text-transform: uppercase; line-height: .96;
  letter-spacing: -.5px; margin-bottom: 18px;
}
.article-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; margin-bottom: 22px; }
.article-body { font-size: 16px; line-height: 1.7; }
.article-body p { margin-bottom: 1.2em; }
.article-body h2 {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  font-size: 24px; text-transform: uppercase; margin: 1.6em 0 .5em;
}

/* =========================================================
   PAGE GENERIC
   ========================================================= */
.page-body { padding-block: 26px; }
.page-body .entry-content p { margin-bottom: 1em; }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.kurs-bc {
  padding: 14px 26px;
  font-family: var(--font-mono); font-size: 10px; color: var(--c-muted);
  display: flex; align-items: center; gap: 6px;
}
.kurs-bc a { color: inherit; }
.kurs-bc a:hover { color: var(--c-text); }
.kurs-bc__sep { opacity: .4; }

/* Empty state */
.kurs-empty {
  text-align: center; padding: 40px 20px;
  font-family: var(--font-mono); font-size: 12px; color: var(--c-muted);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hub-body { flex-direction: column; }
  .hub-side { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .widget { flex: 1; min-width: 200px; }
  .roster-grid { grid-template-columns: 1fr 1fr; }
  .team-body, .player-body { flex-direction: column; }
  .team-side, .player-side { width: 100%; }
  .kurs-hero, .hero { flex-direction: column; }
  .kurs-hero__main { min-height: 240px; }
  .kurs-hero__side { flex-direction: row; }
  .stat-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .match-body { flex-direction: column; }
  .match-lineups { width: 100%; }
  .semafor__inner { gap: 20px; padding: 20px; }
  .semafor__score { font-size: 46px; }
  .team-hero__inner { flex-wrap: wrap; }
  .player-hero__inner { flex-wrap: wrap; }
  .player-hero__name { font-size: 32px; }
}

/* Zaglavlje na tabletu: izbornik (~560px) + tražilica (230px) ne stanu u red
   ispod ~1080px → tražilica postaje ikona; ispod 880px i izbornik ide u hamburger */
@media (max-width: 1080px) {
  .site-header .container { position: relative; }
  .header-search-toggle { display: flex; margin-left: auto; }
  .header-search { display: none; }
  .site-header.search-open .header-search {
    display: flex; position: absolute; top: calc(100% + 8px); right: 26px; width: 340px;
    z-index: 150; box-shadow: 0 12px 28px rgba(0,0,0,.16); background: var(--c-white);
  }
}
@media (max-width: 880px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; background: var(--c-white);
    padding: 80px 26px 26px; z-index: 200; gap: 8px; overflow-y: auto;
  }
  .site-nav.is-open a { font-size: 20px; }
  .site-nav.is-open .site-nav__divider { width: 100%; height: 1px; margin: 6px 0; }
  .nav-toggle { display: flex; z-index: 201; }
  .nav-league-wrap { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-league__caret { display: none; }
  .nav-dd {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: none; background: transparent;
    padding: 2px 0 6px 20px; min-width: 0;
  }
  .nav-league-wrap:hover .nav-dd, .nav-league-wrap:focus-within .nav-dd { transform: none; }
  .site-nav.is-open .nav-dd a { font-size: 15px; }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; background: var(--c-white);
    padding: 80px 26px 26px; z-index: 200; gap: 8px;
  }
  .site-nav.is-open a { font-size: 20px; }
  .nav-toggle { display: flex; z-index: 201; }
  /* Tražilica → ikona koja otvara panel ispod headera (ne zauzima drugi red) */
  .site-header .container { position: relative; }
  .header-search-toggle { display: flex; margin-left: auto; }
  .header-search { display: none; }
  .site-header.search-open .header-search {
    display: flex; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
    width: auto; margin: 0; height: 42px; z-index: 150; box-shadow: 0 12px 28px rgba(0,0,0,.16);
  }
  /* Liga dropdown → statički, indentirani pod-linkovi u mobilnom izborniku */
  .nav-league-wrap { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-league__caret { display: none; }
  .nav-dd {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: none; background: transparent;
    padding: 2px 0 6px 20px; min-width: 0;
  }
  .site-nav.is-open .nav-dd a { font-size: 15px; }
  .news-grid { grid-template-columns: 1fr; }
  .kurs-hero__side, .hero__side { flex-direction: column; }
  .semafor__team { width: 80px; }
  .semafor__badge { width: 44px; height: 44px; font-size: 16px; }
  .semafor__score { font-size: 36px; }
  .semafor__name { font-size: 14px; }
  .roster-grid { grid-template-columns: 1fr; }
  .hub-tabs { gap: 10px; }
  .player-hero__name { font-size: 30px; }
  .article-title { font-size: 26px; }
  .site-ticker__track { gap: 16px; padding: 10px 14px; }
  .site-ticker__badge { font-size: 11px; padding: 0 12px; }
  .standings__head, .standings__row {
    grid-template-columns: 28px 1fr 34px 34px 34px 34px 50px 44px;
    font-size: 11px; padding-inline: 10px;
  }
  .semafor__inner { padding: 16px 14px; }
  .match-events, .match-lineups { padding: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   VIJESTI / BLOG — feed, pojedinačni članak, widgeti, bracket, galerija
   ═══════════════════════════════════════════════════════════════════════════ */

/* Brand "tick" marker */
.tick { display:inline-block; width:5px; height:18px; background:var(--c-dark); border-radius:1px; flex:none; }
.tick--red { background:var(--c-kc); }
.tick--gold { background:var(--c-gold); }
.tick--dark { background:var(--c-dark); }
.tick--kc { background:var(--c-kc); }
.tick--lg { width:6px; height:34px; }

/* ── Feed ─────────────────────────────────────────────────────────────────── */
.kc-feed { padding-block: 24px 40px; }
.kc-feed__title { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:16px; }
.kc-feed__kicker { font-family:var(--font-mono); font-size:10px; letter-spacing:1px; text-transform:uppercase; color:var(--c-muted); margin-bottom:6px; }
.kc-feed__h { font-family:var(--font-cond); font-weight:800; font-style:italic; font-size:40px; line-height:.92; letter-spacing:-.5px; text-transform:uppercase; display:flex; align-items:center; gap:12px; margin:0; }
.kc-feed__count { font-family:var(--font-mono); font-size:11px; color:var(--c-muted); white-space:nowrap; text-transform:uppercase; }

.kc-chips { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-bottom:18px; }
.kc-chip { background:#fff; border:1px solid #e2e2da; font-family:var(--font-cond); font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.5px; color:#52555c; padding:7px 14px; border-radius:4px; text-decoration:none; transition:.15s; }
.kc-chip:hover { border-color:var(--c-dark); color:var(--c-dark); }
.kc-chip.is-active { background:var(--c-dark); color:#fff; border-color:var(--c-dark); }

.kc-lead-row { display:flex; gap:20px; margin-bottom:24px; }
.kc-feature { flex:2; background:#fff; border:1px solid var(--c-border); border-radius:7px; overflow:hidden; display:flex; flex-direction:column; text-decoration:none; color:inherit; transition:box-shadow .15s; }
.kc-feature:hover { box-shadow:0 6px 22px rgba(0,0,0,.10); }
.kc-feature__img { position:relative; height:300px; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; background:var(--c-dark2); }
.kc-feature__img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.kc-feature__stripe { position:absolute; top:0; left:0; right:0; height:5px; z-index:2; background:linear-gradient(90deg,var(--c-kc) 0 33%,var(--c-pan) 33% 66%,var(--c-gold) 66% 100%); }
.kc-feature__scrim { position:absolute; inset:0; background:linear-gradient(180deg,rgba(17,19,23,0) 38%,rgba(17,19,23,.92) 100%); }
.kc-feature__chip { position:absolute; top:18px; left:18px; z-index:3; color:#fff; font-family:var(--font-cond); font-weight:800; font-size:11px; text-transform:uppercase; letter-spacing:1px; padding:4px 11px; border-radius:3px; }
.kc-feature__text { position:relative; z-index:2; padding:26px; }
.kc-feature__title { font-family:var(--font-cond); font-weight:800; font-style:italic; text-transform:uppercase; color:#fff; font-size:32px; line-height:.98; letter-spacing:-.3px; margin:0 0 10px; max-width:560px; }
.kc-feature__meta { font-family:var(--font-mono); font-size:11px; color:#c9cad0; letter-spacing:.5px; }
.kc-feature__excerpt { padding:18px 20px; border-top:1px solid #f0f0ea; }
.kc-feature__excerpt p { margin:0; font-size:15px; line-height:1.6; color:#3c3e45; }
.kc-rail { flex:1; display:flex; flex-direction:column; gap:14px; min-width:0; }

.kc-section-head { border-top:1px solid var(--c-border); padding-top:18px; margin-bottom:16px; }
.kc-section-h2 { font-family:var(--font-cond); font-weight:800; font-style:italic; font-size:20px; text-transform:uppercase; display:flex; align-items:center; gap:10px; margin:0; }

.kc-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }

/* news-card (proširenje za feed) */
.news-card { background:#fff; border:1px solid var(--c-border); border-radius:6px; overflow:hidden; display:flex; flex-direction:column; text-decoration:none; color:inherit; transition:transform .15s ease, box-shadow .15s ease, border-color .15s; }
.news-card:hover { transform:translateY(-2px); box-shadow:0 6px 22px rgba(0,0,0,.10); border-color:#d8d8cf; }
.news-card__thumb { position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--c-bg); }
.news-card__thumb img { width:100%; height:100%; object-fit:cover; transition:transform .2s; }
.news-card:hover .news-card__thumb img { transform:scale(1.03); }
.news-card__badge { position:absolute; top:10px; left:10px; background:var(--c-dark); color:#fff; font-family:var(--font-cond); font-weight:700; font-size:10px; text-transform:uppercase; padding:3px 8px; border-radius:3px; border-left:3px solid var(--c-kc); }
.news-card__body { padding:14px; }
.news-card__title { font-family:var(--font-cond); font-weight:700; font-size:18px; line-height:1.05; text-transform:uppercase; margin:0 0 8px; color:var(--c-dark); }
.news-card__excerpt { margin:0 0 10px; font-size:13.5px; line-height:1.5; color:#52555c; }
.news-card__meta { font-family:var(--font-mono); font-size:10px; color:var(--c-muted); text-transform:uppercase; }

/* Paginacija */
.kc-pagination { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:24px; flex-wrap:wrap; }
.kc-pagination .page-numbers { display:flex; align-items:center; justify-content:center; min-width:36px; height:36px; padding:0 6px; border-radius:5px; border:1px solid #e2e2da; background:#fff; font-family:var(--font-cond); font-weight:700; font-size:15px; color:#52555c; text-decoration:none; }
.kc-pagination .page-numbers.current { background:var(--c-dark); color:#fff; border-color:var(--c-dark); font-weight:800; }
.kc-pagination .page-numbers.dots { border:none; background:none; font-family:var(--font-mono); color:var(--c-muted); }
.kc-pagination a.page-numbers:hover { border-color:var(--c-dark); color:var(--c-dark); }

/* ── Sidebar widgeti ──────────────────────────────────────────────────────── */
.news-widget { border-radius:7px; }
.news-widget--card { background:#fff; border:1px solid var(--c-border); }
.news-widget--dark { background:var(--c-dark); border-bottom:4px solid var(--c-gold); }
.news-widget--topstand { overflow:hidden; }
.news-widget__embed { padding:8px 10px 12px; overflow-x:auto; }
.news-widget__embed .standings { font-size:12px; min-width:260px; }
.news-widget__embed .standings-title { margin:10px 0 6px; font-size:13px; }
.news-widget__embed .standings__head, .news-widget__embed .standings__row { padding-inline:8px; }
.news-widget__hd { font-family:var(--font-cond); font-weight:800; font-style:italic; font-size:15px; text-transform:uppercase; display:flex; align-items:center; gap:8px; padding:16px 16px 10px; }
.news-widget--dark .news-widget__hd { color:#fff; font-size:17px; padding:18px 18px 12px; }
.news-widget__hd--bar { background:var(--c-dark); color:#fff; padding:12px 14px; font-size:14px; }
.news-widget__rows { padding:0 0 6px; }
.news-widget--dark .news-widget__rows { padding:0 18px 16px; }
.news-widget--mostread.news-widget--card .news-widget__rows { padding:0 16px 14px; }

.nw-mr { display:flex; gap:12px; align-items:flex-start; padding:11px 16px; text-decoration:none; border-top:1px solid #f0f0ea; }
.news-widget--dark .nw-mr { border-top-color:#2a2c33; padding:13px 0; }
.news-widget--card .nw-mr { padding:11px 0; }
.nw-mr:first-child { border-top:none; }
.nw-mr__rank { font-family:var(--font-cond); font-weight:800; font-style:italic; font-size:22px; line-height:.9; width:20px; flex:none; color:#bcbcb4; }
.news-widget--dark .nw-mr__rank { color:#52555c; font-size:26px; width:24px; }
.nw-mr__rank.is-first { color:var(--c-kc); }
.nw-mr__title { font-family:var(--font-cond); font-weight:700; font-size:13.5px; line-height:1.1; text-transform:uppercase; color:var(--c-dark); }
.news-widget--dark .nw-mr__title { color:#fff; font-size:14.5px; }

.news-widget--league { display:block; padding:16px; border-bottom:4px solid var(--c-kc); text-decoration:none; }
.nw-league__kicker { display:block; font-family:var(--font-mono); font-size:9px; text-transform:uppercase; color:var(--c-muted); margin-bottom:8px; }
.nw-league__title { display:block; font-family:var(--font-cond); font-weight:800; font-style:italic; font-size:18px; text-transform:uppercase; line-height:1; color:var(--c-dark); margin-bottom:4px; }
.nw-league__cta { display:block; font-family:var(--font-cond); font-weight:600; font-size:13px; text-transform:uppercase; color:#52555c; }

.nw-st { display:flex; align-items:center; gap:10px; padding:8px 14px; border-top:1px solid #f0f0ea; text-decoration:none; color:inherit; font-size:13.5px; }
.nw-st:first-child { border-top:none; }
.nw-st__rank { font-family:var(--font-cond); font-weight:800; width:14px; }
.nw-st__crest { flex:none; }
.nw-st__name { flex:1; font-weight:600; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nw-st__pts { font-family:var(--font-cond); font-weight:800; }

/* ── Pojedinačni članak ───────────────────────────────────────────────────── */
.article { background:#fff; border:1px solid var(--c-border); border-radius:8px; overflow:hidden; margin-block:24px; }
.article-hero { position:relative; background:var(--c-dark); overflow:hidden; }
.article-hero__stripe { height:5px; background:linear-gradient(90deg,var(--c-kc) 0 33%,var(--c-pan) 33% 66%,var(--c-gold) 66% 100%); }
.article-hero__inner { padding:34px 40px 30px; max-width:780px; }
.article-hero__badge { display:inline-block; color:#fff; font-family:var(--font-cond); font-weight:800; font-size:11px; text-transform:uppercase; letter-spacing:1px; padding:4px 11px; border-radius:3px; margin-bottom:16px; }
.article-hero__title { font-family:var(--font-cond); font-weight:800; font-style:italic; text-transform:uppercase; color:#fff; font-size:46px; line-height:.94; letter-spacing:-.5px; margin:0 0 16px; }
.article-hero__lede { font-family:var(--font-body); font-weight:500; font-size:18px; line-height:1.5; color:#c9cad0; margin:0 0 22px; }
.article-hero__meta { display:flex; gap:16px; align-items:center; }
.article-author { display:flex; gap:10px; align-items:center; }
.article-author__ava { width:36px; height:36px; border-radius:50%; border:2px solid rgba(255,255,255,.18); }
.article-author__name { display:block; font-family:var(--font-cond); font-weight:700; font-size:14px; text-transform:uppercase; color:#fff; }
.article-author__sub { display:block; font-family:var(--font-mono); font-size:10px; color:#9a9ca4; }
.article-share { margin-left:auto; display:flex; gap:8px; }
.article-share__btn { width:34px; height:34px; border-radius:5px; background:rgba(255,255,255,.10); color:#fff; display:flex; align-items:center; justify-content:center; border:none; cursor:pointer; font-family:var(--font-cond); font-weight:800; font-size:14px; text-decoration:none; }
.article-share__btn:hover { background:rgba(255,255,255,.2); }
/* Kopiraj poveznicu — povratna indikacija "Kopirano!" */
.article-share__btn[data-copy-link] { position:relative; transition:background .15s, color .15s; }
.article-share__btn[data-copy-link]::after {
  content:'Kopirano!'; position:absolute; bottom:calc(100% + 8px); left:50%;
  transform:translateX(-50%) translateY(4px);
  background:var(--c-dark); color:#fff; font-family:var(--font-mono); font-weight:700;
  font-size:10px; text-transform:uppercase; letter-spacing:.04em;
  padding:5px 9px; border-radius:5px; white-space:nowrap;
  opacity:0; pointer-events:none; transition:opacity .15s, transform .15s; z-index:5;
}
.article-share__btn[data-copy-link].is-copied { background:var(--c-gold); color:var(--c-dark); }
.article-share__btn[data-copy-link].is-copied::after { opacity:1; transform:translateX(-50%) translateY(0); }

.article-lead { margin:0; position:relative; border-bottom:1px solid var(--c-border); background:var(--c-bg); }
.article-lead img { display:block; width:100%; height:auto; max-height:480px; object-fit:cover; }
.article-lead__cap { position:absolute; left:0; right:0; bottom:0; background:linear-gradient(180deg,rgba(17,19,23,0),rgba(17,19,23,.55)); padding:24px 40px 14px; font-family:var(--font-mono); font-size:11px; color:#f0f0ea; }

.article-layout { padding:32px 40px; display:flex; gap:40px; align-items:flex-start; }
.article-body { flex:1; min-width:0; max-width:640px; }
.article-side { width:280px; flex:none; display:flex; flex-direction:column; gap:16px; }

.article-body p { margin:0 0 18px; font-size:17px; line-height:1.75; color:#2a2c30; }
.article-body h2, .article-h2 { font-family:var(--font-cond); font-weight:800; font-style:italic; font-size:26px; text-transform:uppercase; margin:30px 0 14px; display:flex; align-items:center; gap:10px; }
.article-body h2::before { content:""; width:5px; height:22px; background:var(--c-kc); border-radius:1px; flex:none; }
.article-h2 .h2-tick { width:5px; height:22px; background:var(--c-kc); border-radius:1px; flex:none; display:inline-block; }
.article-body h3 { font-family:var(--font-cond); font-weight:800; font-size:20px; text-transform:uppercase; margin:22px 0 10px; }
.article-body blockquote { margin:24px 0; padding:6px 0 6px 22px; border-left:5px solid var(--c-kc); font-family:var(--font-cond); font-weight:700; font-style:italic; font-size:25px; line-height:1.15; color:var(--c-dark); }
.article-body ul, .article-body ol { margin:0 0 18px 22px; font-size:17px; line-height:1.75; color:#2a2c30; }
.article-body img { max-width:100%; height:auto; border-radius:6px; }
.article-body a { color:var(--c-kc); }

.article-tags { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-top:26px; padding-top:20px; border-top:1px solid var(--c-border); }
.article-tags__label { font-family:var(--font-mono); font-size:10px; color:var(--c-muted); text-transform:uppercase; }
.article-tag { font-family:var(--font-cond); font-weight:700; font-size:12px; text-transform:uppercase; background:#fff; border:1px solid #e2e2da; border-radius:20px; padding:5px 13px; color:#52555c; text-decoration:none; }
.article-tag:hover { border-color:var(--c-dark); color:var(--c-dark); }

.author-box { margin-top:22px; background:#fff; border:1px solid var(--c-border); border-left:4px solid var(--c-dark); border-radius:7px; padding:18px; display:flex; gap:16px; align-items:center; }
.author-box__ava { width:54px; height:54px; border-radius:50%; flex:none; }
.author-box__kicker { display:block; font-family:var(--font-mono); font-size:9px; color:var(--c-muted); text-transform:uppercase; margin-bottom:3px; }
.author-box__name { display:block; font-family:var(--font-cond); font-weight:800; font-size:18px; text-transform:uppercase; }
.author-box__bio { font-size:13px; color:#52555c; line-height:1.4; margin-top:2px; }

.related { background:#fff; border-top:1px solid var(--c-border); padding:26px 40px; }
.related__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.related-card { border:1px solid var(--c-border); border-radius:6px; overflow:hidden; text-decoration:none; color:inherit; display:block; transition:box-shadow .15s, transform .15s; }
.related-card:hover { transform:translateY(-2px); box-shadow:0 4px 14px rgba(0,0,0,.08); }
.related-card__thumb { position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--c-bg); }
.related-card__thumb img { width:100%; height:100%; object-fit:cover; }
.related-card__badge { position:absolute; top:9px; left:9px; background:var(--c-dark); color:#fff; font-family:var(--font-cond); font-weight:700; font-size:9px; text-transform:uppercase; padding:3px 7px; border-radius:3px; border-left:3px solid var(--c-kc); }
.related-card__body { padding:13px; }
.related-card__title { font-family:var(--font-cond); font-weight:700; font-size:16px; line-height:1.05; text-transform:uppercase; margin:0 0 6px; }
.related-card__date { font-family:var(--font-mono); font-size:9.5px; color:var(--c-muted); text-transform:uppercase; }

/* Ugradnja (tablica/bracket u objavi) */
.post-embed { margin:26px 0; }
.post-embed__more { margin: 6px 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.post-embed__more a { color: var(--c-kc); text-decoration: none; }
.standings-title { font-family:var(--font-cond); font-weight:800; font-style:italic; font-size:16px; text-transform:uppercase; margin:0 0 8px; color:var(--c-muted); }

/* Galerija (2 stupca + lightbox) */
.post-gallery { margin:26px 0 0; }
.post-gallery__grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.post-gallery__item { display:block; border-radius:6px; overflow:hidden; border:1px solid var(--c-border); aspect-ratio:16/10; }
.post-gallery__item img { width:100%; height:100%; object-fit:cover; transition:transform .2s; }
.post-gallery__item:hover img { transform:scale(1.04); }

.kc-lightbox { position:fixed; inset:0; z-index:9999; background:rgba(17,19,23,.92); display:flex; align-items:center; justify-content:center; flex-direction:column; padding:30px; opacity:0; visibility:hidden; transition:opacity .2s; }
.kc-lightbox.is-open { opacity:1; visibility:visible; }
.kc-lightbox img { max-width:92vw; max-height:82vh; object-fit:contain; border-radius:4px; }
.kc-lightbox__cap { color:#f0f0ea; font-family:var(--font-mono); font-size:12px; margin-top:14px; text-align:center; max-width:80vw; }
.kc-lightbox__close { position:absolute; top:18px; right:24px; background:none; border:none; color:#fff; font-size:34px; line-height:1; cursor:pointer; }
.kc-lightbox__nav { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.12); border:none; color:#fff; width:48px; height:48px; border-radius:50%; font-size:24px; cursor:pointer; }
.kc-lightbox__nav:hover { background:rgba(255,255,255,.25); }
.kc-lightbox__nav--prev { left:20px; } .kc-lightbox__nav--next { right:20px; }

/* Playoff bracket (portano iz admina za frontend) */
.kurs-bracket { display:flex; gap:24px; overflow-x:auto; padding:8px 0 16px; }
.kurs-bracket__round { min-width:220px; display:flex; flex-direction:column; }
.kurs-bracket__round-label { font-family:var(--font-cond); font-weight:800; font-style:italic; text-transform:uppercase; font-size:14px; margin-bottom:12px; color:var(--c-dark); }
.kurs-bracket__matches { display:flex; flex-direction:column; gap:14px; justify-content:space-around; flex:1; }
.kurs-bracket__match { background:#fff; border:1px solid var(--c-border); border-radius:7px; padding:8px; text-decoration:none; color:inherit; display:block; }
.kurs-bracket__match.is-finished { border-color:#d8d8cf; }
.kurs-bracket__team { display:flex; align-items:center; gap:8px; padding:5px 4px; }
.kurs-bracket__team + .kurs-bracket__team { border-top:1px solid #f0f0ea; }
.kurs-bracket__team.is-winner { font-weight:700; }
.kurs-bracket__team-badge { flex:none; }
.kurs-bracket__tbd { width:22px; height:22px; border-radius:50%; background:#eee; color:#999; display:flex; align-items:center; justify-content:center; font-size:12px; }
.kurs-bracket__team-name { flex:1; font-size:13px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kurs-bracket__score { font-family:var(--font-cond); font-weight:800; font-size:15px; min-width:18px; text-align:center; }
.kurs-bracket__score.is-winner { color:var(--c-kc); }
.kurs-bracket__meta { display:flex; justify-content:space-between; gap:6px; margin-top:6px; padding-top:6px; border-top:1px solid #f0f0ea; font-family:var(--font-mono); font-size:9px; color:var(--c-muted); text-transform:uppercase; }
.kurs-bracket__pen { font-weight: 700; color: var(--c-dark); }

/* ── Vijesti/članak — responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .kc-lead-row { flex-direction:column; }
  .article-layout { flex-direction:column; padding:24px; }
  .article-side { width:100%; }
  .kc-grid, .related__grid { grid-template-columns:1fr 1fr; }
  .kc-feed__h { font-size:32px; }
  .article-hero__title { font-size:34px; }
}
@media (max-width: 600px) {
  .kc-grid, .related__grid { grid-template-columns:1fr; }
  .kc-feed__title { flex-direction:column; align-items:flex-start; gap:6px; }
  .kc-feed__h { font-size:27px; }
  .kc-feed__count { font-size:10px; }
  .kc-feature__img { height:210px; }
  .kc-feature__title { font-size:21px; }
  .article-hero__inner { padding:24px 18px; }
  .article-hero__title { font-size:28px; }
  .article-hero__lede { font-size:16px; }
  .article-layout { padding:20px 16px; gap:24px; }
  .article-lead__cap { padding:18px 16px 12px; }
  .related { padding:20px 16px; }
  .article-body p, .article-body ul, .article-body ol { font-size:16px; }
}

/* ═══ PROFIL IGRAČA (F) ═══════════════════════════════════════════════════ */
.pf { background:#F4F4EE; border-radius:8px; overflow:hidden; box-shadow:0 6px 22px rgba(0,0,0,.08); margin-block:24px; }
.pf-crumb { background:#fff; border-bottom:1px solid var(--c-border); padding:14px 26px; font-family:var(--font-mono); font-size:10px; color:var(--c-muted); }
.pf-crumb a { color:var(--c-muted); text-decoration:none; }
.pf-crumb a:hover { color:var(--c-dark); }

.pf-hero { background:var(--c-dark); padding:28px 30px; display:flex; align-items:center; gap:26px; position:relative; overflow:hidden; border-bottom:4px solid var(--c-kc); }
.pf-hero__tex { position:absolute; inset:0; opacity:.4; background-image:repeating-linear-gradient(45deg,#1b1d22 0,#1b1d22 9px,#23252b 9px,#23252b 18px); }
.pf-photo { position:relative; width:110px; height:110px; border-radius:10px; flex:none; border:3px solid rgba(255,255,255,.15); overflow:hidden; background-image:repeating-linear-gradient(45deg,#e7e7df 0,#e7e7df 7px,#f1f1ea 7px,#f1f1ea 14px); }
.pf-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.pf-hero__info { position:relative; flex:1; min-width:0; }
.pf-kicker { font-family:var(--font-mono); font-size:10px; color:#9a9ca4; letter-spacing:1px; margin-bottom:4px; text-transform:uppercase; }
.pf-name { font-family:var(--font-cond); font-weight:800; font-style:italic; color:#fff; font-size:42px; text-transform:uppercase; line-height:.95; margin:0; }
.pf-team { display:flex; align-items:center; gap:9px; margin-top:12px; flex-wrap:wrap; }
.pf-team a { display:flex; align-items:center; gap:9px; text-decoration:none; }
.pf-crest { border-radius:4px; flex:none; overflow:hidden; display:inline-flex; align-items:center; justify-content:center; font-family:var(--font-cond); font-weight:800; line-height:1; }
.pf-team__name { font-family:var(--font-cond); font-weight:700; color:#e7e7e2; font-size:15px; text-transform:uppercase; }
.pf-age { font-family:var(--font-mono); font-size:10px; color:#9a9ca4; }
.pf-hero__stats { position:relative; display:flex; gap:14px; text-align:center; flex:none; }
.pf-stat { background:rgba(255,255,255,.08); border-radius:6px; padding:12px 16px; }
.pf-stat__num { font-family:var(--font-cond); font-weight:800; font-size:30px; line-height:1; color:#fff; }
.pf-stat__num--gold { color:var(--c-gold); }
.pf-stat__lbl { font-family:var(--font-mono); font-size:8.5px; color:#9a9ca4; margin-top:4px; text-transform:uppercase; }

.pf-section { padding:24px 26px 30px; }
.pf-sec-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; gap:12px; flex-wrap:wrap; }
.pf-sec-title { font-family:var(--font-cond); font-weight:800; font-style:italic; font-size:18px; text-transform:uppercase; display:flex; align-items:center; gap:8px; }
.pf-sec-title::before { content:""; width:4px; height:16px; background:var(--c-kc); flex:none; }
.pf-legend { display:flex; gap:10px; flex-wrap:wrap; }
.pf-legend span { display:flex; align-items:center; gap:5px; font-family:var(--font-mono); font-size:9px; color:#777; }
.pf-legend i { width:9px; height:9px; border-radius:2px; display:inline-block; }

.pf-table-wrap { overflow-x:auto; }
.pf-table { border:2px solid var(--c-dark); border-radius:5px; overflow:hidden; min-width:660px; }
.pf-row { display:grid; grid-template-columns:90px 1fr 180px 60px 56px 56px 56px; align-items:center; }
.pf-row--head { background:var(--c-dark); color:#fff; font-family:var(--font-cond); font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.5px; padding:10px 16px; }
.pf-row--data { padding:11px 16px; font-family:var(--font-body); font-size:14px; font-variant-numeric:tabular-nums; border-bottom:1px solid #f0f0ea; }
.pf-row--data:last-child { border-bottom:none; }
.pf-row--cont { background:#faf6ee; border-bottom:2px solid #ece8df; }
.pf-head-c, .pf-c--mut, .pf-gol { text-align:center; }
.pf-c--mut { color:#555; }
.pf-season { font-family:var(--font-cond); font-weight:700; }
.pf-season--mut { color:#9a8a66; }
.pf-team-cell { min-width:0; }
.pf-team-cell a { display:flex; align-items:center; gap:8px; text-decoration:none; color:inherit; }
.pf-team-cell a span { font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pf-team-cell a:hover span { color:var(--c-kc); }
.pf-gol { font-family:var(--font-cond); font-weight:800; font-size:15px; }
.pf-chip { display:inline-block; font-family:var(--font-cond); font-weight:700; font-size:11px; text-transform:uppercase; padding:2px 8px; border-radius:3px; border:1px solid; white-space:nowrap; }
.pf-note { margin-top:10px; background:#FDF1D6; border:1px solid #e7d09a; border-radius:4px; padding:8px 12px; font-family:var(--font-mono); font-size:10px; color:#8a6d00; line-height:1.5; }

@media (max-width:680px) {
  .pf-hero { flex-wrap:wrap; gap:18px; padding:22px 18px; }
  .pf-photo { width:84px; height:84px; }
  .pf-name { font-size:30px; }
  .pf-hero__info { flex-basis:calc(100% - 110px); }
  .pf-hero__stats { width:100%; }
  .pf-stat { flex:1; }
  .pf-section { padding:18px 16px 24px; }
  .pf-crumb { padding:12px 16px; }
}

/* ===========================================================
   Statična stranica (Gutenberg sadržaj) — npr. Kontakt
   =========================================================== */
.page-content { padding: 32px 0 64px; }
.page-content .entry-header { margin-bottom: 24px; }
.page-content .entry-title {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  font-size: clamp(34px, 6vw, 54px); line-height: .95; text-transform: uppercase;
  letter-spacing: -.5px; color: var(--c-dark); margin: 0;
}
.page-content .entry-title::after {
  content: ''; display: block; width: 64px; height: 4px; border-radius: 2px;
  background: var(--c-kc); margin-top: 14px;
}
.page-content .entry-content { max-width: 840px; }
.page-content .entry-content > *:first-child { margin-top: 0; }
.page-content .entry-content h2 {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  font-size: 26px; text-transform: uppercase; letter-spacing: -.2px;
  color: var(--c-dark); margin: 40px 0 12px; line-height: 1.05;
}
.page-content .entry-content h3 {
  font-family: var(--font-cond); font-weight: 800; font-style: italic;
  font-size: 20px; text-transform: uppercase; color: var(--c-dark); margin: 0 0 4px;
}
.page-content .entry-content p { font-size: 15.5px; line-height: 1.65; color: var(--c-text); margin: 0 0 1em; }
.page-content .entry-content a { color: var(--c-kc); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(218,15,30,.28); transition: border-color .15s; }
.page-content .entry-content a:hover { border-bottom-color: var(--c-kc); }
.page-content .entry-content .wp-block-image { margin: 0 0 26px; }
.page-content .entry-content .wp-block-image img { border-radius: 10px; width: 100%; height: auto; }
.page-content .entry-content .wp-block-separator { border: 0; height: 1px; background: var(--c-border); max-width: 100%; margin: 32px 0; opacity: 1; }

/* Kartice */
.page-content .kc-card {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: 12px;
  padding: 22px 24px; margin: 0 0 18px; box-shadow: 0 4px 18px rgba(0,0,0,.045);
}
.page-content .kc-card--primary { border-left: 4px solid var(--c-kc); }
.page-content .kc-card--winter { border-top: 4px solid var(--c-kc); height: 100%; margin: 0; }
.page-content .kc-card--summer { border-top: 4px solid var(--c-pan); height: 100%; margin: 0; }
.page-content .kc-role { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); margin: 0 0 14px; }
.page-content .kc-contact-list { list-style: none; margin: 0; padding: 0; }
.page-content .kc-contact-list li { padding: 8px 0; border-bottom: 1px dashed var(--c-border); font-size: 15px; line-height: 1.5; }
.page-content .kc-contact-list li:last-child { border-bottom: 0; }
.page-content .kc-note {
  background: #fffbe9; border: 1px solid #f3e3a0; border-left: 3px solid var(--c-gold);
  border-radius: 8px; padding: 14px 16px; font-size: 13.5px; font-style: italic;
  color: #6b5e2a; margin: 16px 0 0; line-height: 1.6;
}
.page-content .kc-locations { gap: 18px; }
.page-content .kc-social.wp-block-buttons { gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.page-content .kc-social .wp-block-button__link {
  background: var(--c-dark); color: #fff; border-radius: 26px;
  font-family: var(--font-cond); font-weight: 700; font-style: italic; text-transform: uppercase;
  letter-spacing: .02em; padding: 12px 22px; font-size: 14px;
}
.page-content .kc-social .wp-block-button__link:hover { background: var(--c-kc); }
@media (max-width: 600px) { .page-content { padding: 22px 0 44px; } .page-content .kc-card { padding: 18px 18px; } }

/* ═══════════════════════════════════════════════════════════════════════════
   LIGA HUB — „Po kolima" (rezultati, ljestvica i strijelci nakon N. kola)
   ═══════════════════════════════════════════════════════════════════════════ */
.round-nav {
  display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: 6px;
  scroll-margin-top: 90px;
}
.round-nav__arrow {
  flex: none; width: 34px; height: 34px; border-radius: 4px; display: flex; align-items: center; justify-content: center;
  background: var(--c-bg); color: var(--c-dark); font-size: 24px; line-height: 1; text-decoration: none; transition: background .12s, color .12s;
}
a.round-nav__arrow:hover { background: var(--c-dark); color: #fff; }
.round-nav__arrow.is-disabled { opacity: .3; }
.round-nav__pills { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding: 2px 0; }
.round-pill {
  flex: none; min-width: 40px; height: 34px; padding: 0 10px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; position: relative;
  font-family: var(--font-cond); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums;
  color: var(--c-dark); background: var(--c-bg); text-decoration: none; border: 1px solid transparent;
  transition: background .12s, color .12s;
}
.round-pill:hover { background: #e6e6dd; }
.round-pill--upcoming { background: transparent; color: var(--c-muted); border: 1px dashed var(--c-border); font-weight: 700; }
.round-pill--partial::after {
  content: ""; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold);
}
.round-pill--playoff { font-style: italic; text-transform: uppercase; font-size: 13px; background: var(--c-gold); }
.round-pill--playoff:hover { background: #f2d600; }
.round-pill.is-active { background: var(--c-dark); color: #fff; border-color: var(--c-dark); box-shadow: inset 0 -3px 0 var(--c-kc); }
.league-hub--pan .round-pill.is-active { box-shadow: inset 0 -3px 0 var(--c-pan); }

.round-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--c-dark);
}
.round-head__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-muted); }
.round-head__title {
  font-family: var(--font-cond); font-weight: 800; font-style: italic; font-size: 40px; line-height: .95;
  text-transform: uppercase; letter-spacing: -.5px; margin: 3px 0 0; color: var(--c-dark);
}
.round-head__date { font-family: var(--font-mono); font-size: 11px; color: var(--c-muted); margin-top: 6px; }
.round-head__media {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 4px;
  background: var(--c-dark); color: #fff; text-decoration: none;
  font-family: var(--font-cond); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .3px;
  transition: background .12s;
}
.round-head__media span { background: var(--c-gold); color: var(--c-dark); font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 3px; }
.round-head__media:hover { background: var(--c-kc); }
.league-hub--pan .round-head__media:hover { background: var(--c-pan); }

.round-sec { margin: 0 0 28px; }
.round-sec__title {
  display: flex; align-items: center; gap: 9px; margin: 0 0 10px;
  font-family: var(--font-cond); font-weight: 800; font-style: italic; font-size: 17px; text-transform: uppercase; color: var(--c-dark);
}
.round-sec__title::before { content: ""; width: 5px; height: 17px; border-radius: 1px; background: var(--c-kc); flex: none; }
.league-hub--pan .round-sec__title::before { background: var(--c-pan); }
.round-note { font-family: var(--font-mono); font-size: 10.5px; color: var(--c-muted); margin: -10px 0 18px; line-height: 1.5; }
.hub-main > .round-note { margin-top: 0; }

/* Rezultati kola */
.round-results { display: flex; flex-direction: column; gap: 8px; }
.round-results__group {
  display: flex; align-items: baseline; gap: 10px; margin: 8px 0 0;
  font-family: var(--font-cond); font-weight: 800; font-style: italic; font-size: 14px; text-transform: uppercase; color: var(--c-dark);
}
.round-results__group:first-child { margin-top: 0; }
.round-results__group em { font-family: var(--font-mono); font-style: normal; font-weight: 400; font-size: 10px; color: var(--c-muted); text-transform: none; }
.rr-match {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px 14px;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: 5px; padding: 11px 14px;
  text-decoration: none; color: inherit; transition: box-shadow .12s, border-color .12s;
}
.rr-match:hover { box-shadow: 0 2px 8px rgba(0,0,0,.07); border-color: #d6d6cc; }
.rr-match__team { display: flex; align-items: center; gap: 9px; min-width: 0; font-weight: 600; font-size: 14px; line-height: 1.2; }
.rr-match__team--home { justify-content: flex-end; text-align: right; }
.rr-match__name { min-width: 0; overflow-wrap: anywhere; }
.rr-match__score {
  min-width: 66px; padding: 4px 10px; border-radius: 4px; text-align: center;
  background: var(--c-dark); color: #fff;
  font-family: var(--font-cond); font-weight: 800; font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums;
}
.rr-match__score i { font-style: normal; opacity: .5; margin: 0 3px; }
.rr-match__score--tbd { background: transparent; color: var(--c-muted); border: 1px dashed var(--c-border); font-family: var(--font-mono); font-size: 12px; font-weight: 400; padding: 7px 8px; }
.rr-match__scorers { display: contents; }
.rr-match__sc { font-size: 12px; line-height: 1.35; color: #5b5e66; }
.rr-match__sc--home { grid-column: 1; text-align: right; }
.rr-match__sc--away { grid-column: 3; }
.rr-match__note { grid-column: 1 / -1; text-align: center; font-family: var(--font-mono); font-size: 9.5px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .3px; }
.rr-bye { font-family: var(--font-mono); font-size: 10px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .3px; padding: 2px 4px; }
.rr-bye strong { color: var(--c-dark); font-weight: 700; }

/* Pomak na ljestvici u odnosu na prethodno kolo */
.st-move { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; line-height: 1; margin-top: 2px; letter-spacing: -.3px; }
.st-move--up { color: var(--c-win); }
.st-move--down { color: var(--c-kc); }
.st-move--same { color: #b9bbb3; }

/* Strijelci nakon kola, grupirani po broju golova */
.round-scorers { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 5px; overflow: hidden; }
.rs-row { display: flex; align-items: flex-start; gap: 14px; padding: 10px 14px; border-bottom: 1px solid #f0f0ea; }
.rs-row:last-child { border-bottom: 0; }
.rs-goals {
  flex: none; width: 38px; height: 30px; border-radius: 4px; display: flex; align-items: center; justify-content: center;
  background: var(--c-dark); color: #fff; font-family: var(--font-cond); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums;
}
.rs-row:first-child .rs-goals { background: var(--c-gold); color: var(--c-dark); }
.rs-row--own .rs-goals, .rs-row--own:first-child .rs-goals { background: var(--c-bg); color: var(--c-muted); font-size: 12px; }
.rs-names { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 5px; min-width: 0; }
.rs-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.rs-name em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--c-muted); }

/* Mobitel: glavni stupac huba mora biti širok koliko ekran (s flex-start je
   rastao do min-content širine tablice i izlazio preko ruba) */
@media (max-width: 900px) { .hub-body { align-items: stretch; } }
@media (max-width: 600px) {
  .standings__head, .standings__row { grid-template-columns: 26px minmax(0, 1fr) 24px 24px 24px 24px 42px 30px; padding-inline: 8px; }
  .st-club { gap: 7px; min-width: 0; }
  .st-club span { overflow-wrap: anywhere; line-height: 1.2; }
  .st-gd { font-size: 10.5px; }
  .hub-tabs { padding: 12px 16px; }
  .view-tabs { gap: 16px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .view-tabs a { white-space: nowrap; }
  .round-head__title { font-size: 32px; }
  .round-head__media { width: 100%; justify-content: center; }
  .rr-match { padding: 10px; gap: 6px 8px; }
  .rr-match__team { font-size: 13px; gap: 6px; }
  .rr-match__team > div { display: none !important; } /* grbovi ekipa — na mobitelu mjesto za duga imena */
  .rr-match__score { min-width: 54px; font-size: 19px; padding: 4px 6px; }
  .rr-match__sc { font-size: 11px; }
  .rs-row { gap: 10px; padding: 9px 10px; }
  .rs-name { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ZA MEDIJE — paket rezultata kola za druge portale (page-za-medije.php)
   ═══════════════════════════════════════════════════════════════════════════ */
.media-hero { position: relative; background: var(--c-dark); color: #fff; overflow: hidden; border-bottom: 4px solid var(--c-gold); }
.media-hero__inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-block: 38px 34px; }
.media-hero__kicker {
  display: flex; align-items: center; gap: 9px; margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--c-gold);
}
.media-hero__title {
  font-family: var(--font-cond); font-weight: 800; font-style: italic; font-size: 52px; line-height: .92;
  letter-spacing: -.8px; text-transform: uppercase; margin: 0; color: #fff;
}
.media-hero__lede { max-width: 560px; margin: 14px 0 0; font-size: 15.5px; line-height: 1.55; color: #c4c6cc; }
.media-hero__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: none; }
.media-hero__steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #e4e5e1; }
.media-hero__steps b {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--c-gold); color: var(--c-dark); font-family: var(--font-cond); font-weight: 800; font-size: 15px;
}

.media-body { padding-block: 24px 48px; scroll-margin-top: 80px; }
.media-picker {
  display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 0 0 22px; padding: 14px 16px;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: 6px;
}
.media-picker__comp a { display: inline-flex; align-items: center; gap: 7px; }
.media-picker__comp svg { flex: none; }
.media-picker__field { display: flex; flex-direction: column; gap: 4px; min-width: 180px; }
.media-picker__field--round { flex: 1; min-width: 240px; max-width: 420px; }
.media-picker__field span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .6px; text-transform: uppercase; color: var(--c-muted); }
.media-picker__field select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 40px; padding: 0 34px 0 12px; border-radius: 4px;
  border: 2px solid var(--c-dark); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111317' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-family: var(--font-cond); font-weight: 700; font-size: 15px; color: var(--c-dark); cursor: pointer;
}
.media-picker__field select:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 1px; }

.media-layout { display: flex; gap: 24px; align-items: flex-start; }
.media-main { flex: 1; min-width: 0; }
.media-actions { width: 320px; flex: none; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; }

.media-tabs { display: flex; gap: 4px; margin: 0 0 -1px; position: relative; z-index: 1; }
.media-tabs button {
  border: 1px solid transparent; border-bottom: 0; background: transparent; cursor: pointer; border-radius: 6px 6px 0 0;
  padding: 10px 16px; font-family: var(--font-cond); font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--c-muted);
}
.media-tabs button:hover { color: var(--c-dark); }
.media-tabs button.is-active { background: #e9e9e1; border-color: var(--c-border); color: var(--c-dark); font-weight: 800; }
.media-panel { background: #e9e9e1; border: 1px solid var(--c-border); border-radius: 0 6px 6px 6px; padding: 22px; }
.media-paper { overflow-x: auto; }
.media-paper > div { box-shadow: 0 10px 30px rgba(17,19,23,.12); }
.media-flag { margin: 0 0 14px; padding: 10px 14px; border-radius: 4px; background: #fff8cc; border-left: 4px solid var(--c-gold); font-size: 13.5px; }
.media-pre {
  margin: 0; padding: 18px 20px; background: #fff; border-radius: 4px; max-height: 720px; overflow: auto;
  font-family: var(--font-mono); font-size: 12px; line-height: 1.6; white-space: pre-wrap; color: var(--c-dark);
}
.media-code {
  display: block; width: 100%; min-height: 360px; resize: vertical; padding: 14px; border-radius: 4px; border: 1px solid var(--c-border);
  font-family: var(--font-mono); font-size: 11px; line-height: 1.5; color: #3b3e45; background: #fff; word-break: break-all;
}

.media-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 6px; padding: 18px; }
.media-card__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-muted); }
.media-card__title { font-family: var(--font-cond); font-weight: 800; font-style: italic; font-size: 24px; line-height: 1.05; text-transform: uppercase; margin-top: 4px; }
.media-card__meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--c-muted); margin: 4px 0 16px; }
.media-card__h { font-family: var(--font-cond); font-weight: 800; font-style: italic; font-size: 17px; text-transform: uppercase; margin: 0 0 10px; }
.media-card--note { background: #fffbe9; border-color: #f3e3a0; border-left: 4px solid var(--c-gold); }
.media-card--note p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.55; color: #5d5530; }
.media-card--note p:last-child { margin: 0; }

.media-btn {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 10px 14px;
  border: 2px solid var(--c-dark); border-radius: 4px; background: #fff; color: var(--c-dark); cursor: pointer;
  font-family: var(--font-cond); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .2px;
  transition: background .12s, color .12s, border-color .12s;
}
.media-btn:hover { background: var(--c-dark); color: #fff; }
.media-btn:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; }
.media-btn--primary { background: var(--c-kc); border-color: var(--c-kc); color: #fff; }
.media-btn--primary:hover { background: #b50c18; border-color: #b50c18; }
.league-hub--pan .media-btn--primary { background: var(--c-pan); border-color: var(--c-pan); }
.league-hub--pan .media-btn--primary:hover { background: #d9690f; border-color: #d9690f; }
.media-btn--small { min-height: 36px; font-size: 12.5px; padding: 6px 10px; border-width: 1px; }
.media-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.media-btn__done { display: none; }
.media-btn.is-done { background: var(--c-win); border-color: var(--c-win); color: #fff; }
.media-btn.is-done .media-btn__label { display: none; }
.media-btn.is-done .media-btn__done { display: inline; }
.media-btn.is-failed { border-color: var(--c-kc); color: var(--c-kc); background: #fff; }
.media-btn.is-busy { opacity: .6; pointer-events: none; }
.media-btn.is-busy::after {
  content: ""; width: 14px; height: 14px; margin-left: 10px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: media-spin .7s linear infinite;
}
@keyframes media-spin { to { transform: rotate(360deg); } }
.media-hint { margin: 6px 0 14px; font-size: 12.5px; line-height: 1.45; color: var(--c-muted); }
.media-hint:last-child { margin-bottom: 0; }
.media-hint b { color: var(--c-text); font-weight: 600; }
.media-howto { margin: 0 0 10px; padding-left: 20px; font-size: 13.5px; line-height: 1.55; }
.media-howto li { margin-bottom: 6px; }

/* PNG izvori — fiksne širine (680px), izvan ekrana; html-to-image ih crta preko kopije */
.media-png-src { position: absolute; left: -10000px; top: 0; width: 680px; pointer-events: none; }
.media-png-card { width: 680px; background: #fff; padding: 0; }
.media-png-card > div { margin: 0 !important; }

@media (max-width: 980px) {
  .media-layout { flex-direction: column-reverse; align-items: stretch; }
  .media-actions { width: 100%; position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .media-hero__inner { flex-direction: column; align-items: flex-start; }
  .media-hero__steps { flex-direction: row; flex-wrap: wrap; gap: 10px 18px; }
}
@media (max-width: 600px) {
  .media-hero__inner { padding-block: 26px 24px; gap: 20px; }
  .media-hero__title { font-size: 36px; }
  .media-hero__lede { font-size: 14.5px; }
  .media-picker { padding: 12px; }
  .media-picker__comp { width: 100%; }
  .media-picker__comp a { flex: 1; justify-content: center; padding-inline: 8px; }
  .media-picker__field, .media-picker__field--round { min-width: 0; flex: 1 1 100%; max-width: none; }
  .media-panel { padding: 10px; }
  .media-tabs button { padding: 9px 11px; font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NASLOVNICA — „Iz lige" (zadnje odigrano kolo po ligi)
   ═══════════════════════════════════════════════════════════════════════════ */
.home-rounds { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
.home-rounds--single { grid-template-columns: 1fr; }
.home-rounds--single .home-round__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.home-round {
  --tone: var(--c-kc);
  background: var(--c-white); border: 1px solid var(--c-border); border-top: 4px solid var(--tone);
  border-radius: 6px; display: flex; flex-direction: column; overflow: hidden;
}
.home-round--lbb { --tone: var(--c-bronze); }
.home-round--pan { --tone: var(--c-pan); }
.home-round__head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px 12px; text-decoration: none; color: inherit;
  border-bottom: 1px solid #f0f0ea;
}
.home-round__icon { flex: none; display: flex; }
.home-round__title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.home-round__league { font-family: var(--font-cond); font-weight: 800; font-style: italic; font-size: 21px; line-height: 1; text-transform: uppercase; color: var(--c-dark); }
.home-round__meta { font-family: var(--font-mono); font-size: 10px; color: var(--c-muted); margin-top: 4px; }
.home-round__badge {
  flex: none; font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px; background: var(--tone); color: #fff;
}
.home-round__list { padding: 4px 16px; flex: 1; }
.hr-match {
  display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid #f3f3ed; text-decoration: none; color: var(--c-text); font-size: 14px;
}
.hr-match:last-child { border-bottom: 0; }
.home-rounds--single .hr-match:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.hr-match:hover .hr-match__team { color: var(--c-dark); text-decoration: underline; text-decoration-color: var(--c-border); text-underline-offset: 3px; }
.hr-match__team { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4a4d55; }
.hr-match__team--away { text-align: left; }
.hr-match__team.is-win { color: var(--c-dark); font-weight: 700; }
.hr-match__score {
  text-align: center; font-family: var(--font-cond); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums;
  background: var(--c-dark); color: #fff; border-radius: 4px; padding: 2px 0;
}
.hr-match__score--tbd { background: transparent; color: var(--c-muted); border: 1px dashed var(--c-border); font-family: var(--font-mono); font-size: 11px; font-weight: 400; padding: 3px 0; }
.home-round__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px;
  background: #fafaf6; border-top: 1px solid #f0f0ea; font-size: 13px; color: var(--c-muted);
}
.home-round__foot b { color: var(--c-dark); font-weight: 700; }
.home-round__foot a { flex: none; font-family: var(--font-cond); font-weight: 800; font-size: 13px; text-transform: uppercase; color: var(--tone); text-decoration: none; }
.home-round__foot a:hover { text-decoration: underline; }
.home-round__next { padding: 0 16px 11px; background: #fafaf6; font-family: var(--font-mono); font-size: 10px; color: var(--c-muted); margin-top: -4px; }
.home-round__next b { color: var(--c-text); }
@media (max-width: 900px) {
  .home-rounds { grid-template-columns: 1fr; }
  .home-rounds--single .home-round__list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-round__list { padding: 2px 12px; }
  .hr-match { font-size: 13px; gap: 8px; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); }
  .home-round__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
}
