/*
Theme Name: Culers Family
Theme URI: https://culersfamily.sk
Author: Viki
Description: Nový vzhľad pre Culers Family — neoficiálny fanklub FC Barcelona.
Version: 0.6.9
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: culers
*/

:root {
  --blau: #1d3fa3; --blau-glow: #2b5be0; --grana: #a3123f; --gold: #e9c46a; --gold-2: #f5dc95;
  --ink: #0a1033; --ink-deep: #070b26; --ink-nav: #080d2b; --panel: #111a4c; --panel-2: #16215a;
  --line: #1c2660; --line-2: #243071; --line-3: #2d3a80;
  --text: #ffffff; --soft: #cdd3f0; --muted: #929bc9; --dim: #6f78ab;
  --display: 'Poppins', system-ui, sans-serif;
  --serif: 'Grenze Gotisch', 'Old English Text MT', serif;
  --gothic: 'Grenze Gotisch', 'Old English Text MT', serif;
  --script: 'Mr Dafoe', 'Brush Script MT', cursive;
  --body: 'Poppins', system-ui, -apple-system, sans-serif;
  --stripes: repeating-linear-gradient(90deg, #8e0f3a 0, #a3123f 3.5%, #6b0c33 6%, #1a2f86 6%, #1d3fa3 9.5%, #13287a 12%);
  --wrap: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cf-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.cf-display { font-family: var(--display); font-weight: 700; letter-spacing: 0; }
.cf-thin { font-weight: 200; }
.cf-hot { color: var(--grana); font-style: italic; font-weight: 700; }
.cf-stripes { height: 4px; background: linear-gradient(90deg, var(--blau-glow), var(--grana)); }
.cf-hazard { height: 3px; background: linear-gradient(90deg, var(--blau-glow), var(--grana)); }
.cf-texture { background-image: radial-gradient(900px 420px at 85% 0%, rgba(42,75,255,.22), transparent 70%), radial-gradient(700px 380px at 0% 100%, rgba(255,0,0,.10), transparent 70%); }
.cf-x { color: var(--grana); font-style: italic; }

/* ---------- Header ---------- */
.cf-utility { background: var(--ink-deep); border-bottom: 1px solid var(--line); }
.cf-utility .cf-wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.cf-utility-text { font-size: 12px; letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
.cf-social { display: flex; gap: 16px; }
.cf-social a { display: flex; color: #8f8f98; }
.cf-social a:hover { color: #fff; }
.cf-social svg { width: 16px; height: 16px; }

.cf-header { background: var(--ink); position: sticky; top: 0; z-index: 50; }
.admin-bar .cf-header { top: 32px; }
.cf-header-main { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 20px; }
.cf-logo { display: flex; align-items: center; gap: 14px; font-size: 26px; line-height: 1; letter-spacing: .01em; }
.cf-logo img { max-height: 48px; width: auto; }
.cf-logo .b { font-family: var(--serif); font-weight: 400; font-size: 1.2em; color: #fff; letter-spacing: .02em; } .cf-logo .g { font-family: var(--script); font-weight: 400; font-size: 1.35em; color: var(--grana); margin-left: .05em; text-transform: none; }
.cf-header-actions { display: flex; align-items: center; gap: 18px; }
.cf-cta { background: var(--grana); color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; padding: 12px 22px; border-radius: 0; border: 0; box-shadow: 0 0 24px rgba(255,0,0,.35); }
.cf-cta:hover { background: #fff; color: var(--grana); }
.cf-profile-chip { display: flex; align-items: center; gap: 10px; padding: 5px 14px 5px 6px; border: 1px solid var(--line-3); border-radius: 24px; }
.cf-profile-chip:hover { border-color: #3a3a44; }
.cf-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blau-glow); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }
.cf-chip-title { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; line-height: 1.1; }
.cf-chip-sub { font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.1; }
.cf-burger { display: flex; flex-direction: column; gap: 5px; padding: 8px 8px 8px 18px; border: 0; border-left: 1px solid var(--line-2); background: none; cursor: pointer; }
.cf-burger span { width: 24px; height: 2px; background: #fff; display: block; }

.cf-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-nav); }
.cf-nav > .cf-wrap > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; }
.cf-nav li { position: relative; list-style: none; }
.cf-nav a { display: block; padding: 16px 0 13px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #b8b7c0; border-bottom: 3px solid transparent; }
.cf-nav a:hover { color: #fff; }
.cf-nav .current-menu-item > a, .cf-nav .current_page_item > a, .cf-nav .current-menu-ancestor > a { color: #fff; border-bottom-color: var(--grana); }
.cf-nav .sub-menu { display: none; position: absolute; left: -16px; top: 100%; min-width: 220px; margin: 0; padding: 6px 0; background: var(--panel); border: 1px solid var(--line-3); z-index: 60; }
.cf-nav li:hover > .sub-menu, .cf-nav li:focus-within > .sub-menu { display: block; }
.cf-nav .sub-menu a { padding: 10px 16px; border: 0; font-size: 13px; }

.cf-drawer { display: none; background: var(--panel); border-bottom: 1px solid var(--line-3); }
.cf-drawer.is-open { display: block; }
.cf-drawer ul { list-style: none; margin: 0; padding: 12px 0; columns: 3; }
.cf-drawer a { display: block; padding: 8px 0; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; color: #cfd0d8; }
.cf-drawer a:hover { color: var(--grana); }
.cf-drawer .cf-drawer-primary { display: none; }

/* ---------- Hero (matchday poster) ---------- */
.cf-hero { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(600px, 52vw, 780px); background: radial-gradient(1000px 600px at 50% 10%, #1b2fd6 0%, var(--blau) 40%, var(--ink-deep) 100%); color: #fff; }
.cf-hero-photo { position: absolute; left: 50%; top: 0; bottom: 0; width: min(62vw, 900px); transform: translateX(-50%); z-index: -2;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 50% 35%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 60% 75% at 50% 35%, #000 55%, transparent 100%); }
.cf-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(1) contrast(1.2) brightness(.95); }
.cf-hero-photo::after { content: ""; position: absolute; inset: 0; background: #1a2cff; mix-blend-mode: multiply; }
.cf-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,6,24,0) 40%, rgba(3,6,24,.85) 88%, var(--ink-deep) 100%); }
.cf-hero-streaks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cf-hero-streaks i { position: absolute; height: 34px; border-radius: 20px; background: linear-gradient(90deg, rgba(255,0,0,0), rgba(255,40,40,.95) 30%, rgba(255,90,90,.9) 60%, rgba(255,0,0,0)); filter: blur(10px); transform: rotate(-24deg); mix-blend-mode: screen; opacity: .85; }
.cf-hero-streaks i:nth-child(1) { width: 46%; left: -6%; top: 52%; }
.cf-hero-streaks i:nth-child(2) { width: 38%; left: -4%; top: 64%; height: 22px; opacity: .6; }
.cf-hero-streaks i:nth-child(3) { width: 42%; right: -8%; top: 30%; }
.cf-hero-streaks i:nth-child(4) { width: 30%; right: -4%; top: 42%; height: 18px; opacity: .55; }
.cf-hero-swoosh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cf-hero-swoosh path { fill: none; stroke: #fff; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)) drop-shadow(0 0 18px rgba(120,150,255,.8)); }
.cf-hero-inner { position: relative; min-height: inherit; display: grid; grid-template-rows: auto 1fr auto; padding-top: 28px; padding-bottom: 40px; }
.cf-hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.cf-hero-season small, .cf-hero-stats small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.cf-hero-season strong { font-size: 18px; font-weight: 700; letter-spacing: .06em; }
.cf-hero-stats { display: flex; gap: 28px; text-align: right; }
.cf-hero-stats b { display: block; font-size: 26px; font-weight: 700; line-height: 1.1; }
.cf-hero-title { align-self: end; text-align: center; line-height: .8; margin: 0; padding-top: 4vh; }
.cf-hero-title .serif { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 11vw, 170px); letter-spacing: .01em; color: #fff; text-transform: uppercase; text-shadow: 0 6px 40px rgba(2,17,143,.6); }
.cf-hero-title .script { display: block; font-family: var(--script); font-weight: 400; font-size: clamp(60px, 9.5vw, 150px); color: var(--grana); margin: -.42em 0 0 .6em; transform: rotate(-6deg); text-shadow: 0 0 30px rgba(255,0,0,.35); }
.cf-hero-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 32px; margin-top: 28px; }
.cf-poster { display: flex; align-items: center; justify-content: center; gap: 14px; }
.cf-pbox { background: #fff; color: var(--grana); text-align: center; padding: 10px 16px 8px; min-width: 116px; }
.cf-pbox b { display: block; font-size: 52px; font-weight: 500; line-height: 1; }
.cf-pbox span { display: block; font-size: 17px; font-weight: 400; color: #222; text-transform: uppercase; letter-spacing: .02em; }
.cf-pcrest { width: 76px; height: 76px; background: #fff; color: var(--blau); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; overflow: hidden; }
.cf-pcrest img { max-width: 62px; max-height: 62px; }
.cf-poster-meta { text-align: center; margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cf-poster-meta em { color: var(--grana); font-style: italic; }
.cf-hero-article { max-width: 360px; }
.cf-hero-article .cat { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--grana); margin-bottom: 8px; }
.cf-hero-article h2 { margin: 0; font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cf-hero-article .btn { display: inline-block; margin-top: 16px; background: #fff; color: var(--blau); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 12px 20px; }
.cf-hero-article .btn:hover { background: var(--grana); color: #fff; }
.cf-hero-next { justify-self: end; text-align: right; max-width: 300px; }
.cf-hero-next a { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; font-weight: 500; line-height: 1.3; }
.cf-hero-next a:hover { color: var(--grana); }
.cf-hero-next img { width: 96px; height: 64px; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.cf-hero-next a:hover img { filter: none; }
.cf-hero-next small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.cf-hero > .cf-hazard { position: absolute; left: 0; right: 0; bottom: 0; }

/* ---------- Event ---------- */
.cf-event-wrap { background: var(--ink); border-bottom: 1px solid var(--line); }
.cf-event-wrap .cf-wrap { padding-top: 24px; padding-bottom: 24px; }
.cf-event { background: var(--panel); border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 28px; flex-wrap: wrap; }
.cf-event-l, .cf-event-r { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cf-badge { background: var(--grana); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 6px 12px; text-transform: uppercase; }
.cf-event-title { font-size: 17px; color: #fff; letter-spacing: .02em; text-transform: uppercase; }
.cf-event-days { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cf-btn-white { display: inline-block; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; padding: 10px 20px; }
.cf-btn-white:hover { background: var(--grana); color: #fff; }

/* ---------- Section heads ---------- */
.cf-block { padding: 64px 0; }
.cf-block-deep { background-color: var(--ink-deep); border-top: 1px solid var(--line); }
.cf-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.cf-head h2 { margin: 0; font-size: 24px; color: #fff; text-transform: uppercase; }
.cf-head .rule { flex-grow: 1; height: 1px; background: var(--line-2); }
.cf-head a { font-size: 14px; font-weight: 500; color: var(--soft); text-transform: uppercase; letter-spacing: .08em; }
.cf-head a:hover { color: var(--grana); }
.cf-side-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cf-side-head i { width: 4px; height: 18px; background: var(--grana); }
.cf-side-head i.blau { background: var(--blau-glow); } .cf-side-head i.gold { background: var(--gold); }
.cf-side-head h3, .cf-side-head h2 { margin: 0; font-size: 19px; color: #fff; text-transform: uppercase; }

/* ---------- Cards ---------- */
.cf-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cf-card { display: flex; flex-direction: column; gap: 16px; }
.cf-card-img { position: relative; aspect-ratio: 16/11; background: var(--panel-2); overflow: hidden; }
.cf-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(2,17,143,.55)); pointer-events: none; }
.cf-card-img img, .cf-card-img .cf-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cf-card:hover .cf-card-img img { filter: brightness(1.08); }
.cf-ph { background: linear-gradient(160deg, #1d2b45 0%, #16161d 70%); }
.cf-label { position: absolute; left: 0; top: 16px; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 6px 16px 6px 12px; background: var(--blau); z-index: 1; }
.cf-label { background: var(--grana); }
.cf-label.c0 { background: #fff; color: var(--blau); } .cf-label.c2 { background: var(--blau-glow); } .cf-label.c3 { background: var(--grana); }
.cf-date { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cf-card h3 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 700; color: #fff; }
.cf-card:hover h3 { color: var(--grana); }

/* ---------- Latest + sidebar ---------- */
.cf-latest { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.cf-latest > div > h2 { margin: 0 0 28px; font-size: 24px; color: #fff; text-transform: uppercase; }
.cf-row { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.cf-row:last-child { border-bottom: 0; }
.cf-row-img { position: relative; width: 140px; height: 90px; flex: 0 0 auto; background: var(--panel-2); border: 1px solid var(--line-2); overflow: hidden; }
.cf-row-img img, .cf-row-img .cf-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cf-row-cat { font-size: 12px; color: var(--grana); text-transform: uppercase; font-weight: 700; letter-spacing: .05em; }
.cf-row-cat.c0 { color: #fff; } .cf-row-cat.c2 { color: var(--blau-glow); }
.cf-row h4 { margin: 6px 0; font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }
.cf-row:hover h4 { color: var(--grana); }
.cf-row .d { font-size: 12px; color: var(--dim); }

.cf-sidebar { display: flex; flex-direction: column; gap: 40px; position: sticky; top: 150px; }
.cf-popular { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: pop; }
.cf-popular li { counter-increment: pop; display: flex; gap: 14px; align-items: flex-start; }
.cf-popular li::before { content: counter(pop, decimal-leading-zero); font-family: var(--display); font-weight: 700; font-size: 21px; color: #3a3a44; line-height: 1; }
.cf-popular a { font-size: 15px; font-weight: 600; color: #e6e5e0; line-height: 1.3; }
.cf-popular a:hover { color: var(--grana); }
.cf-injuries { display: flex; flex-direction: column; gap: 10px; }
.cf-injury { display: flex; gap: 12px; padding: 12px; background: var(--panel); border: 1px solid var(--line); }
.cf-injury .sq { width: 48px; height: 48px; flex: 0 0 auto; background: linear-gradient(160deg, var(--blau-glow) 0%, var(--ink) 80%); border: 1px solid var(--grana); }
.cf-injury:nth-child(even) .sq { background: linear-gradient(160deg, var(--grana) 0%, var(--ink) 80%); }
.cf-injury .i { flex-grow: 1; }
.cf-injury .n { font-size: 14px; font-weight: 700; color: #fff; }
.cf-injury .w { font-size: 12px; color: var(--muted); }
.cf-injury .t { font-size: 11px; color: var(--dim); margin-top: 2px; }
.cf-injury .more { font-size: 12px; font-weight: 700; color: var(--grana); text-transform: uppercase; align-self: center; white-space: nowrap; }
.cf-bday { background: #fff; color: var(--blau); border: 0; padding: 20px; display: flex; align-items: center; gap: 16px; }
.cf-bday .num { width: 56px; height: 56px; flex: 0 0 auto; background: var(--grana); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; }
.cf-bday small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grana); }
.cf-bday strong { display: block; font-size: 16px; font-weight: 700; color: var(--blau); margin-top: 2px; }
.cf-bday span { font-size: 12px; color: #5a6399; }
.cf-join { background: linear-gradient(140deg, var(--blau) 0%, #1a0a3a 60%, #5a0010 100%); border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.cf-join .t { font-size: 19px; color: #fff; text-transform: uppercase; }
.cf-join p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.4; }
.cf-join a { margin-top: 6px; background: #fff; color: #16161d; font-weight: 700; font-size: 13px; text-transform: uppercase; text-align: center; padding: 12px; }
.cf-join a:hover { background: var(--grana); color: #fff; }

/* ---------- Players + match ---------- */
.cf-players { background: var(--ink); border-top: 1px solid var(--line); }
.cf-players .cf-wrap { padding-top: 72px; padding-bottom: 24px; }
.cf-players-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.cf-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--grana); margin-bottom: 6px; }
.cf-players-head h2 { margin: 0; font-size: 49px; line-height: .92; color: #fff; }
.cf-arrows { display: flex; gap: 14px; }
.cf-arrows button { width: 46px; height: 46px; border: 1px solid var(--line-3); background: none; color: #fff; font-size: 20px; cursor: pointer; }
.cf-arrows button + button { background: var(--grana); border-color: var(--grana); }
.cf-match { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 32px; padding: 26px 32px; background: linear-gradient(120deg, var(--blau) 0%, #050a26 55%, #6a0008 100%); border: 1px solid rgba(255,255,255,.15); flex-wrap: wrap; }
.cf-match .cf-hazard { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; }
.cf-match-l { display: flex; align-items: center; gap: 22px; }
.cf-crest { width: 58px; height: 58px; border-radius: 0; background: #fff; color: var(--blau) !important; border: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; }
.cf-vs { padding: 0 14px; font-size: 18px; color: var(--grana); font-style: italic; }
.cf-opp { width: 58px; height: 58px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cf-opp img { max-width: 48px; max-height: 48px; }
.cf-match small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--grana); margin-bottom: 4px; }
.cf-match h3 { margin: 0; font-size: 25px; line-height: 1; color: #fff; text-transform: uppercase; }
.cf-count { display: flex; align-items: flex-start; gap: 10px; }
.cf-count .u { text-align: center; }
.cf-count .u b { display: block; background: #fff; color: var(--grana) !important; border: 0; min-width: 92px; padding: 8px 12px 4px; font-family: var(--display); font-weight: 500; font-size: 38px; line-height: 1; }

.cf-count .u span { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cf-count .sep { font-family: var(--display); font-weight: 700; font-size: 27px; color: #3a3a44; padding-top: 10px; }
.cf-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.cf-filters button { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .06em; padding: 9px 21px; background: transparent; color: #cfd0d8; border: 1px solid var(--line-3); cursor: pointer; text-transform: uppercase; }
.cf-filters button.is-active { background: var(--grana); color: #fff; border-color: var(--grana); }
.cf-squad { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cf-squad::-webkit-scrollbar { display: none; }
.cf-player { display: block; position: relative; aspect-ratio: 4/5.6; overflow: hidden; background: linear-gradient(160deg, var(--blau-glow) 0%, var(--ink) 78%); border-bottom: 4px solid var(--grana); scroll-snap-align: start; }
.cf-player:nth-child(even) { background: linear-gradient(160deg, #7a0010 0%, var(--ink) 78%); }
.cf-player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.cf-player .no { position: absolute; right: -4px; top: -14px; font-size: 99px; line-height: 1; color: rgba(255,255,255,.10); }
.cf-player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,10,.92) 0%, rgba(5,5,10,.55) 28%, transparent 55%); }
.cf-player .txt { position: absolute; left: 20px; right: 16px; bottom: 18px; z-index: 1; }
.cf-player .fn { font-family: var(--script); font-size: 26px; color: var(--grana); min-height: 26px; line-height: 26px; }
.cf-player .ln { font-size: 27px; line-height: .95; color: #fff; text-transform: uppercase; }
.cf-player .pos { margin-top: 8px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.cf-player:hover .ln { color: var(--grana); }
.cf-player[hidden] { display: none; }
.cf-squad-foot { display: flex; justify-content: center; padding: 32px 0 56px; }
.cf-btn-outline { display: inline-block; border: 1px solid var(--line-3); color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding: 14px 26px; }
.cf-btn-outline:hover { border-color: var(--grana); color: #fff; background: var(--grana); }

/* ---------- Footer ---------- */
.cf-footer { background: var(--ink-deep); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.cf-footer-claim { padding: 56px 0 8px; }
.cf-footer-claim strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: 1; color: #fff; text-transform: uppercase; }
.cf-footer-claim strong em { font-family: var(--script); font-style: normal; text-transform: none; color: var(--grana); margin-left: .1em; }
.cf-footer-claim span { display: block; margin-top: 8px; color: var(--muted); }
.cf-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 40px 0; }
.cf-footer h2 { font-size: 13px; color: #fff; margin: 0 0 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cf-footer .brand { font-size: 22px; margin-bottom: 12px; }
.cf-footer ul { list-style: none; margin: 0; padding: 0; }
.cf-footer li { padding: 4px 0; }
.cf-footer a:hover { color: #fff; }
.cf-sponsors { border-top: 1px solid var(--line); padding: 28px 0; }
.cf-sponsors h2 { margin-bottom: 16px; }
.cf-sponsors-list { display: flex; flex-wrap: wrap; gap: 12px; }
.cf-sponsor { padding: 12px 20px; border: 1px solid var(--line-2); color: #cfd0d8; font-weight: 700; }
.cf-sponsor:hover { border-color: #3a3a44; color: #fff; }
.cf-copy { border-top: 1px solid var(--line); padding: 20px 0 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

/* ---------- Inner pages ---------- */
.cf-page-head { padding: 56px 0 36px; border-bottom: 1px solid var(--line); background: radial-gradient(800px 300px at 90% 0%, rgba(255,0,0,.18), transparent 70%), linear-gradient(150deg, rgba(42,75,255,.35) 0%, transparent 60%); }
.cf-page-head h1 { margin: 12px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; color: #fff; }
.cf-page-head .cf-label { position: static; display: inline-block; }
.cf-meta { margin-top: 12px; color: var(--muted); font-size: 14px; }
.cf-main { padding: 48px 0 72px; }
.cf-sheet { background: #fff; color: #1a1a1f; padding: clamp(22px, 4vw, 48px); }
.cf-sheet a { color: var(--blau); text-decoration: underline; text-underline-offset: 2px; }
.cf-sheet h2, .cf-sheet h3 { font-family: var(--display); color: #1a1a1f; }
.cf-entry { max-width: 780px; margin: 0 auto; font-size: 17px; line-height: 1.75; }
.cf-entry-wide { max-width: none; }
.cf-entry .alignleft { float: left; margin: 0 20px 12px 0; }
.cf-entry .alignright { float: right; margin: 0 0 12px 20px; }
.cf-entry .aligncenter { margin-left: auto; margin-right: auto; }
.cf-entry::after { content: ""; display: table; clear: both; }
.cf-featured { margin: 0 0 28px; }
.cf-pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.cf-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line-3); font-weight: 700; }
.cf-pagination .current { background: var(--grana); border-color: var(--grana); color: #fff; }
.cf-related { margin-top: 48px; }

/* ---------- Player profile (restyles existing WPCode profile snippets) ---------- */
body .cf-sheet:has(.cf-profile-light) { background: transparent; color: var(--text); padding: 0; }
body .cf-profile-light { max-width: none; color: var(--text); }
body .cf-profile-light .cf-profile-hero { position: relative; display: flex; align-items: flex-end; gap: 40px; min-height: 420px; padding: 48px 56px; margin: 0 0 48px; border: 0; background: radial-gradient(600px 300px at 85% 20%, rgba(255,0,0,.28), transparent 70%), linear-gradient(150deg, var(--blau-glow) 0%, var(--blau) 40%, var(--ink) 100%); }
body .cf-profile-light .cf-profile-photo { width: 220px; height: 280px; border-radius: 0; border: 0; border-bottom: 4px solid var(--grana); background-color: var(--panel-2); filter: saturate(.85) contrast(1.05); }
body .cf-profile-light .cf-profile-num { width: 52px; height: 52px; border-radius: 0; background: #fff; color: var(--grana); font-family: var(--display); font-size: 20px; margin-right: 12px; }
body .cf-profile-light .cf-profile-pos { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
body .cf-profile-light .cf-profile-name { font-family: var(--display); font-size: 42px; line-height: .95; color: #fff; text-transform: uppercase; margin: 12px 0 8px; }
body .cf-profile-light .cf-profile-sub { font-size: 15px; color: #b8b7c0; }
body .cf-profile-light .cf-profile-heading { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; border: 0; padding: 0; margin: 40px 0 18px; letter-spacing: -.01em; }
body .cf-profile-light .cf-profile-heading::before { content: ""; width: 4px; height: 20px; background: var(--grana); }
body .cf-profile-light .cf-profile-text { font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 72ch; }
body .cf-profile-light .cf-profile-list { list-style: none; padding: 0; }
body .cf-profile-light .cf-profile-list li { position: relative; padding-left: 18px; font-size: 15px; color: var(--soft); }
body .cf-profile-light .cf-profile-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--grana); }
body .cf-profile-light .cf-profile-quickinfo { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--grana); border-radius: 0; padding: 24px; }
body .cf-profile-light .cf-profile-qi-label { color: var(--dim); }
body .cf-profile-light .cf-profile-qi-value { color: #fff; }
.cf-sheet:has(.cf-profile-light) .cf-profile-light > :not(.cf-profile-hero) { margin-left: 56px; margin-right: 56px; }
.cf-sheet:has(.cf-profile-light) .cf-profile-light > .cf-profile-heading { margin-left: 56px; }

/* ---------- WooCommerce basics ---------- */
.woocommerce .cf-sheet a.button, .woocommerce .cf-sheet button.button, .woocommerce .cf-sheet .button { background: var(--grana); color: #fff; border-radius: 3px; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cf-hero-bottom { grid-template-columns: 1fr 1fr; }
  .cf-hero-bottom .cf-poster-wrap { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 1100px) {
  .cf-latest { grid-template-columns: 1fr; }
  .cf-sidebar { position: static; }
  .cf-squad { grid-auto-columns: calc((100% - 32px) / 3); }
  .cf-footer-grid { grid-template-columns: 1fr 1fr; }
  .cf-nav a { font-size: 12px; }
}
@media (max-width: 900px) {
  .cf-wrap { padding: 0 20px; }
  .cf-hero-photo { width: 120vw; }
  .cf-hero-stats { gap: 16px; }
  .cf-hero-stats b { font-size: 20px; }
  .cf-hero-title { padding-top: 30vh; }
  .cf-hero-bottom { grid-template-columns: 1fr; }
  .cf-hero-next { justify-self: stretch; text-align: left; max-width: none; }
  .cf-pbox { min-width: 86px; padding: 8px 10px 6px; } .cf-pbox b { font-size: 36px; } .cf-pbox span { font-size: 13px; }
  .cf-pcrest { width: 56px; height: 56px; font-size: 14px; }
  .cf-hero-streaks i { height: 20px; }
  .cf-grid-3 { grid-template-columns: 1fr; }
  .cf-nav, .cf-header-actions .cf-cta, .cf-profile-chip .cf-chip-text { display: none; }
  .cf-drawer ul { columns: 1; }
  .cf-drawer .cf-drawer-primary { display: block; }
  .cf-players-head h2 { font-size: 38px; }
  .cf-count .u b { min-width: 60px; font-size: 26px; }
  .cf-squad { grid-auto-columns: 70%; }
  body .cf-profile-light .cf-profile-hero { flex-direction: column; align-items: flex-start; padding: 32px 20px; }
  .cf-sheet:has(.cf-profile-light) .cf-profile-light > :not(.cf-profile-hero) { margin-left: 20px; margin-right: 20px; }
  .cf-sheet:has(.cf-profile-light) .cf-profile-light > .cf-profile-heading { margin-left: 20px; }
}
@media (max-width: 782px) { .admin-bar .cf-header { top: 0; } }
@media (max-width: 600px) {
  .cf-footer-grid { grid-template-columns: 1fr; }
  .cf-row-img { width: 100px; height: 70px; }
  .cf-logo { font-size: 20px; }
  .cf-utility-text { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }


/* =====================================================================
   REBRAND 2026/27 — blaugrana pruhy, zlaté gotické písmo, biely podpis
   ===================================================================== */
.cf-hot { font-family: var(--gothic); font-style: normal; font-weight: 800; color: var(--gold); letter-spacing: .01em; font-size: 1.25em; line-height: .9; }
.cf-thin { font-weight: 300; text-transform: uppercase; letter-spacing: .06em; font-size: .7em; margin-right: .2em; color: #fff; }
.cf-x { color: var(--gold); font-style: normal; }
.cf-stripes, .cf-hazard { background: linear-gradient(90deg, var(--grana), var(--blau) 50%, var(--gold)); }
.cf-texture { background-image: linear-gradient(180deg, rgba(10,16,51,.92), rgba(10,16,51,.97)), var(--stripes); }
.cf-block-deep { background-image: linear-gradient(180deg, rgba(7,11,38,.95), rgba(7,11,38,.98)), var(--stripes); }

/* header */
.cf-logo .b { font-family: var(--gothic); font-weight: 800; font-size: 1.35em; color: var(--gold); letter-spacing: .02em; }
.cf-logo .g { font-family: var(--script); color: #fff; font-size: 1.25em; margin-left: .1em; }
.cf-cta { background: var(--grana); box-shadow: none; border: 1px solid rgba(233,196,106,.6); }
.cf-cta:hover { background: var(--gold); color: var(--ink); }
.cf-avatar { background: var(--grana); }
.cf-nav .current-menu-item > a, .cf-nav .current_page_item > a, .cf-nav .current-menu-ancestor > a { border-bottom-color: var(--gold); }
.cf-nav a:hover, .cf-drawer a:hover { color: var(--gold); }

/* hero */
.cf-hero { background: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(10,16,51,0) 0%, rgba(10,16,51,.55) 70%, rgba(7,11,38,.95) 100%), var(--stripes); }
.cf-hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: inherit; filter: blur(2px); }
.cf-hero-photo { -webkit-mask-image: radial-gradient(ellipse 58% 80% at 50% 30%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 58% 80% at 50% 30%, #000 60%, transparent 100%); }
.cf-hero-photo img { filter: saturate(1.05) contrast(1.05); }
.cf-hero-photo::after { display: none; }
.cf-hero-streaks, .cf-hero-swoosh { display: none; }
.cf-hero-shade { background: linear-gradient(180deg, rgba(7,11,38,0) 45%, rgba(7,11,38,.75) 85%, var(--ink-deep) 100%); }
.cf-hero-title .serif { font-family: var(--gothic); font-weight: 800; color: var(--gold); font-size: clamp(64px, 11.5vw, 180px); letter-spacing: .01em; text-shadow: none; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 55%, #c9a24a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cf-hero-title .script { color: #fff; font-size: clamp(56px, 8.5vw, 132px); margin: -.55em 0 0 1.2em; transform: rotate(-8deg); text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.cf-hero-season small, .cf-hero-stats small { color: var(--gold); }
.cf-hero-stats b { font-family: var(--gothic); font-size: 34px; font-weight: 800; }
.cf-hero-article .cat { color: var(--gold); }
.cf-hero-article .btn { background: var(--gold); color: var(--ink); }
.cf-hero-article .btn:hover { background: #fff; }
.cf-hero-next a:hover { color: var(--gold); }
.cf-hero-next small { color: var(--gold); }
.cf-hero-next img { filter: none; }
.cf-pbox { background: rgba(10,16,51,.88); color: var(--gold); border: 1px solid rgba(233,196,106,.55); }
.cf-pbox b { font-family: var(--gothic); font-weight: 800; font-size: 58px; }
.cf-pbox span { color: #fff; font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .12em; }
.cf-pcrest { color: var(--grana); }
.cf-poster-meta em { color: var(--gold); font-style: normal; }

/* event + headings */
.cf-badge { background: var(--grana); }
.cf-event { background: rgba(17,26,76,.85); border: 1px solid rgba(233,196,106,.35); }
.cf-btn-white { background: var(--gold); color: var(--ink); }
.cf-btn-white:hover { background: #fff; color: var(--ink); }
.cf-head h2, .cf-latest > div > h2, .cf-players-head h2 { text-transform: none; font-size: 40px; line-height: 1; }
.cf-head .rule { background: linear-gradient(90deg, rgba(233,196,106,.6), transparent); }
.cf-head a:hover { color: var(--gold); }
.cf-side-head i { background: var(--gold); } .cf-side-head i.blau { background: var(--blau-glow); }
.cf-side-head h3 { font-family: var(--gothic); font-weight: 800; font-size: 24px; color: var(--gold); text-transform: none; }
.cf-eyebrow { color: #fff; font-weight: 300; }

/* cards & lists */
.cf-card-img::after { background: linear-gradient(180deg, transparent 55%, rgba(10,16,51,.6)); }
.cf-card-img { box-shadow: inset 0 0 0 1px rgba(233,196,106,.35); }
.cf-label { background: var(--grana); color: #fff; }
.cf-label.c0 { background: var(--blau); color: #fff; } .cf-label.c2 { background: var(--gold); color: var(--ink); } .cf-label.c3 { background: var(--grana); }
.cf-row-cat { color: var(--gold); } .cf-row-cat.c0 { color: #8fb0ff; } .cf-row-cat.c2 { color: var(--gold); }
.cf-card:hover h3, .cf-row:hover h4, .cf-popular a:hover, .cf-player:hover .ln { color: var(--gold); }
.cf-popular li::before { font-family: var(--gothic); color: var(--gold); font-size: 28px; opacity: .8; }
.cf-injury .sq { background: var(--stripes); border: 1px solid var(--gold); }
.cf-injury:nth-child(even) .sq { background: var(--stripes); }
.cf-injury .more { color: var(--gold); }
.cf-bday { background: var(--stripes); color: #fff; position: relative; overflow: hidden; }
.cf-bday::before { content: ""; position: absolute; inset: 0; background: rgba(10,16,51,.55); }
.cf-bday > * { position: relative; }
.cf-bday .num { background: transparent; border: 1px solid var(--gold); font-family: var(--gothic); font-size: 32px; font-weight: 800; color: var(--gold); }
.cf-bday small { color: var(--gold); } .cf-bday strong { color: #fff; } .cf-bday span { color: var(--soft); }
.cf-join { background: linear-gradient(180deg, rgba(10,16,51,.35), rgba(10,16,51,.8)), var(--stripes); box-shadow: inset 0 0 0 1px rgba(233,196,106,.4); }
.cf-join .t { font-family: var(--gothic); font-weight: 800; font-size: 28px; color: var(--gold); text-transform: none; line-height: 1; }
.cf-join a { background: var(--gold); color: var(--ink); }
.cf-join a:hover { background: #fff; color: var(--ink); }

/* match + players */
.cf-match { background: linear-gradient(90deg, rgba(10,16,51,.25), rgba(10,16,51,.8)), var(--stripes); border: 1px solid rgba(233,196,106,.45); }
.cf-match small { color: var(--gold); }
.cf-match h3 { font-family: var(--gothic); font-weight: 800; text-transform: none; font-size: 34px; }
.cf-crest { color: var(--grana) !important; }
.cf-vs { color: var(--gold); font-style: normal; font-family: var(--gothic); font-size: 26px; }
.cf-count .u b { background: rgba(10,16,51,.9); color: var(--gold) !important; border: 1px solid rgba(233,196,106,.5); font-family: var(--gothic); font-weight: 800; font-size: 42px; }
.cf-count .u span { color: #fff; }
.cf-count .sep { color: var(--gold); }
.cf-filters button.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cf-arrows button + button { background: var(--grana); border-color: var(--grana); }
.cf-player, .cf-player:nth-child(even) { background: var(--stripes); border-bottom: 4px solid var(--gold); }
.cf-player::after { background: linear-gradient(0deg, rgba(7,11,38,.95) 0%, rgba(7,11,38,.55) 30%, transparent 58%); }
.cf-player .no { font-family: var(--gothic); font-weight: 800; color: rgba(233,196,106,.35); font-size: 110px; }
.cf-player .fn { font-family: var(--script); color: #fff; font-size: 26px; }
.cf-player .ln { font-family: var(--gothic); font-weight: 800; color: var(--gold); text-transform: none; font-size: 34px; }
.cf-player .pos { color: #fff; font-weight: 400; }
.cf-btn-outline { border-color: rgba(233,196,106,.6); }
.cf-btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* footer */
.cf-footer { background-image: linear-gradient(180deg, rgba(7,11,38,.94), rgba(7,11,38,.99)), var(--stripes); }
.cf-footer-claim strong { font-family: var(--gothic); font-weight: 800; color: var(--gold); text-transform: none; }
.cf-footer-claim strong em { font-family: var(--script); color: #fff; }
.cf-footer h2 { color: var(--gold); }

/* inner pages + player profiles */
.cf-page-head { background: linear-gradient(180deg, rgba(10,16,51,.35), rgba(10,16,51,.9)), var(--stripes); }
.cf-page-head h1 { font-family: var(--gothic); font-weight: 800; color: var(--gold); font-size: clamp(36px, 5vw, 64px); }
body .cf-profile-light .cf-profile-hero { background: linear-gradient(90deg, rgba(10,16,51,.2), rgba(10,16,51,.85)), var(--stripes); }
body .cf-profile-light .cf-profile-photo { border-bottom-color: var(--gold); }
body .cf-profile-light .cf-profile-num { background: var(--gold); color: var(--ink); font-family: var(--gothic); font-size: 28px; }
body .cf-profile-light .cf-profile-name { font-family: var(--gothic); font-weight: 800; color: var(--gold); text-transform: none; font-size: 56px; }
body .cf-profile-light .cf-profile-heading { font-family: var(--gothic); color: var(--gold); font-size: 28px; }
body .cf-profile-light .cf-profile-heading::before { background: var(--grana); }
body .cf-profile-light .cf-profile-list li::before { background: var(--gold); }
body .cf-profile-light .cf-profile-quickinfo { border-top-color: var(--gold); }
.cf-related .cf-side-head h2 { font-family: var(--gothic); color: var(--gold); text-transform: none; font-size: 28px; }

@media (max-width: 900px) {
  .cf-head h2, .cf-latest > div > h2, .cf-players-head h2 { font-size: 32px; }
  .cf-pbox b { font-size: 40px; }
  .cf-count .u b { font-size: 30px; }
}

/* čas zápasu v jednom boxe */
.cf-pbox-time { min-width: 150px; }
.cf-pbox-time b { font-size: 50px; letter-spacing: .01em; }
@media (max-width: 900px) { .cf-pbox-time { min-width: 110px; } .cf-pbox-time b { font-size: 34px; } }

/* sponzori s logami */
.cf-sponsors h2{font-family:var(--gothic);font-weight:800;font-size:28px;color:var(--gold);text-transform:none;letter-spacing:0}
.cf-sponsors-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}
.cf-sponsor.has-logo{display:flex;align-items:center;justify-content:center;height:84px;padding:12px 16px;background:#fff;border:0;transition:transform .2s ease,box-shadow .2s ease}
.cf-sponsor.has-logo img{max-width:100%;max-height:60px;width:auto;height:auto;object-fit:contain}
.cf-sponsor.has-logo:hover{transform:translateY(-3px);box-shadow:0 0 0 2px var(--gold)}

/* ---------- Mobil: hero a hlavička ---------- */
@media (max-width: 700px) {
  .cf-utility-text { font-size: 10px; letter-spacing: .06em; }
  .cf-hero { min-height: 0; }
  .cf-hero-inner { padding-top: 18px; padding-bottom: 28px; }
  .cf-hero-photo { left: 0; right: 0; width: 100%; transform: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 95%); mask-image: linear-gradient(180deg, #000 55%, transparent 95%); }
  .cf-hero-photo img { object-position: center 15%; }
  .cf-hero-top { flex-direction: column; align-items: stretch; gap: 14px; }
  .cf-hero-stats { justify-content: space-between; gap: 10px; text-align: left; }
  .cf-hero-stats > div { flex: 1 1 0; min-width: 0; }
  .cf-hero-stats b { font-size: 26px; }
  .cf-hero-stats small { font-size: 9px; letter-spacing: .12em; }
  .cf-hero-title { padding-top: 34vh; text-align: center; }
  .cf-hero-title .serif { font-size: 21vw; }
  .cf-hero-title .script { font-size: 15vw; margin: -.55em 0 0 .9em; }
  .cf-hero-bottom { gap: 22px; margin-top: 18px; }
  .cf-poster { gap: 8px; }
  .cf-pbox, .cf-pbox-time { min-width: 0; flex: 1 1 0; padding: 8px 6px 6px; }
  .cf-pbox b { font-size: 30px; }
  .cf-pbox-time b { font-size: 26px; }
  .cf-pbox span { font-size: 10px; letter-spacing: .08em; }
  .cf-pcrest { width: 52px; height: 52px; flex: 0 0 52px; }
  .cf-pcrest img { max-width: 42px; max-height: 42px; }
  .cf-poster-meta { font-size: 11px; }
  .cf-hero-article h2 { font-size: 20px; }
}

@media (max-width: 700px) {
  .cf-hero-title { padding-top: 16vh; }
  .cf-hero-title .serif { font-size: 20vw; }
  .cf-hero-title .script { margin: -.5em 0 0; padding-left: 18vw; font-size: 14vw; }
  .cf-hero-shade { background: linear-gradient(180deg, rgba(7,11,38,.25) 0%, rgba(7,11,38,.15) 35%, rgba(7,11,38,.85) 75%, var(--ink-deep) 100%); }
  .cf-hero-photo { bottom: auto; height: 78vh; }
}

/* ---------- Mobil: sponzori a najbližší zápas ---------- */
@media (max-width: 700px) {
  .cf-sponsors-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cf-sponsor.has-logo { height: 60px; padding: 8px; }
  .cf-sponsor.has-logo img { max-height: 40px; }
  .cf-sponsors h2 { font-size: 24px; }

  .cf-players-head { align-items: center; }
  .cf-players-head h2 { font-size: 34px; }
  .cf-arrows button { width: 40px; height: 40px; }
  .cf-match { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px 16px 24px; }
  .cf-match-l { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cf-match-l > div:first-child { order: 2; }
  .cf-match h3 { font-size: 26px; line-height: 1.05; }
  .cf-crest, .cf-opp { width: 46px; height: 46px; }
  .cf-crest img { max-width: 36px; max-height: 36px; }
  .cf-opp img { max-width: 36px; max-height: 36px; }
  .cf-vs { font-size: 18px; padding: 0 10px; }
  .cf-count { justify-content: space-between; gap: 4px; }
  .cf-count .u { flex: 1 1 0; min-width: 0; }
  .cf-count .u b { min-width: 0; font-size: 26px !important; padding: 8px 2px 4px; }
  .cf-count .u span { font-size: 9px; letter-spacing: .08em; }
  .cf-count .sep { font-size: 18px; padding-top: 8px; }
  .cf-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -20px; margin-right: -20px; padding: 0 20px; }
  .cf-filters::-webkit-scrollbar { display: none; }
  .cf-filters button { flex: 0 0 auto; padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 380px) {
  .cf-logo { font-size: 17px; }
  .cf-header-actions { gap: 10px; }
  .cf-burger { padding-left: 12px; }
}

/* ---------- Obsah článkov a stránok: nič nesmie byť širšie ako obrazovka ---------- */
html, body { overflow-x: clip; }
.cf-entry { overflow-wrap: break-word; word-break: break-word; }
.cf-entry img, .cf-entry video, .cf-entry embed, .cf-entry object, .cf-entry iframe, .cf-entry canvas, .cf-entry svg { max-width: 100% !important; }
.cf-entry img, .cf-entry video { height: auto !important; }
.cf-entry figure, .cf-entry .wp-caption, .cf-entry .wp-block-image, .cf-entry .wp-block-embed, .cf-entry [style*="width"] { max-width: 100% !important; }
.cf-entry .wp-caption { width: auto !important; }
.cf-entry iframe[src*="youtube"], .cf-entry iframe[src*="vimeo"], .cf-entry iframe[src*="facebook.com/plugins/video"] { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
.cf-entry table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cf-entry pre, .cf-entry code { white-space: pre-wrap; }
.cf-entry blockquote.instagram-media, .cf-entry blockquote.twitter-tweet, .cf-entry blockquote.tiktok-embed, .cf-entry .twitter-tweet, .cf-entry .instagram-media { min-width: 0 !important; max-width: 100% !important; width: 100% !important; }

/* ---------- Mobil: sekcie, karty, články, kategórie, pätička ---------- */
@media (max-width: 700px) {
  .cf-block { padding: 40px 0; }
  .cf-head { margin-bottom: 18px; gap: 10px; }
  .cf-head .rule { display: none; }
  .cf-head a { font-size: 12px; margin-left: auto; }
  .cf-head h2, .cf-latest > div > h2 { font-size: 30px; }

  /* Top témy: posúvanie prstom namiesto troch obrovských kariet pod sebou */
  .cf-block .cf-grid-3 { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .cf-block .cf-grid-3::-webkit-scrollbar { display: none; }
  .cf-block .cf-grid-3 > * { scroll-snap-align: start; }
  .cf-block .cf-grid-3 { scroll-padding-left: 20px; }
  body.single .cf-entry > p:first-of-type { font-size: 17px !important; }
  .cf-squad { scroll-padding-left: 0; }

  /* kategórie a archív: kompaktnejšie karty */
  .cf-main .cf-grid-3 { gap: 26px; }
  .cf-card { gap: 12px; }
  .cf-card-img { aspect-ratio: 16 / 9; }
  .cf-card h3 { font-size: 18px; }
  .cf-label { top: 10px; font-size: 10px; padding: 5px 12px 5px 10px; }

  .cf-row { gap: 14px; padding: 16px 0; }
  .cf-row h4 { font-size: 16px; }
  .cf-latest { gap: 36px; }
  .cf-sidebar { gap: 30px; }
  .cf-event { padding: 16px; gap: 14px; }
  .cf-event-title { font-size: 15px; }
  .cf-event-r { width: 100%; justify-content: space-between; }

  .cf-page-head { padding: 30px 0 22px; }
  .cf-page-head h1 { font-size: 32px !important; line-height: 1.05; }
  .cf-main { padding: 28px 0 48px; }
  .cf-pagination .page-numbers { padding: 8px 12px; }

  .cf-entry { font-size: 16px; line-height: 1.7; }
  .cf-entry .alignleft, .cf-entry .alignright { float: none; display: block; margin: 0 auto 16px; }
  .cf-entry h2 { font-size: 26px !important; }
  .cf-entry h3 { font-size: 22px !important; }
  .cf-entry blockquote { font-size: 18px !important; padding-left: 16px !important; }

  .cf-footer-claim { padding-top: 36px; }
  .cf-footer-claim strong { font-size: 40px; }
  .cf-footer-grid { gap: 26px; padding: 26px 0; }
  .cf-copy { flex-direction: column; gap: 6px; }
}

/* ---------- Burger menu: odolné voči iným pluginom ---------- */
.cf-burger { position: relative; z-index: 1001; cursor: pointer; pointer-events: auto !important; }
.cf-drawer { position: relative; z-index: 1000; }
.cf-drawer.is-open { display: block !important; visibility: visible !important; opacity: 1 !important; }
.cf-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cf-burger.is-open span:nth-child(2) { opacity: 0; }
.cf-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.cf-burger span { transition: transform .2s ease, opacity .2s ease; }
.cf-drawer-fallback { list-style: none; margin: 0; padding: 12px 0; columns: 3; }
@media (max-width: 900px) { .cf-drawer-fallback { columns: 1; } }
/* plugin WP Responsive Menu by pridával druhé mobilné menu – téma má vlastné */
#wprmenu_bar, #mg-wprm-wrap, .wprm-overlay, #wprmenu_menu, .wprmenu_bar { display: none !important; }
html.wprmenu-body-fixed, body.wprmenu-body-fixed { margin-top: 0 !important; overflow: visible !important; }

/* ---------- Pätička bez stĺpca Kategórie ---------- */
.cf-footer-grid.is-3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 900px) { .cf-footer-grid.is-3 { grid-template-columns: 1fr 1fr; } .cf-footer-grid.is-3 > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .cf-footer-grid.is-3 { grid-template-columns: 1fr; } }

/* ---------- Komentáre ---------- */
.cf-comments { margin-top: 48px; padding-top: 28px; border-top: 1px solid #2d3a80; color: #dfe3f5; }
.cf-comments-h { font-family: var(--gothic) !important; font-weight: 800; font-size: 32px !important; color: var(--gold) !important; margin: 0 0 18px !important; }
.cf-comments-h span { font-family: var(--body); font-size: 14px; vertical-align: middle; background: #2d3a80; color: #fff; padding: 2px 9px; margin-left: 6px; }
.cf-comments .comment-list { list-style: none; margin: 0 0 28px; padding: 0; }
.cf-comments .comment-list .children { list-style: none; padding-left: 28px; border-left: 2px solid #2d3a80; margin: 0; }
.cf-comments .comment-body { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 15px; }
.cf-comments .comment-author { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.cf-comments .comment-author img { border-radius: 50%; }
.cf-comments .comment-author .says { display: none; }
.cf-comments .comment-metadata { font-size: 12px; margin: 2px 0 8px 54px; }
.cf-comments .comment-metadata a, .cf-comments .comment-meta a { color: #929bc9 !important; text-decoration: none !important; }
.cf-comments .comment-content { margin-left: 54px; }
.cf-comments .reply { margin-left: 54px; font-size: 13px; }
.cf-comments .reply a { color: var(--gold) !important; text-decoration: none !important; font-weight: 700; }
.cf-comments textarea { width: 100%; background: #0a1033; border: 1px solid #2d3a80; color: #fff; padding: 12px; font: inherit; font-size: 15px; }
.cf-comments textarea:focus { border-color: var(--gold); outline: none; }
.cf-comments .comment-reply-title { font-family: var(--gothic) !important; font-size: 24px !important; color: #fff !important; margin: 0 0 8px !important; }
.cf-comments .logged-in-as { font-size: 13px; color: #929bc9; }
.cf-comments .form-submit input[type=submit] { background: var(--gold); color: #0a1033; border: 0; padding: 13px 22px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.cf-comments-cta { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #111a4c; box-shadow: inset 0 0 0 1px rgba(233,196,106,.45); }
.cf-comments-cta strong { color: var(--gold); font-size: 18px; }
.cf-comments-cta span { color: #cdd3f0; font-size: 14px; }
.cf-comments-cta div { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.cf-comments-cta .cf-btn, .cf-comments-cta .cf-btn-ghost { text-decoration: none !important; padding: 12px 18px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.cf-comments-cta .cf-btn { background: var(--gold); color: #0a1033 !important; }
.cf-comments-cta .cf-btn-ghost { border: 1px solid #2d3a80; color: #fff !important; }

/* ---------- Články: H1 v texte, zdroje malým písmom, veľkosť titulnej fotky ---------- */
body.single .cf-entry h1 { font-family: var(--body) !important; font-weight: 700 !important; font-size: 21px !important; line-height: 1.5 !important; color: #fff !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 0 1.2em !important; }
body.single .cf-featured img { width: 100%; max-height: 460px; object-fit: cover; }
@media (max-width: 700px) { body.single .cf-entry h1 { font-size: 18px !important; } body.single .cf-featured img { max-height: 260px; } }
