/* ==========================================================================
   Hasiči Slatina – hlavní styly
   ========================================================================== */

@font-face {
	font-family: "Geist";
	src: url("../fonts/Geist-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--hs-text: #1d1d1f;
	--hs-text-2: #424245;
	--hs-muted: #6e6e73;
	--hs-line: #e8e8ed;
	--hs-surface: #f5f5f7;
	--hs-ph: #e3e3e8;
	--hs-bg: #ffffff;
	--hs-accent: #d70015;
	--hs-accent-hover: #b8000f;
	--hs-dark: #1d1d1f;
	--hs-font: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
	--hs-wrap: 1200px;
	--hs-gutter: 24px;
	--hs-r-lg: 28px;
	--hs-r-md: 20px;
	--hs-r-sm: 14px;
	--hs-header-h: 68px;
}

/* --- základ ------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--hs-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--hs-bg);
	color: var(--hs-text);
	font-family: var(--hs-font);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--hs-accent-hover); }
:focus-visible { outline: 2px solid var(--hs-accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.hs-skip {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 100;
	background: var(--hs-text);
	color: #fff;
	padding: 10px 16px;
	border-radius: 10px;
}
.hs-skip:focus { top: 12px; color: #fff; }

.hs-wrap {
	width: 100%;
	max-width: calc(var(--hs-wrap) + var(--hs-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--hs-gutter);
}

.hs-icon { display: block; flex: none; }

/* --- drobné prvky ------------------------------------------------------- */

.hs-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hs-accent);
}
a.hs-eyebrow:hover { color: var(--hs-accent-hover); }

.hs-meta {
	font-size: 14px;
	color: var(--hs-muted);
}

.hs-h2 {
	font-size: clamp(28px, 3vw, 36px);
	letter-spacing: -0.03em;
	line-height: 1.1;
}
.hs-h2--sm { font-size: clamp(24px, 2.4vw, 28px); }
.hs-h3 { font-size: 22px; letter-spacing: -0.02em; }

.hs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	background: var(--hs-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	transition: background-color 0.15s ease;
}
.hs-btn:hover { background: var(--hs-accent-hover); color: #fff; }

.hs-textlink {
	color: var(--hs-accent);
	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
}
.hs-textlink--light { color: #ff6961; }
.hs-textlink--light:hover { color: #ff8a84; }

.hs-section { padding-top: clamp(72px, 9vw, 112px); }
.hs-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 32px;
}
.hs-section > .hs-h2 { margin-bottom: 32px; }
.hs-spacer { height: clamp(72px, 9vw, 112px); }

/* obrázky karet */
.hs-media {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--hs-ph);
}
.hs-media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--hs-surface);
}
.hs-media--empty img { width: 64px; height: auto; opacity: 0.35; filter: grayscale(1); }

/* --- hlavička ----------------------------------------------------------- */

.hs-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid var(--hs-line);
}
.admin-bar .hs-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hs-header { top: 0; } }

.hs-header__in {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: var(--hs-header-h);
}

.hs-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-right: auto;
	color: var(--hs-text);
}
.hs-brand:hover { color: var(--hs-text); }
.hs-brand__logo { width: 40px; height: auto; }
.hs-brand__name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }

.hs-header__actions { display: flex; align-items: center; gap: 2px; }

.hs-iconbtn {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	padding: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--hs-text);
	cursor: pointer;
}
.hs-iconbtn:hover { background: var(--hs-surface); }
.hs-menubtn { display: none; }
.hs-menubtn__close { display: none; }
.hs-menu-open .hs-menubtn__open { display: none; }
.hs-menu-open .hs-menubtn__close { display: block; }

/* menu – desktop */
.hs-nav { display: flex; align-items: center; }
.hs-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.hs-menu > li { position: relative; display: flex; align-items: center; }
.hs-menu a {
	display: block;
	padding: 10px 12px;
	font-size: 14px;
	color: var(--hs-text);
	border-radius: 10px;
}
.hs-menu a:hover { color: var(--hs-accent-hover); }
.hs-menu .current-menu-item > a,
.hs-menu .current-menu-ancestor > a,
.hs-menu .current-menu-parent > a,
.hs-menu .current-post-ancestor > a { font-weight: 600; }

.hs-subtoggle {
	width: 24px;
	height: 32px;
	margin-left: -8px;
	border: 0;
	padding: 0;
	background: transparent;
	color: var(--hs-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 8px;
}
.hs-subtoggle svg { transition: transform 0.15s ease; }
.is-open > .hs-subtoggle svg { transform: rotate(180deg); }

.hs-menu .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 220px;
	list-style: none;
	margin: 0;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--hs-line);
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.hs-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.hs-menu li:hover > .sub-menu,
.hs-menu li:focus-within > .sub-menu,
.hs-menu li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.hs-menu .sub-menu a { padding: 10px 12px; font-size: 15px; white-space: nowrap; }
.hs-menu .sub-menu a:hover { background: var(--hs-surface); color: var(--hs-text); }

.hs-nav__social { display: none; }

/* hledání */
.hs-search {
	border-top: 1px solid var(--hs-line);
	padding: 16px 0;
	background: #fff;
}
.hs-searchform {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 680px;
	margin-inline: auto;
	padding: 0 6px 0 16px;
	min-height: 52px;
	border-radius: 14px;
	background: var(--hs-surface);
	color: var(--hs-muted);
}
.hs-searchform input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 17px;
	color: var(--hs-text);
	padding: 12px 0;
	outline: none;
}
.hs-searchform button {
	border: 0;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 10px;
	background: var(--hs-text);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}
.hs-searchform:focus-within { box-shadow: 0 0 0 2px var(--hs-text); }

/* menu – mobil */
@media (max-width: 960px) {
	.hs-menubtn { display: inline-flex; }
	.hs-nav {
		position: fixed;
		top: var(--hs-header-h);
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 49;
		display: none;
		padding: 8px var(--hs-gutter) 40px;
		background: #fff;
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.admin-bar .hs-nav { top: calc(var(--hs-header-h) + 46px); }
	.hs-menu-open { overflow: hidden; }
	/* backdrop-filter by z hlavičky udělal kontejner pro position: fixed */
	.hs-menu-open .hs-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	/* blokové rozložení – Safari umí ve flex sloupci s overflow seznam smrsknout na nulu */
	.hs-menu-open .hs-nav { display: block; }
	.hs-menu { display: block; }
	.hs-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--hs-line); }
	.hs-menu > li > a {
		flex: 1;
		padding: 16px 0;
		font-size: 26px;
		font-weight: 600;
		letter-spacing: -0.02em;
	}
	.hs-subtoggle { width: 48px; height: 48px; margin: 0; }
	.hs-subtoggle svg { width: 20px; height: 20px; }
	.hs-menu .sub-menu {
		position: static;
		flex-basis: 100%;
		min-width: 0;
		display: none;
		padding: 0 0 12px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.hs-menu li.is-open > .sub-menu { display: block; }
	.hs-menu li:hover > .sub-menu { display: none; }
	.hs-menu li.is-open:hover > .sub-menu { display: block; }
	.hs-menu .sub-menu a { padding: 10px 0; font-size: 18px; color: var(--hs-text-2); }
	.hs-menu .sub-menu a:hover { background: none; }
	.hs-nav__social {
		display: flex;
		flex-wrap: wrap;
		gap: 8px 20px;
		margin-top: 28px;
		font-size: 15px;
	}
	.hs-nav__social a { color: var(--hs-muted); padding: 8px 0; }
}

@media (max-width: 420px) {
	:root { --hs-gutter: 16px; }
	.hs-brand__logo { width: 34px; }
}

/* --- úvod --------------------------------------------------------------- */

.hs-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hs-hero__in {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 24px;
}
.hs-hero__crest { width: clamp(92px, 10vw, 132px); height: auto; }
.hs-hero__title {
	font-size: clamp(40px, 6.4vw, 88px);
	line-height: 1.02;
	letter-spacing: -0.045em;
	max-width: 960px;
}
.hs-hero__text {
	font-size: clamp(18px, 1.8vw, 24px);
	line-height: 1.4;
	color: var(--hs-muted);
	max-width: 680px;
	text-wrap: balance;
}
.hs-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 28px;
	margin-top: 4px;
}

/* hlavní článek */
.hs-lead {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	background: var(--hs-surface);
	border-radius: var(--hs-r-lg);
	overflow: hidden;
	color: var(--hs-text);
}
.hs-lead:hover { color: var(--hs-text); }
.hs-lead__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: clamp(28px, 4vw, 56px);
}
.hs-lead__title {
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.1;
	letter-spacing: -0.03em;
}
.hs-lead:hover .hs-lead__title { color: var(--hs-accent-hover); }
.hs-lead__excerpt { font-size: 17px; line-height: 1.5; color: var(--hs-text-2); text-wrap: pretty; }
.hs-lead__media { min-height: 320px; display: block; overflow: hidden; }
.hs-lead__media .hs-media { transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.hs-lead:hover .hs-media { transform: scale(1.02); }
@media (max-width: 860px) {
	.hs-lead__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
}

/* mřížka karet */
.hs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: 40px 28px;
}
.hs-card__link { display: flex; flex-direction: column; gap: 12px; color: var(--hs-text); }
.hs-card__link:hover { color: var(--hs-text); }
.hs-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--hs-r-md);
	overflow: hidden;
	margin-bottom: 4px;
}
.hs-card__media .hs-media { transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.hs-card__link:hover .hs-media { transform: scale(1.03); }
.hs-card__title {
	font-size: 21px;
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: -0.015em;
	text-wrap: pretty;
}
.hs-card__link:hover .hs-card__title { color: var(--hs-accent-hover); }

@media (max-width: 600px) {
	.hs-grid { gap: 0; border-top: 1px solid var(--hs-line); }
	.hs-card { border-bottom: 1px solid var(--hs-line); }
	.hs-card__link {
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr);
		grid-template-rows: auto auto 1fr;
		column-gap: 14px;
		row-gap: 4px;
		padding: 14px 0;
	}
	.hs-card__media { grid-row: 1 / 4; aspect-ratio: 1; border-radius: 14px; margin: 0; }
	.hs-card .hs-eyebrow { font-size: 11px; }
	.hs-card__title { font-size: 17px; line-height: 1.28; }
	.hs-card .hs-meta { font-size: 13px; }
	.hs-compact { margin-top: 0; border-top: 0; }
}

/* kompaktní seznam */
.hs-compact {
	list-style: none;
	margin: 56px 0 0;
	padding: 0;
	border-top: 1px solid var(--hs-line);
}
.hs-compact li { border-bottom: 1px solid var(--hs-line); }
.hs-compact a {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 24px;
	padding: 20px 0;
	color: var(--hs-text);
}
.hs-compact__title { flex: 1 1 480px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.hs-compact a:hover .hs-compact__title { color: var(--hs-accent-hover); }

/* dlaždice */
.hs-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	gap: 20px;
}
.hs-tile {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	min-height: 220px;
	padding: 32px;
	border-radius: 24px;
	background: var(--hs-surface);
	color: var(--hs-text);
	transition: background-color 0.15s ease;
}
.hs-tile:hover { background: #ececf0; color: var(--hs-text); }
.hs-tile__icon { color: var(--hs-accent); }
.hs-tile__body { display: flex; flex-direction: column; gap: 8px; }
.hs-tile__title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.hs-tile__desc { font-size: 15px; line-height: 1.45; color: var(--hs-muted); min-height: 2.9em; }
@media (max-width: 600px) {
	.hs-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	/* lichý počet: poslední dlaždice přes celou šířku */
	.hs-tiles[data-count="1"] .hs-tile,
	.hs-tiles[data-count="3"] .hs-tile:last-child { grid-column: 1 / -1; min-height: 0; }
	.hs-tile { min-height: 132px; padding: 18px; border-radius: 20px; gap: 16px; }
	.hs-tile__icon .hs-icon { width: 26px; height: 26px; }
	.hs-tile__title { font-size: 17px; }
	.hs-tile__desc { display: none; }
}

/* akce */
.hs-events {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 16px;
}
.hs-events--list { grid-template-columns: 1fr; max-width: 820px; }
.hs-event__link {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	height: 100%;
	padding: 20px;
	border-radius: 24px;
	background: var(--hs-surface);
	color: var(--hs-text);
	transition: background-color 0.15s ease;
}
.hs-event__link:hover { background: #ececf0; color: var(--hs-text); }
.hs-event__date {
	flex: 0 0 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 8px 0 10px;
	border-radius: 16px;
	background: #fff;
	line-height: 1;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.hs-event__wd { font-size: 12px; font-weight: 600; color: var(--hs-accent); text-transform: uppercase; letter-spacing: 0.04em; }
.hs-event__day { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; margin: 4px 0 2px; }
.hs-event__mon { font-size: 13px; color: var(--hs-muted); }
.hs-event__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.hs-event__title { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; text-wrap: pretty; }
.hs-event__link:hover .hs-event__title { color: var(--hs-accent-hover); }
.hs-event__desc { font-size: 15px; line-height: 1.45; color: var(--hs-text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hs-event__poster { flex: 0 0 72px; width: 72px; height: 96px; border-radius: 10px; overflow: hidden; background: #fff; }
.hs-event__poster img { width: 100%; height: 100%; object-fit: cover; }
.hs-event__link--poster { cursor: zoom-in; }
@media (max-width: 600px) {
	.hs-events { gap: 10px; }
	.hs-event__link { padding: 14px; gap: 14px; border-radius: 20px; }
	.hs-event__date { flex-basis: 56px; }
	.hs-event__day { font-size: 26px; }
	.hs-event__poster { flex-basis: 56px; width: 56px; height: 76px; }
}

/* bannery s odkazy */
.hs-banners {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 20px;
}
.hs-banners[data-count="1"] { grid-template-columns: minmax(0, 420px); }
.hs-banner {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--hs-line);
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	color: var(--hs-text);
	transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.hs-banner:hover {
	color: var(--hs-text);
	border-color: #d2d2d7;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	transform: translateY(-2px);
}
.hs-banner__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 1.25;
	padding: 24px 28px;
	overflow: hidden;
}
.hs-banner__img {
	position: absolute;
	top: 24px;
	left: 28px;
	width: calc(100% - 56px);
	height: calc(100% - 48px);
	object-fit: contain;
}
.hs-banner__name { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; text-align: center; }
.hs-banner__foot {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 20px;
	border-top: 1px solid var(--hs-line);
	font-size: 14px;
}
.hs-banner__text { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-banner__host { color: var(--hs-muted); white-space: nowrap; }
.hs-banner:hover .hs-banner__host { color: var(--hs-accent-hover); }
@media (max-width: 600px) {
	.hs-banners { gap: 12px; }
	.hs-banner { border-radius: 20px; }
	.hs-banner__media { aspect-ratio: 3 / 1.1; padding: 18px 22px; }
	.hs-banner__img { top: 18px; left: 22px; width: calc(100% - 44px); height: calc(100% - 36px); }
}

/* pruh historie */
.hs-band {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
	align-items: end;
	gap: 40px;
	padding: clamp(32px, 5vw, 72px);
	border-radius: var(--hs-r-lg);
	background: var(--hs-dark);
	color: #f5f5f7;
}
.hs-band__lead { display: flex; flex-direction: column; gap: 16px; }
.hs-band__year {
	font-size: clamp(72px, 9vw, 128px);
	font-weight: 700;
	letter-spacing: -0.06em;
	line-height: 0.9;
}
.hs-band__lead p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.4; color: #c7c7cc; max-width: 440px; }
.hs-band__links { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

/* čipy (roky) */
.hs-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.hs-chips a,
.hs-chips summary {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--hs-surface);
	color: var(--hs-text);
	font-size: 14px;
	cursor: pointer;
}
.hs-chips a:hover, .hs-chips summary:hover { background: #e8e8ed; color: var(--hs-text); }
.hs-chips a[aria-current="page"] { background: var(--hs-text); color: #fff; font-weight: 500; }
.hs-chips--dark a { background: transparent; border: 1px solid #48484a; color: #f5f5f7; }
.hs-chips--dark a:hover { background: #2c2c2e; color: #fff; }
.hs-chips__more { display: contents; }
.hs-chips__more summary { list-style: none; }
.hs-chips__more summary::-webkit-details-marker { display: none; }
.hs-chips__more summary::after { content: " ▾"; font-size: 11px; margin-left: 4px; }
.hs-chips__more[open] summary::after { content: " ▴"; }
.hs-chips__older { display: contents; }

/* newsletter */
.hs-newsletter {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	padding-bottom: clamp(72px, 9vw, 112px);
}
.hs-newsletter__text { font-size: 18px; color: var(--hs-muted); }
.hs-newsletter__form { width: 100%; max-width: 480px; }
.hs-newsletter__form form { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; text-align: left; }
.hs-newsletter__form label { font-size: 14px; color: var(--hs-muted); }
.hs-newsletter__form p { margin: 0; }
.hs-newsletter__form input[type="email"],
.hs-newsletter__form input[type="text"] {
	flex: 1 1 260px;
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid #d2d2d7;
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: 16px;
	color: var(--hs-text);
}
.hs-newsletter__form input[type="submit"],
.hs-newsletter__form button {
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 12px;
	background: var(--hs-text);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}

/* --- výpisy ------------------------------------------------------------- */

.hs-subnav { border-bottom: 1px solid var(--hs-line); background: #fff; }
.hs-subnav__in {
	display: flex;
	gap: 4px 28px;
	overflow-x: auto;
	scrollbar-width: none;
	font-size: 14px;
}
.hs-subnav__in::-webkit-scrollbar { display: none; }
.hs-subnav a {
	padding: 14px 0;
	color: var(--hs-text-2);
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}
.hs-subnav a[aria-current="page"] { color: var(--hs-text); font-weight: 500; border-color: var(--hs-text); }

.hs-pagehead {
	padding-top: clamp(40px, 6vw, 64px);
	padding-bottom: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.hs-pagehead__title {
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.04;
	letter-spacing: -0.04em;
}
.hs-pagehead__desc { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--hs-muted); max-width: 680px; }
.hs-pagehead__desc p + p { margin-top: 0.6em; }

.hs-filter { padding-bottom: 32px; }
.hs-filter--top { padding-top: 32px; padding-bottom: 0; }

.hs-list { padding-bottom: clamp(72px, 9vw, 112px); }
.hs-list > .hs-row:first-child { border-top: 1px solid var(--hs-line); }
.hs-row { border-bottom: 1px solid var(--hs-line); }
.hs-row__link {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	align-items: center;
	gap: 32px;
	padding: 28px 0;
	color: var(--hs-text);
}
.hs-row__link:hover { color: var(--hs-text); }
.hs-row__media {
	display: block;
	aspect-ratio: 3 / 2;
	border-radius: 16px;
	overflow: hidden;
}
.hs-row__body { display: flex; flex-direction: column; gap: 10px; }
.hs-row__title { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; text-wrap: pretty; }
.hs-row__link:hover .hs-row__title { color: var(--hs-accent-hover); }
.hs-row__excerpt { font-size: 16px; line-height: 1.5; color: var(--hs-text-2); text-wrap: pretty; }
@media (max-width: 700px) {
	.hs-row__link { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px 0; align-items: start; }
	.hs-row__media { aspect-ratio: 1; border-radius: 14px; }
	.hs-row__title { font-size: 17px; line-height: 1.28; }
	.hs-row__excerpt { display: none; }
	.hs-row .hs-meta { font-size: 13px; }
}

.hs-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding-top: 48px;
	font-size: 15px;
}
.hs-pagination .page-numbers {
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--hs-text);
}
.hs-pagination a.page-numbers:hover { background: var(--hs-surface); }
.hs-pagination .current { background: var(--hs-text); color: #fff; }
.hs-pagination .dots { min-width: 0; padding: 0 4px; color: var(--hs-muted); }
.hs-pagination .next, .hs-pagination .prev { background: var(--hs-surface); font-weight: 500; }

.hs-empty { padding: 40px 0 24px; font-size: 18px; color: var(--hs-muted); }
.hs-searchpage { max-width: 680px; }
.hs-searchpage .hs-searchform { margin: 0; }
.hs-404 .hs-btn { margin-top: 16px; }

/* --- článek ------------------------------------------------------------- */

.hs-article__head {
	max-width: calc(760px + var(--hs-gutter) * 2);
	margin-inline: auto;
	padding: clamp(40px, 6vw, 72px) var(--hs-gutter) 40px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.hs-article__title {
	font-size: clamp(32px, 4.4vw, 56px);
	line-height: 1.06;
	letter-spacing: -0.035em;
}
.hs-article--page .hs-article__head { padding-bottom: 16px; }
.hs-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	font-size: 15px;
	color: var(--hs-muted);
}
.hs-article__meta a { color: var(--hs-muted); text-decoration: underline; text-decoration-color: #c7c7cc; text-underline-offset: 3px; }
.hs-article__meta a:hover { color: var(--hs-text); }

.hs-article__hero {
	max-width: calc(var(--hs-wrap) + var(--hs-gutter) * 2);
	margin: 0 auto;
	padding-inline: var(--hs-gutter);
}
.hs-article__hero a { display: block; aspect-ratio: 2 / 1; border-radius: var(--hs-r-lg); overflow: hidden; cursor: zoom-in; }
@media (max-width: 700px) {
	.hs-article__hero { padding-inline: 0; }
	.hs-article__hero a { aspect-ratio: 4 / 3; border-radius: 0; }
}

/* text článku */
.hs-entry {
	--hs-measure: 680px;
	padding-top: 48px;
	font-size: 19px;
	line-height: 1.62;
}
.hs-entry > * {
	max-width: var(--hs-measure);
	margin-inline: auto;
	padding-inline: var(--hs-gutter);
	box-sizing: content-box;
}
.hs-entry > * + * { margin-top: 1.1em; }
.hs-entry > .alignwide { max-width: var(--hs-wrap); }
.hs-entry > .alignfull { max-width: none; padding-inline: 0; }
.hs-entry > p:first-child,
.hs-entry > .hs-perex {
	font-size: clamp(20px, 2vw, 23px);
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: -0.01em;
}
.hs-entry a { color: var(--hs-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hs-entry a:hover { color: var(--hs-accent-hover); }
.hs-entry h2 { font-size: 28px; line-height: 1.2; margin-top: 1.8em; letter-spacing: -0.025em; }
.hs-entry h3 { font-size: 22px; line-height: 1.25; margin-top: 1.6em; }
.hs-entry h4 { font-size: 19px; margin-top: 1.4em; }
.hs-entry ul, .hs-entry ol { padding-left: calc(var(--hs-gutter) + 1.2em); }
.hs-entry li + li { margin-top: 0.35em; }
.hs-entry strong, .hs-entry b { font-weight: 600; }
.hs-entry blockquote {
	margin: 1.6em auto;
	padding: 4px var(--hs-gutter) 4px calc(var(--hs-gutter) + 20px);
	font-size: 22px;
	line-height: 1.45;
	font-weight: 500;
	letter-spacing: -0.01em;
	position: relative;
}
.hs-entry blockquote::before {
	content: "";
	position: absolute;
	left: var(--hs-gutter);
	top: 6px;
	bottom: 6px;
	width: 3px;
	border-radius: 2px;
	background: var(--hs-accent);
}
.hs-entry blockquote cite { display: block; margin-top: 8px; font-size: 15px; font-style: normal; color: var(--hs-muted); font-weight: 400; }
.hs-entry hr { border: 0; border-top: 1px solid var(--hs-line); margin-top: 2.4em; margin-bottom: 2.4em; }
.hs-entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.hs-entry .wp-block-table { overflow-x: auto; }
.hs-entry th, .hs-entry td { padding: 10px 12px; border-bottom: 1px solid var(--hs-line); text-align: left; }
.hs-entry th { font-weight: 600; }
.hs-entry sup { line-height: 0; }

/* obrázky v textu */
.hs-entry img { border-radius: var(--hs-r-sm); }
.hs-entry .hs-lb--inline, .hs-entry a.hs-lb { display: block; cursor: zoom-in; text-decoration: none; }
.hs-entry .wp-block-image, .hs-entry figure.wp-caption { margin-top: 1.6em; margin-bottom: 1.6em; }
.hs-entry .wp-block-image img, .hs-entry figure img { margin-inline: auto; }
.hs-entry .aligncenter { margin-inline: auto; text-align: center; }
.hs-entry img.aligncenter { margin-inline: auto; }
.hs-entry figcaption, .hs-entry .wp-caption-text {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--hs-muted);
	text-align: center;
}
/* starší články: více obrázků v jednom odstavci → mřížka */
.hs-entry p:has(> img + img),
.hs-entry p:has(> .hs-lb + .hs-lb) {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
	gap: 10px;
}
.hs-entry p:has(> .hs-lb + .hs-lb) .hs-lb,
.hs-entry p:has(> img + img) img {
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--hs-r-sm);
}
.hs-entry p:has(> .hs-lb + .hs-lb) img,
.hs-entry p:has(> img + img) img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* vložená videa */
.hs-entry .wp-block-embed, .hs-entry iframe { margin-top: 1.6em; margin-bottom: 1.6em; }
.hs-entry .wp-block-embed__wrapper { position: relative; }
.hs-entry iframe { display: block; width: 100%; border: 0; border-radius: var(--hs-r-sm); }
.hs-entry iframe[src*="youtube"], .hs-entry iframe[src*="youtu.be"], .hs-entry iframe[src*="vimeo"] { height: auto; aspect-ratio: 16 / 9; }
.hs-entry .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before { display: none; }
.hs-entry .wp-has-aspect-ratio iframe { position: static; }

/* karta odkazovaného článku */
.hs-linkcard {
	display: flex !important;
	align-items: center;
	gap: 18px;
	padding: 14px;
	border-radius: 18px;
	background: var(--hs-surface);
	color: var(--hs-text) !important;
	text-decoration: none !important;
}
.hs-linkcard:hover { background: #ececf0; }
.hs-linkcard__img { flex: 0 0 104px; width: 104px; height: 78px; border-radius: 12px !important; overflow: hidden; object-fit: cover; }
.hs-linkcard__img.hs-media--empty img { width: 36px; }
.hs-linkcard__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hs-linkcard__meta { font-size: 12px; color: var(--hs-muted); }
.hs-linkcard__title { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.hs-entry .wp-block-embed.is-type-wp-embed .wp-block-embed__wrapper { padding: 0; }

/* galerie – čtvercové náhledy, na výšku i na šířku stejné */
.hs-gallery { margin-top: 56px !important; margin-bottom: 0; }
.hs-gallery__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 18px;
}
.hs-gallery__title { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; }
.hs-gallery__count { font-size: 15px; color: var(--hs-muted); }
.hs-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(200px, calc(50% - 5px)), 1fr));
	gap: 10px;
}
.hs-gallery__item {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--hs-r-sm);
	background: var(--hs-ph);
	cursor: zoom-in;
}
.hs-gallery__item img,
.hs-entry .hs-gallery__item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	transition: transform 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.2s ease;
}
.hs-gallery__item:hover img { transform: scale(1.04); }
.hs-gallery__caption { margin-top: 12px; font-size: 14px; color: var(--hs-muted); }
.hs-gallery[data-count="1"] .hs-gallery__grid { grid-template-columns: 1fr; }
.hs-gallery[data-count="1"] .hs-gallery__item { aspect-ratio: 3 / 2; }
@media (max-width: 600px) {
	.hs-gallery__grid { gap: 6px; }
	.hs-gallery__item { border-radius: 10px; }
	.hs-gallery__title { font-size: 24px; }
}

/* údaje o zásahu (starší články) */
.hs-entry > .hs-incident-info {
	box-sizing: border-box;
	max-width: var(--hs-measure);
	margin-inline: max(var(--hs-gutter), calc((100% - var(--hs-measure)) / 2));
	padding: 16px 20px;
	border-radius: var(--hs-r-sm);
	background: var(--hs-surface);
	font-size: 15px;
	line-height: 1.5;
	color: var(--hs-text-2);
}

/* soubory ke stažení */
.hs-files {
	max-width: calc(680px + var(--hs-gutter) * 2);
	margin: 48px auto 0;
	padding-inline: var(--hs-gutter);
}
.hs-files ul { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--hs-line); }
.hs-files li { border-bottom: 1px solid var(--hs-line); }
.hs-files a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; }
.hs-files__name { font-weight: 500; }
.hs-files__meta { font-size: 14px; color: var(--hs-muted); white-space: nowrap; }

/* sdílení */
.hs-article__foot {
	max-width: calc(680px + var(--hs-gutter) * 2);
	margin: 56px auto 0;
	padding: 0 var(--hs-gutter) 32px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.hs-article__foot::after {
	content: "";
	flex-basis: 100%;
	height: 1px;
	background: var(--hs-line);
	margin-top: 16px;
}
.hs-share { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-share a, .hs-share button {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: var(--hs-surface);
	color: var(--hs-text);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}
.hs-share a:hover, .hs-share button:hover { background: #e8e8ed; color: var(--hs-text); }
.hs-related { padding-bottom: clamp(72px, 9vw, 112px); }
.hs-related .hs-h2 { margin-bottom: 28px; }

/* --- patička ------------------------------------------------------------ */

.hs-footer {
	background: var(--hs-surface);
	border-top: 1px solid var(--hs-line);
	font-size: 14px;
	line-height: 1.6;
	color: var(--hs-text-2);
}
.hs-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 32px;
	padding-top: 48px;
	padding-bottom: 40px;
}
.hs-footer__col { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.hs-footer__col strong { color: var(--hs-text); font-weight: 600; margin-bottom: 4px; }
.hs-footer__col a { color: var(--hs-text-2); }
.hs-footer__col a:hover { color: var(--hs-accent-hover); }
.hs-footer__brand { display: flex; align-items: center; gap: 10px; }
.hs-footer__brand img { width: 32px; height: auto; }
.hs-footer__brand strong { margin: 0; }
.hs-footer__bottom {
	padding-top: 16px;
	padding-bottom: 32px;
	border-top: 1px solid var(--hs-line);
	font-size: 12px;
	color: var(--hs-muted);
}

/* --- lightbox ----------------------------------------------------------- */

.pswp { --pswp-bg: #0a0a0c; --pswp-placeholder-bg: #1c1c1e; font-family: var(--hs-font); }
.pswp__counter { font-size: 15px; opacity: 0.8; margin-top: 18px; margin-left: 20px; }
.pswp__hs-caption {
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	max-width: min(720px, calc(100% - 32px));
	padding: 8px 14px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.55);
	color: #f5f5f7;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}

/* --- pohyb -------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- tisk --------------------------------------------------------------- */

@media print {
	.hs-header, .hs-footer, .hs-share, .hs-related, .hs-article__foot { display: none !important; }
	.hs-entry { font-size: 12pt; }
}
