/* HC Jičín – slider nejnovějších článků (náhrada Smart Slideru) */
.hc-hero {
	--hc-blue: #0d5ab1;
	--hc-red: #ba062a;
	--hc-navy: #12142b;
	position: relative;
	margin: 0 0 32px;
	border-radius: 18px;
	overflow: hidden;
	background: var(--hc-navy);
	box-shadow: 0 18px 40px -18px rgba(18, 20, 43, .55);
	color: #fff;
	container-type: inline-size;
}
.hc-hero__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	outline: none;
}
.hc-hero__track::-webkit-scrollbar { display: none; }
.hc-hero__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-content: start;
}
.hc-hero__media {
	display: block;
	aspect-ratio: 1.91 / 1;
	background: #0b0d1f;
	overflow: hidden;
}
.hc-hero__img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	transition: transform .6s ease;
}
.hc-hero__slide:hover .hc-hero__img { transform: scale(1.025); }
.hc-hero__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	padding: 20px 24px 68px;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(13, 90, 177, .55), transparent 60%),
		linear-gradient(160deg, #181b3a 0%, var(--hc-navy) 70%);
	border-top: 4px solid var(--hc-red);
}
.hc-hero__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
}
.hc-hero__kicker span {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--hc-red);
	color: #fff;
	font-weight: 700;
}
.hc-hero__title {
	margin: 0 !important;
	font-family: Anton, Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: clamp(22px, 3.4cqi, 34px) !important;
	line-height: 1.12 !important;
	letter-spacing: .01em;
}
.hc-hero__title::before, .hc-hero__title::after { display: none !important; }
.hc-hero__title { border: 0 !important; padding: 0 !important; }
.hc-hero__title a { color: #fff !important; text-decoration: none; }
.hc-hero__title a:hover { color: #fff !important; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hc-hero__excerpt {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .78);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.hc-hero__cta {
	align-self: flex-start;
	margin-top: 4px;
	padding: 10px 18px;
	border-radius: 999px;
	background: #fff;
	color: var(--hc-navy) !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: background .2s, color .2s, transform .2s;
}
.hc-hero__cta:hover { background: var(--hc-red); color: #fff !important; transform: translateX(2px); }
.hc-hero__nav {
	position: absolute;
	right: 24px;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.hc-hero button.hc-hero__arrow {
	display: grid;
	place-items: center;
	margin: 0;
	box-shadow: none;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s;
}
.hc-hero button.hc-hero__arrow:hover { background: var(--hc-red); border-color: var(--hc-red); }
.hc-hero__dots { display: flex; gap: 6px; }
.hc-hero button.hc-hero__dot {
	margin: 0;
	box-shadow: none;
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .35);
	cursor: pointer;
	transition: width .3s, background .3s;
}
.hc-hero button.hc-hero__dot[aria-selected="true"] { width: 26px; background: #fff; }
.hc-hero :focus-visible { outline: 3px solid #ffd23f; outline-offset: 2px; }

/* siroky sloupec: obrazek vlevo, text vpravo */
@container (min-width: 860px) {
	.hc-hero__slide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-content: stretch; }
	.hc-hero__body { border-top: 0; border-left: 4px solid var(--hc-red); padding: 32px 36px 68px; gap: 14px; }
}
/* uzky sloupec: navigace vlevo dole, bez perexu na mobilu */
@container (max-width: 859px) {
	.hc-hero__nav { left: 24px; right: auto; }
}
@container (max-width: 520px) {
	.hc-hero__excerpt { display: none; }
	.hc-hero__body { padding: 16px 18px 64px; }
	.hc-hero__nav { left: 18px; }
}
@media (max-width: 767px) {
	.hc-hero { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.hc-hero__track { scroll-behavior: auto; }
	.hc-hero__img, .hc-hero__cta, .hc-hero__dot { transition: none; }
}
