/*
	Blade Throwers z. s. – vizuální styl "Aréna"
	Podle grafického manuálu v1.0: černá je základ, červená jen míří pozornost,
	zkosené rohy, šikmé štítky, Teko (nadpisy) + Rajdhani (text).
	Sdílené všemi stránkami webu; stránky soutěží navíc načítají bt-event.css.
*/

:root {
	--bt-black: #0A0A0A;
	--bt-red: #E10600;
	--bt-white: #FFFFFF;
	--bt-panel: #161616;
	--bt-asphalt: #1E1E1E;
	--bt-line: #2A2A2A;
	--bt-steel: #8F8E8E;
	--bt-muted: #B5B5B5;
	--bt-head: "Teko", "Bahnschrift Condensed", "Arial Narrow", sans-serif;
	--bt-text: "Rajdhani", Arial, "Segoe UI", sans-serif;
	--bt-cut: 22px;
	--bt-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body.bt {
	margin: 0;
	background: var(--bt-black);
	color: var(--bt-white);
	font-family: var(--bt-text);
	font-weight: 500;
	font-size: 19px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

.bt img { max-width: 100%; height: auto; }

.bt a { color: var(--bt-white); text-decoration-color: var(--bt-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bt a:hover { color: var(--bt-white); text-decoration-color: var(--bt-white); }

.bt ::selection { background: var(--bt-red); color: var(--bt-white); }

.bt h1, .bt h2, .bt h3, .bt h4 {
	font-family: var(--bt-head);
	text-transform: uppercase;
	margin: 0;
	color: var(--bt-white);
}
.bt h1 { font-weight: 700; font-size: clamp(56px, 9vw, 96px); line-height: 0.85; }
.bt h2 { font-weight: 700; font-size: clamp(40px, 6vw, 56px); line-height: 0.9; }
.bt h3 { font-weight: 500; font-size: 32px; line-height: 1; letter-spacing: 0.04em; }
.bt h4 { font-weight: 500; font-size: 24px; line-height: 1; letter-spacing: 0.04em; }
.bt p { margin: 0 0 1em; }
.bt .bt-red { color: var(--bt-red); }
.bt .bt-muted { color: var(--bt-muted); }
.bt .bt-note { font-size: 16px; line-height: 1.35; color: var(--bt-muted); }

.bt-wrap { max-width: var(--bt-width); margin: 0 auto; padding: 0 24px; }

/* Štítek (popisek verzálkami) */
.bt-label {
	display: block;
	font-family: var(--bt-text);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bt-muted);
}

/* Šikmý štítek – rovnoběžník */
.bt-tag {
	display: inline-block;
	padding: 5px 22px 3px;
	background: var(--bt-red);
	color: var(--bt-white);
	font-family: var(--bt-head);
	font-weight: 500;
	font-size: 22px;
	line-height: 1.1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.bt-tag.is-white { background: var(--bt-white); color: var(--bt-black); }

/* Tlačítka: hlavní červené (jedno na obrazovce), vedlejší bílé, třetí podtržený odkaz */
.bt .bt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 4px 30px 0;
	background: var(--bt-red);
	color: var(--bt-white);
	font-family: var(--bt-head);
	font-weight: 500;
	font-size: 24px;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
	transition: background-color 0.15s, color 0.15s;
}
.bt .bt-btn:hover { background: var(--bt-white); color: var(--bt-black); }
.bt .bt-btn.is-white { background: var(--bt-white); color: var(--bt-black); }
.bt .bt-btn.is-white:hover { background: var(--bt-muted); }
.bt .bt-link {
	display: inline-block;
	padding-bottom: 4px;
	font-family: var(--bt-head);
	font-weight: 500;
	font-size: 24px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 3px solid var(--bt-red);
}
.bt .bt-link:hover { border-bottom-color: var(--bt-white); }
.bt a:focus-visible, .bt button:focus-visible { outline: 2px solid var(--bt-white); outline-offset: 3px; }

/* Panel se zkoseným pravým dolním rohem */
.bt-panel {
	background: var(--bt-asphalt);
	padding: 24px;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--bt-cut)), calc(100% - var(--bt-cut)) 100%, 0 100%);
}
.bt-panel.is-dark { background: var(--bt-panel); }
.bt-cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--bt-cut)), calc(100% - var(--bt-cut)) 100%, 0 100%); }

/* Startovní čára – červený svislý pruh vlevo označuje hlavní sdělení */
.bt-startline { border-left: 10px solid var(--bt-red); padding-left: 28px; }

/* Ikony: mřížka 24 × 24, linka 2 px, bez výplně */
.bt-icon {
	width: 32px;
	height: 32px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: square;
	stroke-linejoin: miter;
	flex: none;
}

/* Hlavička */
.bt-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bt-black);
	border-bottom: 1px solid var(--bt-line);
}
.bt-header .bt-wrap { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.bt-header .bt-logo { display: block; line-height: 0; }
.bt-header .bt-logo img { height: 64px; width: auto; }
.bt-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.bt .bt-nav a:not(.bt-btn) {
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 12px 0;
}
.bt .bt-nav a:not(.bt-btn):hover { color: var(--bt-muted); }
.bt-nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--bt-white);
	cursor: pointer;
}

/* Úvod */
.bt-hero { background: var(--bt-panel); border-bottom: 1px solid var(--bt-line); }
.bt-hero .bt-wrap { display: grid; grid-template-columns: 1fr minmax(240px, 420px); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.bt-hero .bt-label { margin-bottom: 18px; }
.bt-hero p { max-width: 34em; margin: 26px 0 30px; }
.bt-hero-logo { display: block; width: 100%; }
.bt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }

/* Sekce */
.bt-section { padding: 80px 0; border-bottom: 1px solid var(--bt-line); }
.bt-section > .bt-wrap > .bt-label { margin-bottom: 10px; }
.bt-section h2 { margin-bottom: 36px; }
.bt-section h3 { margin: 40px 0 16px; }
.bt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Dlaždice */
.bt-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.bt-tile { display: block; text-decoration: none; }
.bt-tile .bt-icon { margin-bottom: 14px; }
.bt-tile strong { display: block; font-family: var(--bt-head); font-weight: 700; font-size: 32px; line-height: 1; text-transform: uppercase; }
.bt-tile span { display: block; color: var(--bt-muted); font-size: 17px; }
.bt a.bt-tile:hover { background: var(--bt-line); }
.bt-quick { padding: 16px 0; border-bottom: 1px solid var(--bt-line); }

/* Rozcestník odkazů */
.bt-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bt-line); }
.bt-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 14px 0; border-bottom: 1px solid var(--bt-line); }
.bt-list .bt-year { font-family: var(--bt-head); font-weight: 700; font-size: 32px; line-height: 1; color: var(--bt-steel); min-width: 3.2em; }
.bt-list li:first-child .bt-year { color: var(--bt-red); }

/* Úspěchy */
.achievement-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.achievement-item {
	margin: 0;
	padding: 22px 24px 28px;
	background: var(--bt-asphalt);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--bt-cut)), calc(100% - var(--bt-cut)) 100%, 0 100%);
}
.achievement-title { display: block; margin-bottom: 12px; color: var(--bt-muted); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; }
.achievement-title strong {
	display: block;
	margin: 4px 0;
	color: var(--bt-white);
	font-family: var(--bt-head);
	font-weight: 700;
	font-size: 32px;
	line-height: 0.95;
	letter-spacing: 0;
}
.result-indent, .result-indent-sub { display: flex; align-items: flex-start; gap: 12px; }
.result-indent { margin: 6px 0; }
.result-indent::before {
	flex: 0 0 28px;
	height: 26px;
	padding-top: 3px;
	font-family: var(--bt-head);
	font-weight: 700;
	font-size: 24px;
	line-height: 1;
	text-align: center;
}
.medal-gold::before { content: "1"; background: var(--bt-red); color: var(--bt-white); }
.medal-silver::before { content: "2"; background: var(--bt-white); color: var(--bt-black); }
.medal-bronze::before { content: "3"; background: var(--bt-steel); color: var(--bt-black); }
.result-indent-sub { margin: -4px 0 6px 40px; font-size: 16px; color: var(--bt-muted); }

/* Fotografie – ztmavené, se zkoseným rohem */
.bt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.bt-gallery a { display: block; aspect-ratio: 4 / 3; background: var(--bt-asphalt); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--bt-cut)), calc(100% - var(--bt-cut)) 100%, 0 100%); }
.bt-gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.8); transition: filter 0.2s; }
.bt-gallery a:hover img, .bt-gallery a:focus-visible img { filter: none; }
.bt-lightbox { max-width: 96vw; max-height: 96vh; padding: 0; border: 1px solid var(--bt-line); background: var(--bt-black); }
.bt-lightbox::backdrop { background: rgba(10, 10, 10, 0.92); }
.bt-lightbox img { display: block; max-width: 96vw; max-height: 94vh; }

/* Terčové kruhy jako tichý podklad: oříznuté okrajem, střed červený */
.bt-rings { position: relative; overflow: hidden; }
.bt-rings::after {
	content: "";
	position: absolute;
	right: -130px;
	top: 50%;
	width: 420px;
	height: 420px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: radial-gradient(circle, var(--bt-red) 0 11%, transparent 11.5% 30%, var(--bt-line) 30.5% 44%, transparent 44.5% 58%, var(--bt-line) 58.5% 70%, transparent 70.5%);
	pointer-events: none;
}
.bt-rings > * { position: relative; z-index: 1; }

.bt-embed { background: var(--bt-white); line-height: 0; margin-bottom: 24px; }
.bt-embed iframe { border: 0; width: 100%; height: 80vh; min-height: 600px; }

.bt-plain { list-style: none; margin: 0 0 1em; padding: 0; }
.bt-plain li { padding: 2px 0; }
.bt pre { background: var(--bt-asphalt); border: 1px solid var(--bt-line); padding: 16px; overflow-x: auto; }

/* Patička */
.bt-footer { padding: 32px 0; }
.bt-footer .bt-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.bt-footer .bt-label { font-size: 13px; }

@media (max-width: 960px) {
	.bt-nav-toggle { display: block; }
	.bt-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 24px 24px;
		background: var(--bt-black);
		border-bottom: 1px solid var(--bt-line);
	}
	.bt-nav.is-open { display: flex; }
	.bt .bt-nav a:not(.bt-btn) { border-bottom: 1px solid var(--bt-line); }
	.bt-nav .bt-btn { margin-top: 16px; }
}

@media (max-width: 760px) {
	body.bt { font-size: 18px; }
	.bt-hero .bt-wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
	.bt-hero-logo { max-width: 280px; }
	.bt-section { padding: 56px 0; }
	.bt-cols, .bt-tiles, .achievement-list { grid-template-columns: 1fr; }
	.bt-gallery { grid-template-columns: 1fr 1fr; }
	.bt-startline { border-left-width: 6px; padding-left: 18px; }
	.bt-rings::after { opacity: 0.5; }
}
