/*
Theme Name: BJJ Slovakia V2
Theme URI: https://example.com/
Author: BJJ Slovakia
Description: Clean fullscreen hero theme for BJJ Slovakia v2.
Version: 1.0.0
Text Domain: bjj-slovakia-v2
*/

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

html,
body {
	height: 100%;
}

body {
	min-height: 100vh;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background-color: #020617;
	color: #0f172a;
}

.hero {
	min-height: 100vh;
	position: relative;
	background: url("assets/hero/hero-bg.jpg") center center / cover no-repeat;
	display: flex;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-inner .container {
	max-width: 540px;
	width: min(92vw, 540px);
	margin: 0 auto;
	padding: clamp(24px, 6vh, 40px) clamp(20px, 7vw, 28px);
	text-align: center;
}

.page-title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffffff;
	margin-bottom: clamp(20px, 3vh, 28px);
}

.page-section-title {
	font-size: clamp(20px, 2.6vw, 26px);
	font-weight: 600;
	color: #f9fafb;
	margin-top: clamp(20px, 3vh, 28px);
	margin-bottom: clamp(12px, 2vh, 16px);
}

.page-text {
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.7;
	color: #e5e7eb;
	margin-bottom: clamp(16px, 2.6vh, 22px);
}

.page-list {
	list-style: none;
	padding-left: 0;
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.6;
	color: #e5e7eb;
}

.page-list li + li {
	margin-top: 6px;
}

.page-divider {
	border: none;
	border-top: 1px solid #e5e7eb;
	margin: clamp(18px, 3vh, 24px) 0;
}

/* Homepage hero menu */

.hero {
	position: relative;
	min-height: 100vh;
	background-size: cover;
	background-repeat: no-repeat;
	/* KEY FIX */
	background-position: center top;
	overflow: hidden;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 1;
}

.hero-inner {
	position: relative;
	z-index: 2;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

.hero-menu {
	width: 100%;
	max-width: 520px;
	text-align: center;
}

.hero-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hero-menu-item {
	margin: 0;
	padding: 0;
}

.hero-menu-item + .hero-menu-item {
	margin-top: 8px;
}

.hero-menu-link,
.hero-menu-link:link,
.hero-menu-link:visited {
	display: inline-block;
	color: #fff;
	text-decoration: none;
	font-size: clamp(18px, 4vw, 30px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.82;
	transform: translateY(0) scale(1);
	transform-origin: center center;
	transition: transform 0.25s ease, opacity 0.25s ease, text-shadow 0.25s ease;
	will-change: transform, opacity, text-shadow;
}

.hero-menu-link:hover,
.hero-menu-link:focus-visible {
	color: #fff;
	opacity: 1;
	transform: translateY(-2px) scale(1.12);
	text-shadow: 0 0 8px rgba(255,255,255,0.22), 0 0 18px rgba(255,255,255,0.12);
	outline: none;
}

@media (max-width: 480px) {
	.hero-inner {
		padding: 20px 12px;
	}

	.hero-menu-item + .hero-menu-item {
		margin-top: 7px;
	}

	.hero-menu-link,
	.hero-menu-link:link,
	.hero-menu-link:visited {
		font-size: clamp(16px, 5vw, 22px);
		letter-spacing: 0.09em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-menu-link,
	.hero-menu-link:link,
	.hero-menu-link:visited {
		transition: none;
	}

	.hero-menu-link:hover,
	.hero-menu-link:focus-visible {
		transform: none;
	}
}

/* Optional fine-tuning for different screens */

@media (min-width: 768px) {
	.hero:not(.hero-page) {
		background-position: center 30%;
	}
}

.hero-debug-slug {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.65;
}

@media (min-width: 1200px) {
	.hero:not(.hero-page) {
		background-position: center 25%;
	}
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100%;
	background: #000;
	overflow-x: hidden;
}

body {
	background: #000;
}

body.home {
	margin: 0 !important;
	padding: 0 !important;
}

body.admin-bar {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

html :where(.admin-bar) {
	margin-top: 0 !important;
}

.hero {
	position: relative;
	min-height: 100vh;
	width: 100%;
	margin: 0;
	background-color: #000;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.hero-inner {
	position: relative;
	z-index: 2;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

@supports (height: 100dvh) {
	.hero,
	.hero-inner {
		min-height: 100dvh;
	}
}

main,
.site,
.site-main,
.wp-site-blocks {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

.hero-brand {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100% - 36px);
	color: #fff;
	text-decoration: none;
	pointer-events: none;
}

.hero-brand-logo {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
	flex: 0 0 auto;
}

.hero-brand-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.hero-brand-title {
	margin: 0;
	font-size: clamp(18px, 3.2vw, 28px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-brand-subtitle {
	margin-top: 4px;
	font-size: clamp(11px, 2vw, 15px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
	.hero-brand {
		top: 12px;
		left: 12px;
		gap: 10px;
		max-width: calc(100% - 24px);
	}

	.hero-brand-logo {
		width: 42px;
		height: 42px;
	}

	.hero-brand-title {
		font-size: clamp(15px, 4.8vw, 20px);
		letter-spacing: 0.03em;
	}

	.hero-brand-subtitle {
		margin-top: 2px;
		font-size: clamp(9px, 2.7vw, 11px);
		letter-spacing: 0.1em;
	}
}

@media (min-width: 768px) {
	.hero-brand {
		top: 22px;
		left: 24px;
		gap: 14px;
	}

	.hero-brand-logo {
		width: 62px;
		height: 62px;
	}
}

/* ==================================================
   SUBPAGE HERO CONTENT — HARD OVERRIDE
================================================== */

.hero.hero-page {
	position: relative;
	min-height: 100vh;
	width: 100%;
	background-position-x: var(--bjj-hero-desktop-x, center) !important;
	background-position-y: var(--bjj-hero-desktop-y, top) !important;
	background-repeat: no-repeat !important;
	background-size: var(--bjj-hero-desktop-zoom, cover) !important;
	overflow: hidden;
	background-color: #000;
}

.hero.hero-page .hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.52) !important;
	z-index: 1;
}

.hero-page-scroll {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 96px 16px 32px;
	box-sizing: border-box;
}

.hero-page-content {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 820px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	text-align: center;
	color: #ffffff;
}

.hero-page-content h1 {
	margin: 0 0 18px;
	font-size: clamp(32px, 8vw, 64px);
	line-height: 1.05;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-weight: 800;
	color: #ffffff;

	text-shadow:
		0 2px 12px rgba(0, 0, 0, 0.6),
		0 6px 30px rgba(0, 0, 0, 0.4);
}

.hero-page-content h2 {
	margin: 20px 0 10px;
	font-size: clamp(18px, 4vw, 24px);
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
}

.hero-page-content p,
.hero-page-content li {
	font-size: clamp(16px, 3.8vw, 20px);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.92);

	text-shadow:
		0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-page-content ul,
.hero-page-content ol {
	margin: 18px auto;
	padding-left: 1.2em;
	text-align: left;
	max-width: 520px;
}

.hero-page-content .hero-debug-slug {
	display: none !important;
}

/* brand / logo */

.hero.hero-page .hero-brand {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100% - 28px);
	color: #fff;
}

.hero.hero-page .hero-brand-logo {
	display: block !important;
	width: 44px !important;
	height: 44px !important;
	object-fit: contain !important;
	flex: 0 0 auto;
}

.hero.hero-page .hero-brand-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.hero.hero-page .hero-brand-title {
	margin: 0;
	font-size: clamp(15px, 4.5vw, 28px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #ffffff !important;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero.hero-page .hero-brand-subtitle {
	margin-top: 2px;
	font-size: clamp(9px, 2.7vw, 14px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9) !important;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
	.hero.hero-page {
		background-position-x: var(--bjj-hero-mobile-x, var(--bjj-hero-desktop-x, center)) !important;
		background-position-y: var(--bjj-hero-mobile-y, var(--bjj-hero-desktop-y, top)) !important;
		background-size: var(--bjj-hero-mobile-zoom, var(--bjj-hero-desktop-zoom, cover)) !important;
	}

	.hero-page-scroll {
		align-items: center;
		justify-content: center;
		padding: 90px 16px 30px;
	}

	.hero-page-content h1 {
		font-size: clamp(28px, 9vw, 42px);
	}

	.hero-page-content p,
	.hero-page-content li {
		font-size: clamp(15px, 4vw, 18px);
	}

	.hero.hero-page .hero-brand {
		top: 12px;
		left: 12px;
		gap: 8px;
		max-width: calc(100% - 24px);
	}

	.hero.hero-page .hero-brand-logo {
		width: 38px !important;
		height: 38px !important;
	}

	.hero.hero-page .hero-brand-title {
		font-size: clamp(14px, 4.6vw, 18px);
	}

	.hero.hero-page .hero-brand-subtitle {
		font-size: clamp(8px, 2.6vw, 10px);
		letter-spacing: 0.09em;
	}
}

@media (min-width: 768px) {
	.hero-page-scroll {
		padding: 110px 24px 40px;
	}

	.hero.hero-page .hero-brand {
		top: 22px;
		left: 24px;
		gap: 12px;
	}

	.hero.hero-page .hero-brand-logo {
		width: 58px !important;
		height: 58px !important;
	}
}

@supports (min-height: 100dvh) {
	.hero.hero-page,
	.hero-page-scroll {
		min-height: 100dvh;
	}
}

.hero-page-content h1:not(.seo-page-heading) {
	display: none !important;
}

.hero-page-content h1.seo-page-heading {
	display: block !important;
	margin: 0 0 clamp(16px, 2.5vh, 24px);
	font-size: clamp(22px, 5vw, 34px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.06em;
	text-transform: none;
	color: #ffffff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

/* ==================================================
   HOMEPAGE TOP-LEFT BRANDING
================================================== */

.hero-brand {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100% - 32px);
	color: #fff;
}

.hero-brand-logo {
	display: block !important;
	width: 76px !important;
	height: 76px !important;
	object-fit: contain !important;
	flex: 0 0 auto;
}

.hero-brand-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 76px;
	height: auto;
	min-width: 0;
}

.hero-home .hero-brand-text {
	min-height: 76px;
}

.hero-seo-tagline {
	margin: 6px 0 0;
	padding: 0;
	font-size: clamp(9px, 2.2vw, 12px);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.05em;
	text-transform: none;
	color: rgba(255, 255, 255, 0.88);
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
	max-width: min(320px, 85vw);
}

.hero-brand-title {
	margin: 0;
	font-size: 31px;
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #ffffff !important;
	text-shadow:
		0 2px 12px rgba(0, 0, 0, 0.5),
		0 6px 24px rgba(0, 0, 0, 0.35);
}

.hero-brand-subtitle {
	margin-top: 2px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.96) !important;
	text-shadow:
		0 2px 10px rgba(0,0,0,0.45);
	white-space: nowrap;
}

@media (max-width: 767px) {
	.hero-brand {
		top: 12px;
		left: 12px;
		gap: 10px;
		max-width: calc(100% - 24px);
	}

	.hero-brand-logo {
		width: 56px !important;
		height: 56px !important;
	}

	.hero-brand-text {
		min-height: 56px;
		height: auto;
	}

	.hero-seo-tagline {
		font-size: clamp(8px, 2.4vw, 10px);
		margin-top: 4px;
	}

	.hero-brand-title {
		font-size: 22px;
		line-height: 0.95;
		letter-spacing: 0.01em;
	}

	.hero-brand-subtitle {
		margin-top: 1px;
		font-size: 9.5px;
		line-height: 1.05;
		letter-spacing: 0.12em;
	}
}

.hero-free-trial {
	margin: 0 0 22px;
	font-size: clamp(24px, 7vw, 54px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	color: #ffffff !important;
	text-shadow:
		0 2px 12px rgba(0, 0, 0, 0.55),
		0 6px 28px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
	.hero-free-trial {
		margin: 0 0 18px;
		font-size: clamp(20px, 8vw, 34px);
		letter-spacing: 0.04em;
		line-height: 1.06;
	}
}

/* ==================================================
   ROZVRH TABLE (subpage)
================================================== */

.schedule-table {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
}

.schedule-section-title {
	margin: 0 0 14px;
	font-size: clamp(18px, 4vw, 26px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ffffff !important;
	text-align: center;
}

.schedule-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	row-gap: 14px;
	column-gap: 20px;
	align-items: center;
	width: 100%;
	margin-top: 10px;
}

.schedule-grid > div {
	color: #ffffff !important;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.3;
}

.schedule-header {
	font-weight: 800;
	text-transform: uppercase;
	color: rgba(255,255,255,0.6);
	font-size: 13px;
	text-align: center;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}

.schedule-day {
	font-weight: 900;
	font-size: 30px;
	color: #d4af37;
}

.schedule-note {
	margin: 18px 0 0;
	font-size: clamp(14px, 3vw, 18px);
	line-height: 1.6;
	color: #ffffff !important;
}

.gi {
	color: #4fc3f7;
	font-weight: 700;
}

.nogi {
	color: #00e676;
	font-weight: 700;
}

@media (max-width: 767px) {
	.schedule-grid {
		grid-template-columns: 1fr;
		row-gap: 12px;
	}

	.schedule-header {
		display: none !important;
	}

	.schedule-day {
		margin-top: 12px;
		font-size: 25px !important;
		font-weight: 900 !important;
		color: #d4af37 !important;
}
.schedule-time {
	font-size: 16px;
	font-weight: 600;
}

.schedule-type {
	font-size: 13px;
	margin-top: 2px;
	letter-spacing: 0.05em;
}

/* Optional kids layout hooks (if used later in HTML) */
.schedule-block-kids .schedule-grid {
	grid-template-columns: 1fr 1fr;
}

.schedule-block-kids .schedule-header:nth-child(3) {
		display: none;
	}
}

/* ===== HOMEPAGE HERO HARD FIX ===== */

.hero.hero-home {
	position: relative;
	min-height: 100vh;
	width: 100%;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-color: #000 !important;
	overflow: hidden;
}

.hero.hero-home .hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.42);
	z-index: 1;
}

/* .hero-home-layout (front-page) defines flex shell; see unified block near file end */
.hero.hero-home .hero-inner {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
}

.hero.hero-home .hero-inner:not(.hero-home-layout) {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 96px 16px 32px;
}

.hero.hero-home .hero-menu {
	width: 100%;
	max-width: 760px;
	text-align: center;
}

.hero.hero-home .hero-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hero.hero-home .hero-menu-item {
	margin: 0;
	padding: 0;
}

.hero.hero-home .hero-menu-item + .hero-menu-item {
	margin-top: 10px;
}

.hero.hero-home .hero-menu-link,
.hero.hero-home .hero-menu-link:link,
.hero.hero-home .hero-menu-link:visited {
	display: inline-block;
	color: #f1f1f1 !important;
	text-decoration: none !important;
	font-size: clamp(14px, 3vw, 22px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.85;
	transition: transform 0.25s ease, opacity 0.25s ease, text-shadow 0.25s ease;
}

.hero.hero-home .hero-menu-link:hover,
.hero.hero-home .hero-menu-link:focus-visible {
	opacity: 1;
	transform: translateY(-2px) scale(1.18);
	text-shadow:
		0 0 12px rgba(255,255,255,0.3),
		0 0 28px rgba(255,255,255,0.2);
	outline: none;
}

@media (max-width: 767px) {
	.hero.hero-home .hero-inner:not(.hero-home-layout) {
		padding: 88px 12px 24px;
	}

	.hero.hero-home .hero-menu-link,
	.hero.hero-home .hero-menu-link:link,
	.hero.hero-home .hero-menu-link:visited {
		font-size: clamp(15px, 5.2vw, 21px);
	}
}

.contact-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	width: 100%;
}

.contact-item {
	width: 100%;
}

.contact-item p {
	margin: 0;
}

.contact-item a {
	color: #ffffff !important;
	text-decoration: none;
}

.contact-item a:hover,
.contact-item a:focus-visible {
	text-decoration: underline;
}

.contact-socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 12px;
}

.contact-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 999px;
	text-decoration: none !important;
	font-weight: 700;
	line-height: 1;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-social:hover,
.contact-social:focus-visible {
	transform: translateY(-1px);
	opacity: 0.95;
}

.contact-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.contact-social-label {
	font-size: 16px;
	line-height: 1;
}

.contact-social-instagram {
	background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
	color: #ffffff !important;
}

.contact-social-facebook {
	background: #1877f2;
	color: #ffffff !important;
}

@media (max-width: 767px) {
	.contact-stack {
		gap: 18px;
	}

	.contact-socials {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.contact-social {
		width: 100%;
		max-width: 260px;
	}
}

.contact-email {
	display: flex;
	justify-content: center;
}

.contact-email a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	backdrop-filter: blur(4px);
	text-decoration: none !important;
	transition: transform 0.2s ease, background 0.2s ease;
}

.contact-email a:hover {
	transform: scale(1.12);
	background: rgba(255,255,255,0.16);
}

.contact-email-icon {
	font-size: 26px;
	color: #ffffff;
	line-height: 1;
}

@media (max-width: 767px) {
	.contact-email a {
		width: 50px;
		height: 50px;
	}

	.contact-email-icon {
		font-size: 22px;
	}
}

/* ==================================================
   HOMEPAGE HERO & BRAND — OVERRIDES
================================================== */

.hero.hero-home {
	position: relative;
	min-height: 100vh;
	width: 100%;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-color: #000;
	overflow: hidden;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.42);
	z-index: 1;
}

.hero-inner {
	position: relative;
	z-index: 2;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 96px 16px 32px;
	box-sizing: border-box;
}

.hero-brand {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100% - 32px);
	color: #fff;
}

.hero-brand-logo {
	display: block !important;
	width: 64px !important;
	height: 64px !important;
	object-fit: contain !important;
	flex: 0 0 auto;
}

.hero-brand-title {
	margin: 0;
	font-size: clamp(24px, 4.6vw, 52px);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #ffffff !important;
	text-shadow:
		0 2px 12px rgba(0, 0, 0, 0.5),
		0 6px 24px rgba(0, 0, 0, 0.35);
}

.hero-brand-subtitle {
	margin-top: 4px;
	font-size: clamp(11px, 1.8vw, 18px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92) !important;
	text-shadow:
		0 2px 10px rgba(0, 0, 0, 0.45);
}

@media (max-width: 767px) {
	.hero-brand {
		top: 12px;
		left: 12px;
		gap: 10px;
		max-width: calc(100% - 24px);
	}

	.hero-brand-logo {
		width: 48px !important;
		height: 48px !important;
	}

	.hero-brand-title {
		font-size: clamp(20px, 6vw, 30px);
		letter-spacing: 0.02em;
	}

	.hero-brand-subtitle {
		font-size: clamp(10px, 2.6vw, 12px);
		letter-spacing: 0.08em;
	}
}

/* Homepage hero background + menu (brand uses .hero-home-* unified layout) */
.hero.hero-home {
	min-height: 100vh;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

.hero.hero-home .hero-menu-item + .hero-menu-item {
	margin-top: 6px;
}

.hero.hero-home .hero-menu-link,
.hero.hero-home .hero-menu-link:link,
.hero.hero-home .hero-menu-link:visited {
	font-size: clamp(14px, 3vw, 22px);
	opacity: 0.84;
}

.hero.hero-home .hero-menu-link:hover,
.hero.hero-home .hero-menu-link:focus-visible {
	transform: translateY(-2px) scale(1.16);
	opacity: 1;
	text-shadow:
		0 0 10px rgba(255,255,255,0.28),
		0 0 22px rgba(255,255,255,0.16);
	outline: none;
}

@media (max-width: 767px) {
	.hero.hero-home .hero-menu-item + .hero-menu-item {
		margin-top: 4px;
	}

	.hero.hero-home .hero-menu-link,
	.hero.hero-home .hero-menu-link:link,
	.hero.hero-home .hero-menu-link:visited {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 42px;
		padding: 4px 8px;
		font-size: clamp(13px, 4.5vw, 18px);
		line-height: 1.05;
	}
}

/* ==================================================
   ROZVRH TABLE — PREMIUM TIMETABLE (CSS OVERRIDE)
================================================== */

.schedule-table {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 18px 18px 10px;
	background: rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 22px;
	box-sizing: border-box;
}

.schedule-section-title {
	margin: 10px 0 16px;
	font-size: clamp(22px, 4.2vw, 32px);
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
	letter-spacing: 0.04em;
	text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.schedule-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1fr;
	row-gap: 12px;
	column-gap: 16px;
	align-items: stretch;
	width: 100%;
	margin-top: 10px;
}

.schedule-header {
	font-weight: 800;
	text-transform: uppercase;
	color: rgba(255,255,255,0.72);
	font-size: 13px;
	text-align: center;
	padding: 0 0 8px;
	border-bottom: 1px solid rgba(255,255,255,0.14);
	letter-spacing: 0.08em;
}

.schedule-grid > div {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.3;
	min-height: 72px;
	padding: 10px 10px;
	border-radius: 14px;
	background: rgba(255,255,255,0.04);
	box-sizing: border-box;
}

.schedule-day {
	font-weight: 800;
	font-size: 18px;
	background: rgba(255,255,255,0.06) !important;
	color: #ffffff !important;
}

.schedule-time {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.schedule-type {
	font-size: 13px;
	margin-top: 4px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gi {
	color: #7fd0ff;
	font-weight: 800;
}

.nogi {
	color: #4dff9a;
	font-weight: 800;
}

.schedule-block-kids {
	margin-top: 34px;
	padding-top: 8px;
	border-top: 1px solid rgba(255,255,255,0.1);
}

.schedule-block-kids .schedule-grid {
	grid-template-columns: 1fr 1fr;
}

.schedule-block-kids .schedule-grid > div {
	min-height: 64px;
}

.schedule-note {
	margin: 18px 0 0;
	text-align: center;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255,255,255,0.86) !important;
}



@media (max-width: 767px) {
	.schedule-table {
		padding: 14px 12px 8px;
		border-radius: 18px;
	}

	.schedule-grid {
		grid-template-columns: 1fr;
		row-gap: 10px;
	}

	.schedule-header {
		display: none;
	}

	.schedule-grid > div {
		min-height: auto;
		padding: 10px 10px;
	}

	.schedule-day {
		margin-top: 10px;
		font-size: 16px;
	}

	.schedule-time {
		font-size: 16px;
	}

	.schedule-type {
		font-size: 12px;
	}

	.schedule-block-kids .schedule-grid {
		grid-template-columns: 1fr;
	}
}

.schedule-grid-kids {
	grid-template-columns: 1fr 1fr !important;
}

.schedule-grid-kids .schedule-header {
	display: block !important;
}

/* (Removed legacy XL width lock; desktop brand sizes live in unified .hero-home-* block.) */

.hero-menu-link-foreigners {
	font-size: clamp(12px, 2.6vw, 18px) !important;
	letter-spacing: 0.05em !important;
	white-space: nowrap;
}

.hero-menu-link-foreigners:hover,
.hero-menu-link-foreigners:focus-visible {
	transform: translateY(-2px) scale(1.08) !important;
}

@media (max-width: 767px) {
	.hero-menu-link-foreigners {
		font-size: clamp(10px, 3.8vw, 14px) !important;
		letter-spacing: 0.03em !important;
	}
}

.hero-lang-switcher {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.hero-lang-link {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition: opacity 0.2s ease;
}

.hero-lang-link:hover,
.hero-lang-link:focus-visible {
	color: #fff;
	opacity: 1;
	outline: none;
}

.hero-lang-link.is-active {
	color: #fff;
	opacity: 1;
}

.hero-lang-sep {
	color: rgba(255, 255, 255, 0.62);
	font-size: 11px;
}

.hero.hero-page .hero-lang-switcher {
	top: 0;
	right: 0;
}

@media (max-width: 767px) {
	.hero-lang-switcher {
		top: 12px;
		right: 12px;
		padding: 5px 8px;
		gap: 6px;
	}

	.hero-lang-link {
		font-size: 11px;
		letter-spacing: 0.12em;
	}
}

.coaches-page {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 18px 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	color: #0f172a;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.coaches-section + .coaches-section {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.coaches-section-title {
	margin: 0 0 14px;
	text-align: center;
	text-transform: uppercase;
	font-size: clamp(20px, 3.2vw, 30px);
	letter-spacing: 0.08em;
	color: #0f172a;
}

.coach-card {
	max-width: 640px;
	margin: 0 auto;
	padding: 18px 14px;
	text-align: center;
}

.coach-card + .coach-card {
	margin-top: 14px;
	border-top: 1px solid rgba(15, 23, 42, 0.09);
}

.coach-image {
	display: block;
	width: min(100%, 280px);
	height: auto;
	max-height: 340px;
	object-fit: cover;
	border-radius: 10px;
	margin: 0 auto 14px;
}

.coach-name {
	margin: 0;
	font-size: clamp(22px, 3vw, 32px);
	color: #020617;
}

.coach-meta {
	margin: 8px 0 0;
	font-size: clamp(13px, 2vw, 16px);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #334155;
}

.coach-text {
	margin: 12px 0 0;
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.65;
	color: #1e293b;
}

@media (max-width: 767px) {
	.coaches-page {
		padding: 14px 10px;
		border-radius: 14px;
	}

	.coach-card {
		padding: 14px 8px;
	}
}

.special-page-intro-card {
	width: 100%;
	max-width: 860px;
	margin: 0 auto 18px;
	padding: 18px 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	color: #0f172a;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
	text-align: center;
}

.special-page-title {
	margin: 0 0 12px;
	font-size: clamp(24px, 3.8vw, 38px);
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #020617;
}

.special-page-intro-card p,
.special-page-intro-card li {
	color: #1e293b !important;
	text-shadow: none !important;
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.7;
}

@media (max-width: 767px) {
	.special-page-intro-card {
		padding: 14px 10px;
		border-radius: 14px;
		margin-bottom: 14px;
	}
}

.tax2-info-card {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 20px 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	color: #0f172a;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
	text-align: left;
}

.tax2-title {
	margin: 0 0 12px;
	text-align: center;
	font-size: clamp(24px, 3.8vw, 38px);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #020617;
}

.tax2-key-facts {
	margin: 0 0 18px;
	text-align: center;
}

.tax2-info-card .tax2-key-fact {
	margin: 0 0 12px;
	font-size: clamp(18px, 2.4vw, 23px);
	font-weight: 700;
	line-height: 1.35;
	color: #020617;
	letter-spacing: 0.04em;
}

.tax2-info-card .tax2-key-fact:last-child {
	margin-bottom: 0;
}

/* Black Belts page only: remove light panels, keep premium white text. */
.hero-page-content--cierne-opasky .special-page-intro-card,
.hero-page-content--cierne-opasky .coaches-page {
	background: transparent;
	box-shadow: none;
	color: #f8fafc;
}

.hero-page-content--cierne-opasky .special-page-title,
.hero-page-content--cierne-opasky .special-page-intro-card p,
.hero-page-content--cierne-opasky .special-page-intro-card li,
.hero-page-content--cierne-opasky .coaches-section-title,
.hero-page-content--cierne-opasky .coach-name,
.hero-page-content--cierne-opasky .coach-meta,
.hero-page-content--cierne-opasky .coach-text {
	color: #f8fafc !important;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* Trainers page only: same clean treatment as Black Belts. */
.hero-page-content--treneri .special-page-intro-card,
.hero-page-content--treneri .coaches-page {
	background: transparent;
	box-shadow: none;
	color: #f8fafc;
}

.hero-page-content--treneri .special-page-title,
.hero-page-content--treneri .special-page-intro-card p,
.hero-page-content--treneri .special-page-intro-card li,
.hero-page-content--treneri .coaches-section-title,
.hero-page-content--treneri .coach-name,
.hero-page-content--treneri .coach-meta,
.hero-page-content--treneri .coach-text {
	color: #f8fafc !important;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* Portrait crop focus for Trainers + Black Belts: keep faces higher in frame. */
.hero-page-content--cierne-opasky .coach-image,
.hero-page-content--treneri .coach-image {
	object-position: center 20%;
}

/* Súťaženie / Competition: intro stays readable; entries = full-width stack, no coach-style cards. */
.hero-page-content--sutazenie {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
	align-items: stretch;
}

.hero-page-content--sutazenie .special-page-intro-card {
	width: 100%;
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 28px;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
	background: transparent;
	box-shadow: none;
	color: #f8fafc;
}

.hero-page-content--sutazenie .special-page-title,
.hero-page-content--sutazenie .special-page-intro-card p,
.hero-page-content--sutazenie .special-page-intro-card li {
	color: #f8fafc !important;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-page-content--sutazenie .competition-feed {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: clamp(28px, 5vw, 48px);
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.hero-page-content--sutazenie .competition-entry {
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.hero-page-content--sutazenie .competition-entry__media {
	width: 100%;
	margin: 0;
	padding: 0;
	line-height: 0;
}

.hero-page-content--sutazenie .competition-entry__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 0;
}

.hero-page-content--sutazenie .competition-entry--event .competition-entry__body--event + .competition-entry__media {
	margin-top: 10px;
}

.hero-page-content--sutazenie .competition-entry--event .competition-entry__media + .competition-entry__media {
	margin-top: clamp(10px, 2vw, 18px);
}

.hero-page-content--sutazenie .competition-entry__body {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(14px, 3vw, 22px) 20px 0;
	box-sizing: border-box;
	text-align: center;
}

.hero-page-content--sutazenie .competition-entry__title {
	margin: 0 0 8px;
	font-size: clamp(18px, 3.2vw, 26px);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #f8fafc;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-page-content--sutazenie .competition-entry__meta {
	margin: 0 0 10px;
	font-size: clamp(12px, 2.2vw, 15px);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(248, 250, 252, 0.82);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-page-content--sutazenie .competition-entry__text {
	margin: 0;
	font-size: clamp(15px, 2.8vw, 18px);
	line-height: 1.65;
	color: rgba(248, 250, 252, 0.94);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

@media (max-width: 767px) {
	.hero-page-content--sutazenie .special-page-intro-card {
		margin-bottom: 22px;
		padding-left: 16px;
		padding-right: 16px;
	}

	.hero-page-content--sutazenie .competition-entry__body {
		padding-left: 16px;
		padding-right: 16px;
	}
}

.hero-page-content .tax2-key-facts--fallback {
	margin: 22px auto 0;
	max-width: 640px;
	text-align: center;
}

.hero-page-content .tax2-key-facts--fallback .tax2-key-fact {
	margin: 0 0 14px;
	font-size: clamp(18px, 2.6vw, 24px);
	font-weight: 700;
	line-height: 1.35;
	color: #ffffff;
	letter-spacing: 0.04em;
	text-shadow:
		0 2px 10px rgba(0, 0, 0, 0.5),
		0 2px 6px rgba(0, 0, 0, 0.35);
}

.hero-page-content .tax2-key-facts--fallback .tax2-key-fact:last-child {
	margin-bottom: 0;
}

.tax2-block {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.tax2-line,
.tax2-text,
.tax2-note,
.tax2-file {
	margin: 0 0 10px;
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.7;
	color: #1e293b;
}

.tax2-file a {
	color: #0f172a;
	font-weight: 700;
	text-decoration: underline;
}

@media (max-width: 767px) {
	.tax2-info-card {
		padding: 14px 10px;
		border-radius: 14px;
	}
}

.video-library-card {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 20px 16px;
	border-radius: 18px;
	background: rgba(0, 0, 0, 0.92);
	color: #f8fafc;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.video-library-title {
	margin: 0 0 12px;
	text-align: center;
	font-size: clamp(24px, 3.8vw, 38px);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ffffff;
}

.hero-page-content .video-library-title {
	color: #ffffff !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45) !important;
}

.video-library-intro {
	margin: 0 0 14px;
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.7;
	color: rgba(248, 250, 252, 0.9);
	text-align: center;
}

.video-library-main-link {
	margin: 0 0 18px;
	text-align: center;
}

.video-library-main-link a,
.video-item-link a {
	color: #ffffff;
	font-weight: 700;
	text-decoration: underline;
}

.video-featured-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.video-item {
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.video-media iframe,
.video-media img {
	display: block;
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	border: 0;
	border-radius: 10px;
}

.video-media iframe {
	aspect-ratio: 16 / 9;
}

.video-item-title {
	margin: 12px 0 6px;
	text-align: center;
	font-size: clamp(20px, 3vw, 30px);
	color: #ffffff;
}

.video-item-text,
.video-item-link {
	margin: 0 0 10px;
	text-align: center;
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.7;
	color: rgba(248, 250, 252, 0.88);
}

@media (max-width: 767px) {
	.video-library-card {
		padding: 14px 10px;
		border-radius: 14px;
	}
}

.hero.hero-home {
	background-position: var(--bjj-hero-home-desktop-x, center) var(--bjj-hero-home-desktop-y, center) !important;
	background-size: var(--bjj-hero-home-desktop-zoom, cover) !important;
}

@media (max-width: 767px) {
	.hero.hero-home {
		background-position: var(--bjj-hero-home-mobile-x, var(--bjj-hero-home-desktop-x, center)) var(--bjj-hero-home-mobile-y, var(--bjj-hero-home-desktop-y, center)) !important;
		background-size: var(--bjj-hero-home-mobile-zoom, var(--bjj-hero-home-desktop-zoom, cover)) !important;
	}
}

/* ==================================================
   HOMEPAGE HERO — unified layout (front-page.php only)
   Flex column: header row (symmetric grid + lang) → spaced gap → centered menu.
================================================== */

.hero.hero-home .hero-home-layout {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: 100%;
	max-width: 100vw;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	padding:
		max(16px, env(safe-area-inset-top, 0px))
		max(20px, env(safe-area-inset-right, 0px))
		max(24px, env(safe-area-inset-bottom, 0px))
		max(20px, env(safe-area-inset-left, 0px));
	overflow-x: hidden;
}

@supports (height: 100dvh) {
	.hero.hero-home .hero-home-layout {
		min-height: 100dvh;
	}
}

.hero.hero-home .hero-home-top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: flex-start;
	gap: clamp(12px, 2vw, 28px);
	width: 100%;
	flex: 0 0 auto;
}

.hero.hero-home .hero-home-top__spacer {
	min-height: 0;
	pointer-events: none;
}

.hero.hero-home .hero-home-top__brand {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	max-width: 100%;
	min-width: 0;
}

.hero.hero-home .hero-home-top__lang {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	align-self: start;
}

.hero.hero-home .hero-home-top .hero-lang-switcher {
	position: static;
	top: auto;
	right: auto;
	z-index: 6;
}

.hero.hero-home .hero-home-brand {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 2.2vw, 24px);
	color: #fff;
	max-width: min(100%, 52rem);
}

.hero.hero-home .hero-home-brand__logo {
	display: block;
	width: clamp(80px, 11vw, 140px);
	height: clamp(80px, 11vw, 140px);
	object-fit: contain;
	flex-shrink: 0;
}

.hero.hero-home .hero-home-brand__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
	text-align: left;
}

.hero.hero-home .hero-home-brand__title {
	margin: 0;
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #ffffff !important;
	text-shadow:
		0 2px 12px rgba(0, 0, 0, 0.5),
		0 6px 24px rgba(0, 0, 0, 0.35);
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.hero.hero-home .hero-home-brand__subtitle {
	margin: 0;
	margin-top: 8px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.96) !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.hero.hero-home .hero-home-brand__tagline {
	margin: 10px 0 0;
	padding: 0;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 0.05em;
	text-transform: none;
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
	max-width: 38rem;
	white-space: normal;
	overflow-wrap: anywhere;
}

.hero.hero-home .hero-home-menu {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	width: 100%;
	padding-top: clamp(28px, 6vh, 64px);
	box-sizing: border-box;
}

/* ——— Tablet / small laptop ——— */
@media (min-width: 768px) and (max-width: 1023px) {
	.hero.hero-home .hero-home-brand__logo {
		width: clamp(100px, 13vw, 128px);
		height: clamp(100px, 13vw, 128px);
	}

	.hero.hero-home .hero-home-brand__title {
		font-size: clamp(40px, 5vw, 58px);
	}

	.hero.hero-home .hero-home-brand__subtitle {
		font-size: clamp(13px, 1.5vw, 19px);
		letter-spacing: 0.22em;
		margin-top: 10px;
	}

	.hero.hero-home .hero-home-brand__tagline {
		font-size: clamp(10px, 1.25vw, 14px);
		margin-top: 12px;
	}

	.hero.hero-home .hero-home-menu {
		padding-top: clamp(32px, 5vh, 56px);
	}
}

/* ——— Desktop ——— */
@media (min-width: 1024px) {
	.hero.hero-home .hero-home-brand {
		gap: 22px;
		max-width: min(100%, 56rem);
	}

	.hero.hero-home .hero-home-brand__logo {
		width: 132px;
		height: 132px;
	}

	.hero.hero-home .hero-home-brand__title {
		font-size: clamp(56px, 4.2vw, 72px);
		letter-spacing: 0.015em;
	}

	.hero.hero-home .hero-home-brand__subtitle {
		font-size: clamp(17px, 1.35vw, 22px);
		letter-spacing: 0.28em;
		margin-top: 12px;
	}

	.hero.hero-home .hero-home-brand__tagline {
		font-size: clamp(11px, 0.95vw, 13px);
		margin-top: 12px;
	}

	.hero.hero-home .hero-home-menu {
		padding-top: clamp(36px, 6vh, 72px);
	}
}

/* ——— Mobile: lang row → brand → menu (no overlap) ——— */
@media (max-width: 767px) {
	.hero.hero-home .hero-home-top {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto;
		gap: 20px;
	}

	.hero.hero-home .hero-home-top__spacer {
		display: none;
	}

	.hero.hero-home .hero-home-top__lang {
		grid-column: 1;
		grid-row: 1;
		justify-self: end;
	}

	.hero.hero-home .hero-home-top__brand {
		grid-column: 1;
		grid-row: 2;
		justify-self: stretch;
		width: 100%;
	}

	.hero.hero-home .hero-home-brand {
		flex-direction: column;
		align-items: center;
		text-align: center;
		max-width: 100%;
	}

	.hero.hero-home .hero-home-brand__text {
		align-items: center;
		text-align: center;
	}

	.hero.hero-home .hero-home-brand__logo {
		width: clamp(88px, 24vw, 120px);
		height: clamp(88px, 24vw, 120px);
	}

	.hero.hero-home .hero-home-brand__title {
		font-size: clamp(26px, 7.5vw, 36px);
	}

	.hero.hero-home .hero-home-brand__subtitle {
		font-size: clamp(11px, 3.4vw, 14px);
		letter-spacing: 0.16em;
		margin-top: 8px;
	}

	.hero.hero-home .hero-home-brand__tagline {
		font-size: clamp(10px, 3vw, 13px);
		margin-top: 10px;
		max-width: 100%;
	}

	.hero.hero-home .hero-home-menu {
		padding-top: clamp(24px, 5vh, 44px);
	}
}

/* ==================================================
   HOMEPAGE ALERT (front-page.php only)
================================================== */

body.bjj-homepage-alert-open {
	overflow: hidden;
}

.bjj-homepage-alert {
	position: fixed;
	inset: 0;
	z-index: 100000;
	box-sizing: border-box;
}

.bjj-homepage-alert[hidden] {
	display: none !important;
}

.bjj-homepage-alert.is-open {
	display: block;
}

.bjj-homepage-alert__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.78);
	backdrop-filter: blur(2px);
}

.bjj-homepage-alert__layout {
	position: relative;
	z-index: 1;
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
	box-sizing: border-box;
}

.bjj-homepage-alert__panel {
	position: relative;
	width: 100%;
	max-width: 28rem;
	max-height: min(92vh, 40rem);
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	background: #0a0a0a;
	color: #fafafa;
	border-radius: 14px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.bjj-homepage-alert--premium .bjj-homepage-alert__panel {
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.bjj-homepage-alert--strong .bjj-homepage-alert__panel {
	border: 1px solid rgba(251, 191, 36, 0.55);
	box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.25), 0 24px 64px rgba(0, 0, 0, 0.55);
}

.bjj-homepage-alert__close {
	flex-shrink: 0;
	align-self: flex-end;
	margin: 10px 10px 0 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, color 0.15s ease;
}

.bjj-homepage-alert__close:hover,
.bjj-homepage-alert__close:focus-visible {
	background: rgba(255, 255, 255, 0.2);
	outline: none;
}

.bjj-homepage-alert__scroll {
	flex: 1;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 8px clamp(16px, 4vw, 24px) clamp(18px, 4vw, 26px);
	box-sizing: border-box;
}

.bjj-homepage-alert__title {
	margin: 0 0 12px;
	font-size: clamp(1.15rem, 4.2vw, 1.45rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.bjj-homepage-alert__message {
	margin: 0 0 16px;
	font-size: clamp(0.95rem, 3.6vw, 1.05rem);
	line-height: 1.65;
	color: rgba(250, 250, 250, 0.92);
	text-align: center;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.bjj-homepage-alert__image-wrap {
	margin: 0 auto;
	width: 100%;
	max-width: 100%;
}

.bjj-homepage-alert__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-sizing: border-box;
}

@media (max-width: 767px) {
	.bjj-homepage-alert__panel {
		max-height: min(94vh, 100%);
		border-radius: 12px;
	}

	.bjj-homepage-alert__layout {
		padding-bottom: max(12px, env(safe-area-inset-bottom));
	}

	.bjj-homepage-alert__scroll {
		padding-left: 14px;
		padding-right: 14px;
	}
}

/* ==================================================
   PROSE / INLINE TEXT LINKS (page & hero content only)
   Excludes social pills, block buttons, email icon control.
================================================== */

.hero-page-content a:not(.contact-social):not(.wp-block-button__link):not(.wp-element-button),
.hero-page-fallback .entry-content a:not(.wp-block-button__link):not(.wp-element-button),
.hero-page-fallback a:not(.wp-block-button__link):not(.wp-element-button) {
	color: #ffffff !important;
	font-size: 1.08em;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.22em;
	text-decoration-color: currentColor;
}

.hero-page-content a:not(.contact-social):not(.wp-block-button__link):not(.wp-element-button):link,
.hero-page-content a:not(.contact-social):not(.wp-block-button__link):not(.wp-element-button):visited,
.hero-page-fallback .entry-content a:not(.wp-block-button__link):not(.wp-element-button):link,
.hero-page-fallback .entry-content a:not(.wp-block-button__link):not(.wp-element-button):visited,
.hero-page-fallback a:not(.wp-block-button__link):not(.wp-element-button):link,
.hero-page-fallback a:not(.wp-block-button__link):not(.wp-element-button):visited {
	color: #ffffff !important;
}

.hero-page-content a:not(.contact-social):not(.wp-block-button__link):not(.wp-element-button):hover,
.hero-page-content a:not(.contact-social):not(.wp-block-button__link):not(.wp-element-button):focus-visible,
.hero-page-fallback .entry-content a:not(.wp-block-button__link):not(.wp-element-button):hover,
.hero-page-fallback .entry-content a:not(.wp-block-button__link):not(.wp-element-button):focus-visible,
.hero-page-fallback a:not(.wp-block-button__link):not(.wp-element-button):hover,
.hero-page-fallback a:not(.wp-block-button__link):not(.wp-element-button):focus-visible {
	color: #e8e8e8 !important;
}

.hero-page-content a:not(.contact-social):not(.wp-block-button__link):not(.wp-element-button):active,
.hero-page-fallback .entry-content a:not(.wp-block-button__link):not(.wp-element-button):active,
.hero-page-fallback a:not(.wp-block-button__link):not(.wp-element-button):active {
	color: #ffffff !important;
}

.hero-page-content .contact-email a {
	font-size: inherit !important;
	font-weight: inherit !important;
	text-decoration: none !important;
	text-decoration-thickness: unset !important;
	text-underline-offset: unset !important;
}

/* Light panels: dark links, no browser blue/purple. */
.hero-page-content .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button),
.hero-page-content .tax2-info-card a:not(.wp-block-button__link):not(.wp-element-button),
.hero-page-content .coaches-page a:not(.wp-block-button__link):not(.wp-element-button) {
	color: #0f172a !important;
	font-size: 1.08em;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.22em;
	text-decoration-color: currentColor;
}

.hero-page-content .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):link,
.hero-page-content .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):visited,
.hero-page-content .tax2-info-card a:not(.wp-block-button__link):not(.wp-element-button):link,
.hero-page-content .tax2-info-card a:not(.wp-block-button__link):not(.wp-element-button):visited,
.hero-page-content .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):link,
.hero-page-content .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):visited {
	color: #0f172a !important;
}

.hero-page-content .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):hover,
.hero-page-content .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):focus-visible,
.hero-page-content .tax2-info-card a:not(.wp-block-button__link):not(.wp-element-button):hover,
.hero-page-content .tax2-info-card a:not(.wp-block-button__link):not(.wp-element-button):focus-visible,
.hero-page-content .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):hover,
.hero-page-content .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):focus-visible {
	color: #475569 !important;
}

.hero-page-content .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):active,
.hero-page-content .tax2-info-card a:not(.wp-block-button__link):not(.wp-element-button):active,
.hero-page-content .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):active {
	color: #0f172a !important;
}

/* Transparent “dark” variants of those panels: keep white prose links. */
.hero-page-content--cierne-opasky .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button),
.hero-page-content--cierne-opasky .coaches-page a:not(.wp-block-button__link):not(.wp-element-button),
.hero-page-content--treneri .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button),
.hero-page-content--treneri .coaches-page a:not(.wp-block-button__link):not(.wp-element-button),
.hero-page-content--sutazenie .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button) {
	color: #ffffff !important;
	font-size: 1.08em;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.22em;
	text-decoration-color: currentColor;
}

.hero-page-content--cierne-opasky .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):link,
.hero-page-content--cierne-opasky .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):visited,
.hero-page-content--cierne-opasky .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):link,
.hero-page-content--cierne-opasky .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):visited,
.hero-page-content--treneri .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):link,
.hero-page-content--treneri .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):visited,
.hero-page-content--treneri .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):link,
.hero-page-content--treneri .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):visited,
.hero-page-content--sutazenie .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):link,
.hero-page-content--sutazenie .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):visited {
	color: #ffffff !important;
}

.hero-page-content--cierne-opasky .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):hover,
.hero-page-content--cierne-opasky .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):focus-visible,
.hero-page-content--cierne-opasky .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):hover,
.hero-page-content--cierne-opasky .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):focus-visible,
.hero-page-content--treneri .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):hover,
.hero-page-content--treneri .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):focus-visible,
.hero-page-content--treneri .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):hover,
.hero-page-content--treneri .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):focus-visible,
.hero-page-content--sutazenie .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):hover,
.hero-page-content--sutazenie .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):focus-visible {
	color: #e8e8e8 !important;
}

.hero-page-content--cierne-opasky .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):active,
.hero-page-content--cierne-opasky .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):active,
.hero-page-content--treneri .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):active,
.hero-page-content--treneri .coaches-page a:not(.wp-block-button__link):not(.wp-element-button):active,
.hero-page-content--sutazenie .special-page-intro-card a:not(.wp-block-button__link):not(.wp-element-button):active {
	color: #ffffff !important;
}
/* ===== BJJ SLOVAKIA SUBPAGE HEADER CLICK FIX ===== */

.hero.hero-page .hero-overlay {
	pointer-events: none !important;
}

.hero.hero-page .hero-brand,
.hero.hero-page a.hero-brand,
.hero.hero-page a.hero-brand:link,
.hero.hero-page a.hero-brand:visited {
	position: absolute;
	z-index: 20 !important;
	pointer-events: auto !important;
	text-decoration: none !important;
	color: #fff !important;
	cursor: pointer;
}