/*
Theme Name: PARKL Premium
Description: Bordo-zlata tema za košarkarsko ligo PARKL in SportsPress.
Version: 1.7.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: parkl-premium
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ---------- Pisave (lokalno, OFL) ---------- */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/barlow-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/barlow-latin-500-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; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/barlow-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/barlow-latin-600-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; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/barlow-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/barlow-latin-700-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; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/barlow-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/barlow-latin-800-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; }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 800; font-display: swap; src: url('assets/fonts/barlow-latin-ext-800-italic.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Barlow'; font-style: italic; font-weight: 800; font-display: swap; src: url('assets/fonts/barlow-latin-800-italic.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; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/barlow-condensed-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/barlow-condensed-latin-700-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; }

/* ---------- Osnova ---------- */
:root {
    --bg: #330211;
    --bg-deep: #22010b;
    --wine: #4a031a;
    --wine-2: #5b0a24;
    --wine-3: #6a1530;
    --row: #4b0e1e;
    --row-alt: #3c0f1c;
    --row-head: #2c0412;
    --gold: #f4b63f;
    --gold-light: #ffd977;
    --gold-dark: #c98b2e;
    --gold-grad: linear-gradient(180deg, #ffd56e 0%, #f2b545 45%, #d9952f 100%);
    --text: #ffffff;
    --muted: #d8bfc6;
    --ink: #24060f;
    --line: rgba(255, 255, 255, .09);
    --gold-line: rgba(244, 182, 63, .55);
    --radius: 10px;
    --font: 'Barlow', 'Segoe UI', Arial, sans-serif;
    --font-cond: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --shadow: 0 10px 30px rgba(10, 0, 3, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg-deep); }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font: 500 1rem/1.5 var(--font);
    background:
        linear-gradient(118deg, transparent 0 58%, rgba(255, 255, 255, .025) 58% 66%, transparent 66%) fixed,
        linear-gradient(118deg, transparent 0 72%, rgba(120, 10, 40, .25) 72% 86%, transparent 86%) fixed,
        radial-gradient(ellipse 70% 50% at 15% 35%, #4d0619 0%, transparent 70%),
        radial-gradient(ellipse 60% 60% at 90% 80%, #4a0619 0%, transparent 70%),
        linear-gradient(180deg, #3a0215 0%, #2b010f 100%);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-underline-offset: .2em; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, 75rem); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; top: .5rem; left: .5rem; transform: translateY(-200%); padding: .6rem 1rem; background: var(--gold); color: var(--ink); font-weight: 700; }
.skip:focus { transform: none; }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Glava ---------- */
.site-header {
    position: relative;
    z-index: 20;
    background: linear-gradient(180deg, #52041d 0%, #46021a 100%);
    box-shadow: 0 1px 0 rgba(244, 182, 63, .35), 0 6px 18px rgba(0, 0, 0, .35);
}
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 5.25rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; flex: none; }
.logo-mark { width: 3.1rem; height: 3.1rem; }
.logo-image { width: auto; max-height: 3.1rem; }
.brand-text { display: grid; gap: .2rem; }
.brand-name { font: 800 2.15rem/1 var(--font); letter-spacing: -.01em; }
.brand-name span { font-weight: 700; font-size: .78em; }
.brand-tagline { font: 600 .66rem/1 var(--font); letter-spacing: .09em; text-transform: uppercase; color: #f1dbe1; }
.navigation { margin-left: auto; }
.navigation ul { display: flex; align-items: center; gap: .25rem 2.1rem; margin: 0; padding: 0; list-style: none; }
.navigation li { position: relative; }
.navigation a {
    position: relative;
    display: inline-flex; align-items: center;
    min-height: 5.25rem;
    color: #fff;
    font: 700 1.02rem/1 var(--font);
    text-decoration: none;
    transition: color .15s;
}
.navigation a:hover { color: var(--gold); }
.navigation .current-menu-item > a, .navigation a[aria-current] { color: var(--gold); }
.navigation .current-menu-item > a::after, .navigation a[aria-current]::after {
    content: ''; position: absolute; left: -1.1rem; right: -1.1rem; bottom: 0;
    height: 3px; border-radius: 3px 3px 0 0; background: var(--gold);
}
.navigation .sub-menu { position: absolute; top: 100%; left: -1rem; display: none; min-width: 14rem; padding: .5rem 0; background: #3a0214; border: 1px solid var(--gold-line); border-radius: 8px; box-shadow: var(--shadow); }
.navigation .sub-menu a { min-height: 2.6rem; padding: 0 1rem; font-size: .92rem; }
.navigation .sub-menu a::after { display: none; }
.navigation li:hover > .sub-menu, .navigation li:focus-within > .sub-menu { display: block; }
.header-tools { display: flex; align-items: center; gap: 1.15rem; margin-left: 1.1rem; }
.header-tools > * { display: inline-flex; padding: 0; border: 0; background: none; color: var(--gold); font-size: 1.55rem; line-height: 1; }
.header-tools > *:hover { color: var(--gold-light); }
.header-tools .social-yt { font-size: 1.85rem; }
.menu-toggle { display: none; margin-left: auto; padding: .5rem; border: 1px solid var(--gold-line); border-radius: 8px; background: transparent; color: var(--gold); font-size: 1.5rem; line-height: 1; }
.site-search { background: #3a0214; border-top: 1px solid var(--gold-line); }
.site-search form { display: flex; gap: .6rem; padding-block: .9rem; }
.site-search input { flex: 1; min-width: 0; padding: .75rem 1rem; border: 1px solid var(--gold-line); border-radius: 8px; background: #22010b; color: #fff; font: 600 1rem var(--font); }
.site-search button, .search-form .search-submit { padding: .7rem 1.3rem; border: 0; border-radius: 8px; background: var(--gold-grad); color: var(--ink); font-weight: 800; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(26rem, 44vw, 37rem);
    display: flex; align-items: center;
    background:
        radial-gradient(ellipse 45% 60% at 28% 45%, rgba(170, 20, 35, .55) 0%, transparent 70%),
        radial-gradient(ellipse 30% 35% at 45% 25%, rgba(140, 15, 30, .45) 0%, transparent 70%),
        linear-gradient(90deg, #1c0204 0%, #2a0308 45%, #3b0612 100%);
}
.hero::before {
    /* zlata diagonalna črta levo od igralca */
    content: ''; position: absolute; z-index: 1; top: 0; left: 42%;
    width: 9rem; height: 42%;
    background: linear-gradient(200deg, rgba(244, 182, 63, .55), rgba(244, 182, 63, 0) 80%);
    clip-path: polygon(70% 0, 100% 0, 15% 100%, 0 100%);
    opacity: .75;
}
.hero-photo {
    position: absolute; z-index: 0; top: 0; right: 0; bottom: 0;
    width: min(60%, 64rem);
    background: var(--hero-image) center 20% / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.hero::after {
    /* temna tla in zlati rob spodaj desno */
    content: ''; position: absolute; z-index: 1; inset: auto 0 0 0; height: 30%;
    background: linear-gradient(0deg, rgba(28, 2, 6, .55), transparent);
    pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; padding-block: 3rem 3.5rem; }
.hero-badge { display: inline-block; margin-bottom: 1.4rem; }
.hero-badge span {
    display: inline-block;
    padding: .55rem 1.6rem .5rem;
    background: var(--gold-grad);
    color: #2a0509;
    font: 800 italic clamp(1.25rem, 2.2vw, 1.75rem)/1 var(--font);
    text-transform: uppercase;
    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.hero h1 {
    font: 800 italic clamp(2.9rem, 6.4vw, 5.4rem)/.95 var(--font);
    text-transform: uppercase;
    letter-spacing: -.005em;
    color: #f5f3f2;
    text-shadow: 0 4px 22px rgba(0, 0, 0, .55);
}
.hero-stats { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-top: 1.6rem; font: 600 italic clamp(1.05rem, 1.6vw, 1.35rem)/1.2 var(--font); color: #fff; }
.hero-stats .sep { color: var(--gold); font-style: normal; font-weight: 500; }

/* ---------- Naslovnica: mreža ---------- */
.home-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 1.75rem 2.25rem; padding-block: 2.25rem 4rem; }
.pair { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2.25rem; }
.news { grid-column: 1 / -1; }
.block-title { display: flex; align-items: center; gap: .65rem; font: 700 1.85rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .005em; color: #fff; }
.block-title .icon { color: var(--gold); font-size: 1.6rem; }
.more { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold); font: 700 1rem/1 var(--font); text-decoration: none; }
.more .icon { font-size: 1.1rem; transition: transform .15s; }
.more:hover .icon { transform: translateX(3px); }
.empty { padding: 1rem 0; color: var(--muted); }

/* Naslednje tekme */
.card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.card-head { padding: 1.25rem 1.75rem 1.1rem; background: linear-gradient(180deg, #6a0f2a 0%, #55071f 100%); }
.fixtures { background: #fff; color: #1a0a0e; }
.fixtures .empty { padding: 1.5rem 1.75rem; color: #6b5960; }
.fixture {
    display: grid; grid-template-columns: 5.4rem minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.8rem;
    padding: 1rem 1.75rem;
    color: inherit; text-decoration: none;
    border-top: 2px solid #8a2b45;
    transition: background .15s;
}
.fixture:first-child { border-top: 0; }
.fixture:hover { background: #fbf2f4; }
.fixture-date {
    display: grid; justify-items: center; align-content: center;
    width: 5.4rem; height: 5.4rem; border-radius: 6px;
    background: linear-gradient(180deg, #741a33 0%, #5c0f25 100%);
    color: #f6dfe5; box-shadow: 0 3px 8px rgba(70, 5, 25, .35);
    font: 600 .95rem/1.1 var(--font); text-transform: uppercase;
}
.fixture-date strong { font: 700 2.05rem/1 var(--font); color: #fff; }
.fixture-teams { display: grid; gap: .1rem; font: 700 1.35rem/1.2 var(--font); min-width: 0; }
.fixture-teams span { overflow-wrap: anywhere; }
.fixture-teams span:first-child { font-weight: 600; font-size: 1.2rem; }
.fixture-teams em { font: 500 .95rem/1.1 var(--font); color: #4d3a40; font-style: normal; }
.fixture-time {
    padding: .65rem 1.05rem; border-radius: 6px;
    background: linear-gradient(180deg, #741a33 0%, #5c0f25 100%);
    color: #fff; font: 700 1.55rem/1 var(--font); font-variant-numeric: tabular-nums;
    box-shadow: 0 3px 8px rgba(70, 5, 25, .35);
    white-space: nowrap;
}

/* Hitre povezave */
.quick-links > div { padding: 1.25rem 0 1.1rem; }
.quick-links ul { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.quick-links a {
    display: flex; align-items: center; gap: 1.3rem;
    min-height: 4.9rem; padding: 0 1.4rem 0 1.6rem;
    border: 1.5px solid rgba(201, 139, 46, .75); border-radius: 10px;
    background: linear-gradient(100deg, #2b0309 0%, #3d0614 55%, #2a030b 100%);
    box-shadow: inset 0 1px 0 rgba(255, 220, 150, .08), 0 6px 16px rgba(0, 0, 0, .3);
    color: #fff; font: 700 1.45rem/1 var(--font); text-decoration: none;
    transition: border-color .15s, transform .15s, background .15s;
}
.quick-links a:hover { border-color: var(--gold); background: linear-gradient(100deg, #3a0510 0%, #4d0a1b 55%, #36050f 100%); transform: translateY(-1px); }
.quick-icon { font-size: 2.3rem; color: var(--gold); }
.quick-links a > span { flex: 1; }
.quick-chevron { font-size: 1.35rem; color: var(--gold); }

/* Zlate glave, lestvici */
.group-card, .gold-card {
    border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(180deg, rgba(60, 4, 22, .92), rgba(46, 3, 17, .92));
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: var(--shadow);
}
.gold-head {
    padding: .7rem 1.4rem .6rem;
    background: var(--gold-grad);
    color: #24050c;
    font: 700 1.95rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .005em;
    box-shadow: inset 0 -2px 0 rgba(120, 60, 0, .25);
}
.gold-card .gold-head { color: #4a0819; }
.table-scroll { overflow-x: auto; max-width: 100%; }
.standings { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.standings th { padding: .75rem .5rem; background: var(--row-head); color: #f1e1e5; font: 600 1.05rem/1 var(--font); text-align: center; }
.standings th:nth-child(1) { width: 3.6rem; padding-left: 1.4rem; text-align: left; }
.standings th:nth-child(2) { text-align: left; }
.standings th:last-child { width: 5.5rem; padding-right: 1.4rem; }
.standings th abbr { text-decoration: none; }
.standings td { padding: .78rem .5rem; border-top: 1px solid rgba(0, 0, 0, .35); font: 700 1.3rem/1.15 var(--font); text-align: center; color: #fff; }
.standings tbody tr:nth-child(odd) { background: var(--row); }
.standings tbody tr:nth-child(even) { background: var(--row-alt); }
.standings td:nth-child(1) { padding-left: 1.4rem; text-align: left; font-weight: 600; }
.standings td:nth-child(2) { text-align: left; }
.standings td:last-child { padding-right: 1.4rem; }
.standings td a { color: #fff; text-decoration: none; }
.standings td a:hover { color: var(--gold); }
.group-card .empty { padding: 1.2rem 1.4rem; }

/* Zadnji rezultati, strelci */
.gold-card { display: flex; flex-direction: column; }
.gold-card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.5rem 1.1rem; }
.gold-card-body > .more { align-self: flex-end; margin-top: auto; padding-top: .9rem; }
.no-results { display: flex; align-items: center; gap: 2.4rem; min-height: 6.5rem; padding-left: 1.6rem; }
.no-results-icon { font-size: 4.2rem; color: #7a3a26; }
.no-results p { font: 500 1.3rem/1.2 var(--font); }
.results { display: grid; gap: .5rem; }
.result {
    display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .8rem;
    padding: .6rem .8rem; border-radius: 6px; background: rgba(0, 0, 0, .22); color: #e9d6db; text-decoration: none;
}
.result:hover { background: rgba(0, 0, 0, .35); }
.result time { color: var(--muted); font-size: .9rem; }
.result-team { font: 600 1.05rem/1.2 var(--font); overflow-wrap: anywhere; }
.result-team:last-child { text-align: right; }
.result-team.won { color: #fff; font-weight: 800; }
.result-score { display: flex; gap: .35rem; padding: .3rem .65rem; border-radius: 5px; background: var(--gold-grad); color: #2a0509; font: 800 1.15rem/1 var(--font); font-variant-numeric: tabular-nums; }
.scorers { display: grid; grid-template-columns: 7rem minmax(0, 1fr); column-gap: 1.6rem; align-items: start; }
.scorer-photo { display: grid; place-items: center; width: 6rem; height: 6rem; margin: .2rem 0 0 1rem; color: var(--gold); font-size: 5.2rem; }
.scorer-photo img { width: 6rem; height: 6rem; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); }
.scorer-list { margin: 0; padding: 0; list-style: none; }
.scorer-list li { display: flex; align-items: baseline; gap: .7rem; padding: .45rem .2rem .5rem; border-bottom: 1.5px solid rgba(201, 139, 46, .45); font: 700 1.3rem/1.15 var(--font); }
.scorer-list .rank { width: 1.6rem; flex: none; }
.scorer-name { flex: 1; min-width: 0; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
a.scorer-name:hover { color: var(--gold); }
.scorer-name small { display: block; margin-top: .15rem; color: var(--muted); font: 500 .85rem/1.1 var(--font); }
.scorer-value { font-variant-numeric: tabular-nums; }
.scorers > .more { grid-column: 1 / -1; justify-self: end; }

/* Novice */
.news { padding-top: 1.6rem; border-top: 1px solid rgba(244, 182, 63, .18); }
.news-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.news-head .more { padding-bottom: .35rem; border-bottom: 1px solid var(--gold-line); }
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.8rem; }
.story { position: relative; }
.story-image { display: block; overflow: hidden; border-radius: 8px; background: #1c0208; }
.story-image > * { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.story:hover .story-image > * { transform: scale(1.03); }
.story h3 { font: 700 1.3rem/1.22 var(--font); }
.story h3 a { color: #fff; text-decoration: none; }
.story h3 a:hover { color: var(--gold); }
.story time { display: block; margin-top: .9rem; color: #e2d4d8; font: 500 1.05rem/1.2 var(--font); }
.story-lead { border-radius: 10px; overflow: hidden; border: 1px solid rgba(201, 139, 46, .55); box-shadow: var(--shadow); min-height: 22rem; }
.story-lead .story-image { position: absolute; inset: 0; border-radius: 0; }
.story-lead::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 0, 3, .92) 0%, rgba(10, 0, 3, .55) 40%, rgba(10, 0, 3, 0) 70%); pointer-events: none; }
.story-lead .story-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.8rem 1.9rem 1.6rem; }
.story-lead h3 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.08; }
.story-lead h3 a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.story-lead time { margin-top: .9rem; }
.news-side { display: grid; align-content: start; }
.story-side { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: 1.6rem; align-items: start; padding-block: 0 1.6rem; }
.story-side + .story-side { padding-top: 1.6rem; border-top: 1px solid rgba(244, 182, 63, .22); }
.story-side .story-image { aspect-ratio: 4 / 3.3; border: 1px solid rgba(201, 139, 46, .35); }
.story-side h3 { margin-top: .9rem; font-size: 1.4rem; }
.court { display: block; width: 100%; height: 100%; min-height: 8rem; background-color: #561934; background-image: radial-gradient(circle at 50% 50%, transparent 0 13%, #f0c87855 13.2% 13.6%, transparent 13.8%), linear-gradient(90deg, transparent 49.8%, #f0c87855 49.8% 50.2%, transparent 50.2%), linear-gradient(135deg, #240c19, #7b2a49); }

/* ---------- Podstrani ---------- */
.page-heading { position: relative; overflow: hidden; padding-block: 2.6rem 2.2rem; background: radial-gradient(ellipse 50% 90% at 20% 50%, rgba(170, 20, 35, .4), transparent 70%), linear-gradient(90deg, #1c0204, #3b0612); border-bottom: 1px solid rgba(244, 182, 63, .3); overflow-wrap: anywhere; }
.page-heading .hero-badge { margin-bottom: 1rem; }
.page-heading .hero-badge span { font-size: 1rem; padding: .45rem 1.2rem .4rem; }
.page-heading h1 { font: 800 italic clamp(2.2rem, 5vw, 3.8rem)/1 var(--font); text-transform: uppercase; }
.page-heading time { display: block; margin-top: .8rem; color: var(--muted); }
.back-link { display: inline-block; margin-bottom: .8rem; color: var(--gold); font-weight: 700; text-decoration: none; }
.portal-body { padding-block: 2rem 4rem; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.filters a, .page-numbers { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem 1.05rem; border: 1.5px solid rgba(201, 139, 46, .6); border-radius: 8px; background: #2b030b; color: #fff; font-weight: 700; text-decoration: none; }
.filters a:hover, a.page-numbers:hover { border-color: var(--gold); color: var(--gold); }
.filters a[aria-current], .page-numbers.current { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pager, .pager-wrap { margin-top: 1.6rem; }
.portal-body .fixtures { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: .5rem; }
.portal-body .group-card { margin-top: .5rem; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.story-card { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #3d0414, #2c030f); border: 1px solid rgba(201, 139, 46, .35); }
.story-card .story-image { aspect-ratio: 16 / 10; border-radius: 0; }
.story-card .story-body { padding: 1.1rem 1.2rem 1.3rem; }
.story-card time { margin-top: .6rem; font-size: .95rem; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.team-card { display: flex; align-items: center; gap: 1rem; min-height: 5rem; padding: .8rem 1.2rem; border: 1.5px solid rgba(201, 139, 46, .6); border-radius: 10px; background: linear-gradient(100deg, #2b0309, #3d0614); color: #fff; text-decoration: none; font-size: 1.15rem; }
.team-card:hover { border-color: var(--gold); }
.team-card > :first-child { flex: 0 0 3.2rem; width: 3.2rem; height: 3.2rem; min-height: 0; object-fit: contain; border-radius: 6px; }
.team-card strong { flex: 1; }
.team-card .quick-chevron { color: var(--gold); }

/* Vsebina člankov in SportsPress */
.article-card { max-width: 58rem; padding: clamp(1.2rem, 3vw, 2.2rem); border-radius: var(--radius); background: #fff; color: #1f0c12; box-shadow: var(--shadow); }
.article-card a { color: #8a1534; }
.article-photo { margin: calc(-1 * clamp(1.2rem, 3vw, 2.2rem)) calc(-1 * clamp(1.2rem, 3vw, 2.2rem)) 1.5rem; }
.article-photo img { width: 100%; }
.article-content { overflow-wrap: anywhere; font-size: 1.08rem; line-height: 1.65; }
.article-content > * + * { margin-top: 1rem; }
.article-content h2, .article-content h3, .article-content h4 { font-family: var(--font); font-weight: 800; line-height: 1.2; color: #4a031a; }
.article-content iframe { max-width: 100%; }
.article-content .sp-table-wrapper, .article-content .wp-block-table, .article-content .sp-template { overflow-x: auto; max-width: 100%; }
.article-content table, .portal-body .sp-data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .98rem; }
.article-content th, .portal-body .sp-data-table th { padding: .6rem .6rem; background: #4a031a; color: #fff; font-weight: 700; text-align: left; }
.article-content td, .portal-body .sp-data-table td { padding: .55rem .6rem; border-bottom: 1px solid #ecdde2; }
.article-content tbody tr:nth-child(even) { background: #faf3f5; }
.article-content th, .article-content td { overflow-wrap: normal; word-break: normal; }
.article-content .data-number, .article-content .data-rank { width: 2.8rem; white-space: nowrap; }
.article-content .sp-template + .sp-template { margin-top: 1.6rem; }
.article-content .sp-table-caption, .article-content .sp-section-title { margin-bottom: .5rem; font-weight: 800; color: #4a031a; }
.portal-body > .table-scroll { border-radius: var(--radius); background: #fff; color: #1f0c12; box-shadow: var(--shadow); }
.portal-body > .table-scroll a { color: #8a1534; }
.portal-body > .table-scroll .sp-table-caption { padding: .8rem 1rem; font-weight: 800; color: #4a031a; }
.comments { max-width: 58rem; margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius); background: rgba(0, 0, 0, .25); }
.comments textarea, .comments input[type="text"], .comments input[type="email"] { width: 100%; max-width: 100%; padding: .6rem; border-radius: 6px; border: 1px solid var(--gold-line); background: #22010b; color: #fff; }
.search-form { display: flex; gap: .5rem; margin-top: 1rem; }
.search-form .search-field { flex: 1; padding: .7rem 1rem; border: 1px solid var(--gold-line); border-radius: 8px; background: #22010b; color: #fff; }

/* ---------- Noga ---------- */
.site-footer { margin-top: 1rem; background: linear-gradient(180deg, #2a010e, #1a0007); border-top: 2px solid rgba(244, 182, 63, .45); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.4rem; padding-block: 2rem 1.5rem; }
.footer-row .brand-name { font-size: 1.7rem; }
.footer-row .logo-mark { width: 2.6rem; height: 2.6rem; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: #f1dbe1; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 1rem; margin-left: auto; }
.footer-social a { color: var(--gold); font-size: 1.5rem; display: inline-flex; }
.footer-bottom { padding-block: 1rem 1.6rem; border-top: 1px solid rgba(255, 255, 255, .06); color: #b99aa3; font-size: .88rem; }

/* ---------- Odzivnost ---------- */
@media (max-width: 75rem) {
    .navigation ul { gap: .25rem 1.4rem; }
    .navigation .current-menu-item > a::after, .navigation a[aria-current]::after { left: -.7rem; right: -.7rem; }
}
@media (max-width: 64rem) {
    .header-row { flex-wrap: wrap; gap: .6rem 1rem; min-height: 4.5rem; padding-block: .6rem; }
    .menu-toggle:not([hidden]) { display: inline-flex; }
    .header-tools { margin-left: 0; order: 2; }
    .menu-toggle { order: 3; margin-left: 0; }
    .brand { margin-right: auto; }
    .navigation { order: 4; width: 100%; margin: 0; }
    .menu-toggle:not([hidden]) ~ .navigation { display: none; }
    .menu-open .menu-toggle ~ .navigation { display: block; }
    .navigation ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: .6rem; }
    .navigation a { min-height: 3rem; width: 100%; border-bottom: 1px solid var(--line); }
    .navigation .current-menu-item > a::after, .navigation a[aria-current]::after { left: 0; right: auto; top: 25%; bottom: 25%; width: 3px; height: auto; }
    .navigation .current-menu-item > a, .navigation a[aria-current] { padding-left: .9rem; }
    .navigation .sub-menu { position: static; display: block; border: 0; box-shadow: none; background: transparent; padding: 0 0 0 1rem; }
    .home-grid { grid-template-columns: 1fr; }
    .story-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-photo { width: 68%; opacity: .9; }
}
@media (max-width: 48rem) {
    .wrap { width: calc(100% - 1.5rem); }
    .header-row { gap: .6rem .7rem; }
    .brand { gap: .45rem; }
    .brand-name { font-size: 1.45rem; }
    .logo-mark { width: 2.2rem; height: 2.2rem; }
    .brand-tagline { font-size: .47rem; letter-spacing: .05em; }
    .menu-toggle { padding: .35rem; font-size: 1.25rem; }
    .header-tools { gap: .7rem; }
    .header-tools > * { font-size: 1.35rem; }
    .header-tools .social-yt { font-size: 1.6rem; }
    .hero { min-height: 30rem; align-items: flex-end; }
    .hero-photo { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 95%); mask-image: linear-gradient(180deg, #000 45%, transparent 95%); background-position: 70% 10%; opacity: .65; }
    .hero::before { display: none; }
    .hero-copy { padding-block: 6rem 2rem; }
    .pair, .news-grid, .story-grid, .team-grid { grid-template-columns: 1fr; }
    .card-head { padding: 1rem 1.1rem; }
    .fixture { grid-template-columns: 4.3rem minmax(0, 1fr) auto; gap: .8rem; padding: .85rem 1rem; }
    .fixture-date { width: 4.3rem; height: 4.3rem; font-size: .8rem; }
    .fixture-date strong { font-size: 1.6rem; }
    .fixture-teams { font-size: 1.1rem; }
    .fixture-teams span:first-child { font-size: 1.02rem; }
    .fixture-time { padding: .5rem .65rem; font-size: 1.2rem; }
    .quick-links a { min-height: 4rem; font-size: 1.25rem; }
    .block-title { font-size: 1.6rem; }
    .gold-head { font-size: 1.6rem; padding-inline: 1rem; }
    .standings th:nth-child(1), .standings td:nth-child(1) { padding-left: .9rem; width: 2.6rem; }
    .standings td { font-size: 1.08rem; }
    .standings th { font-size: .92rem; }
    .standings th:last-child, .standings td:last-child { padding-right: .9rem; width: auto; }
    .gold-card-body { padding: 1rem; }
    .no-results { gap: 1.4rem; padding-left: .4rem; }
    .scorers { grid-template-columns: 4.6rem minmax(0, 1fr); column-gap: 1rem; }
    .scorer-photo { width: 4.2rem; height: 4.2rem; margin-left: 0; font-size: 3.8rem; }
    .scorer-list li { font-size: 1.1rem; }
    .result { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .result time { grid-column: 1 / -1; }
    .story-lead { min-height: 18rem; }
    .story-side { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; }
    .story-side h3 { margin-top: 0; font-size: 1.12rem; }
    .story-side time { margin-top: .5rem; font-size: .92rem; }
    .footer-social { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
#respond, #respond .comment-reply-title { color: #fff; } #respond a { color: var(--gold); }

/* ---------- Postava ekipe (kartice) ---------- */
.roster + .roster { margin-top: 2.2rem; }
.roster-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 3px solid #4a031a; }
.roster-head h2 { margin: 0; font: 700 2rem/1 var(--font-cond); text-transform: uppercase; color: #4a031a; }
.roster-head span { color: #8a6b74; font-weight: 600; }
.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: 1rem; margin: 0 !important; }
.article-content .roster-card { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 17.5rem; border-radius: 12px; background: radial-gradient(ellipse 90% 60% at 50% 35%, #7a1832 0%, transparent 70%), linear-gradient(170deg, #5b0a24 0%, #33020f 70%); color: #fff; text-decoration: none; box-shadow: 0 8px 22px rgba(60, 0, 18, .28); transition: transform .18s, box-shadow .18s; }
.article-content .roster-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60, 0, 18, .4); }
.roster-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold-grad); }
.roster-number { position: absolute; z-index: 0; top: .5rem; left: .8rem; font: 800 italic 3.4rem/1 var(--font); color: rgba(244, 182, 63, .9); text-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.roster-photo { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-end; height: 10rem; margin-top: 1.2rem; }
.roster-img { width: auto; max-width: 85%; height: 100%; object-fit: cover; object-position: top; border-radius: 8px 8px 0 0; }
.player-photo-empty { display: flex; align-items: flex-end; justify-content: center; color: rgba(255, 255, 255, .16); }
.roster-photo .player-photo-empty { width: 100%; height: 100%; font-size: 9.5rem; line-height: 0; }
.roster-info { position: relative; z-index: 1; display: grid; gap: .15rem; padding: .8rem .9rem .6rem; background: linear-gradient(0deg, #24010a, rgba(36, 1, 10, .85)); border-top: 1px solid rgba(244, 182, 63, .35); }
.roster-name { font: 700 1.15rem/1.15 var(--font); color: #fff; }
.roster-meta { min-height: 1em; color: var(--gold); font: 600 .78rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .06em; }
.roster-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); background: #24010a; border-top: 1px solid rgba(255, 255, 255, .08); }
.roster-stats > span { display: grid; justify-items: center; padding: .5rem .2rem .6rem; }
.roster-stats > span + span { border-left: 1px solid rgba(255, 255, 255, .08); }
.roster-stats b { font: 700 1.15rem/1 var(--font); font-variant-numeric: tabular-nums; }
.roster-stats small { margin-top: .2rem; color: #c9a9b2; font: 600 .66rem/1 var(--font); letter-spacing: .08em; }
.roster-stats > span:first-child b { color: var(--gold); }
.roster-table { margin-top: 1.2rem !important; border: 1px solid #ecdde2; border-radius: 10px; }
.roster-table > summary { padding: .9rem 1.1rem; cursor: pointer; font-weight: 800; color: #4a031a; list-style-position: inside; }
.roster-table[open] > summary { border-bottom: 1px solid #ecdde2; }
.roster-table > :not(summary) { padding: 0 .6rem .6rem; }

/* ---------- Profil igralca ---------- */
.player-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 45% 80% at 75% 60%, rgba(190, 25, 45, .55), transparent 70%), linear-gradient(100deg, #1c0204 0%, #2e030b 50%, #4a0619 100%); border-bottom: 1px solid rgba(244, 182, 63, .35); }
.player-hero::before { content: ''; position: absolute; top: 0; right: 30%; width: 7rem; height: 55%; background: linear-gradient(200deg, rgba(244, 182, 63, .5), transparent 80%); clip-path: polygon(70% 0, 100% 0, 15% 100%, 0 100%); }
.player-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 2rem; min-height: 22rem; }
.player-hero-text { padding-block: 2.2rem 2.6rem; }
.player-team { display: inline-flex; align-items: center; gap: .6rem; margin: .4rem 0 .8rem; color: #fff; font-weight: 700; text-decoration: none; }
.player-team img { width: 2.6rem; height: 2.6rem; object-fit: contain; padding: .2rem; border-radius: 50%; background: #fff; }
.player-team:hover span { color: var(--gold); }
.player-hero h1 { font: 800 italic clamp(2.6rem, 6vw, 5rem)/.95 var(--font); text-transform: uppercase; text-shadow: 0 4px 22px rgba(0, 0, 0, .5); overflow-wrap: anywhere; }
.player-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.player-tags span { padding: .38rem .8rem; border: 1px solid rgba(244, 182, 63, .55); border-radius: 999px; background: rgba(0, 0, 0, .25); font: 700 .9rem/1 var(--font); }
.player-tags .tag-number { border-color: transparent; background: var(--gold-grad); color: var(--ink); }
.player-hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; align-self: stretch; }
.player-bignum { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 800 italic clamp(9rem, 20vw, 17rem)/1 var(--font); color: transparent; -webkit-text-stroke: 2px rgba(244, 182, 63, .45); }
.player-hero-photo { position: relative; z-index: 1; max-height: 21rem; width: auto; object-fit: contain; }
.player-hero-visual .player-photo-empty { position: relative; z-index: 1; font-size: 17rem; line-height: 0; color: rgba(255, 255, 255, .14); }
.stat-board { display: grid; grid-template-columns: 1.5fr repeat(6, minmax(0, 1fr)); gap: .8rem; }
.stat-tile { position: relative; display: grid; align-content: center; justify-items: center; gap: .35rem; min-height: 7rem; padding: 1rem .6rem; border-radius: 10px; background: linear-gradient(180deg, #3d0414, #2a020d); border: 1px solid rgba(201, 139, 46, .35); text-align: center; }
.stat-tile b { font: 800 2.2rem/1 var(--font); font-variant-numeric: tabular-nums; }
.stat-tile span { color: #d8bfc6; font: 600 .78rem/1.15 var(--font); text-transform: uppercase; letter-spacing: .06em; }
.stat-main { background: var(--gold-grad); border-color: transparent; color: var(--ink); }
.stat-main b { font-size: 3.3rem; }
.stat-main span { color: #4a0819; }
.stat-main em { position: absolute; top: .55rem; right: .6rem; padding: .2rem .5rem; border-radius: 999px; background: #4a031a; color: #fff; font: 700 .72rem/1 var(--font); font-style: normal; }
.stat-note { margin: .9rem 0 1.8rem; color: var(--muted); font-size: .95rem; }
.player-columns { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.6rem; align-items: start; }
.data-card { border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, rgba(60, 4, 22, .92), rgba(46, 3, 17, .92)); border: 1px solid rgba(255, 255, 255, .07); box-shadow: var(--shadow); }
.data-card .gold-head { font-size: 1.6rem; }
.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data-table th { padding: .7rem .55rem; background: var(--row-head); color: #f1e1e5; font: 700 .8rem/1 var(--font); letter-spacing: .05em; text-align: center; white-space: nowrap; }
.data-table td { padding: .7rem .55rem; border-top: 1px solid rgba(0, 0, 0, .35); text-align: center; font-weight: 600; white-space: nowrap; }
.data-table tbody tr:nth-child(odd) { background: var(--row); }
.data-table tbody tr:nth-child(even) { background: var(--row-alt); }
.data-table .left { text-align: left; }
.data-table .strong { color: var(--gold); font-weight: 800; }
.data-table a { color: #fff; text-decoration: none; }
.data-table a:hover { color: var(--gold); }
.data-table tfoot td { background: #22010b; font-weight: 800; }
.wl { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 4px; font-size: .75rem; font-weight: 800; }
.wl-z { background: #1f8a4c; }
.wl-p { background: #9b1c2e; }
.wl-n { background: #6b5960; }
.player-bio { margin-top: 1.8rem; }
@media (max-width: 64rem) {
    .stat-board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stat-main { grid-column: span 2; }
    .player-columns { grid-template-columns: 1fr; }
}
@media (max-width: 48rem) {
    .player-hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
    .player-hero-visual { order: -1; height: 13rem; }
    .player-hero-photo { max-height: 13rem; }
    .player-hero-visual .player-photo-empty { font-size: 11rem; }
    .player-bignum { right: 50%; transform: translate(50%, -50%); font-size: 10rem; }
    .player-hero-text { padding-block: .5rem 2rem; }
    .stat-board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
    .stat-main { grid-column: 1 / -1; min-height: 6rem; }
    .stat-tile { min-height: 5.5rem; }
    .stat-tile b { font-size: 1.7rem; }
    .stat-main b { font-size: 2.6rem; }
    .roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .article-content .roster-card { min-height: 15rem; }
    .roster-photo { height: 7.5rem; }
    .roster-photo .player-photo-empty { font-size: 7rem; }
    .roster-number { font-size: 2.5rem; }
    .roster-name { font-size: 1rem; }
}
.roster-number { z-index: 2; }
.player-hero-photo:not(.player-photo-empty) { max-width: 100%; border-radius: 12px 12px 0 0; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 22%); mask-image: linear-gradient(0deg, transparent 0, #000 22%); box-shadow: 0 0 0 1px rgba(244, 182, 63, .25); }

/* ---------- Tekma ---------- */
.scoreboard { position: relative; overflow: hidden; padding-block: 1.6rem 2rem; background: radial-gradient(ellipse 40% 90% at 50% 40%, rgba(190, 25, 45, .5), transparent 70%), linear-gradient(100deg, #1c0204 0%, #34030f 50%, #1c0204 100%); border-bottom: 1px solid rgba(244, 182, 63, .35); }
.scoreboard-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: .4rem 0 1.4rem; }
.scoreboard-meta span { padding: .35rem .8rem; border: 1px solid rgba(244, 182, 63, .5); border-radius: 999px; background: rgba(0, 0, 0, .25); font: 700 .85rem/1 var(--font); }
.scoreboard-meta span:first-child { border-color: transparent; background: var(--gold-grad); color: var(--ink); }
.scoreboard-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1.5rem; }
.sb-team { display: grid; justify-items: center; gap: .6rem; color: #fff; text-align: center; text-decoration: none; }
.sb-team small { color: var(--muted); font: 600 .75rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.sb-name { font: 800 italic clamp(1.3rem, 2.6vw, 2.1rem)/1.05 var(--font); text-transform: uppercase; overflow-wrap: anywhere; }
.sb-team:hover .sb-name { color: var(--gold); }
.sb-team.is-loser .sb-name { color: #d4b9c1; }
.sb-logo { display: grid; place-items: center; width: 6.5rem; height: 6.5rem; padding: .5rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(244, 182, 63, .35), 0 10px 26px rgba(0, 0, 0, .4); overflow: hidden; }
.sb-team.is-winner .sb-logo { box-shadow: 0 0 0 4px var(--gold), 0 10px 26px rgba(0, 0, 0, .4); }
.sb-logo img { width: 100%; height: 100%; object-fit: contain; }
.team-initial { font: 800 2.4rem/1 var(--font); color: #4a031a; }
.sb-score { display: grid; justify-items: center; gap: .5rem; }
.sb-score strong { display: flex; align-items: center; gap: .6rem; font: 800 italic clamp(3.2rem, 8vw, 6rem)/1 var(--font); font-variant-numeric: tabular-nums; color: #d4b9c1; }
.sb-score strong .won { color: var(--gold); text-shadow: 0 0 28px rgba(244, 182, 63, .35); }
.sb-score strong i { font-style: normal; color: rgba(255, 255, 255, .35); }
.sb-score .sb-time { color: #fff; }
.sb-score em { padding: .3rem .8rem; border-radius: 6px; background: rgba(0, 0, 0, .35); color: #fff; font: 700 .78rem/1 var(--font); font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.sb-title { text-align: center; font: 800 italic clamp(2rem, 5vw, 3.4rem)/1 var(--font); text-transform: uppercase; }
.scoreboard-venue { margin-top: 1.4rem; text-align: center; color: var(--muted); font-size: .95rem; }
.scoreboard-venue a { color: var(--gold); }
.match-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.line-score td.total { font-size: 1.15rem; }
.compare { display: grid; gap: .9rem; padding: 1.1rem 1.3rem 1.3rem; }
.compare-teams { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font: 700 .85rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .05em; }
.compare-teams span:last-child { text-align: right; }
.compare-row { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr) 2.8rem; align-items: center; gap: .8rem; }
.compare-row > b { font: 800 1.35rem/1 var(--font); font-variant-numeric: tabular-nums; text-align: center; color: #d4b9c1; }
.compare-row > b.lead { color: var(--gold); }
.compare-bar { position: relative; display: flex; gap: 3px; height: .7rem; margin-top: 1.1rem; }
.compare-bar span { height: 100%; border-radius: 3px; min-width: 3px; }
.bar-home { background: var(--gold-grad); }
.bar-away { background: #b03454; }
.compare-bar em { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: .3rem; text-align: center; color: #fff; font: 600 .78rem/1 var(--font); font-style: normal; text-transform: uppercase; letter-spacing: .08em; }
.leaders { margin-top: 2rem; }
.leaders .block-title { margin-bottom: 1rem; font-size: 1.6rem; }
.leader-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.leader-card { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; align-items: center; gap: 1.2rem; overflow: hidden; padding-right: 1.4rem; border-radius: 12px; background: radial-gradient(ellipse 60% 120% at 0% 100%, #7a1832, transparent 70%), linear-gradient(110deg, #3d0414, #24010a); border: 1px solid rgba(201, 139, 46, .45); color: #fff; text-decoration: none; transition: border-color .15s, transform .15s; }
.leader-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.leader-photo { display: flex; align-items: flex-end; justify-content: center; height: 6.5rem; overflow: hidden; }
.leader-img { width: 100%; height: 100%; object-fit: cover; }
.leader-photo .player-photo-empty { width: 100%; font-size: 6rem; line-height: 0; }
.leader-info { display: grid; gap: .25rem; min-width: 0; padding-block: .8rem; }
.leader-info small { color: var(--gold); font: 700 .75rem/1 var(--font); text-transform: uppercase; letter-spacing: .08em; }
.leader-info strong { font: 800 1.35rem/1.1 var(--font); overflow-wrap: anywhere; }
.leader-line { color: var(--muted); font-size: .88rem; }
.leader-pts { display: grid; justify-items: center; }
.leader-pts b { font: 800 italic 3rem/1 var(--font); color: var(--gold); }
.leader-pts small { color: var(--muted); font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; }
.box-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; margin-top: 2rem; align-items: start; }
.box-head { display: flex; align-items: center; gap: .9rem; padding: .8rem 1.2rem; background: var(--gold-grad); color: var(--ink); }
.box-head .sb-logo { width: 2.8rem; height: 2.8rem; padding: .2rem; box-shadow: none; }
.box-head .team-initial { font-size: 1.2rem; }
.box-head h2 { flex: 1; min-width: 0; font: 700 1.6rem/1 var(--font-cond); text-transform: uppercase; color: #4a0819; overflow-wrap: anywhere; }
.box-head b { font: 800 italic 2rem/1 var(--font); color: #4a0819; opacity: .7; }
.box-head b.won { opacity: 1; }
.box-score .data-table td.num { color: var(--muted); width: 2.4rem; }
.box-score .data-table abbr { text-decoration: none; }
.box-score tr.is-top td { background: rgba(244, 182, 63, .16); }
.box-score tr.is-top td.left a { color: var(--gold); font-weight: 800; }
.box-score tr.fouled-out td:nth-child(6) { color: #ff7a8f; font-weight: 800; }
.box-score .empty { padding: 1.2rem; }
.match-report { margin-top: 2rem; }
@media (max-width: 64rem) {
    .match-grid, .box-grid, .leader-grid { grid-template-columns: 1fr; }
}
@media (max-width: 48rem) {
    .scoreboard-row { gap: .6rem; }
    .sb-logo { width: 4.2rem; height: 4.2rem; padding: .3rem; }
    .sb-name { font-size: 1rem; }
    .sb-score strong { font-size: 2.6rem; gap: .3rem; }
    .sb-score em { font-size: .62rem; padding: .25rem .5rem; }
    .leader-card { grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .8rem; padding-right: 1rem; }
    .leader-photo { height: 5rem; }
    .leader-pts b { font-size: 2.3rem; }
    .compare { padding: 1rem; }
}

/* ---------- Poročila s tekem ---------- */
.story-kicker { display: block; margin-bottom: .45rem; color: var(--gold); font: 700 .75rem/1.2 var(--font); letter-spacing: .07em; text-transform: uppercase; }
.match-report { max-width: none; margin: 0 0 2rem; }
.match-body .match-report + .match-grid { margin-top: 0; }
.report-title { margin-bottom: 1rem; font: 700 2rem/1 var(--font-cond); text-transform: uppercase; color: #4a031a; }
.story-match { display: block; margin-top: .35rem; color: var(--muted); font: 600 .9rem/1.25 var(--font); }
.match-report .story-kicker { color: #8a1534; }

/* ---------- Poročilo (recap) ---------- */
.recap { margin-bottom: 2rem; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.recap-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(18rem, 38vw, 30rem); background: #1c0204; }
.recap-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recap-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 0, 5, .92) 0%, rgba(20, 0, 5, .45) 45%, rgba(20, 0, 5, 0) 75%); }
.recap-hero.no-photo { min-height: 0; background: radial-gradient(ellipse 50% 120% at 15% 50%, rgba(170, 20, 35, .5), transparent 70%), linear-gradient(90deg, #2a0308, #4a0619); }
.recap-hero.no-photo::after { display: none; }
.recap-hero-text { position: relative; z-index: 1; max-width: 52rem; padding: 2rem 2.2rem 1.8rem; color: #fff; }
.recap-hero-text h2 { margin: .2rem 0 .7rem; font: 800 italic clamp(1.9rem, 4.2vw, 3.3rem)/1.02 var(--font); text-shadow: 0 3px 18px rgba(0, 0, 0, .5); }
.recap-hero-text time { color: #e6d3d8; font-weight: 600; }
.recap-body { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; grid-template-areas: "text side"; gap: 2.6rem; padding: 2.2rem 2.2rem 2.6rem; }
.recap-text { grid-area: text; max-width: 46rem; color: #1f0c12; font-size: 1.12rem; line-height: 1.75; }
.recap-text a { color: #8a1534; }
.recap-text img { margin-inline: auto; border-radius: 8px; }
.recap-text h2, .recap-text h3 { margin-top: 1.6rem; }
.recap-side { grid-area: side; align-self: start; position: sticky; top: 1.2rem; padding: 1.2rem 1.2rem 1.1rem; border-radius: 10px; background: linear-gradient(180deg, #3d0414, #24010a); color: #fff; box-shadow: 0 8px 22px rgba(60, 0, 18, .25); }
.recap-side h3 { margin-bottom: .9rem; font: 700 1.35rem/1 var(--font-cond); text-transform: uppercase; color: var(--gold); }
.recap-score { display: grid; gap: .35rem; margin-bottom: 1rem; }
.recap-score div { display: flex; justify-content: space-between; align-items: center; gap: .6rem; color: #d4b9c1; font-weight: 700; }
.recap-score div span { min-width: 0; overflow-wrap: anywhere; }
.recap-score b { font: 800 italic 1.7rem/1 var(--font); font-variant-numeric: tabular-nums; }
.recap-score .won { color: #fff; }
.recap-score .won b { color: var(--gold); }
.recap-quarters { width: 100%; margin-bottom: 1rem; border-collapse: collapse; font-size: .85rem; font-variant-numeric: tabular-nums; }
.recap-quarters th, .recap-quarters td { padding: .35rem .2rem; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.recap-quarters thead th { border-top: 0; color: var(--muted); font-weight: 600; }
.recap-quarters tbody th { text-align: left; color: var(--muted); text-transform: uppercase; }
.recap-leaders { display: grid; gap: .55rem; margin: 0 0 1rem; padding: .9rem 0 0; border-top: 1px solid rgba(244, 182, 63, .3); list-style: none; }
.recap-leaders li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .6rem; }
.recap-leaders a { color: #fff; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.recap-leaders a:hover { color: var(--gold); }
.recap-leaders small { grid-row: 2; color: var(--muted); font-size: .78rem; }
.recap-leaders b { grid-row: 1 / span 2; align-self: center; color: var(--gold); font: 800 italic 1.6rem/1 var(--font); }
.match-grid.single { grid-template-columns: 1fr; }
#statistika { scroll-margin-top: 1rem; }
@media (max-width: 64rem) {
    .recap-body { grid-template-columns: 1fr; grid-template-areas: "side" "text"; gap: 1.6rem; padding: 1.3rem; }
    .recap-side { position: static; }
    .recap-hero-text { padding: 1.4rem 1.3rem 1.3rem; }
}
img.emoji, img.wp-smiley { display: inline !important; width: 1em !important; height: 1em !important; margin: 0 .1em !important; vertical-align: -.1em; border-radius: 0 !important; box-shadow: none !important; }

/* ---------- Logotip ---------- */
.site-header .brand { align-self: flex-start; }
.site-header .brand-logo { position: relative; z-index: 30; width: auto; height: 8.4rem; margin: .4rem 0 -3.6rem; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); transition: transform .2s; }
.site-header .brand:hover .brand-logo { transform: rotate(-3deg) scale(1.03); }
.hero-copy { padding-top: 5rem; }
.page-heading, .scoreboard, .player-hero-inner { padding-top: 3.2rem; }
.footer-row .brand-logo { width: auto; height: 5.2rem; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4)); }
@media (max-width: 64rem) {
    .site-header .brand-logo { height: 4.6rem; margin: .2rem 0 -1.4rem; }
    .menu-open .site-header .brand-logo { margin-bottom: 0; }
}
@media (max-width: 48rem) {
    .site-header .brand-logo { height: 3.9rem; margin-bottom: -1rem; }
    .page-heading, .scoreboard { padding-top: 2.2rem; }
    .player-hero-inner { padding-top: 0; }
}

/* Arhiv pod pogledom (npr. stari bilteni) */
.view-archive { margin-top: 3rem; }
.view-archive .entry-content { max-width: 52rem; }
