/* BNH v3 – motív z plagátu Športový víkend 2026:
   ilustrovaná krajina s hradným kopcom, krémové pozadie s vrstevnicami,
   písmo Barlow / Barlow Condensed. Načítava sa po brand-v2.css. */

:root {
	--bnh-green-dark: #125624;
	--bnh-green-deep: #0e3f1c;
	--bnh-cream: #f8f4ea;
	--bnh-sand: #fdebd0;
	--bnh-line: #e7dcc6;
	--bnh-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--bnh-sans: "Barlow", "Open Sans", Arial, sans-serif;
}

body {
	background-color: var(--bnh-cream) !important;
	font-family: var(--bnh-sans);
	color: var(--bnh-text);
}

.main {
	background-color: var(--bnh-cream);
	/* jemné vrstevnice cez celú stránku */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='240' viewBox='0 0 600 240'%3E%3Cg fill='none' stroke='%23c8762a' stroke-opacity='.10' stroke-width='1.4'%3E%3Cpath d='M-10 40 C80 10 160 60 300 34 S520 10 610 44'/%3E%3Cpath d='M-10 100 C90 70 170 120 300 94 S520 70 610 104'/%3E%3Cpath d='M-10 160 C100 130 180 180 300 154 S520 130 610 164'/%3E%3Cpath d='M-10 220 C110 190 190 240 300 214 S520 190 610 224'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 600px 240px;
}

/* ---------- horná lišta: malé logo + navigácia ---------- */
header {
	position: relative;
	z-index: 3;
	background: rgba(248, 244, 234, 0.92);
	border-top: 4px solid var(--bnh-orange);
}

header .container_12,
header .grid_12 {
	width: auto !important;
	max-width: 1180px;
	float: none;
	margin: 0 auto;
}

header .grid_12 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 20px;
}

.bnh-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	text-decoration: none !important;
}

.bnh-brand-icon {
	height: 46px;
}

.bnh-brand-title {
	font-family: var(--bnh-display);
	font-weight: 800;
	font-size: 22px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--bnh-green-dark);
}

header .menu_block {
	margin: 0;
	padding: 0;
	float: none;
}

.menu_block:after {
	display: none !important;
}

.sf-menu > li {
	margin: 0 2px !important;
}

.sf-menu > li > a {
	font-family: var(--bnh-display) !important;
	font-weight: 700 !important;
	font-size: 19px !important;
	letter-spacing: 0.03em;
	padding: 6px 16px !important;
}

.sf-menu > li.current > a {
	background-color: var(--bnh-green) !important;
	color: #fff !important;
}

/* ---------- ilustrovaný hero ---------- */
.bnh-hero {
	position: relative;
	height: 44vw;
	height: clamp(380px, 44vw, 600px);
	overflow: hidden;
	background: #fffaf1;
}

.bnh-hero-art {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.bnh-hero-text {
	position: absolute;
	left: 24px;
	left: max(24px, calc((100vw - 1180px) / 2 + 20px));
	top: 13%;
	max-width: 62%;
	text-align: left;
	z-index: 1;
}

/* jemný krémový „opar“ za textom, aby sa nadpis nebil so stromami */
.bnh-hero-text:before {
	content: "";
	position: absolute;
	z-index: -1;
	left: -12%;
	right: -14%;
	top: -22%;
	bottom: -26%;
	background: radial-gradient(closest-side, rgba(255, 250, 241, 0.92), rgba(255, 250, 241, 0.75) 55%, rgba(255, 250, 241, 0) 100%);
}

.bnh-hero--compact .bnh-hero-text {
	top: 50%;
	transform: translateY(-50%);
}

/* podstránky: nižší pás – pozadie roztiahnuté, hradný kopec celý vpravo */
.bnh-hero--compact {
	height: 17vw;
	height: clamp(220px, 17vw, 380px);
}

.bnh-compact-art {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.bnh-compact-art .bnh-art-bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.bnh-compact-art .bnh-art-fg {
	position: absolute;
	top: auto;
	left: auto;
	right: 0;
	bottom: 0;
	height: 100%;
	width: auto;
	aspect-ratio: 628 / 410;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 28%);
	mask-image: linear-gradient(to right, transparent 0, #000 28%);
}

.bnh-compact-art .bnh-art-left {
	position: absolute;
	top: auto;
	right: auto;
	left: 0;
	bottom: 0;
	height: 100%;
	width: auto;
	aspect-ratio: 600 / 410;
	-webkit-mask-image: linear-gradient(to left, transparent 0, #000 35%);
	mask-image: linear-gradient(to left, transparent 0, #000 35%);
}

.bnh-hero-date {
	display: inline-block;
	background: var(--bnh-orange);
	color: #fff;
	font-family: var(--bnh-display);
	font-weight: 800;
	font-size: 1.7vw;
	font-size: clamp(15px, 1.7vw, 22px);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 14px 5px;
	border-radius: 8px;
	margin-bottom: 12px;
}

.bnh-hero-date i {
	font-style: normal;
	opacity: 0.7;
	padding: 0 4px;
}

.bnh-hero-title {
	margin: 0;
	font-family: var(--bnh-display);
	font-weight: 900;
	font-size: 7.4vw;
	font-size: clamp(40px, 7.4vw, 104px);
	line-height: 0.88;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	color: var(--bnh-green-deep);
	text-shadow: 0 2px 0 rgba(255, 250, 241, 0.6);
}

.bnh-hero--compact .bnh-hero-title {
	font-size: 4.6vw;
	font-size: clamp(30px, 4.6vw, 64px);
}

.bnh-hero-sub {
	margin: 10px 0 0;
	font-family: var(--bnh-display);
	font-weight: 700;
	font-style: italic;
	font-size: 2.6vw;
	font-size: clamp(18px, 2.6vw, 36px);
	line-height: 1.05;
	color: var(--bnh-green-dark);
}

.bnh-hero-sub em {
	color: var(--bnh-orange);
}

/* ---------- homepage: faktové karty prekrývajú spodok krajiny ---------- */
.page1 .content:first-of-type,
.bnh-hero + .content {
	position: relative;
	z-index: 2;
}

.bnh-fact-grid {
	margin-top: -64px !important;
	position: relative;
	z-index: 2;
}

.bnh-fact {
	background: #fff !important;
	color: var(--bnh-text) !important;
	border-radius: 16px !important;
	border-top: 4px solid var(--bnh-orange);
	box-shadow: 0 6px 18px rgba(60, 45, 20, 0.12);
	padding: 16px 10px 14px !important;
}

.bnh-fact-icon {
	width: 40px;
	height: 40px;
	padding: 8px;
	border-radius: 50%;
	background: var(--bnh-green);
	color: #fff;
	opacity: 1 !important;
	margin-bottom: 4px;
}

.bnh-fact-label {
	font-family: var(--bnh-display);
	font-weight: 700;
	font-size: 14px !important;
	letter-spacing: 0.1em !important;
	color: var(--bnh-orange);
	opacity: 1 !important;
}

.bnh-fact-value {
	font-family: var(--bnh-display);
	font-weight: 800 !important;
	font-size: 32px !important;
	color: var(--bnh-green-dark);
}

.bnh-intro {
	font-size: 18px !important;
	margin-top: 6px !important;
}

.bnh-btn {
	font-family: var(--bnh-display);
	font-size: 19px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 10px 30px;
}

.bnh-btn-primary {
	box-shadow: 0 4px 12px rgba(224, 123, 10, 0.35);
}

/* ---------- nadpisy sekcií: čiara – OB lampión – čiara ---------- */
.bnh-section-title {
	font-family: var(--bnh-display);
	font-weight: 800;
	font-size: 36px !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--bnh-green-dark) !important;
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: 14px !important;
}

.bnh-section-title:after {
	content: "";
	display: block;
	width: 150px;
	height: 18px;
	margin: 6px auto 0;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='1' y='1' width='18' height='18' fill='%23fff' stroke='%23e07b0a' stroke-width='1.4'/%3E%3Cpolygon points='19,1 19,19 1,19' fill='%23e07b0a'/%3E%3C/svg%3E") center / 18px 18px no-repeat,
		linear-gradient(var(--bnh-orange), var(--bnh-orange)) left center / 58px 2px no-repeat,
		linear-gradient(var(--bnh-orange), var(--bnh-orange)) right center / 58px 2px no-repeat;
}

/* karty trate, odkazy, partneri */
.bnh-track-card,
.bnh-link-tile,
.bnh-sponsor-tile,
.bnh-card {
	background: #fff;
	border-color: var(--bnh-line) !important;
	box-shadow: 0 3px 12px rgba(60, 45, 20, 0.07);
}

.bnh-img-caption {
	font-family: var(--bnh-display);
	font-weight: 700;
	font-size: 17px !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bnh-green-dark) !important;
}

.bnh-link-tile {
	border-left: 4px solid var(--bnh-orange) !important;
}

.bnh-link-tile-title {
	font-family: var(--bnh-display);
	font-weight: 800;
	font-size: 22px !important;
	color: var(--bnh-green-dark) !important;
}

.bnh-sponsors-label {
	font-family: var(--bnh-display);
	font-weight: 700;
	letter-spacing: 0.14em !important;
	color: var(--bnh-orange) !important;
}

/* nadpisy na podstránkach */
.bnh-card h2,
.content h2,
.content h3 {
	font-family: var(--bnh-display);
	color: var(--bnh-green-dark);
}

/* ---------- päta: silueta kopcov s hradom ---------- */
.bnh-foot-hills {
	position: relative;
	height: 90px;
	margin-top: 30px;
	line-height: 0;
}

.bnh-foot-hills svg {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

.bnh-foot-hills .bnh-foot-castle {
	left: auto;
	right: 29%;
	bottom: 62px;
	width: 70px;
	height: 50px;
}

footer {
	background-color: #2f6131 !important;
	margin-top: 0 !important;
	border-bottom: 5px solid var(--bnh-orange);
}

footer:after {
	display: none !important;
}

footer .f_logo a {
	font-family: var(--bnh-display) !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* ---------- mobil ---------- */
@media (max-width: 767px) {
	header .grid_12 {
		flex-direction: column;
		gap: 6px;
		padding: 8px 12px;
	}

	/* názov je hneď pod tým v hlavičke s krajinou – v lište ho neopakovať */
	.bnh-brand {
		display: none;
	}

	header .grid_12 {
		padding: 10px 12px;
	}

	/* navigácia: namiesto <select> z mobilemenu pilulky v jednom riadku */
	select.mnav {
		display: none !important;
	}

	header .menu_block,
	header nav {
		width: 100%;
	}

	.sf-menu {
		display: flex !important;
		justify-content: center;
		flex-wrap: wrap;
		gap: 2px;
		float: none !important;
		margin: 0 !important;
	}

	.sf-menu > li {
		float: none !important;
		margin: 0 !important;
	}

	.sf-menu > li > a {
		font-size: 16px !important;
		padding: 4px 10px !important;
	}

	/* text nad ilustráciou, nie cez ňu */
	.bnh-hero,
	.bnh-hero--compact {
		height: auto;
		display: flex;
		flex-direction: column;
	}

	.bnh-hero-text,
	.bnh-hero--compact .bnh-hero-text {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		max-width: none;
		padding: 18px 16px 0;
		order: -1;
	}

	.bnh-hero-text:before {
		display: none;
	}

	.bnh-hero-art {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		height: 300px;
		margin-top: -30px;
	}

	.bnh-compact-art {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		height: 170px;
		margin-top: 6px;
	}

	.bnh-compact-art .bnh-art-fg {
		margin-top: 0;
	}

	.bnh-fact-grid {
		margin-top: -44px !important;
		padding: 0 12px;
	}

	.bnh-fact-value {
		font-size: 27px !important;
	}

	.bnh-foot-hills .bnh-foot-castle {
		right: 22%;
		bottom: 58px;
		width: 50px;
		height: 36px;
	}
}
