/* ==========================================================================
   Svylety.cz – homepage
   Mobile-first; vše je uzavřené v .svh, aby se styly nepraly s rodičovskou šablonou.
   ========================================================================== */

.svh {
	--svh-paper: #F5F1E8;
	--svh-white: #FFFFFF;
	--svh-ink: #1B211C;
	--svh-muted: #4F584D;
	--svh-muted-2: #5A6358;
	--svh-line: #E2DBCB;
	--svh-chip-line: #D5CCB8;
	--svh-forest: #1E4A36;
	--svh-forest-soft: #E3ECE4;
	--svh-accent: #B8541F;
	--svh-accent-text: #9E4617;
	--svh-sand: #F3E3D3;
	--svh-ph: #D9E0C8;
	--svh-display: "Fraunces", Georgia, "Times New Roman", serif;
	--svh-body: "Figtree", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	--svh-gutter: 20px;

	background: var(--svh-paper);
	color: var(--svh-ink);
	font-family: var(--svh-body);
	font-size: 18px;
	line-height: 1.6;
	overflow-x: clip;
	padding-bottom: 8px;
}

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

.svh a {
	color: var(--svh-forest);
}

.svh a:hover {
	color: #8F3F14;
}

.svh :focus-visible {
	outline: 3px solid var(--svh-accent);
	outline-offset: 2px;
}

.svh ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.svh img {
	display: block;
	max-width: 100%;
	height: auto;
}

.svh h1,
.svh h2,
.svh h3 {
	margin: 0;
	color: var(--svh-ink);
	font-family: var(--svh-display);
	font-weight: 600;
	letter-spacing: -0.015em;
	text-transform: none;
}

.svh p {
	margin: 0;
}

.svh .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.svh-icon {
	flex-shrink: 0;
}

/* ---------- Layout ---------- */

.svh-wrap {
	width: 100%;
	max-width: 1264px;
	margin-inline: auto;
	padding-inline: var(--svh-gutter);
}

.svh-section {
	padding-block: 44px;
}

.svh-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 32px;
	margin-bottom: 20px;
}

.svh-head--tight {
	margin-bottom: 8px;
}

.svh-h2 {
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.12;
}

.svh-head__intro {
	margin-top: 8px !important;
	max-width: 38em;
	color: var(--svh-muted);
}

.svh-more {
	padding-block: 10px;
	font-size: 16px;
	font-weight: 700;
}

.svh-eyebrow {
	margin-bottom: 10px !important;
	color: var(--svh-accent-text);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.svh-meta {
	color: var(--svh-muted-2);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.svh-ph {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--svh-ph);
}

/* ---------- Tlačítka a štítky ---------- */

.svh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 10px;
	background: var(--svh-forest);
	color: #FFFFFF;
	font-family: var(--svh-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.svh a.svh-btn,
.svh a.svh-btn:hover {
	color: #FFFFFF;
}

.svh-btn:hover {
	background: #163A2A;
}

.svh-chips {
	display: flex;
	gap: 8px;
	margin: 14px calc(var(--svh-gutter) * -1) 0 !important;
	padding: 0 var(--svh-gutter) 4px !important;
	overflow-x: auto;
	scrollbar-width: none;
}

.svh-chips::-webkit-scrollbar {
	display: none;
}

.svh-chip {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--svh-chip-line);
	border-radius: 999px;
	background: var(--svh-white);
	color: var(--svh-ink) !important;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.svh-chip:hover {
	border-color: var(--svh-forest);
}

.svh-chip--primary {
	border-color: var(--svh-forest);
	background: var(--svh-forest);
	color: #FFFFFF !important;
}

/* ---------- Úvod (hero) ---------- */

.svh-hero {
	padding-top: 28px;
}

.svh-h1 {
	font-size: clamp(34px, 5vw, 64px);
	line-height: 1.06;
	letter-spacing: -0.02em !important;
}

.svh-lead {
	margin-top: 14px !important;
	max-width: 36em;
	color: var(--svh-muted);
	font-size: clamp(18px, 1.5vw, 20px);
}

.svh-search {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 22px 0 0;
	padding: 6px 6px 6px 14px;
	border: 1px solid var(--svh-line);
	border-radius: 14px;
	background: var(--svh-white);
	box-shadow: 0 6px 22px rgba(27, 33, 28, 0.07);
}

.svh-search:focus-within {
	outline: 3px solid var(--svh-accent);
	outline-offset: 2px;
}

.svh-search .svh-icon {
	color: var(--svh-muted-2);
}

.svh-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--svh-ink);
	font-family: var(--svh-body);
	font-size: 18px;
}

.svh-search input[type="search"]:focus {
	outline: none;
}

.svh-search__kraj {
	display: none;
}

.svh-search .svh-btn {
	flex-shrink: 0;
	padding: 0 16px;
}

.svh-tip {
	position: relative;
	display: block;
	height: 300px;
	margin-top: 24px;
	overflow: hidden;
	border-radius: 20px;
	background: var(--svh-ph);
	color: var(--svh-ink) !important;
	text-decoration: none;
}

.svh-tip img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.svh-tip__box {
	position: absolute;
	right: 12px;
	bottom: 12px;
	left: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	border-radius: 14px;
	background: var(--svh-white);
}

.svh-tip__label {
	color: var(--svh-accent-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.svh-tip__title {
	font-family: var(--svh-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
}

.svh-tip__meta {
	color: var(--svh-muted-2);
	font-size: 15px;
}

/* ---------- Karty: akce a sezónní výběr ----------
   Mobil: první článek velký, další jako kompaktní řádky (nic se neschovává mimo obrazovku).
   Tablet: mřížka 2 sloupce, desktop: 4 sloupce. */

.svh-cards {
	display: flex;
	flex-direction: column;
}

.svh-card > a {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: var(--svh-ink);
	text-decoration: none;
}

.svh-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.svh-card__img {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 14px;
	background: var(--svh-ph);
}

.svh-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.svh-card__title {
	font-size: 22px;
	line-height: 1.25;
}

.svh-card > a:hover .svh-card__title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.svh-card__excerpt {
	display: none;
	color: var(--svh-muted);
	font-size: 16px;
	line-height: 1.55;
}

.svh-card:first-child .svh-card__excerpt {
	display: block;
}

.svh-card:first-child > a {
	padding-bottom: 16px;
}

/* Další karty na mobilu jako řádky s malým náhledem. */
.svh-card + .svh-card > a {
	flex-direction: row;
	align-items: center;
	gap: 14px;
	padding-block: 12px;
	border-top: 1px solid var(--svh-line);
}

.svh-card + .svh-card .svh-card__img {
	flex: 0 0 96px;
	width: 96px;
	height: 72px;
	aspect-ratio: auto;
	border-radius: 10px;
}

.svh-card + .svh-card .svh-card__title {
	font-size: 18px;
}

@media (min-width: 600px) {
	.svh-cards {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 24px;
	}

	.svh-card:first-child > a {
		padding-bottom: 0;
	}

	.svh-card + .svh-card > a {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding-block: 0;
		border-top: 0;
	}

	.svh-card + .svh-card .svh-card__img {
		flex: none;
		width: auto;
		height: auto;
		aspect-ratio: 3 / 2;
		border-radius: 14px;
	}

	.svh-card + .svh-card .svh-card__title {
		font-size: 21px;
	}

	.svh-card__excerpt,
	.svh-card:first-child .svh-card__excerpt {
		display: block;
	}
}

/* ---------- Kraje ---------- */

.svh-kraje {
	padding-block: 40px;
	background: var(--svh-forest-soft);
}

.svh-kraje__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 20px;
}

.svh-kraje__intro p {
	color: #3E463C;
}

.svh-kraj-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.svh-kraj {
	display: flex;
	align-items: center;
	height: 100%;
	min-height: 52px;
	padding: 8px 14px;
	border-radius: 10px;
	background: var(--svh-white);
	color: var(--svh-ink) !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.svh-kraj:hover {
	box-shadow: inset 0 0 0 2px var(--svh-forest);
}

/* ---------- Témata ---------- */

.svh-cats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.svh-cat {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	height: 100%;
	min-height: 118px;
	padding: 16px;
	border-radius: 16px;
	color: var(--svh-ink) !important;
	text-decoration: none;
}

.svh-cat:hover {
	box-shadow: inset 0 0 0 2px rgba(27, 33, 28, 0.35);
}

.svh-cat__name {
	font-family: var(--svh-display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.15;
}

.svh-cat__desc {
	color: #3E463C;
	font-size: 14px;
	line-height: 1.35;
}

/* ---------- Akce + nejnovější ---------- */

.svh-duo {
	display: grid;
	gap: 44px;
	padding-bottom: 44px;
}

.svh-events {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 26px 22px;
	border-radius: 20px;
	background: var(--svh-forest);
	color: #FFFFFF;
}

.svh-events .svh-h2 {
	color: #FFFFFF;
	font-size: clamp(24px, 2.6vw, 34px);
}

.svh-eyebrow--light {
	margin-bottom: 0 !important;
	color: #F3C9A8;
}

.svh-events__body {
	margin-top: 6px !important;
	color: #DCE7DF;
}

.svh-events__body a,
.svh-events__body a:hover {
	color: #FFFFFF;
}

.svh-events__body ul li {
	padding-block: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.svh-widget__title {
	margin-bottom: 8px !important;
	color: #FFFFFF;
	font-weight: 700;
}

.svh .svh-events__more {
	align-self: flex-start;
	margin-top: 8px;
	padding-block: 10px;
	color: #FFFFFF;
	font-weight: 700;
}

.svh-row > a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-block: 12px;
	border-top: 1px solid var(--svh-line);
	color: var(--svh-ink);
	text-decoration: none;
}

.svh-row__img {
	display: block;
	flex: 0 0 96px;
	height: 72px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--svh-ph);
}

.svh-row__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.svh-row__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.svh-row__title {
	font-size: 18px;
	line-height: 1.25;
}

.svh-row > a:hover .svh-row__title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Newsletter ---------- */

.svh-news {
	display: grid;
	gap: 16px;
	margin-bottom: 44px;
	padding: 26px 22px;
	border-radius: 20px;
	background: var(--svh-sand);
}

.svh-news .svh-h2 {
	font-size: clamp(24px, 2.4vw, 34px);
}

.svh-news p {
	margin-top: 8px !important;
	color: #4A4238;
}

/* ---------- O webu + FAQ ---------- */

.svh-about {
	display: grid;
	gap: 40px;
	padding-top: 0;
}

.svh-about p {
	margin-top: 14px !important;
	color: #3E463C;
	line-height: 1.7;
}

.svh-faq .svh-h2 {
	margin-bottom: 8px;
}

.svh-faq details {
	border-top: 1px solid var(--svh-line);
}

.svh-faq details:last-child {
	border-bottom: 1px solid var(--svh-line);
}

.svh-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
	padding-block: 12px;
	font-size: 18px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.svh-faq summary::-webkit-details-marker {
	display: none;
}

.svh-faq summary::after {
	content: "+";
	flex-shrink: 0;
	color: var(--svh-forest);
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

.svh-faq details[open] summary::after {
	content: "\2013";
}

.svh-faq details p {
	margin: 0 0 16px !important;
	font-size: 17px;
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (min-width: 768px) {
	.svh {
		--svh-gutter: 32px;
	}

	.svh-chips {
		flex-wrap: wrap;
		margin-inline: 0 !important;
		padding-inline: 0 !important;
		overflow: visible;
	}

	.svh-search__kraj {
		display: block;
		height: 48px;
		margin: 0;
		padding: 0 12px;
		border: 0;
		border-left: 1px solid var(--svh-line);
		border-radius: 0;
		background: transparent;
		color: var(--svh-ink);
		font-family: var(--svh-body);
		font-size: 16px;
	}

	.svh-search .svh-btn {
		padding: 0 24px;
	}

	.svh-tip {
		height: 380px;
	}

	.svh-kraj-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.svh-cats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.svh-news {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: 40px;
		padding: 40px 44px;
	}
}

/* ==========================================================================
   Desktop
   ========================================================================== */

@media (min-width: 1024px) {
	.svh-section {
		padding-block: 80px;
	}

	.svh-hero {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		align-items: center;
		gap: 56px;
		padding-block: 56px 64px;
	}

	.svh-eyebrow {
		font-size: 14px;
	}

	.svh-lead {
		margin-top: 20px !important;
	}

	.svh-search {
		margin-top: 32px;
		padding: 8px 8px 8px 16px;
		border-radius: 16px;
	}

	.svh-search input[type="search"],
	.svh-search__kraj,
	.svh-search .svh-btn {
		height: 52px;
	}

	.svh-chips {
		margin-top: 18px !important;
	}

	.svh-tip {
		height: 480px;
		margin-top: 0;
		border-radius: 24px;
	}

	.svh-tip__box {
		right: 20px;
		bottom: 20px;
		left: 20px;
		padding: 22px 24px;
		border-radius: 16px;
	}

	.svh-tip__label {
		font-size: 13px;
	}

	.svh-tip__title {
		font-size: 25px;
	}

	.svh-hero + .svh-section {
		padding-top: 16px;
	}

	.svh-head {
		margin-bottom: 32px;
	}

	.svh-cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 28px;
	}

	.svh-card__title,
	.svh-card + .svh-card .svh-card__title {
		font-size: 22px;
	}

	.svh-events-section + .svh-section {
		padding-top: 0;
	}

	.svh-kraje {
		padding-block: 72px;
	}

	.svh-kraje__grid {
		display: grid;
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: 56px;
	}

	.svh-kraje__intro {
		gap: 16px;
		margin-bottom: 0;
	}

	.svh-kraj {
		padding-inline: 18px;
		font-size: 17px;
	}

	.svh-cats {
		gap: 20px;
	}

	.svh-cat {
		min-height: 168px;
		padding: 24px;
		border-radius: 18px;
	}

	.svh-cat__name {
		font-size: 26px;
	}

	.svh-cat__desc {
		font-size: 16px;
	}

	.svh-duo {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: start;
		gap: 48px;
		padding-bottom: 80px;
	}

	.svh-events {
		padding: 36px;
		border-radius: 24px;
	}

	.svh-row > a {
		gap: 20px;
		padding-block: 14px;
	}

	.svh-row__img {
		flex-basis: 132px;
		height: 88px;
		border-radius: 12px;
	}

	.svh-row__title {
		font-size: 21px;
	}

	.svh-news {
		margin-bottom: 88px;
		border-radius: 24px;
	}

	.svh-about {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 72px;
		padding-top: 0;
		padding-bottom: 96px;
	}

	.svh-faq summary {
		font-size: 19px;
	}
}
