/* ==========================================================================
   Rodło Kwidzyn — style motywu
   ========================================================================== */

:root {
	--rk-black: #0D0D0D;
	--rk-alt: #111111;
	--rk-card: #1A1A1A;
	--rk-card-2: #141414;
	--rk-line: #262626;
	--rk-line-2: #1F1F1F;
	--rk-line-3: #3A3A3A;
	--rk-yellow: #FFD100;
	--rk-yellow-d: #D9AF00;
	--rk-white: #FFFFFF;
	--rk-muted: #C8C8C8;
	--rk-muted-2: #D0D0D0;
	--rk-light: #F5F5F5;
	--rk-win: #2E7D4F;
	--rk-win-b: #3E9A64;
	--rk-draw: #5C5C5C;
	--rk-draw-b: #737373;
	--rk-loss: #A63A3A;
	--rk-loss-b: #C04B4B;

	--rk-f-head: Oswald, "Arial Narrow", sans-serif;
	--rk-f-body: Barlow, system-ui, sans-serif;

	--rk-gutter: clamp(16px, 4vw, 48px);
	--rk-sec-y: clamp(56px, 7vw, 88px);
	--rk-header-h: 80px;
	--rk-admin-bar: 0px;
}

.admin-bar { --rk-admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --rk-admin-bar: 46px; } }

/* ---------- Podstawy ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--rk-header-h) + var(--rk-admin-bar) + 10px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; padding: 0; background: var(--rk-black); }
body {
	font-family: var(--rk-f-body);
	color: var(--rk-white);
	-webkit-font-smoothing: antialiased;
	font-size: 16px;
	line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--rk-yellow); text-decoration: none; }
a:hover { color: var(--rk-yellow-d); }
:focus-visible { outline: 3px solid var(--rk-yellow); outline-offset: 3px; }
::selection { background: var(--rk-yellow); color: var(--rk-black); }
input, select, button, textarea { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.rk-skip {
	position: absolute; left: -9999px; top: 0; z-index: 99;
	background: var(--rk-yellow); color: var(--rk-black);
	padding: 12px 20px; font: 600 15px var(--rk-f-body);
}
.rk-skip:focus { left: 0; color: var(--rk-black); }

.rk-wrap { max-width: 1280px; margin: 0 auto; }
.rk-wrap--narrow { max-width: 1120px; }
.rk-wrap--text { max-width: 900px; }
.rk-yellow { color: var(--rk-yellow); }
.rk-muted { color: var(--rk-muted-2); }
.rk-c { text-align: center; }

/* ---------- Przyciski ---------- */

.rk-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 56px; padding: 0 32px;
	background: var(--rk-yellow); color: var(--rk-black);
	border: 2px solid var(--rk-yellow);
	font: 600 17px var(--rk-f-head); letter-spacing: .08em; text-transform: uppercase;
	cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.rk-btn:hover { background: var(--rk-yellow-d); border-color: var(--rk-yellow-d); color: var(--rk-black); }
.rk-btn--lg { min-height: 64px; padding: 0 40px; font-size: 18px; }
.rk-btn--ghost { background: rgba(13,13,13,.35); border-color: var(--rk-white); color: var(--rk-white); }
.rk-btn--ghost:hover { background: rgba(13,13,13,.6); border-color: var(--rk-yellow); color: var(--rk-yellow); }
.rk-btn--outline { background: transparent; color: var(--rk-yellow); font-size: 16px; }
.rk-btn--outline:hover { background: var(--rk-yellow); color: var(--rk-black); border-color: var(--rk-yellow); }
.rk-btn--block { display: flex; width: 100%; }
.rk-btn--header { flex: none; height: 48px; min-height: 48px; padding: 0 24px; font-size: 15px; }
.rk-btn--header:hover { background: var(--rk-black); color: var(--rk-yellow); border-color: var(--rk-yellow); }

.rk-link { font: 600 15px var(--rk-f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--rk-yellow); }
.rk-link:hover { color: var(--rk-white); }
.rk-more {
	font: 600 15px var(--rk-f-body); letter-spacing: .12em; text-transform: uppercase;
	color: var(--rk-yellow); border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.rk-more:hover { border-bottom-color: var(--rk-yellow); color: var(--rk-yellow); }
.rk-underline {
	align-self: flex-start; border-bottom: 2px solid var(--rk-yellow); padding-bottom: 4px;
	font: 600 15px var(--rk-f-head); letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- Nagłówek ---------- */

.rk-header {
	position: sticky; top: var(--rk-admin-bar); z-index: 40;
	background: rgba(13,13,13,.72);
	border-bottom: 1px solid rgba(255,255,255,.08);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
}
.rk-header__inner {
	max-width: 1376px; height: var(--rk-header-h); margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 40px);
	display: flex; align-items: center; gap: 24px;
}
.rk-brand { display: flex; align-items: center; gap: 12px; color: var(--rk-white); flex: none; }
.rk-brand:hover { color: var(--rk-white); }
.rk-brand__crest { width: 48px; height: 48px; object-fit: contain; display: block; }
.rk-brand__text, .rk-brand__name, .rk-brand__tag { display: block; }
.rk-brand__name { font: 700 20px/1 var(--rk-f-head); letter-spacing: .02em; text-transform: uppercase; }
.rk-brand__tag { font: 600 11px/1.4 var(--rk-f-body); letter-spacing: .14em; color: var(--rk-yellow); margin-top: 4px; }

.rk-nav { margin-left: auto; height: var(--rk-header-h); display: none; }
.rk-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 20px; height: 100%; }
.rk-nav__list li { height: 100%; }
.rk-nav__list a {
	height: 100%; display: flex; align-items: center; padding-top: 3px;
	font: 500 14px var(--rk-f-head); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
	color: var(--rk-white); border-bottom: 3px solid transparent;
}
.rk-nav__list a:hover,
.rk-nav__list .current-menu-item > a,
.rk-nav__list a.is-active { color: var(--rk-yellow); border-bottom-color: var(--rk-yellow); }
.rk-btn--header { display: none; }

.rk-burger {
	margin-left: auto; width: 48px; height: 48px;
	background: rgba(26,26,26,.8); border: 1px solid var(--rk-line-3);
	display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.rk-burger:hover { border-color: var(--rk-yellow); }
.rk-burger span { display: block; width: 22px; height: 2px; background: var(--rk-yellow); transition: transform .2s, opacity .2s; }
.rk-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rk-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rk-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rk-drawer {
	border-top: 1px solid var(--rk-line); background: var(--rk-black);
	padding: 8px clamp(16px, 4vw, 48px) 24px;
	max-height: calc(100vh - var(--rk-header-h) - var(--rk-admin-bar)); overflow-y: auto;
}
.rk-drawer[hidden] { display: none; }
.rk-drawer__list { list-style: none; margin: 0 0 16px; padding: 0; }
.rk-drawer__list a {
	font: 500 18px var(--rk-f-head); letter-spacing: .08em; text-transform: uppercase;
	color: var(--rk-white); padding-left: 16px; min-height: 56px; display: flex; align-items: center;
	border-bottom: 1px solid var(--rk-line-2); border-left: 3px solid transparent;
}
.rk-drawer__list a:hover { color: var(--rk-yellow); }
.rk-drawer__list .current-menu-item > a,
.rk-drawer__list a.is-active { color: var(--rk-yellow); border-left-color: var(--rk-yellow); }
.rk-drawer .rk-btn { font-size: 16px; }

@media (min-width: 1320px) {
	.rk-nav, .rk-btn--header { display: flex; }
	.rk-burger, .rk-drawer { display: none !important; }
}

/* ---------- Sekcje wspólne ---------- */

.rk-section { background: var(--rk-black); padding: var(--rk-sec-y) var(--rk-gutter); }
.rk-section--alt { background: var(--rk-alt); border-top: 1px solid var(--rk-line-2); }
.rk-section--flush-top { padding-top: 0; }
.rk-section--light { background: var(--rk-light); color: var(--rk-black); padding: clamp(48px, 6vw, 80px) var(--rk-gutter) clamp(64px, 8vw, 112px); }

.rk-kicker { margin: 0 0 8px; font: 600 14px var(--rk-f-body); letter-spacing: .2em; color: var(--rk-yellow); text-transform: uppercase; }
.rk-kicker--inline { margin: 0; letter-spacing: .18em; }
.rk-kicker--dark { color: var(--rk-black); }

.rk-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-bottom: 26px; }
.rk-h2 { margin: 0 0 28px; font: 700 clamp(26px, 3.4vw, 42px) var(--rk-f-head); letter-spacing: .01em; text-transform: uppercase; color: inherit; }
.rk-head .rk-h2 { margin: 0; }
.rk-h2--lg { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 32px; }
.rk-h2--md { font-size: clamp(24px, 3vw, 38px); }
.rk-h2--tight { margin-bottom: 16px; }
#kadra .rk-h2--tight { margin-bottom: 24px; }
.rk-h3 { margin: 0 0 8px; font: 700 clamp(24px, 2.6vw, 34px) var(--rk-f-head); text-transform: uppercase; color: var(--rk-white); }
.rk-intro { margin: 0 0 40px; max-width: 680px; font: 400 18px/1.6 var(--rk-f-body); color: #333; text-wrap: pretty; }
.rk-note { margin: 24px 0 0; font: 500 14px var(--rk-f-body); color: var(--rk-muted); }
.rk-label { font: 600 13px var(--rk-f-body); letter-spacing: .14em; color: var(--rk-yellow); text-transform: uppercase; }

.rk-grid { display: grid; gap: 16px; }
.rk-grid--cards { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.rk-grid--squad { grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); }
.rk-grid--support { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rk-grid--board { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.rk-grid--academy { grid-template-columns: 1fr; margin-bottom: 56px; }
@media (min-width: 640px) { .rk-grid--academy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .rk-grid--academy { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.rk-card { background: var(--rk-card); border: 1px solid var(--rk-line); transition: border-color .15s, box-shadow .15s; }
.rk-card:hover { border-color: var(--rk-yellow); }

.rk-tag {
	display: inline-block; background: var(--rk-yellow); color: var(--rk-black);
	font: 600 12px var(--rk-f-head); letter-spacing: .16em; padding: 4px 8px; border: 1px solid var(--rk-yellow);
}
.rk-tag--outline { background: transparent; color: var(--rk-yellow); border-color: var(--rk-yellow-d); }

/* Tarcza z inicjałami i herby */
.rk-crest { object-fit: contain; flex: none; display: block; }
.rk-crest--xs { width: 32px; height: 32px; }
.rk-crest--sm { width: 36px; height: 36px; }
.rk-crest--xl { width: 112px; height: 112px; }
.rk-shield {
	flex: none; display: grid; place-items: center; background: #4D4D4D;
	clip-path: polygon(0 0, 100% 0, 100% 64%, 50% 100%, 0 64%);
}
.rk-shield > span {
	display: grid; place-items: center; background: var(--rk-line);
	clip-path: polygon(0 0, 100% 0, 100% 64%, 50% 100%, 0 64%);
	font-family: var(--rk-f-head); font-weight: 700; color: var(--rk-muted-2);
}
.rk-shield--xs { width: 28px; height: 32px; }
.rk-shield--xs > span { width: 24px; height: 28px; font-size: 10px; padding-bottom: 6px; }
.rk-shield--sm { width: 32px; height: 36px; }
.rk-shield--sm > span { width: 28px; height: 32px; font-size: 11px; padding-bottom: 6px; }
.rk-shield--xl { width: 96px; height: 112px; }
.rk-shield--xl > span { width: 90px; height: 106px; font-size: 32px; padding-bottom: 16px; }

/* Kropki formy i plakietki wyniku */
.rk-dot {
	width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
	font: 700 13px var(--rk-f-body); color: var(--rk-white); border: 1px solid transparent;
}
.rk-dot--win { background: var(--rk-win); border-color: var(--rk-win-b); }
.rk-dot--draw { background: var(--rk-draw); border-color: var(--rk-draw-b); }
.rk-dot--loss { background: var(--rk-loss); border-color: var(--rk-loss-b); }
.rk-dot--none { background: transparent; border-color: var(--rk-line-3); color: #B3B3B3; }
.rk-dot--lg { width: 32px; height: 32px; font-size: 14px; border: 0; }
.rk-badge { font: 600 13px var(--rk-f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--rk-white); padding: 4px 8px; }
.rk-badge--win { background: var(--rk-win); }
.rk-badge--draw { background: var(--rk-draw); }
.rk-badge--loss { background: var(--rk-loss); }

/* Filtry (chipy) */
.rk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.rk-chip {
	min-height: 48px; padding: 0 24px; display: inline-flex; align-items: center;
	background: transparent; color: var(--rk-white); border: 1px solid var(--rk-line-3);
	font: 600 15px var(--rk-f-head); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.rk-chip:hover { border-color: var(--rk-yellow); color: var(--rk-white); }
.rk-chip[aria-pressed="true"], .rk-chip[aria-current="page"] { background: var(--rk-yellow); color: var(--rk-black); border-color: var(--rk-yellow); }
.rk-chips--sm { gap: 10px; margin-bottom: 0; }
.rk-chips--sm .rk-chip { min-height: 44px; padding: 0 20px; font-size: 14px; letter-spacing: .1em; }

/* Przejścia ukośne ciemny → jasny */
.rk-slant { position: relative; height: 120px; background: linear-gradient(180deg, var(--rk-black) 0%, var(--rk-black) 20%, var(--rk-light) 100%); }
.rk-slant--from-alt { background: linear-gradient(180deg, var(--rk-alt) 0%, var(--rk-alt) 20%, var(--rk-light) 100%); }
.rk-slant::before { content: ""; position: absolute; inset: 0; background: var(--rk-light); clip-path: polygon(0 100%, 100% 24%, 100% 100%); }
.rk-slant::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--rk-yellow); clip-path: polygon(0 0, 32% 0, 30% 100%, 0 100%); }
.rk-slant--mirror::before { clip-path: polygon(0 24%, 100% 100%, 0 100%); }
.rk-slant--mirror::after { clip-path: polygon(68% 0, 100% 0, 100% 100%, 70% 100%); }

/* ---------- Hero ---------- */

.rk-hero {
	position: relative; margin-top: calc(-1 * (var(--rk-header-h) + 1px));
	height: var(--rk-hero-h, 86vh); min-height: 640px; background: var(--rk-black); overflow: hidden;
}
.rk-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; display: block; }
.rk-hero__shade {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(0deg, rgba(13,13,13,.96) 0%, rgba(13,13,13,.78) 50%, rgba(13,13,13,.2) 100%);
}
@media (min-width: 900px) {
	.rk-hero__shade { background: linear-gradient(90deg, rgba(13,13,13,.94) 0%, rgba(13,13,13,.82) 28%, rgba(13,13,13,.4) 52%, rgba(13,13,13,0) 72%); }
}
.rk-hero__top { position: absolute; left: 0; right: 0; top: 0; height: 160px; pointer-events: none; background: linear-gradient(180deg, rgba(13,13,13,.6), rgba(13,13,13,0)); }
.rk-hero__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--rk-yellow); pointer-events: none; }
.rk-hero__content { position: absolute; inset: 80px 0 64px; display: flex; align-items: center; }
.rk-hero__inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 48px); width: 100%; }
.rk-hero__meta { margin: 0 0 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.rk-hero__badge { background: var(--rk-yellow); color: var(--rk-black); font: 700 14px var(--rk-f-head); letter-spacing: .16em; padding: 8px 12px; text-transform: uppercase; }
.rk-hero__season { font: 600 14px var(--rk-f-body); letter-spacing: .2em; color: var(--rk-white); text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.rk-hero__title {
	margin: 0; font-family: var(--rk-f-head); font-weight: 700; font-size: clamp(64px, 11vw, 168px);
	line-height: .88; letter-spacing: -.02em; text-transform: uppercase; color: var(--rk-white);
	text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.rk-hero__rule { width: 128px; height: 8px; background: var(--rk-yellow); margin: 32px 0 24px; }
.rk-hero__lead { margin: 0 0 40px; font: 500 clamp(19px, 1.9vw, 26px)/1.45 var(--rk-f-body); color: var(--rk-white); max-width: 600px; text-wrap: pretty; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.rk-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.rk-hero__cut { position: absolute; left: 0; right: 0; bottom: -1px; height: 72px; background: var(--rk-black); clip-path: polygon(0 100%, 100% 0, 100% 101%, 0 101%); pointer-events: none; }

@media (max-width: 899px) {
	.rk-hero { height: auto; min-height: var(--rk-hero-h, 86vh); display: flex; align-items: flex-end; }
	.rk-hero__content { position: relative; inset: auto; width: 100%; padding: calc(var(--rk-header-h) + 48px) 0 104px; }
	.rk-hero__actions .rk-btn { padding: 0 28px; }
}

/* ---------- Najbliższy mecz ---------- */

.rk-section--match { padding: 8px var(--rk-gutter) clamp(48px, 6vw, 80px); }
.rk-match { max-width: 1120px; margin: 0 auto; background: var(--rk-card); border-top: 6px solid var(--rk-yellow); position: relative; overflow: hidden; }
.rk-match__pattern { position: absolute; right: -40px; top: -30px; width: 260px; height: 260px; opacity: .05; background-image: repeating-linear-gradient(135deg, var(--rk-yellow) 0 2px, transparent 2px 16px); pointer-events: none; }
.rk-match__body { padding: clamp(22px, 3vw, 38px); position: relative; }
.rk-match__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-bottom: 26px; }
.rk-match__title { font: 700 clamp(22px, 2.4vw, 30px) var(--rk-f-head); letter-spacing: .02em; text-transform: uppercase; }
.rk-match__grid { display: grid; grid-template-columns: 1fr; align-items: center; gap: 32px; }
@media (min-width: 640px) { .rk-match__grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } }
.rk-match__team { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.rk-match__name { font: 700 26px/1.1 var(--rk-f-head); text-transform: uppercase; }
.rk-match__role { font: 500 15px var(--rk-f-body); color: var(--rk-muted); margin-top: 4px; }
.rk-match__time { text-align: center; }
.rk-match__label { font: 600 14px var(--rk-f-body); letter-spacing: .2em; color: var(--rk-muted); text-transform: uppercase; }
.rk-match__clock { font: 700 clamp(56px, 6vw, 88px)/1 var(--rk-f-head); color: var(--rk-yellow); font-variant-numeric: tabular-nums; margin-top: 8px; }
.rk-match__date { font: 500 16px var(--rk-f-body); margin-top: 8px; }
.rk-match__place { margin: 32px 0 0; text-align: center; font: 500 16px var(--rk-f-body); color: var(--rk-muted); }
.rk-countdown { margin-top: 32px; padding-top: 32px; border-top: 1px solid #2A2A2A; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: stretch; }
.rk-countdown__box { background: var(--rk-black); border: 1px solid #333; padding: 24px 16px 16px; text-align: center; min-width: 128px; flex: 1 1 104px; max-width: 176px; }
.rk-countdown__num { font: 700 clamp(48px, 5vw, 72px)/1 var(--rk-f-head); color: var(--rk-yellow); font-variant-numeric: tabular-nums; }
.rk-countdown__unit { font: 600 13px var(--rk-f-body); letter-spacing: .2em; color: var(--rk-muted-2); margin-top: 8px; }
.rk-countdown .rk-btn { align-self: center; }

/* ---------- Ostatnie wyniki ---------- */

.rk-result { border-top: 4px solid var(--rk-draw); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.rk-result--win { border-top-color: var(--rk-win); }
.rk-result--loss { border-top-color: var(--rk-loss); }
.rk-result:hover { border-top-color: var(--rk-yellow); }
.rk-result__top { display: flex; justify-content: space-between; align-items: center; font: 600 13px var(--rk-f-body); letter-spacing: .14em; color: var(--rk-muted); text-transform: uppercase; }
.rk-result__row { display: flex; align-items: center; gap: 12px; color: var(--rk-white); }
.rk-result__row.is-winner { color: var(--rk-yellow); }
.rk-result__club { flex: 1; font: 600 18px/1.2 var(--rk-f-body); }
.rk-result__goals { font: 700 36px/1 var(--rk-f-head); font-variant-numeric: tabular-nums; }
.rk-result__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rk-line); display: flex; justify-content: space-between; align-items: center; }

/* ---------- Tabela ---------- */

.rk-table-wrap { overflow-x: auto; }
.rk-table { width: 100%; border-collapse: collapse; font-family: var(--rk-f-body); font-size: 16px; border: 1px solid var(--rk-line); }
.rk-table caption { text-align: left; font: 500 15px var(--rk-f-body); color: var(--rk-muted-2); padding-bottom: 16px; }
.rk-table__cap-short { display: none; }
.rk-table thead tr { background: var(--rk-black); }
.rk-table th { text-align: left; padding: 16px 8px; font: 600 13px var(--rk-f-body); letter-spacing: .14em; color: var(--rk-muted-2); border-bottom: 2px solid var(--rk-yellow); }
.rk-table th.rk-c { text-align: center; }
.rk-table th.rk-table__pos, .rk-table th:last-child { padding-left: 16px; padding-right: 16px; }
.rk-table th.rk-table__pts { color: var(--rk-yellow); }
.rk-table th.rk-table__pos { width: 64px; }
.rk-table tbody tr { background: #101010; border-bottom: 1px solid #222; }
.rk-table tbody tr:nth-child(even) { background: #181818; }
.rk-table tbody tr:hover { background: var(--rk-line-2); }
.rk-table tbody tr.is-own { background: rgba(255,209,0,.10); box-shadow: inset 4px 0 0 var(--rk-yellow); }
.rk-table td { padding: 12px 8px; color: #E6E6E6; font-variant-numeric: tabular-nums; }
.rk-table td.rk-table__pos { padding: 12px 16px; font: 700 18px var(--rk-f-head); color: var(--rk-muted-2); }
.rk-table tr.is-own td.rk-table__pos { color: var(--rk-yellow); }
.rk-table td:last-child { padding: 12px 16px; }
.rk-table td.rk-table__pts { font: 700 20px var(--rk-f-head); color: var(--rk-yellow); }
.rk-table td.rk-muted { color: var(--rk-muted-2); }
.rk-table__clubcell { display: flex; align-items: center; gap: 12px; color: var(--rk-white); font-weight: 500; }
.rk-table tr.is-own .rk-table__clubcell { font-weight: 700; }
.rk-formdots { display: flex; gap: 6px; }

@media (max-width: 899px) {
	.rk-table { font-size: 15px; }
	.rk-table caption { font-size: 14px; }
	.rk-table__cap-full, .rk-hide-sm { display: none; }
	.rk-table__cap-short { display: inline; }
	.rk-table th { padding: 12px 8px; font-size: 12px; letter-spacing: .12em; }
	.rk-table th.rk-table__pos { width: auto; padding: 12px 8px 12px 12px; }
	.rk-table td.rk-table__pos { padding: 12px 8px 12px 12px; font-size: 16px; }
	.rk-table td.rk-table__pts { font-size: 18px; padding-right: 12px; }
	.rk-table__clubcell { gap: 8px; line-height: 1.25; }
	.rk-table .rk-crest--xs { width: 24px; height: 24px; }
	.rk-table .rk-shield--xs { width: 22px; height: 26px; }
	.rk-table .rk-shield--xs > span { width: 18px; height: 22px; font-size: 8px; padding-bottom: 5px; }
}

/* ---------- Aktualności ---------- */

.rk-placeholder {
	position: absolute; inset: 0; overflow: hidden;
	background: linear-gradient(135deg, var(--rk-line-2), var(--rk-black));
}
.rk-placeholder::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,209,0,.06) 0 2px, transparent 2px 16px); }
.rk-placeholder__crest { position: absolute; left: 50%; top: 50%; height: 130%; width: auto; max-width: none; transform: translate(-50%, -50%); opacity: .14; }
.rk-placeholder__crest--side { left: auto; right: -6%; width: 60%; height: auto; transform: translateY(-50%); opacity: .12; }

.rk-feature { display: flex; flex-wrap: wrap; margin-bottom: 16px; }
.rk-feature__media { flex: 1 1 420px; min-height: 320px; position: relative; overflow: hidden; background: var(--rk-card-2); display: block; }
.rk-feature__media img:not(.rk-placeholder__crest) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rk-feature__body { flex: 1 1 380px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.rk-feature__title { margin: 0 0 14px; font: 700 clamp(24px, 2.8vw, 36px)/1.1 var(--rk-f-head); text-transform: uppercase; text-wrap: pretty; }
.rk-feature__title a, .rk-news__title a { color: var(--rk-white); }
.rk-feature__title a:hover, .rk-news__title a:hover { color: var(--rk-yellow); }
.rk-feature__lead { margin: 0 0 22px; font: 400 17px/1.6 var(--rk-f-body); color: var(--rk-muted); text-wrap: pretty; }
.rk-news__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 16px; font: 500 14px var(--rk-f-body); color: var(--rk-muted); }
.rk-news { display: flex; flex-direction: column; }
.rk-news__media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; display: block; }
.rk-news__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rk-news__bar { position: absolute; left: 0; bottom: 0; width: 40%; height: 4px; background: var(--rk-yellow); z-index: 1; }
.rk-news__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.rk-news__body .rk-news__meta { margin: 0; }
.rk-news__title { font: 600 20px/1.25 var(--rk-f-head); text-transform: uppercase; text-wrap: pretty; }
.rk-news__lead { margin: 0; font: 400 16px/1.55 var(--rk-f-body); color: var(--rk-muted); text-wrap: pretty; }
.rk-news__more { margin-top: auto; }

.rk-pagination { margin-top: 40px; }
.rk-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.rk-pagination .page-numbers { min-width: 48px; min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rk-line-3); color: var(--rk-white); font: 600 15px var(--rk-f-head); letter-spacing: .08em; }
.rk-pagination .page-numbers:hover { border-color: var(--rk-yellow); }
.rk-pagination .page-numbers.current { background: var(--rk-yellow); border-color: var(--rk-yellow); color: var(--rk-black); }

/* ---------- Kadra ---------- */

.rk-player { overflow: hidden; }
.rk-player:hover { box-shadow: inset 0 -4px 0 var(--rk-yellow); }
.rk-player[hidden] { display: none; }
.rk-player__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(120% 90% at 70% 10%, #2E2E2E 0%, #181818 55%, var(--rk-black) 100%); }
.rk-player__lines { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px); }
.rk-player__crest { position: absolute; right: -18%; top: 6%; width: 92%; max-width: none; opacity: .09; filter: grayscale(1); }
.rk-player__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rk-player__accent { position: absolute; left: 0; top: 0; width: 4px; height: 40%; background: var(--rk-yellow); z-index: 1; }
.rk-player__mark { position: absolute; left: 16px; bottom: 4px; z-index: 2; font-family: var(--rk-f-head); font-weight: 700; font-size: 112px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--rk-yellow); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.rk-player__mark--sm { font-size: 84px; }
.rk-player__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(0deg, rgba(13,13,13,.55), rgba(13,13,13,0)); z-index: 1; }
.rk-player__photo ~ .rk-player__mark { font-size: 64px; }
.rk-player__body { padding: 16px; }
.rk-player__pos { font: 600 13px var(--rk-f-body); letter-spacing: .14em; color: var(--rk-yellow); text-transform: uppercase; }
.rk-player__name { margin-top: 8px; font: 600 20px/1.15 var(--rk-f-head); text-transform: uppercase; }
.rk-player__stats { margin-top: 16px; padding-top: 8px; border-top: 1px solid var(--rk-line); display: flex; flex-wrap: wrap; gap: 4px 16px; font: 500 14px var(--rk-f-body); color: var(--rk-muted); }
.rk-player__stats b { color: var(--rk-white); font-variant-numeric: tabular-nums; }

/* ---------- Akademia ---------- */

.rk-group {
	position: relative; overflow: hidden; background: #FFF; border: 1px solid #DCDCDC; padding: 24px;
	display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, box-shadow .15s;
}
.rk-group:hover { border-color: var(--rk-black); box-shadow: inset 0 -4px 0 var(--rk-yellow); }
.rk-group__years { font: 700 clamp(48px, 5vw, 64px)/1 var(--rk-f-head); letter-spacing: -.02em; color: var(--rk-black); font-variant-numeric: tabular-nums; }
.rk-group__name { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 700 22px var(--rk-f-head); letter-spacing: .04em; text-transform: uppercase; color: var(--rk-black); }
.rk-group__name span { width: 16px; height: 4px; background: var(--rk-black); flex: none; }
.rk-group__tag { font: 500 17px/1.4 var(--rk-f-body); color: #333; }
.rk-group__info { margin-top: 8px; padding-top: 16px; border-top: 1px solid #E6E6E6; font: 500 14px/1.6 var(--rk-f-body); color: #4A4A4A; }

.rk-signup { display: flex; flex-wrap: wrap; background: var(--rk-black); color: var(--rk-white); }
.rk-signup__form { flex: 1 1 400px; padding: clamp(24px, 4vw, 48px); }
.rk-signup__lead { margin: 0 0 32px; font: 400 16px/1.6 var(--rk-f-body); color: var(--rk-muted); }
.rk-signup__media { flex: 1 1 400px; min-height: 360px; position: relative; overflow: hidden; background: var(--rk-card); }
.rk-signup__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.rk-form { display: grid; gap: 24px; }
.rk-field { display: grid; gap: 8px; font: 600 14px var(--rk-f-body); letter-spacing: .1em; color: #E6E6E6; text-transform: uppercase; }
.rk-field input, .rk-field select {
	width: 100%; min-height: 56px; background: var(--rk-card); border: 2px solid #4D4D4D; color: var(--rk-white);
	padding: 0 16px; font: 400 17px var(--rk-f-body); letter-spacing: normal; text-transform: none; outline: none; border-radius: 0;
}
.rk-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--rk-yellow) 50%), linear-gradient(135deg, var(--rk-yellow) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.rk-field input:hover, .rk-field select:hover { border-color: var(--rk-draw-b); }
.rk-field input:focus, .rk-field select:focus { border-color: var(--rk-yellow); box-shadow: 0 0 0 3px rgba(255,209,0,.35); }
.rk-check { display: flex; gap: 16px; align-items: flex-start; font: 400 15px/1.55 var(--rk-f-body); color: var(--rk-muted-2); cursor: pointer; }
.rk-check input { width: 28px; height: 28px; flex: none; accent-color: var(--rk-yellow); margin: 0; cursor: pointer; }
.rk-check a { color: var(--rk-yellow); text-decoration: underline; }
.rk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rk-alert { margin: 0; background: var(--rk-yellow); color: var(--rk-black); padding: 24px; font: 600 17px var(--rk-f-body); }
.rk-alert--sm { padding: 16px 20px; font-size: 16px; }
.rk-alert--error { background: var(--rk-loss); color: var(--rk-white); margin-bottom: 24px; }

/* ---------- Stadion ---------- */

.rk-split { display: flex; flex-wrap: wrap; gap: 16px; }
.rk-split__media { flex: 1 1 420px; min-height: 320px; position: relative; border: 1px solid var(--rk-line); }
.rk-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rk-split__side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.rk-box { background: var(--rk-card); border: 1px solid var(--rk-line); padding: 22px; }
.rk-box p { margin: 0; font: 400 16px/1.6 var(--rk-f-body); }
.rk-box__h { margin: 0 0 12px; font: 600 18px var(--rk-f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--rk-yellow); }
.rk-box--list { display: grid; gap: 14px; font: 400 16px/1.5 var(--rk-f-body); }
.rk-box__name { margin-top: 8px; font: 600 20px var(--rk-f-head); text-transform: uppercase; }
.rk-box__contact { margin-top: 10px; font: 400 15px var(--rk-f-body); color: var(--rk-muted); }
.rk-map { position: relative; min-height: 180px; background: var(--rk-card); border: 1px solid var(--rk-line); flex: 1; }
.rk-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }
.rk-map--empty { display: grid; place-items: center; text-align: center; padding: 20px; border-style: dashed; border-color: var(--rk-line-3); font: 600 13px var(--rk-f-body); letter-spacing: .16em; color: var(--rk-muted); text-transform: uppercase; }
.rk-map--empty:hover { border-color: var(--rk-yellow); color: var(--rk-white); }

/* ---------- Sponsorzy ---------- */

.rk-subhead { margin: 0 0 16px; font: 600 14px var(--rk-f-body); letter-spacing: .18em; text-transform: uppercase; color: #4A4A4A; }
.rk-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 40px; }
.rk-logos--main { grid-template-columns: 1fr; }
.rk-logo {
	background: #FFF; border: 1px solid #DCDCDC; height: 136px; padding: 24px 32px; display: grid; place-items: center;
	filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s, border-color .2s;
}
.rk-logo:hover { filter: none; opacity: 1; border-color: var(--rk-black); }
.rk-logo img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; display: block; }
.rk-logos--main .rk-logo { height: 200px; padding: 32px; }
.rk-logos--main .rk-logo img { max-width: min(480px, 100%); max-height: 120px; }
.rk-logo__name { font: 700 24px var(--rk-f-head); color: var(--rk-black); letter-spacing: .06em; }
.rk-cta { background: var(--rk-black); padding: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between; margin-top: 8px; }
.rk-cta .rk-h3 { font-size: clamp(24px, 2.6vw, 32px); }
.rk-cta p { margin: 0; font: 400 17px/1.55 var(--rk-f-body); color: var(--rk-muted); max-width: 560px; }

/* ---------- Wesprzyj / newsletter ---------- */

.rk-tile { background: var(--rk-card); border-top: 4px solid var(--rk-yellow); padding: 24px; }
.rk-tile__h { margin: 0 0 10px; font: 600 20px var(--rk-f-head); text-transform: uppercase; }
.rk-tile p { margin: 0; font: 400 16px/1.6 var(--rk-f-body); color: var(--rk-muted); }

.rk-newsletter { background: var(--rk-alt); border-top: 1px solid var(--rk-line-2); border-bottom: 1px solid var(--rk-line-2); padding: clamp(40px, 5vw, 64px) var(--rk-gutter); }
.rk-newsletter__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between; }
.rk-newsletter__text { max-width: 520px; }
.rk-newsletter__text .rk-h3 { font-size: clamp(22px, 2.6vw, 32px); }
.rk-newsletter__text p { margin: 0; font: 400 16px/1.55 var(--rk-f-body); color: var(--rk-muted); }
.rk-newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 340px; max-width: 520px; }
.rk-newsletter__form input { flex: 1 1 200px; min-height: 52px; background: var(--rk-black); border: 1px solid var(--rk-line-3); border-left: 4px solid var(--rk-yellow); color: var(--rk-white); padding: 0 16px; font: 400 16px var(--rk-f-body); border-radius: 0; }
.rk-newsletter__form input[aria-invalid="true"] { border-color: var(--rk-loss-b); }
.rk-newsletter__form .rk-btn { min-height: 52px; padding: 0 26px; font-size: 16px; letter-spacing: .1em; border: 0; }

/* ---------- Podstrony ---------- */

.rk-pagehead { position: relative; background: var(--rk-alt); border-bottom: 1px solid var(--rk-line-2); padding: clamp(40px, 5vw, 72px) var(--rk-gutter); overflow: hidden; }
.rk-pagehead__pattern { position: absolute; right: -20px; top: -40px; width: 320px; height: 320px; opacity: .05; background-image: repeating-linear-gradient(135deg, var(--rk-yellow) 0 2px, transparent 2px 18px); }
.rk-pagehead__crest { position: absolute; right: 2vw; top: -30px; width: 300px; opacity: .06; }
.rk-pagehead__inner { position: relative; }
.rk-pagehead .rk-kicker { margin-bottom: 10px; }
.rk-pagehead__title { margin: 0; font: 700 clamp(34px, 5.4vw, 72px)/1.05 var(--rk-f-head); letter-spacing: -.01em; text-transform: uppercase; }
.rk-pagehead__lead { margin: 14px 0 0; font: 400 17px/1.6 var(--rk-f-body); color: var(--rk-muted); max-width: 640px; }

/* Terminarz */
.rk-section--fixtures { padding-top: clamp(32px, 4vw, 56px); }
.rk-filters { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 26px; }
.rk-fixtures { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rk-fixture { background: var(--rk-card); border: 1px solid var(--rk-line); border-left: 4px solid #333; padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.rk-fixture.is-home { border-left-color: var(--rk-yellow); }
.rk-fixture:hover { border-color: var(--rk-yellow-d); }
.rk-fixture.is-home:hover { border-left-color: var(--rk-yellow); }
.rk-fixture[hidden] { display: none; }
.rk-fixture__k { font: 700 20px var(--rk-f-head); color: var(--rk-yellow); min-width: 52px; font-variant-numeric: tabular-nums; }
.rk-fixture__date { font: 500 14px var(--rk-f-body); color: var(--rk-muted); min-width: 96px; }
.rk-fixture__venue { font: 600 12px var(--rk-f-head); letter-spacing: .14em; padding: 4px 8px; border: 1px solid var(--rk-line-3); color: #B3B3B3; }
.rk-fixture.is-home .rk-fixture__venue { border-color: var(--rk-yellow); color: var(--rk-yellow); }
.rk-fixture__pair { flex: 1 1 240px; font: 600 17px var(--rk-f-body); }
.rk-fixture__score { font: 700 20px var(--rk-f-head); font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }
.rk-fixture__score--tbd { font: 500 13px var(--rk-f-body); letter-spacing: .06em; color: var(--rk-muted); text-transform: uppercase; }
.rk-fixture .rk-dot { width: 26px; height: 26px; font-size: 12px; }
.rk-fixture__link { font-size: 14px; min-width: 110px; text-align: right; }

/* Klub */
.rk-timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--rk-line); display: flex; flex-direction: column; gap: 30px; }
.rk-timeline li { position: relative; }
.rk-timeline li::before { content: ""; position: absolute; left: -37px; top: 6px; width: 16px; height: 16px; background: var(--rk-yellow); }
.rk-timeline__year { font: 700 26px var(--rk-f-head); color: var(--rk-yellow); font-variant-numeric: tabular-nums; }
.rk-timeline__title { margin: 6px 0 8px; font: 600 21px var(--rk-f-head); text-transform: uppercase; }
.rk-timeline p { margin: 0; font: 400 17px/1.65 var(--rk-f-body); color: var(--rk-muted); text-wrap: pretty; }
.rk-about { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.rk-about__text { flex: 1 1 380px; }
.rk-about__crest { flex: 1 1 260px; background: var(--rk-card); border: 1px solid var(--rk-line); padding: clamp(24px, 3vw, 40px); display: grid; place-items: center; gap: 20px; text-align: center; }
.rk-about__crest img { width: min(220px, 60vw); height: auto; }
.rk-about__crest p { margin: 0; font: 500 14px/1.6 var(--rk-f-body); color: var(--rk-muted); }

/* ---------- Treść (wpisy, strony) ---------- */

.rk-prose { font: 400 18px/1.75 var(--rk-f-body); color: var(--rk-white); }
.rk-prose > * { margin-top: 0; margin-bottom: 22px; }
.rk-prose p { text-wrap: pretty; }
.rk-prose h2 { margin: 36px 0 16px; font: 700 clamp(22px, 2.4vw, 28px) var(--rk-f-head); text-transform: uppercase; }
.rk-about__text.rk-prose h2 { margin-top: 0; margin-bottom: 18px; font-size: clamp(24px, 3vw, 38px); }
.rk-prose h3 { margin: 28px 0 12px; font: 600 21px var(--rk-f-head); text-transform: uppercase; }
.rk-prose a { text-decoration: underline; text-underline-offset: 3px; }
.rk-prose ul, .rk-prose ol { padding-left: 1.3em; }
.rk-prose li::marker { color: var(--rk-yellow); }
.rk-prose blockquote, .rk-prose .wp-block-quote { margin: 0 0 22px; padding: 24px 26px; background: var(--rk-card); border-left: 5px solid var(--rk-yellow); }
.rk-prose blockquote p { margin: 0 0 12px; font: 500 20px/1.5 var(--rk-f-body); }
.rk-prose blockquote cite, .rk-prose blockquote footer { display: block; font: 600 13px var(--rk-f-body); font-style: normal; letter-spacing: .12em; color: var(--rk-muted); text-transform: uppercase; }
.rk-prose .wp-block-gallery { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px !important; margin-bottom: 36px; }
.rk-prose .wp-block-gallery .wp-block-image { width: auto !important; margin: 0 !important; aspect-ratio: 4 / 3; position: relative; overflow: hidden; border: 1px solid var(--rk-line); }
.rk-prose .wp-block-gallery .wp-block-image img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.rk-prose figure { margin-left: 0; margin-right: 0; }
.rk-prose figcaption, .rk-prose .wp-element-caption { font: 400 13px var(--rk-f-body); color: var(--rk-muted); margin-top: 10px; }
.rk-prose img { display: block; }
.rk-prose hr { border: 0; height: 1px; background: var(--rk-line); margin: 36px 0; }
.rk-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.rk-prose th, .rk-prose td { padding: 10px 12px; border-bottom: 1px solid var(--rk-line); text-align: left; }
.rk-prose--intro { margin-bottom: 26px; font-size: 17px; color: var(--rk-muted); }

.rk-article { background: var(--rk-black); }
.rk-article__head { max-width: 780px; margin: 0 auto; padding: clamp(32px, 4vw, 64px) var(--rk-gutter) 0; }
.rk-back { font: 600 13px var(--rk-f-body); letter-spacing: .14em; text-transform: uppercase; }
.rk-article__meta { margin: 22px 0 16px; }
.rk-article__title { margin: 0; font: 700 clamp(30px, 4.6vw, 58px)/1.06 var(--rk-f-head); letter-spacing: -.01em; text-transform: uppercase; text-wrap: pretty; }
.rk-article__lead { margin: 22px 0 0; font: 500 clamp(18px, 2vw, 22px)/1.55 var(--rk-f-body); color: var(--rk-yellow); text-wrap: pretty; }
.rk-article__hero { max-width: 1120px; margin: 32px auto 0; padding: 0 var(--rk-gutter); }
.rk-article__img { height: clamp(240px, 42vw, 520px); position: relative; border: 1px solid var(--rk-line); overflow: hidden; }
.rk-article__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rk-article__hero figcaption { margin: 10px 0 0; font: 400 13px var(--rk-f-body); color: var(--rk-muted); }
.rk-article__body { max-width: 780px; margin: 0 auto; padding: clamp(28px, 3.4vw, 48px) var(--rk-gutter) clamp(56px, 7vw, 88px); }

/* Wpis meczowy: karta wyniku zamiast artykułu */
.rk-matchpost__wrap { max-width: 1120px; margin: 0 auto; padding: clamp(32px, 4vw, 64px) var(--rk-gutter) var(--rk-sec-y); }
.rk-matchpost__card { margin-top: 8px; }
.rk-matchpost__badge { margin-left: auto; }
.rk-matchpost .rk-match__title { margin: 0; }
.rk-matchpost .rk-match__team.is-winner .rk-match__name { color: var(--rk-yellow); }
.rk-matchpost__score { color: var(--rk-white); }
.rk-matchpost__foot { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rk-line); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.rk-matchpost__foot .rk-note { margin: 0; }
.rk-matchpost + .rk-article__body, .rk-matchpost .rk-article__body { padding-top: 0; }
@media (max-width: 639px) {
	.rk-matchpost .rk-match__grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; }
	.rk-matchpost .rk-match__team { gap: 10px; }
	.rk-matchpost .rk-match__name { font-size: 17px; }
	.rk-matchpost .rk-match__role { font-size: 13px; }
	.rk-matchpost .rk-crest--xl { width: 64px; height: 64px; }
	.rk-matchpost .rk-shield--xl { width: 56px; height: 64px; }
	.rk-matchpost .rk-shield--xl > span { width: 52px; height: 60px; font-size: 19px; padding-bottom: 10px; }
	.rk-matchpost__score { font-size: 48px; }
	.rk-matchpost .rk-match__date { font-size: 13px; }
	.rk-matchpost__badge { margin-left: 0; }
}

.rk-lineup { background: var(--rk-card); border-top: 4px solid var(--rk-yellow); padding: 24px; margin-top: 36px; }
.rk-prose .rk-lineup h2 { margin: 0 0 6px; font-size: 22px; }
.rk-lineup__desc { margin: 0 0 18px !important; font: 500 14px var(--rk-f-body); letter-spacing: .12em; color: var(--rk-muted); text-transform: uppercase; }
.rk-lineup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rk-lineup li { display: flex; gap: 14px; align-items: baseline; border-bottom: 1px solid var(--rk-line); padding-bottom: 8px; line-height: 1.4; }
.rk-lineup__nr { font: 700 18px var(--rk-f-head); color: var(--rk-yellow); min-width: 34px; font-variant-numeric: tabular-nums; }
.rk-lineup__name { font: 600 16px var(--rk-f-body); }
.rk-lineup__note { margin-left: auto; font: 500 13px var(--rk-f-body); color: var(--rk-muted); text-align: right; }
.rk-lineup__facts { margin: 18px 0 0 !important; font: 500 14px var(--rk-f-body); color: var(--rk-muted); }

/* ---------- Stopka ---------- */

.rk-footer { position: relative; background: var(--rk-black); border-top: 4px solid var(--rk-yellow); overflow: hidden; }
.rk-footer__pattern { position: absolute; inset: 0; opacity: .05; background-image: repeating-linear-gradient(135deg, var(--rk-yellow) 0 2px, transparent 2px 22px); }
.rk-footer__watermark { position: absolute; right: -40px; bottom: -60px; width: 340px; opacity: .05; }
.rk-footer__grid { position: relative; max-width: 1280px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--rk-gutter) 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 48px 64px; }
.rk-footer__brand { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.rk-footer__brand img { width: 64px; height: 64px; object-fit: contain; }
.rk-footer__brand span { font: 700 24px/1.1 var(--rk-f-head); text-transform: uppercase; }
.rk-footer__about { margin: 0; font: 400 16px/1.8 var(--rk-f-body); color: var(--rk-muted); }
.rk-footer__h { margin: 0 0 16px; font: 600 14px var(--rk-f-body); letter-spacing: .18em; color: var(--rk-yellow); text-transform: uppercase; }
.rk-footer__contact { margin: 0 0 16px; font: 400 16px/1.8 var(--rk-f-body); }
.rk-footer__contact a:hover, .rk-footer__links a:hover { color: var(--rk-white); }
.rk-footer__small { margin: 0; font: 400 15px/1.8 var(--rk-f-body); color: var(--rk-muted); }
.rk-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rk-footer__menu a { font: 500 16px/1.8 var(--rk-f-body); color: var(--rk-white); }
.rk-footer__menu a:hover { color: var(--rk-yellow); }
.rk-footer__socials { display: flex; gap: 8px; margin-bottom: 24px; }
.rk-footer__socials a { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--rk-line-3); color: var(--rk-white); transition: background .15s, color .15s, border-color .15s; }
.rk-footer__socials a:hover { background: var(--rk-yellow); border-color: var(--rk-yellow); color: var(--rk-black); }
.rk-footer__bottom { position: relative; max-width: 1280px; margin: 0 auto; padding: 24px var(--rk-gutter) 32px; border-top: 1px solid var(--rk-line); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; font: 400 14px var(--rk-f-body); color: var(--rk-muted); }
.rk-footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.rk-footer__links a { font-weight: 500; }

/* ---------- WordPress ---------- */

.alignwide { max-width: 1120px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 13px; color: var(--rk-muted); }
.sticky, .bypostauthor { }
.rk-source a { color: var(--rk-muted); text-decoration: underline; } .rk-source a:hover { color: var(--rk-yellow); }
