/* AS Trenčín – public site (mobile-first) */
:root {
  --red: #BA0020; --red-d: #8E0018; --ink: #0b0b0f; --ink-2: #16161d; --ink-3: #23232d;
  --bg: #f4f4f6; --card: #fff; --line: #e7e7ec; --muted: #6b6b78; --text: #14141a;
  --win: #16a34a; --draw: #f59e0b; --loss: #dc2626;
  --r: 14px; --r-lg: 20px; --shadow: 0 10px 30px rgba(10,10,20,.08);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif; --body: "Inter", system-ui, sans-serif;
  --wrap: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; text-transform: uppercase; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- top bar & header ---------- */
.topbar { background: #000; color: #bdbdc7; font-size: .78rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 1rem; }
.topbar .soc { display: flex; gap: .9rem; }
.topbar .soc a:hover, .topbar .links a:hover { color: #fff; }
.topbar .links { display: none; gap: 1.2rem; }
@media (min-width: 768px) { .topbar .links { display: flex; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; box-shadow: 0 2px 0 var(--red); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; flex: 0 0 auto; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand .bn { font-family: var(--head); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; line-height: .9; }
.brand .bn small { display: block; font-size: .62rem; letter-spacing: .2em; color: #a1a1ad; font-family: var(--body); font-weight: 600; }
.nav { display: none; flex: 1; justify-content: center; }
.nav > ul { list-style: none; display: flex; margin: 0; padding: 0; gap: .15rem; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: .3rem; height: 68px; padding: 0 .8rem; font-family: var(--head); font-weight: 700; font-size: 1.08rem; text-transform: uppercase; letter-spacing: .02em; color: #e8e8ee; border-bottom: 3px solid transparent; }
.nav > ul > li:hover > a, .nav > ul > li > a.active { color: #fff; border-color: var(--red); }
.nav > ul > li > a.hl { background: var(--red); color: #fff; height: 40px; border-radius: 999px; padding: 0 1.1rem; margin-left: .5rem; border: 0; }
.nav .dd { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; color: var(--text); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav li:hover .dd { opacity: 1; visibility: visible; transform: none; }
.nav .dd a { display: block; padding: .55rem .8rem; border-radius: 8px; font-weight: 600; font-size: .92rem; }
.nav .dd a:hover { background: #f4f4f6; color: var(--red); }
.hdr-actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: transparent; border: 0; font-size: 1.2rem; cursor: pointer; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.btn-ticket { display: none; }
@media (min-width: 1240px) {
  .nav { display: flex; } .burger { display: none; } .nav-cta-mobile { display: none; }
}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer .shade { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: .2s; }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--ink); color: #fff; transform: translateX(100%); transition: .25s ease; overflow-y: auto; padding: 1rem 1.2rem 2rem; }
.drawer.open { pointer-events: auto; } .drawer.open .shade { opacity: 1; } .drawer.open .panel { transform: none; }
.drawer .panel > a, .drawer details > summary { display: flex; justify-content: space-between; align-items: center; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--head); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; cursor: pointer; list-style: none; }
.drawer details > summary::-webkit-details-marker { display: none; }
.drawer details[open] > summary i { transform: rotate(180deg); }
.drawer details a { display: block; padding: .5rem 0 .5rem 1rem; color: #c9c9d3; }
.drawer .cta { display: grid; gap: .6rem; margin-top: 1.4rem; }

.search-ov { position: fixed; inset: 0; z-index: 110; background: rgba(11,11,15,.96); display: none; align-items: flex-start; justify-content: center; padding-top: 18vh; }
.search-ov.open { display: flex; }
.search-ov form { width: min(720px, 92vw); display: flex; border-bottom: 3px solid var(--red); }
.search-ov input { flex: 1; background: transparent; border: 0; color: #fff; font-size: 2rem; font-family: var(--head); padding: .5rem 0; outline: 0; text-transform: uppercase; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: .9rem; border: 2px solid transparent; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: var(--red-d); }
.btn-white { background: #fff; color: var(--ink); } .btn-white:hover { background: #ececf0; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; } .btn-ghost:hover { border-color: #fff; }
.btn-line { border-color: var(--line); background: #fff; color: var(--text); } .btn-line:hover { border-color: var(--ink); }
.btn-sm { padding: .45rem .9rem; font-size: .8rem; }
.kicker { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.tag { display: inline-block; padding: .22rem .6rem; border-radius: 6px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- section scaffolding ---------- */
.section { padding: 2.2rem 0; }
@media (min-width: 768px) { .section { padding: 3.2rem 0; } }
.section.dark { background: var(--ink); color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; position: relative; padding-left: 14px; }
.sec-head h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px; background: var(--red); border-radius: 3px; }
.sec-head a.more { font-weight: 700; font-size: .85rem; display: inline-flex; gap: .3rem; align-items: center; white-space: nowrap; }
.sec-head a.more:hover { color: var(--red); }
.page-hero { background: var(--ink) center/cover; color: #fff; padding: 2.4rem 0 2rem; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -60px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(186,0,32,.18); }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin: .2rem 0 .3rem; position: relative; z-index: 1; }
.page-hero p { color: #b9b9c4; max-width: 640px; margin: 0; position: relative; z-index: 1; }
.crumbs { font-size: .78rem; color: #9b9ba8; position: relative; z-index: 1; }
.crumbs a:hover { color: #fff; }
.pills { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: 0 0 auto; padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .85rem; }
.pill.active, .pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.dark .pill { background: var(--ink-2); border-color: var(--ink-3); color: #ddd; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #fff; }
.hero-grid { display: grid; gap: 2px; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 1fr); height: 560px; } .hero-grid .h-main { grid-row: span 2; } }
.h-card { position: relative; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; background: var(--ink-2); }
.h-card.h-main { min-height: 420px; }
.h-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.h-card:hover img { transform: scale(1.04); }
.h-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.88) 100%); }
.h-card .h-body { position: relative; z-index: 1; padding: 1.2rem; }
.h-card.h-main .h-body { padding: 1.6rem; }
.h-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: .5rem 0 0; }
.h-card.h-main h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 820px; }
.h-card .meta { font-size: .78rem; color: #cfcfd8; margin-top: .45rem; }
.h-card.h-main p { color: #dcdce3; max-width: 640px; display: none; }
@media (min-width: 768px) { .h-card.h-main p { display: block; } }
.hero-more { display: none; }
@media (min-width: 992px) { .hero-extra { display: none; } }

/* ---------- match strip ---------- */
.mstrip { background: linear-gradient(180deg, var(--ink) 0, var(--ink) 50%, var(--bg) 50%); padding: 0 0 1rem; }
.mstrip .row { display: grid; gap: 12px; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding: 1.2rem 0 .4rem; scrollbar-width: thin; }
.mcard { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 1rem 1.1rem; scroll-snap-align: start; display: flex; flex-direction: column; gap: .6rem; position: relative; border: 1px solid var(--line); }
.mcard.featured { background: var(--red); color: #fff; border-color: var(--red); }
.mcard .mc-top { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.mcard.featured .mc-top { color: rgba(255,255,255,.85); }
.mcard .mc-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; text-align: center; }
.mcard .mc-teams img { width: 48px; height: 48px; object-fit: contain; margin: 0 auto .3rem; }
.mcard .mc-teams .nm { font-weight: 700; font-size: .82rem; line-height: 1.2; }
.mcard .mc-score { font-family: var(--head); font-size: 2.3rem; font-weight: 800; line-height: 1; }
.mcard .mc-time { font-family: var(--head); font-size: 1.7rem; font-weight: 800; line-height: 1; }
.mcard .mc-date { font-size: .72rem; color: var(--muted); }
.mcard.featured .mc-date { color: rgba(255,255,255,.85); }
.mcard .mc-actions { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.res { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: #fff; font-size: .7rem; font-weight: 800; }
.res.W { background: var(--win); } .res.D { background: var(--draw); } .res.L { background: var(--loss); }
.form-row { display: flex; gap: 4px; align-items: center; }
.live-badge { display: inline-flex; align-items: center; gap: .35rem; background: var(--red); color: #fff; padding: .15rem .55rem; border-radius: 6px; font-size: .7rem; font-weight: 800; }
.live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- news cards ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: 1fr; } .g3, .g4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .g2, .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.ncard { background: var(--card); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: .2s; }
.ncard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ncard .img { aspect-ratio: 16/10; overflow: hidden; background: var(--ink-2); position: relative; }
.ncard .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ncard:hover .img img { transform: scale(1.05); }
.ncard .img .play { position: absolute; inset: 0; display: grid; place-items: center; }
.ncard .img .play i { width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.5rem; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.ncard .body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.ncard h3 { font-size: 1.35rem; margin: 0; text-transform: none; font-weight: 700; line-height: 1.12; }
.ncard p { margin: 0; color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard .foot { margin-top: auto; font-size: .75rem; color: var(--muted); display: flex; gap: .6rem; }
.dark .ncard { background: var(--ink-2); border-color: var(--ink-3); }
.dark .ncard p, .dark .ncard .foot { color: #a5a5b2; }
.news-layout { display: grid; gap: 18px; }
@media (min-width: 992px) { .news-layout { grid-template-columns: 1.35fr 1fr 1fr; } .news-layout .ncard.big { grid-row: span 2; } .news-layout .ncard.big h3 { font-size: 2rem; } }
.list-news { display: grid; gap: 12px; }
.lnews { display: grid; grid-template-columns: 110px 1fr; gap: .9rem; align-items: center; background: #fff; border-radius: var(--r); padding: .6rem; border: 1px solid var(--line); }
.lnews img { width: 110px; height: 76px; object-fit: cover; border-radius: 10px; }
.lnews h4 { font-family: var(--body); text-transform: none; font-size: .95rem; font-weight: 700; margin: .15rem 0 0; line-height: 1.25; }

/* ---------- promo tiles ---------- */
.promo-row { display: grid; gap: 14px; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); overflow-x: auto; scrollbar-width: none; }
.promo { position: relative; border-radius: var(--r); overflow: hidden; min-height: 220px; display: flex; align-items: flex-end; background: var(--ink-2); color: #fff; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: .5s; }
.promo:hover img { transform: scale(1.05); opacity: 1; }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.85)); }
.promo .pb { position: relative; z-index: 1; padding: 1rem 1.1rem; }
.promo h3 { font-size: 1.8rem; margin: 0; }
.promo p { margin: .1rem 0 .7rem; font-size: .85rem; color: #ddd; }

.strip { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--red); color: #fff; display: grid; min-height: 260px; }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: multiply; }
.strip .sb { position: relative; padding: 2rem; align-self: center; max-width: 640px; }
.strip h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin: .3rem 0; }
.strip .kicker { color: #fff; opacity: .85; }

/* ---------- table ---------- */
.tbl-wrap { background: #fff; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.tbl-scroll { overflow-x: auto; }
table.st { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.st th { text-align: center; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .7rem .5rem; border-bottom: 1px solid var(--line); background: #fafafb; }
table.st td { text-align: center; padding: .6rem .5rem; border-bottom: 1px solid #f0f0f3; }
table.st td.club, table.st th.club { text-align: left; }
table.st td.club { display: flex; align-items: center; gap: .55rem; font-weight: 600; white-space: nowrap; }
table.st td.club img { width: 24px; height: 24px; object-fit: contain; }
table.st td.pts { font-weight: 800; font-size: 1rem; }
table.st tr.own td { background: rgba(186,0,32,.07); font-weight: 700; }
table.st tr.own td:first-child { box-shadow: inset 4px 0 0 var(--red); }
table.st .pos { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-weight: 800; font-size: .8rem; }
table.st tr.z-champion .pos { background: #dbeafe; color: #1d4ed8; }
table.st tr.z-europe .pos { background: #dcfce7; color: #15803d; }
table.st tr.z-relegation .pos { background: #fee2e2; color: #b91c1c; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: table-cell; } }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .75rem; color: var(--muted); padding: .75rem 1rem; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.legend .l1::before { background: #93c5fd; } .legend .l3::before { background: #fca5a5; }

.home-split { display: grid; gap: 22px; }
@media (min-width: 992px) { .home-split { grid-template-columns: 1fr 1fr; } }

/* ---------- players ---------- */
.pgrid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .pgrid.wide { grid-template-columns: repeat(6, 1fr); } }
.pcard { position: relative; border-radius: var(--r); overflow: hidden; background: linear-gradient(180deg, #2a2a35 0%, #0b0b0f 100%); color: #fff; aspect-ratio: 3/4; display: flex; align-items: flex-end; isolation: isolate; }
.pcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(186,0,32,.45), transparent 60%); z-index: -1; transition: .3s; }
.pcard:hover::before { background: radial-gradient(circle at 50% 35%, rgba(186,0,32,.8), transparent 65%); }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: -1; transition: transform .4s; }
.pcard:hover img { transform: scale(1.04); }
.pcard .num { position: absolute; top: .4rem; left: .7rem; font-family: var(--head); font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.9); text-shadow: 0 2px 10px rgba(0,0,0,.4); line-height: 1; }
.pcard .pinfo { width: 100%; padding: 2.2rem .9rem .9rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,.92)); }
.pcard .pinfo .fn { font-size: .8rem; color: #cfcfd8; }
.pcard .pinfo .ln { font-family: var(--head); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
.pcard .pinfo .ps { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-weight: 800; margin-top: .25rem; }
.pcard .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--head); font-size: 5rem; color: rgba(255,255,255,.08); z-index: -1; }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 14px; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.hscroll > * { scroll-snap-align: start; }

.player-hero { background: radial-gradient(circle at 70% 40%, rgba(186,0,32,.55), transparent 55%), var(--ink); color: #fff; overflow: hidden; }
.player-hero .wrap { display: grid; gap: 1rem; align-items: end; }
@media (min-width: 768px) { .player-hero .wrap { grid-template-columns: 1.1fr 1fr; min-height: 460px; } }
.player-hero .bignum { font-family: var(--head); font-size: clamp(6rem, 16vw, 11rem); font-weight: 800; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.35); }
.player-hero h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); line-height: .88; margin: .4rem 0 .8rem; }
.player-hero h1 small { display: block; font-size: .45em; color: #c7c7d1; font-weight: 600; }
.player-hero .photo img { max-height: 480px; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts > div { background: #fff; padding: 1rem; }
.facts .k { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.facts .v { font-family: var(--head); font-size: 1.6rem; font-weight: 800; }
.statbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 768px) { .statbar { grid-template-columns: repeat(6, 1fr); } }
.stat { background: var(--ink); color: #fff; border-radius: var(--r); padding: 1rem; text-align: center; }
.stat .n { font-family: var(--head); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.stat .l { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #a5a5b2; }

/* ---------- article ---------- */
.art-hero { position: relative; background: var(--ink); color: #fff; min-height: 52vh; display: flex; align-items: flex-end; overflow: hidden; }
.art-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.art-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.9)); }
.art-hero .wrap { position: relative; z-index: 1; padding-top: 4rem; padding-bottom: 2rem; width: 100%; }
.art-hero h1 { font-size: clamp(2.1rem, 5.5vw, 4.2rem); max-width: 960px; text-transform: none; }
.art-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: #d4d4dc; align-items: center; }
.art-layout { display: grid; gap: 2rem; padding: 2rem 0 3rem; }
@media (min-width: 992px) { .art-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.prose { background: #fff; border-radius: var(--r-lg); padding: 1.4rem; border: 1px solid var(--line); font-size: 1.06rem; line-height: 1.75; }
@media (min-width: 768px) { .prose { padding: 2.4rem 3rem; } }
.prose .perex { font-size: 1.22rem; font-weight: 600; line-height: 1.55; border-left: 4px solid var(--red); padding-left: 1rem; margin-bottom: 1.6rem; }
.prose p { margin: 0 0 1.1em; }
.prose img { border-radius: 12px; margin: 1.2rem 0; height: auto; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 12px; margin: 1rem 0; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose a { color: var(--red); text-decoration: underline; }
.prose blockquote { margin: 1.4rem 0; padding: 1rem 1.3rem; background: #f6f6f8; border-radius: 12px; font-style: italic; border-left: 4px solid var(--red); }
.prose ul { padding-left: 1.2rem; }
.share { display: flex; gap: .5rem; align-items: center; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-weight: 700; font-size: .85rem; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #f2f2f5; }
.share a:hover { background: var(--red); color: #fff; }
.side-box { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 1.1rem; margin-bottom: 1.2rem; }
.side-box h4 { font-size: 1.25rem; margin-bottom: .8rem; }
.video-embed { aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; margin-bottom: 1.4rem; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.mini-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-gal img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* ---------- match centre ---------- */
.mhero { background: radial-gradient(circle at 50% -20%, rgba(186,0,32,.6), transparent 60%), var(--ink); color: #fff; padding: 2rem 0 1.4rem; position: relative; overflow: hidden; }
.mhero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.mhero .wrap { position: relative; }
.mhero .comp { text-align: center; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #c9c9d3; font-weight: 700; }
.mhero .board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; margin: 1.4rem 0 1rem; text-align: center; }
.mhero .board img { width: clamp(64px, 14vw, 120px); height: clamp(64px, 14vw, 120px); object-fit: contain; margin: 0 auto .6rem; }
.mhero .board .nm { font-family: var(--head); font-size: clamp(1.1rem, 3vw, 2rem); font-weight: 800; text-transform: uppercase; line-height: 1; }
.mhero .board .sc { font-family: var(--head); font-size: clamp(3.4rem, 11vw, 7rem); font-weight: 800; line-height: .9; letter-spacing: -.02em; }
.mhero .board .ht { font-size: .85rem; color: #b5b5c0; }
.mhero .board .kt { font-family: var(--head); font-size: clamp(2.4rem, 8vw, 4.5rem); font-weight: 800; line-height: 1; }
.mhero .scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: .82rem; color: #d6d6de; max-width: 720px; margin: 0 auto; }
.mhero .scorers div:first-child { text-align: right; }
.mhero .actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.3rem; }
.countdown { display: flex; gap: .6rem; justify-content: center; margin-top: .6rem; }
.countdown div { background: rgba(255,255,255,.08); border-radius: 10px; padding: .4rem .7rem; min-width: 62px; }
.countdown b { display: block; font-family: var(--head); font-size: 1.8rem; line-height: 1; }
.countdown span { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: #aaa; }
.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); overflow-x: auto; background: #fff; position: sticky; top: 68px; z-index: 10; scrollbar-width: none; }
.tabs a { padding: 1rem 1rem; font-weight: 800; font-family: var(--head); text-transform: uppercase; font-size: 1.05rem; border-bottom: 3px solid transparent; white-space: nowrap; color: var(--muted); cursor: pointer; }
.tabs a.active { border-color: var(--red); color: var(--text); }
.tpane { display: none; } .tpane.active { display: block; }
.timeline { position: relative; }
.ev { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; gap: .6rem; padding: .55rem 0; }
.ev .min { text-align: center; font-family: var(--head); font-weight: 800; font-size: 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .2rem 0; }
.ev .who { font-weight: 700; font-size: .92rem; }
.ev .who small { display: block; color: var(--muted); font-weight: 500; }
.ev .home { text-align: right; } .ev .ico { font-size: 1.1rem; }
.ev.neutral { grid-template-columns: 1fr; text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; }
.ev-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .8rem; margin: 0 .3rem; vertical-align: middle; }
.ev-ico.goal, .ev-ico.penalty { background: #dcfce7; color: #15803d; } .ev-ico.own_goal { background: #fee2e2; color: #b91c1c; }
.ev-ico.yellow { background: #facc15; width: 16px; height: 22px; border-radius: 3px; } .ev-ico.red { background: #dc2626; width: 16px; height: 22px; border-radius: 3px; }
.ev-ico.sub { background: #dbeafe; color: #1d4ed8; } .ev-ico.comment { background: #f1f1f4; color: var(--muted); }
.lineups { display: grid; gap: 1rem; }
@media (min-width: 768px) { .lineups { grid-template-columns: 1fr 1fr; } }
.lineup { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 1.1rem; }
.lineup h4 { display: flex; align-items: center; gap: .5rem; font-size: 1.3rem; }
.lineup h4 img { width: 28px; height: 28px; object-fit: contain; }
.lineup ol { margin: 0; padding-left: 1.4rem; } .lineup li { padding: .2rem 0; }
.lineup li .sub { color: var(--muted); font-size: .82rem; }
.facts-list { display: grid; gap: .3rem; font-size: .92rem; }
.facts-list div { display: flex; gap: .8rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.facts-list b { min-width: 120px; }

/* ---------- fixtures list ---------- */
.month { font-family: var(--head); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; margin: 1.6rem 0 .6rem; color: var(--muted); }
.fx { display: grid; grid-template-columns: 74px 1fr; gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1rem; margin-bottom: .55rem; transition: .15s; }
.fx:hover { border-color: var(--ink); }
.fx .dt { text-align: center; border-right: 1px solid var(--line); padding-right: .6rem; }
.fx .dt b { display: block; font-family: var(--head); font-size: 1.8rem; line-height: 1; }
.fx .dt span { font-size: .7rem; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.fx .mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem; }
.fx .tm { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .92rem; }
.fx .tm.h { justify-content: flex-end; text-align: right; }
.fx .tm img { width: 30px; height: 30px; object-fit: contain; flex: 0 0 auto; }
.fx .tm.own { color: var(--red); }
.fx .sc { font-family: var(--head); font-size: 1.6rem; font-weight: 800; min-width: 72px; text-align: center; background: var(--ink); color: #fff; border-radius: 8px; padding: .1rem .5rem; }
.fx .sc.time { background: #f2f2f5; color: var(--text); font-size: 1.3rem; }
.fx .sc.W { background: var(--win); } .fx .sc.D { background: var(--draw); } .fx .sc.L { background: var(--loss); }
.fx .sub { grid-column: 2; display: flex; gap: .5rem 1rem; flex-wrap: wrap; font-size: .75rem; color: var(--muted); align-items: center; }
@media (max-width: 560px) { .fx .tm span { font-size: .8rem; } .fx .tm img { width: 24px; height: 24px; } .fx { grid-template-columns: 56px 1fr; padding: .7rem; } .fx .sc { min-width: 56px; font-size: 1.3rem; } }

/* ---------- teams ---------- */
.tcard { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink); color: #fff; min-height: 170px; display: flex; align-items: flex-end; padding: 1.2rem; isolation: isolate; }
.tcard::before { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; border: 28px solid rgba(186,0,32,.35); z-index: -1; transition: .3s; }
.tcard:hover::before { transform: scale(1.15); border-color: rgba(186,0,32,.7); }
.tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: -2; }
.tcard h3 { font-size: 2rem; margin: 0; }
.tcard p { margin: 0; font-size: .82rem; color: #b5b5c0; }

/* ---------- partners & footer ---------- */
.partners-band { background: #fff; border-top: 1px solid var(--line); padding: 2rem 0; }
.plogos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem 1.6rem; align-items: center; }
@media (min-width: 640px) { .plogos { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 992px) { .plogos { grid-template-columns: repeat(8, 1fr); } }
.plogos a, .plogos div { display: grid; place-items: center; height: 64px; }
.plogos img { max-height: 54px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .2s; }
.plogos a:hover img { filter: none; opacity: 1; }
.ptier { margin-bottom: 2.4rem; }
.ptier h3 { font-size: 1.4rem; color: var(--muted); }
.ptier .plogos img { filter: none; opacity: 1; }
.ptier.general .plogos { grid-template-columns: 1fr; } .ptier.general .plogos a { height: 120px; } .ptier.general img { max-height: 110px; }
.site-footer { background: var(--ink); color: #b5b5c0; padding: 3rem 0 1.5rem; font-size: .88rem; }
.site-footer .fgrid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .site-footer .fgrid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h5 { font-family: var(--head); color: #fff; font-size: 1.2rem; text-transform: uppercase; margin: 0 0 .8rem; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer .soc { display: flex; gap: .5rem; margin-top: 1rem; }
.site-footer .soc a { width: 40px; height: 40px; border-radius: 50%; background: var(--ink-3); display: grid; place-items: center; color: #fff; }
.site-footer .soc a:hover { background: var(--red); }
.site-footer .bottom { border-top: 1px solid var(--ink-3); margin-top: 2rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .78rem; }

/* sticky mobile action bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(11,11,15,.96); backdrop-filter: blur(8px); display: grid; grid-template-columns: repeat(4, 1fr); padding: .3rem 0 calc(.3rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--ink-3); }
.mbar a { color: #cfcfd8; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .66rem; font-weight: 700; padding: .3rem 0; text-transform: uppercase; letter-spacing: .04em; }
.mbar a i { font-size: 1.25rem; }
.mbar a.red { color: #fff; } .mbar a.red i { color: var(--red); }
body { padding-bottom: 64px; }
@media (min-width: 992px) { .mbar { display: none; } body { padding-bottom: 0; } }

/* misc */
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; padding: 0 .8rem; }
.pager .cur { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.gal-grid { columns: 2 220px; column-gap: 10px; }
.gal-grid a { display: block; margin-bottom: 10px; border-radius: 10px; overflow: hidden; break-inside: avoid; }
.gal-grid img { width: 100%; transition: .4s; } .gal-grid a:hover img { transform: scale(1.03); }
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; } .lb img { max-width: 94vw; max-height: 86vh; border-radius: 8px; }
.lb button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lb .x { top: 16px; right: 16px; } .lb .pv { left: 16px; } .lb .nx { right: 16px; }
.reveal { opacity: 0; transform: translateY(16px); transition: .6s ease; } .reveal.in { opacity: 1; transform: none; }
.staff-list { display: grid; gap: .5rem; }
.staff-list div { display: flex; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .7rem 1rem; }
.staff-list span { color: var(--muted); font-size: .85rem; }
.pos-title { font-size: 1.6rem; margin: 2rem 0 1rem; display: flex; align-items: center; gap: .6rem; }
.pos-title span { font-family: var(--body); font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: none; }
.preview-bar { background: #facc15; color: #000; text-align: center; font-weight: 700; padding: .4rem; font-size: .85rem; }

/* mobile hero: swipeable top stories instead of a tall stack */
@media (max-width: 991px) {
  .hero-grid { grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hero-grid::-webkit-scrollbar { display: none; }
  .hero-grid .h-card { scroll-snap-align: start; min-height: 420px; }
  .h-card h2, .h-card.h-main h2 { font-size: 1.85rem; }
}

/* club logos on dark / red backgrounds get a white plate (match hero, featured match card) */
.mhero .board img { background: #fff; border-radius: 22%; padding: clamp(8px, 1.6vw, 14px); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.mcard.featured .mc-teams img { background: #fff; border-radius: 12px; padding: 5px; }

/* white header */
.site-header { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 3px 0 var(--red); }
.nav > ul > li > a { color: var(--ink); }
.nav > ul > li:hover > a, .nav > ul > li > a.active { color: var(--red); border-color: var(--red); }
.nav > ul > li > a.hl, .nav > ul > li > a.hl:hover { color: #fff; }
.nav .dd { border: 1px solid var(--line); border-top: 0; }
.site-header .icon-btn { color: var(--ink); }
.site-header .icon-btn:hover { background: #f2f2f5; }

/* ---------- crest per AS Trenčín logo manual (Pergamen 2020) ----------
   - official SVGs already contain the protective zone (= width of the vertical stroke of the T),
     so the white plate has no extra padding and nothing may overlap it
   - min. web size: monogram + nápis 70 px, monogram alone 30 px (logo width = 73 % of the SVG width)
   - full version hangs over the header; when the header is sticky it swaps to the monogram */
.site-header .wrap { height: 60px; position: relative; }
.crest { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 96px; height: 60px; z-index: 2; display: block; }
.crest img { position: absolute; left: 0; top: 0; display: block; height: auto; transition: opacity .2s ease, transform .25s ease; }
.crest-full { width: 96px; background: #fff; border-radius: 0 0 14px 14px; box-shadow: 0 10px 22px rgba(0,0,0,.16); transform-origin: top center; }
.crest-mono { width: 58px; left: 19px !important; top: 4px !important; opacity: 0; }
body.hdr-stuck .crest-full { opacity: 0; transform: scale(.55); pointer-events: none; }
body.hdr-stuck .crest-mono { opacity: 1; }
.hdr-actions { width: 100%; justify-content: space-between; margin-left: 0; }
.tabs { top: 60px; }

@media (min-width: 1240px) {
  .site-header .wrap { height: 72px; }
  .crest { position: relative; left: auto; transform: none; flex: 0 0 148px; width: 148px; height: 72px; align-self: flex-start; }
  .crest-full { width: 132px; top: -34px !important; border-radius: 0 0 18px 18px; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
  .crest-mono { width: 64px; left: 0 !important; top: 8px !important; }
  .topbar .soc { margin-left: 160px; }
  .nav > ul > li > a { height: 72px; }
  .hdr-actions { width: auto; margin-left: auto; }
  .tabs { top: 72px; }
}

/* white logo on the club red – allowed colour version on dark surfaces (drawer, footer) */
.brand-inverse img { width: 96px; height: auto; background: var(--red); border-radius: 12px; }
.brand-footer img { width: 120px; }

/* vertically centre the highlighted "Vstupenky" pill with the regular menu items */
.nav > ul { align-items: center; }
.nav > ul > li { display: flex; align-items: center; }
.nav > ul > li > a.hl { height: 40px; align-self: center; }

/* optical vertical centring: balance the 3px active underline with a transparent top border,
   and nudge the uppercase Barlow caps (no descenders) down so they sit in the visual middle */
.nav > ul > li > a { border-top: 3px solid transparent; padding-top: 1px; box-sizing: border-box; }
.nav > ul > li > a.hl { padding-top: 1px; border-top: 0; }

/* ---------- full menu (1:1 with the original site): compact top level, dropdowns & mega menus ---------- */
.nav > ul { gap: 0; }
.nav > ul > li > a { padding: 0 .62rem; font-size: 1rem; letter-spacing: .01em; gap: .25rem; white-space: nowrap; }
.nav > ul > li > a .caret { font-size: .62rem; opacity: .55; transition: transform .2s; }
.nav > ul > li:hover > a .caret, .nav > ul > li:focus-within > a .caret { transform: rotate(180deg); opacity: 1; }
.nav > ul > li > a.hl { margin-left: .4rem; padding: 0 1rem; }
@media (min-width: 1400px) { .nav > ul > li > a { padding: 0 .85rem; font-size: 1.06rem; } }

/* small dropdown (one column) */
.nav .dd { padding: .5rem; min-width: 230px; z-index: 5; }
.nav li:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.nav > ul > li:nth-last-child(-n+3) .dd:not(.mega) { left: auto; right: 0; }
.nav .dd-cols { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: .25rem 1.4rem; }
.nav .dd-title { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .5rem .8rem .35rem; border-bottom: 2px solid var(--red); margin: 0 .8rem .35rem; padding-left: 0; padding-right: 0; }
.nav .dd a { padding: .45rem .8rem; font-size: .9rem; line-height: 1.3; }
.nav .dd a .ext { font-size: .65rem; opacity: .5; margin-left: .2rem; }

/* mega menu – spans the header container, columns side by side */
.nav > ul > li.has-mega { position: static; }
.nav .dd.mega { left: 16px; right: 16px; top: 100%; padding: 1.1rem 1.2rem 1.3rem; border-radius: 0 0 18px 18px; }
@media (min-width: 768px) { .nav .dd.mega { left: 28px; right: 28px; } }
.nav .mega-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 .8rem .8rem; }
.nav .mega-head span { font-family: var(--head); font-size: 1.7rem; font-weight: 800; text-transform: uppercase; }
.nav .mega-head a { font-size: .82rem; font-weight: 700; color: var(--red); padding: 0; }
.nav .mega-head a:hover { background: none; text-decoration: underline; }
.nav .dd.mega .dd-cols { grid-template-columns: repeat(var(--cols, 1), minmax(170px, 1fr)); }

/* ---------- mobile drawer: accordion with group titles, long lists in two columns ---------- */
.drawer .panel { width: min(92vw, 420px); padding-bottom: 6rem; }
.dnav .dtop, .dnav details > summary { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--head); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; cursor: pointer; list-style: none; color: #fff; }
.dnav details > summary i { font-size: .95rem; transition: transform .2s; opacity: .7; }
.dnav details[open] > summary { color: var(--red); border-bottom-color: transparent; }
.dnav details[open] > summary i { transform: rotate(180deg); }
.dnav .dsub { padding: .1rem 0 .9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.dnav .dsub-title { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8b8b98; margin: .7rem 0 .2rem; }
.dnav .dsub-links { display: grid; grid-template-columns: 1fr; }
.dnav .dsub-links.two { grid-template-columns: 1fr 1fr; column-gap: .8rem; }
.dnav .dsub a { display: block; padding: .5rem .2rem; color: #d6d6de; font-size: .95rem; line-height: 1.25; border-radius: 6px; }
.dnav .dsub a:active, .dnav .dsub a:hover { color: #fff; background: rgba(255,255,255,.05); }
.dnav .ext { font-size: .7rem; opacity: .5; }
@media (max-width: 359px) { .dnav .dsub-links.two { grid-template-columns: 1fr; } }

/* season selector */
.season-select { display: inline-flex; position: relative; z-index: 1; }
.season-select label { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: inherit; }
.season-select select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E") no-repeat right .8rem center;
  border: 1px solid var(--line); border-radius: 999px; padding: .5rem 2rem .5rem 1rem; font: 700 .9rem var(--body); color: var(--text); cursor: pointer; }
.page-hero .season-select { margin-top: 1rem; }

/* section side menu – current page */
.side-box .staff-list a.current div { border-color: var(--red); background: rgba(186,0,32,.06); box-shadow: inset 4px 0 0 var(--red); }
.side-box .staff-list a.current strong { color: var(--red); }
.side-box .staff-list a:hover div { border-color: var(--ink); }
@media (min-width: 992px) { .art-layout > aside > .side-box:first-child:last-child { position: sticky; top: 96px; } }

/* ---------- "cards" page template (e.g. Kontakty): H2 = group, H3 = card ---------- */
.cards-page { display: grid; gap: 1.8rem; }
.cards-intro { font-size: 1.05rem; color: var(--muted); max-width: 760px; }
.cards-intro p { margin: 0 0 .6rem; }
.cs-title { font-size: 1.55rem; margin: 0 0 .9rem; display: flex; align-items: center; gap: .6rem; }
.cs-title::before { content: ""; width: 5px; height: 1.1em; background: var(--red); border-radius: 3px; }
.cs > p { color: var(--muted); margin: -.4rem 0 .9rem; }
.cs-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cs-grid { grid-template-columns: repeat(3, 1fr); } }
.art-layout:has(aside) .cs-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.cs-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem 1.15rem; position: relative; transition: .2s; }
.cs-card:hover { border-color: #d5d5dc; box-shadow: var(--shadow); }
.cs-card::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 3px; height: 1.3rem; background: var(--red); border-radius: 0 3px 3px 0; }
.cs-card h3 { font-family: var(--body); text-transform: none; font-size: 1rem; font-weight: 800; line-height: 1.3; margin: 0 0 .55rem; }
.cs-card p { margin: 0 0 .3rem; font-size: .93rem; line-height: 1.5; color: var(--text); }
.cs-card p:last-child { margin-bottom: 0; }
.cs-card strong { font-weight: 700; }
.cs-card a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.cs-card a.cl { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--red); }
.cs-card a.cl:hover { text-decoration: underline; }
.cs-card a.cl i { font-size: .95rem; width: 1.6rem; height: 1.6rem; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(186,0,32,.08); flex: 0 0 auto; }
.cs-card a .nw { white-space: nowrap; }

/* lighter typography on content pages – only headings stay bold */
.cs-card h3 { font-weight: 700; font-size: 1rem; }
.cs-card strong, .cs-card b { font-weight: 500; }
.cs-card p { color: #3a3a44; }
.cs-card a.cl { font-weight: 500; }
.cards-intro { font-weight: 400; }
.side-box .staff-list strong { font-weight: 500; }
.side-box .staff-list a.current strong { font-weight: 600; }

/* page with an automatic article list (e.g. This is my SEN) */
.page-main { min-width: 0; display: grid; gap: 2rem; align-content: start; }
.page-feed .sec-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.art-layout:has(aside) .page-feed .grid.g3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* sub-page tiles (page tree) */
.page-children .grid.g3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.child-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: .2s; }
.child-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5d5dc; }
.child-tile .ct-img { aspect-ratio: 16/9; background: var(--ink-2); overflow: hidden; }
.child-tile .ct-img img { width: 100%; height: 100%; object-fit: cover; }
.child-tile .ct-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; border-top: 3px solid var(--red); }
.child-tile h3 { font-family: var(--body); text-transform: none; font-size: 1.05rem; font-weight: 700; margin: 0; }
.child-tile p { margin: 0; color: var(--muted); font-size: .88rem; }
.child-tile .ct-more { margin-top: auto; padding-top: .4rem; font-size: .8rem; font-weight: 600; color: var(--red); }
.side-box h4 a:hover { color: var(--red); }
nav.crumbs { position: relative; z-index: 1; }
