/* Variant U "Uwanja": a football stadium under floodlights. Night sky, mown pitch stripes, chalk lines, scoreboard digits, fixture rows. */
:root {
	--u-night: #0a1424; --u-night2: #112440; --u-night3: #1a3357; --u-pitch: #17703a; --u-pitch2: #1b7d42; --u-chalk: #f5f8f2; --u-board: #05080e; --u-rule: #d3dccf;
	--u-mono: 'Share Tech Mono', ui-monospace, monospace;
	--u-stripes: repeating-linear-gradient(90deg, var(--u-pitch) 0 60px, var(--u-pitch2) 60px 120px);
}
h1, h2, h3 { font-weight: 600; }
h1, h2 { text-transform: uppercase; letter-spacing: 0.01em; }

/* Header: night stand with a floodlight mark */
.kbk-head { background: var(--u-night) !important; border-bottom: 1px solid var(--u-night3); box-shadow: none; }
.kbk-head .wp-block-site-title a { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--u-chalk); }
.kbk-head .wp-block-site-title a::before { content: ""; flex: none; width: 24px; height: 32px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 34'%3E%3Crect x='1' y='1' width='24' height='14' rx='2' fill='%23112440' stroke='%23ffb81c' stroke-width='1.5'/%3E%3Cg fill='%23fff6d8'%3E%3Ccircle cx='7' cy='6' r='2'/%3E%3Ccircle cx='13' cy='6' r='2'/%3E%3Ccircle cx='19' cy='6' r='2'/%3E%3Ccircle cx='7' cy='11' r='2'/%3E%3Ccircle cx='13' cy='11' r='2'/%3E%3Ccircle cx='19' cy='11' r='2'/%3E%3C/g%3E%3Cpath d='M13 15v18M8 33h10' stroke='%239fb0c6' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.kbk-head .wp-block-navigation a { color: #dfe7f0; border-bottom: 3px solid transparent; }
.kbk-head .wp-block-navigation a:hover { color: #fff; border-bottom-color: var(--u-pitch2); }
.kbk-head .wp-block-navigation__responsive-container.is-menu-open { background: var(--u-night2) !important; border-top: 4px solid var(--u-pitch2); }
.kbk-head .wp-block-navigation__responsive-container.is-menu-open a { color: #fff; border-bottom: 1px solid var(--u-night3); }
.kbk-lang { border-width: 2px; border-color: #7f93ad; color: var(--u-chalk); }
.kbk-lang:hover { border-color: var(--u-chalk); }

/* Hero: night sky, two floodlight beams, the pitch along the bottom, the scoreboard on the pitch */
.kbk-hero { text-align: center; overflow: hidden; padding: 4.5rem 1rem 2rem;
	background: linear-gradient(180deg, var(--u-night) 0%, var(--u-night2) 62%, #16304f 100%) var(--u-night); }
.kbk-hero::before, .kbk-hero::after { content: ""; position: absolute; z-index: -1; top: 30px; width: 70%; height: 120%; pointer-events: none; opacity: 0.55; }
.kbk-hero::before { left: -6%; background: conic-gradient(from 118deg at 12% 0%, transparent 0deg, rgba(255, 250, 225, 0.16) 10deg, rgba(255, 250, 225, 0.05) 34deg, transparent 46deg); }
.kbk-hero::after { right: -6%; background: conic-gradient(from 196deg at 88% 0%, transparent 0deg, rgba(255, 250, 225, 0.05) 12deg, rgba(255, 250, 225, 0.16) 36deg, transparent 46deg); }
.kbk-hero .kbk-inner { max-width: 64rem; }
/* the ornament layer carries the floodlight towers and the pitch (chalk line, halfway line, mown stripes) */
.kbk-ornament { position: absolute; z-index: -1; inset: 0; background: linear-gradient(var(--u-chalk), var(--u-chalk)) 0 calc(100% - 110px) / 100% 3px no-repeat, linear-gradient(var(--u-chalk), var(--u-chalk)) 50% 100% / 3px 110px no-repeat, var(--u-stripes) 0 100% / 100% 110px no-repeat; }
.kbk-ornament svg { position: absolute; top: 14px; width: 86px; height: auto; }
.kbk-ornament .l { left: max(10px, calc(50% - 640px)); }
.kbk-ornament .r { right: max(10px, calc(50% - 640px)); transform: scaleX(-1); }
.kbk-badge { display: inline-flex; gap: 0.625rem; background: transparent; padding: 0; border-radius: 0; font: 500 0.9375rem/1.2 var(--u-mono); letter-spacing: 0.14em; color: var(--wp--preset--color--accent); }
.kbk-badge::before, .kbk-badge::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.kbk-hero h1 { font-weight: 700; font-size: clamp(2.5rem, 7vw, 5.25rem); line-height: 1.02; max-width: 16ch; margin: 1rem auto 1.125rem !important; }
.kbk-hero .wp-block-post-excerpt { color: #dce5ef; opacity: 1; font-size: 1.1875rem; max-width: 38rem; margin: 0 auto !important; }
.kbk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 64rem; margin: 2.5rem auto 0 !important; padding: 10px; background: var(--u-board); border-radius: 10px; box-shadow: 0 0 0 1px #2a3446, 0 24px 50px rgba(5, 8, 14, 0.45); }
.kbk-stat { margin: 0; padding: 1rem 1.25rem; background: radial-gradient(circle, #141c2a 1px, transparent 1.4px) 0 0 / 6px 6px, var(--u-board); }
.kbk-stat + .kbk-stat { border-left: 1px solid #1d2636; }
.kbk-stat strong { display: block; margin-bottom: 0.25rem; font: 400 clamp(2.25rem, 4.4vw, 3.375rem)/1 var(--u-mono); color: var(--wp--preset--color--accent); text-shadow: 0 0 14px rgba(255, 184, 28, 0.45); white-space: nowrap; }
.kbk-stat span { display: block; color: #c5cfdb; line-height: 1.4; }
@media (max-width: 760px) {
	.kbk-stats { grid-template-columns: 1fr; padding: 6px; }
	.kbk-stat { text-align: left; padding: 0.875rem 0.75rem; }
	.kbk-stat + .kbk-stat { border-left: 0; border-top: 1px solid #1d2636; }
}
@media (max-width: 620px) {
	.kbk-head .wp-block-site-title a { font-size: 1.1875rem; letter-spacing: 0.04em; }
	.kbk-head .wp-block-site-title a::before { width: 20px; height: 26px; }
	.kbk-hero { padding-top: 4.75rem; }
	.kbk-ornament { background-size: 100% 3px, 3px 70px, 100% 70px; background-position: 0 calc(100% - 70px), 50% 100%, 0 100%; }
	.kbk-ornament svg { width: 40px; }
	.kbk-badge { font-size: 0.8125rem; letter-spacing: 0.1em; }
	.kbk-badge::before, .kbk-badge::after { width: 18px; }
	.kbk-hero .wp-block-post-excerpt { font-size: 1.0625rem; }
	.kbk-stat strong { font-size: 2.375rem; }
}

/* Page band: night stand above a strip of pitch */
.kbk-band { position: relative; border-bottom: 0; padding-bottom: 2.25rem; background: linear-gradient(var(--u-night), var(--u-night2)) var(--u-night); }
.kbk-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; border-top: 2px solid var(--u-chalk); background: var(--u-stripes); }
.kbk-band h1 { color: #fff; font-weight: 700; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.05; }
.kbk-band .wp-block-post-excerpt { color: #c9d3df; }

/* Content */
.wp-block-post-content > h2 { font-size: clamp(1.625rem, 4vw, 2.25rem); line-height: 1.15; }
.wp-block-post-content > h2::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 0.75rem; vertical-align: 0.12em; border: 3px solid var(--u-pitch); border-radius: 50%; }
.wp-block-post-content > h3 { font-size: 1.3125rem; }
.tarehe-ukaguzi { width: fit-content; margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; background: var(--u-night); color: #c5cfdb; font-family: var(--u-mono); letter-spacing: 0.04em; border-radius: 4px; }
.wp-block-table { background: var(--wp--preset--color--soft); border: 1px solid var(--u-rule); border-radius: 8px; box-shadow: none; }
.wp-block-table thead th { background: var(--u-night); color: #fff; }
.wp-block-table tbody tr:nth-child(even) td { background: #f4f7f2; }
@media (max-width: 600px) { .wp-block-table tbody td:first-child { background: var(--wp--preset--color--soft); } }

/* Link lists as fixture rows: numbered board on the left */
.wp-block-list.is-style-kadi { counter-reset: kadi; }
.wp-block-list.is-style-kadi li { counter-increment: kadi; }
.wp-block-list.is-style-kadi a { justify-content: flex-start; gap: 1rem; min-height: 72px; padding: 0 1rem 0 0; overflow: hidden; background: var(--wp--preset--color--soft); border: 1px solid var(--u-rule); border-radius: 8px; box-shadow: none; font: 600 1.1875rem/1.25 var(--wp--preset--font-family--heading); }
.wp-block-list.is-style-kadi a::before { content: counter(kadi, decimal-leading-zero); flex: none; align-self: stretch; display: grid; place-items: center; width: 64px; background: var(--u-night); color: var(--wp--preset--color--accent); font: 400 1.5rem/1 var(--u-mono); }
.wp-block-list.is-style-kadi a::after { margin-left: auto; color: var(--u-pitch); }
.wp-block-list.is-style-kadi a:hover { border-color: var(--u-pitch); transform: none; box-shadow: 0 8px 20px rgba(17, 96, 58, 0.14); }
.wp-block-list.is-style-kadi a:hover::before { background: var(--u-pitch); color: #fff; }

/* 18+ line and help box: the referee's yellow card */
.onyo-18 { padding: 1rem; background: var(--wp--preset--color--soft); border: 1px solid var(--u-rule); border-top: 4px solid var(--wp--preset--color--accent); border-radius: 8px; color: var(--wp--preset--color--ink); }
.onyo-18::before { width: 1.75rem; height: 2.375rem; border: 0; border-radius: 4px; background: #ffcf2e; color: #1d1a10; transform: rotate(-8deg); box-shadow: 2px 3px 0 rgba(19, 32, 46, 0.18); }
.sanduku-msaada { background: var(--wp--preset--color--soft); border: 1px solid var(--u-rule); border-top: 5px solid var(--wp--preset--color--accent); border-left-width: 1px; border-radius: 8px; }
.sanduku-msaada li strong { font-family: var(--u-mono); font-weight: 400; color: var(--u-night); }

/* Footer: pitch stripe, night stand */
.kbk-foot { position: relative; padding-top: 3rem !important; background: var(--u-night); color: #c9d3df; }
.kbk-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; border-bottom: 2px solid var(--u-chalk); background: var(--u-stripes); }
.kbk-foot .kbk-wordmark { font-weight: 700; font-size: 1.375rem; letter-spacing: 0.06em; text-transform: uppercase; }
.kbk-age strong { background: transparent; border: 2px solid var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); font-family: var(--u-mono); font-weight: 400; }
.kbk-links a { border-bottom: 2px solid var(--u-pitch2); }
@media (prefers-reduced-motion: reduce) { .wp-block-list.is-style-kadi a { transition: none; } }
