/*
Theme Name: HK Vojvodina
Description: Tema za sajt Hokejaškog kluba Vojvodina. Zahteva dodatak HKV Klub.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
Author: HK Vojvodina
Text Domain: hkv
*/

/* Outfit, SIL Open Font License 1.1 – fajlovi su u temi (assets/fonts). */
@font-face {
	font-family: Outfit; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url(assets/fonts/outfit-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: Outfit; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url(assets/fonts/outfit-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--red: #e3262d;
	--red-d: #c41c22;
	--ink: #0d0f12;
	--ink-2: #16191e;
	--ink-3: #22262d;
	--ice: #f3f5f8;
	--line: #e3e7ec;
	--muted: #5a626d;
	--muted-d: #a7aeb8;
	--white: #fff;
	--r: 18px;
	--r-sm: 12px;
	--shadow: 0 1px 2px rgba(13, 15, 18, .05), 0 12px 32px rgba(13, 15, 18, .08);
	--wrap: 1200px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--head: Outfit, var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--ink); background: var(--white); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, iframe, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--red-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 18px; }
.wrap--narrow { max-width: 800px; }

.kicker { font: 700 13px/1 var(--head); text-transform: uppercase; letter-spacing: .16em; color: var(--red); margin: 0 0 14px; }
.badge { display: inline-block; font: 700 11px/1 var(--head); text-transform: uppercase; letter-spacing: .12em; background: var(--red); color: var(--white); padding: 6px 10px; border-radius: 999px; margin: 0 0 12px; }

/* Dugmad */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--red); color: var(--white);
	font: 600 16px/1 var(--head); letter-spacing: .01em; text-decoration: none; padding: 15px 26px; border-radius: 999px; cursor: pointer; min-height: 48px;
	transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 8px 24px rgba(227, 38, 45, .28);
}
.btn:hover { background: var(--red-d); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .1); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn--light { background: var(--white); color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Zaglavlje */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 15, 18, .86); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; padding-block: 8px; }
.logo:hover { color: var(--white); }
.logo__img { height: 48px; width: auto; }
.logo__txt { font: 800 20px/1 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.logo__txt span { color: var(--red); }

.nav-toggle { background: rgba(255, 255, 255, .08); border: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; height: 2px; width: 20px; background: var(--white); border-radius: 2px; position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); padding: 8px 18px 28px; max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow: auto; }
.nav.is-open { display: block; }
.nav__list, .nav__list ul { list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 14px 4px; color: var(--white); text-decoration: none; font: 600 20px/1.2 var(--head); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav__list ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav__list ul a { padding: 9px 14px; font-size: 15px; font-weight: 500; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; }
.nav__list .menu-item-has-children > a { border-bottom: 0; padding-bottom: 4px; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_parent > a, .nav__list .current-page-ancestor > a { color: var(--red); }

.social { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--white); border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .2s; }
.social a:hover { background: var(--red); color: var(--white); }
.social--nav { margin-top: 20px; }
.social--dark a { color: var(--ink); background: var(--ice); }
.social--dark a:hover { color: var(--white); }

@media (min-width: 1140px) {
	.nav-toggle { display: none; }
	.nav { display: flex; align-items: center; gap: 16px; position: static; padding: 0; overflow: visible; max-height: none; background: none; }
	.nav__list { display: flex; gap: 2px; }
	.nav__list > li { position: relative; }
	.nav__list a { padding: 10px 13px; border: 0; font-size: 15px; font-weight: 500; border-radius: 999px; transition: background .2s; }
	.nav__list .menu-item-has-children > a { padding-bottom: 10px; }
	.nav__list > li > a:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
	.nav__list > .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); margin-left: 8px; }
	.nav__list ul { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--ink-2); padding: 8px; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-sm); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); flex-direction: column; gap: 0; flex-wrap: nowrap; }
	.nav__list li:hover > ul, .nav__list li:focus-within > ul { display: flex; }
	.nav__list ul a { padding: 10px 12px; border: 0; border-radius: 8px; }
	.nav__list ul a:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
	.social--nav { margin: 0; display: none; }
	.social--nav a { width: 38px; height: 38px; }
}
@media (min-width: 1280px) { .social--nav { display: flex; } }

/* Naslovna: vrh */
.hero { position: relative; background: var(--ink); color: var(--white); isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(78vh, 680px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(60% 70% at 100% 0%, rgba(227, 38, 45, .45), transparent 70%),
	linear-gradient(180deg, rgba(13, 15, 18, .35) 0%, rgba(13, 15, 18, .78) 55%, var(--ink) 100%); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__in { padding-block: 72px 96px; }
.hero__title { font-size: clamp(36px, 7.4vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -.035em; max-width: 16ch; margin-bottom: 18px; }
.hero__title a { color: inherit; text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat; transition: background-size .3s; }
.hero__title a:hover { background-size: 100% 3px; }
.hero__text { max-width: 52ch; color: #d3d8de; font-size: 18px; margin-bottom: 28px; }

/* Sekcije */
.section { padding-block: 56px; }
.section--alt, .section--sponsors { background: var(--ice); }
.section--matches { padding-block: 0 8px; background: linear-gradient(var(--ink) 0 90px, transparent 90px); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark a { color: var(--white); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section__head a, .section__more a { font: 600 15px/1.2 var(--head); text-decoration: none; white-space: nowrap; }
.section__head a:hover, .section__more a:hover { color: var(--red); }
.section__title { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 26px; }
.section__head .section__title { margin: 0; }
.section__title--center { text-align: center; }
.section__sub { font-size: 24px; font-weight: 700; margin: 40px 0 18px; display: flex; align-items: center; gap: 14px; }
.section__sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section__sub:first-child { margin-top: 0; }
.section__more { margin: 18px 0 0; text-align: right; }
.empty { color: var(--muted); padding: 28px; background: var(--ice); border-radius: var(--r); text-align: center; }
.notice { background: var(--ice); border-radius: var(--r); padding: 28px 24px; border-left: 5px solid var(--red); max-width: 720px; }
.notice__title { font-size: 26px; }
.notice p:last-child { margin-bottom: 0; }

.page-head { position: relative; background: var(--ink); color: var(--white); padding-block: 56px 48px; overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 100% 0%, rgba(227, 38, 45, .4), transparent 70%); }
.page-head__title { font-size: clamp(34px, 6.4vw, 64px); font-weight: 800; letter-spacing: -.035em; margin: 0; }
.page-head--article .page-head__title { font-size: clamp(28px, 4.8vw, 46px); letter-spacing: -.025em; }
.page-head__lead { color: #cdd2d9; margin: 14px 0 0; max-width: 60ch; font-size: 18px; }
.page-head__meta { color: #cdd2d9; font-size: 15px; margin-bottom: 12px; }
.page-head__meta a { color: var(--white); font-weight: 600; }

/* Utakmice */
.matches-duo { display: grid; gap: 16px; transform: translateY(-48px); margin-bottom: -48px; }
.matches { display: grid; gap: 16px; }
@media (min-width: 760px) { .matches-duo, .matches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.match { background: var(--white); border-radius: var(--r); padding: 22px 18px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.match__tag { font: 700 12px/1 var(--head); text-transform: uppercase; letter-spacing: .16em; color: var(--red-d); margin-bottom: 10px; }
.match__meta { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.match__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; margin-block: auto; }
.team { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.team__logo { width: 68px; height: 68px; object-fit: contain; }
.team__logo--txt { display: grid; place-items: center; border-radius: 50%; background: var(--ice); color: var(--muted); font: 800 19px/1 var(--head); }
.team__name { font: 600 16px/1.2 var(--head); }
.match__mid { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 96px; min-height: 68px; }
.match__score { font: 800 46px/1 var(--head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.match__score i { font-style: normal; color: var(--muted-d); margin-inline: 6px; font-weight: 400; }
.match__time { font: 800 34px/1 var(--head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.match__count { margin-top: 8px; font: 600 12px/1 var(--head); letter-spacing: .04em; background: var(--red); color: var(--white); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.match__note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.match__when { margin: 18px 0 0; font-size: 15px; color: var(--muted); display: flex; flex-direction: column; }
.match__when time { color: inherit; font-weight: 600; }
.match:not(.match--najava) .match__when time, .matches .match__when time { color: var(--ink); }
.match__cta { margin: 12px 0 0; font: 600 15px/1.2 var(--head); }
.match__cta a { text-decoration: none; }
.match--pobeda .match__score { color: #128245; }
/* Sledeća utakmica na početnoj: tamna kartica */
.matches-duo .match--najava { background: var(--ink-3); background-image: radial-gradient(90% 90% at 100% 0%, rgba(227, 38, 45, .35), transparent 70%); color: var(--white); border-color: rgba(255, 255, 255, .08); }
.matches-duo .match--najava .match__tag { color: #ff6b70; }
.matches-duo .match--najava .match__meta, .matches-duo .match--najava .match__when { color: var(--muted-d); }
.matches-duo .match--najava .match__when time { color: var(--white); }
.matches-duo .match--najava .team__logo--txt { background: rgba(255, 255, 255, .1); color: var(--white); }
.matches-duo .match--najava a { color: var(--white); }

/* Kartice vesti */
.grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(13, 15, 18, .06), 0 22px 48px rgba(13, 15, 18, .14); }
.card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3) url(assets/img/grb.webp) center / auto min(52%, 130px) no-repeat; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 18px 18px 22px; }
.card__meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.card__cat { background: rgba(227, 38, 45, .1); color: var(--red-d); font: 700 11px/1 var(--head); text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border-radius: 999px; }
.card__title { font-size: 21px; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__text { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
/* Na telefonu su vesti posle prve zbijene u red: sličica levo, naslov desno. */
@media (max-width: 639px) {
	.grid--istaknuta { gap: 14px; }
	.grid--istaknuta .card:not(:first-child) { flex-direction: row; align-items: stretch; }
	.grid--istaknuta .card:not(:first-child) .card__img { flex: 0 0 112px; aspect-ratio: auto; min-height: 112px; }
	.grid--istaknuta .card:not(:first-child) .card__body { padding: 14px; align-self: center; }
	.grid--istaknuta .card:not(:first-child) .card__title { font-size: 17px; margin: 0; }
	.grid--istaknuta .card:not(:first-child) .card__text { display: none; }
	.grid--istaknuta .card:not(:first-child) .card__meta { margin-bottom: 6px; }
}
@media (min-width: 980px) {
	.grid--istaknuta .card:first-child { grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 460px; color: var(--white); }
	.grid--istaknuta .card:first-child .card__img { position: absolute; inset: 0; aspect-ratio: auto; }
	.grid--istaknuta .card:first-child .card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(13, 15, 18, .92)); }
	.grid--istaknuta .card:first-child .card__body { position: relative; padding: 28px; }
	.grid--istaknuta .card:first-child .card__title { font-size: 34px; letter-spacing: -.025em; max-width: 22ch; }
	.grid--istaknuta .card:first-child .card__title a, .grid--istaknuta .card:first-child .card__meta { color: var(--white); }
	.grid--istaknuta .card:first-child .card__cat { background: var(--red); color: var(--white); }
	.grid--istaknuta .card:first-child .card__text { color: #d3d8de; max-width: 60ch; }
}

.chips { list-style: none; display: flex; gap: 8px; padding: 0 0 4px; margin: 0 0 28px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { display: block; white-space: nowrap; padding: 10px 18px; background: var(--ice); border-radius: 999px; text-decoration: none; color: var(--ink); font: 500 15px/1.3 var(--head); transition: background .2s, color .2s; }
.chips a[aria-current], .chips a:hover { background: var(--ink); color: var(--white); }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.nav-links .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; background: var(--ice); border-radius: 999px; text-decoration: none; color: var(--ink); font: 600 15px/1 var(--head); }
.nav-links .current, .nav-links a.page-numbers:hover { background: var(--red); color: var(--white); }

/* Selekcije */
.teams { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .teams { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .teams { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.team-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 168px; height: 100%; padding: 18px; border-radius: var(--r); background: var(--ink-3); color: var(--white); text-decoration: none; overflow: hidden; transition: background .25s, transform .25s; }
.team-tile::before { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 38, 45, .55), transparent); transition: transform .4s; }
.team-tile:hover { background: var(--red); color: var(--white); transform: translateY(-4px); }
.team-tile:hover::before { transform: scale(2.4); }
.team-tile__name { position: relative; font: 800 clamp(28px, 6vw, 40px)/1 var(--head); letter-spacing: -.03em; }
.team-tile__desc { position: relative; font-size: 14px; line-height: 1.4; color: var(--muted-d); margin-top: 8px; padding-right: 30px; }
.team-tile:hover .team-tile__desc { color: var(--white); }
.team-tile__go { position: absolute; right: 16px; bottom: 16px; font-size: 20px; line-height: 1; transition: transform .25s; }
.team-tile:hover .team-tile__go { transform: translateX(4px); }
.team-tile .badge { position: absolute; top: 14px; left: 14px; margin: 0; }
.team-tile--najava { background: transparent; border: 1.5px dashed rgba(255, 255, 255, .3); }
/* Na svetloj pozadini (stranica Selekcije) */
:not(.section--dark) > .wrap > .teams .team-tile--najava { border-color: var(--muted-d); color: var(--ink); }
:not(.section--dark) > .wrap > .teams .team-tile--najava .team-tile__desc { color: var(--muted); }
:not(.section--dark) > .wrap > .teams .team-tile--najava:hover, :not(.section--dark) > .wrap > .teams .team-tile--najava:hover .team-tile__desc { color: var(--white); border-color: var(--red); }

/* Poziv: škola hokeja */
.cta { padding: 56px 0; }
.cta__in { position: relative; }
.cta__body { background: var(--red); background-image: radial-gradient(80% 120% at 0% 100%, rgba(13, 15, 18, .35), transparent 60%), repeating-linear-gradient(115deg, transparent 0 44px, rgba(255, 255, 255, .05) 44px 88px); color: var(--white); border-radius: 28px; padding: 150px 24px 32px; }
.cta__body .kicker { color: rgba(255, 255, 255, .85); }
.cta__title { font-size: clamp(36px, 7vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-bottom: 12px; }
.cta__text { font-size: 18px; max-width: 44ch; margin-bottom: 24px; }
.cta__img { position: absolute; top: -40px; right: 12px; width: 150px; z-index: 1; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .3)); }
.cta__img img { width: 100%; }
@media (min-width: 760px) {
	.cta__body { padding: 56px 300px 56px 56px; }
	.cta__img { width: 250px; top: 50%; right: 56px; transform: translateY(-50%) rotate(4deg); }
}

/* Sponzori */
.sponsors { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sponsors li { background: var(--white); border-radius: var(--r-sm); display: grid; place-items: center; min-height: 110px; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.sponsors li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.sponsors a { display: grid; place-items: center; width: 100%; height: 100%; padding: 18px; text-decoration: none; }
.sponsors li > img, .sponsors li > span { margin: 18px; }
.sponsors img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.sponsors li:hover img { filter: none; opacity: 1; }
.sponsors__txt { font: 600 16px/1.3 var(--head); color: var(--ink); text-align: center; }
.sponsors--generalni { grid-template-columns: 1fr; }
.sponsors--generalni li { min-height: 160px; }
.sponsors--generalni img { max-height: 110px; filter: none; opacity: 1; }
@media (min-width: 700px) { .sponsors { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sponsors--generalni { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .sponsors { grid-template-columns: repeat(5, minmax(0, 1fr)); } .sponsors--generalni { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section--sponsors .sponsors { margin-top: 12px; }

/* Igrači, štab, uprava */
.people { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .people { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 18px; } }
.person__img { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--ink-3), var(--ink)); border-radius: var(--r); overflow: hidden; margin-bottom: 12px; }
.person__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.person:hover .person__img img { transform: scale(1.04); }
.person__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .22); font: 800 46px/1 var(--head); }
.person__no { position: absolute; right: 10px; top: 8px; color: var(--white); font: 800 38px/1 var(--head); letter-spacing: -.03em; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.person__no::before { content: "#"; font-size: .5em; font-weight: 600; color: var(--red); margin-right: 2px; vertical-align: .5em; }
.person__name { font: 600 17px/1.25 var(--head); margin: 0; }
.person__sub { color: var(--muted); font-size: 14px; margin: 2px 0 0; }

/* Tekst stranica i vesti */
.prose { font-size: 18px; }
.prose > * { margin-block: 0 1.15em; }
.prose h2 { font-size: 30px; font-weight: 700; margin-top: 1.7em; }
.prose h3 { font-size: 22px; font-weight: 700; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose img { border-radius: var(--r-sm); }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose blockquote { border-left: 4px solid var(--red); margin-inline: 0; padding-left: 18px; font: 500 22px/1.4 var(--head); }
.prose figure { margin-inline: 0; }
.prose figcaption, .article__img figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose--lead { max-width: 60ch; margin-bottom: 28px; }
.wp-block-table { overflow-x: auto; border-radius: var(--r-sm); border: 1px solid var(--line); }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 460px; }
.wp-block-table th, .wp-block-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.wp-block-table th { background: var(--ink); color: var(--white); font: 600 13px/1.2 var(--head); text-transform: uppercase; letter-spacing: .08em; border: 0; }
.wp-block-table tr:last-child td { border-bottom: 0; }
.wp-block-table td:first-child { font-weight: 600; }
.wp-block-gallery img { cursor: zoom-in; border-radius: var(--r-sm); }
.wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--r-sm); }
.article__img { margin: 0 0 28px; }
.article__img img { width: 100%; border-radius: var(--r); }
.article__nav { display: flex; flex-direction: column; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font: 600 16px/1.3 var(--head); }
.article__nav a { text-decoration: none; }
@media (min-width: 700px) { .article__nav { flex-direction: row; justify-content: space-between; } .article__nav span { max-width: 48%; } }

/* Klub ukratko i česta pitanja */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 0 0 36px; }
.facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; background: var(--white); padding: 12px 16px; }
.facts dt { font: 700 12px/1.6 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.faq__title { font-size: clamp(26px, 4vw, 34px); font-weight: 800; margin-bottom: 18px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; background: var(--white); }
.faq__item summary { cursor: pointer; padding: 16px 48px 16px 18px; font: 600 18px/1.35 var(--head); list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--red); }
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding: 0 18px 6px; color: var(--ink); }

/* Kontakt i forme */
.contact { display: grid; gap: 36px; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.contact__list { margin: 0 0 22px; }
.contact__list dt { font: 700 12px/1 var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 20px; }
.contact__list dd { margin: 6px 0 0; font: 600 20px/1.3 var(--head); }
.contact__list a { color: var(--ink); text-decoration: none; }
.contact__list a:hover { color: var(--red-d); }
.contact__form { background: var(--ice); border-radius: var(--r); padding: 24px 20px; }
@media (min-width: 860px) { .contact__form { padding: 36px; } }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

.hkv-form p { margin-bottom: 16px; }
.hkv-form p:last-child { margin-bottom: 0; }
.hkv-form label { display: block; font: 600 15px/1.3 var(--head); margin-bottom: 6px; }
.hkv-form input[type="text"], .hkv-form input[type="email"], .hkv-form input[type="tel"], .hkv-form textarea, .search input {
	width: 100%; font: inherit; padding: 13px 16px; border: 1.5px solid #c9cfd7; border-radius: var(--r-sm); background: var(--white); color: var(--ink); min-height: 50px; transition: border-color .2s, box-shadow .2s;
}
.hkv-form input:focus, .hkv-form textarea:focus, .search input:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 38, 45, .15); }
.hkv-form textarea { resize: vertical; }
.hkv-form__opt { font-weight: 400; color: var(--muted); }
.hkv-form__hp { position: absolute; left: -9999px; }
.hkv-form__check label { display: flex; gap: 10px; align-items: flex-start; font: 400 15px/1.5 var(--font); }
.hkv-form__check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--red); }
.hkv-form__note { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; }
.hkv-form__note--ok { background: #dff3e6; color: #125c2e; }
.hkv-form__note--err { background: #fde5e5; color: #991b1b; }
.search { display: flex; gap: 8px; margin-top: 24px; }

/* Podnožje */
.site-footer { background: var(--ink); color: var(--muted-d); font-size: 16px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.site-footer__in { display: grid; gap: 36px; padding-block: 56px 36px; }
@media (min-width: 760px) { .site-footer__in { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__name { font: 800 22px/1.2 var(--head); letter-spacing: -.02em; color: var(--white); margin: 14px 0 16px; }
.site-footer__h { font: 700 12px/1 var(--head); text-transform: uppercase; letter-spacing: .16em; color: var(--muted-d); margin-bottom: 16px; }
.site-footer p { margin-bottom: 6px; }
.site-footer__menu { list-style: none; padding: 0; margin: 0; columns: 2; }
.site-footer__menu a { display: inline-block; padding: 5px 0; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 18px 26px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.site-footer__bottom p { margin: 0; }
@media (min-width: 760px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }

/* Kolačići */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: rgba(34, 38, 45, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--white); border-radius: var(--r); padding: 18px; box-shadow: 0 16px 48px rgba(0, 0, 0, .4); max-width: 520px; margin-inline: auto; font-size: 15px; }
.cookie[hidden] { display: none; }
.cookie a { color: var(--white); }
.cookie__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie__btns .btn { flex: 1; padding: 12px 14px; font-size: 14px; box-shadow: none; white-space: nowrap; }

/* Pregled slika preko celog ekrana */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8, 9, 11, .96); display: grid; place-items: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 32px); object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--red); }
.lightbox [data-lb="x"] { top: 12px; right: 12px; }
.lightbox [data-lb="prev"] { left: 12px; top: 50%; margin-top: -24px; }
.lightbox [data-lb="next"] { right: 12px; top: 50%; margin-top: -24px; }

/* Blago pojavljivanje pri skrolovanju (samo uz JavaScript) */
.js .pojavi { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.js .pojavi.je-vidljiv { opacity: 1; transform: none; }

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