.vdh-seasons {
	--vdh-green: #204d35;
	--vdh-green-dark: #143524;
	--vdh-cream: #f6f3ea;
	--vdh-text: #1f2a23;
	--vdh-muted: #667067;
	color: var(--vdh-text);
	margin: 0 auto 2rem;
}

.vdh-seasons-date {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .8rem;
	box-sizing: border-box;
	width: 100vw;
	min-height: 46px;
	margin: 0 0 1.25rem calc(50% - 50vw);
	padding: .6rem 1rem;
	border-top: 1px solid rgba(214, 178, 110, .5);
	border-bottom: 1px solid rgba(214, 178, 110, .72);
	background: var(--vdh-cream);
	font-size: 1.18rem;
	color: var(--vdh-muted);
}

.vdh-seasons-date span {
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 1rem;
	font-weight: 900;
	color: var(--vdh-green-dark);
}

.vdh-seasons-date span i {
	margin-right: .25rem;
	font-style: normal;
}

.vdh-seasons-date strong {
	color: var(--vdh-muted);
	font-size: 1rem;
	font-weight: 800;
}

.vdh-seasons-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.vdh-season-group + .vdh-season-group {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(32, 77, 53, .16);
}

.vdh-season-group-heading {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.25rem;
}

.vdh-season-group-heading h2 {
	flex: 0 0 auto;
	margin: 0;
	color: var(--vdh-green-dark);
	font-size: clamp(1.35rem, 1.8vw, 1.75rem);
	font-weight: 800;
	letter-spacing: .055em;
	line-height: 1.15;
	text-transform: uppercase;
}

.vdh-season-group-heading span {
	width: 100%;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, #d6b26e, rgba(214, 178, 110, 0));
}

.vdh-season-card {
	background: #fff;
	border: 1px solid rgba(32, 77, 53, .14);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 7px 24px rgba(20, 53, 36, .08);
	transition: transform .2s ease, box-shadow .2s ease;
}

.vdh-season-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(20, 53, 36, .14);
}

.vdh-season-card summary {
	cursor: pointer;
	list-style: none;
}

.vdh-season-card summary::-webkit-details-marker { display: none; }

.vdh-season-image {
	aspect-ratio: 16 / 9;
	background: radial-gradient(circle at 30% 20%, #5f805f, var(--vdh-green-dark));
	overflow: hidden;
}

.vdh-season-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vdh-season-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: rgba(255, 255, 255, .5);
	font-size: 2rem;
}

.vdh-season-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: .6rem 1rem;
	min-height: 3.4rem;
}

.vdh-season-title h2 {
	flex: 1 1 auto;
	min-width: 0;
	font-size: clamp(1.23rem, 1.32vw, 1.59rem);
	line-height: 1.1;
	margin: 0;
	color: var(--vdh-green-dark);
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
	text-wrap: balance;
}

@media (min-width: 1025px) {
	.vdh-season-group-heading h2 {
		font-size: clamp(1.28rem, 1.65vw, 1.65rem);
		font-weight: 700;
		letter-spacing: .07em;
	}

	.vdh-season-title {
		min-height: 2.7rem;
		padding: .4rem .9rem;
	}

	.vdh-season-title h2 {
		font-size: clamp(1.11rem, 1.19vw, 1.43rem);
		font-weight: 700;
	}
}

.vdh-season-chevron {
	position: relative;
	flex: 0 0 1.25rem;
	width: 1.25rem;
	height: .8rem;
	margin: 0 .3rem 0 .2rem;
	transition: transform .2s ease;
}

.vdh-season-chevron::before,
.vdh-season-chevron::after {
	position: absolute;
	top: .08rem;
	width: .8rem;
	height: 3px;
	border-radius: 999px;
	background: var(--vdh-green);
	content: '';
}

.vdh-season-chevron::before {
	left: 0;
	transform: rotate(42deg);
	transform-origin: left center;
}

.vdh-season-chevron::after {
	right: 0;
	transform: rotate(-42deg);
	transform-origin: right center;
}

.vdh-season-card[open] .vdh-season-chevron {
	transform: rotate(180deg);
}

.vdh-season-details {
	padding: 0 1rem 1rem;
	border-top: 1px solid rgba(32, 77, 53, .12);
}

.vdh-season-details h3 {
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: .075em;
	text-transform: uppercase;
	margin: 1rem 0 .8rem;
	color: var(--vdh-green-dark);
}

.vdh-status-check {
	display: inline-block;
	margin-left: .28rem;
	color: #68a77a;
	font-size: 1.08em;
	font-weight: 800;
	line-height: 1;
}

.vdh-season-details ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vdh-season-details li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .3rem;
	padding: .7rem 0;
	border-bottom: 1px solid rgba(32, 77, 53, .09);
}

.vdh-season-details li strong {
	font-size: 1rem;
	font-weight: 800;
	color: var(--vdh-text);
	text-transform: uppercase;
}

.vdh-season-period {
	display: inline-block;
	padding: .34rem .58rem;
	border-radius: 7px;
	background: var(--vdh-cream);
	color: var(--vdh-green-dark);
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.25;
}

.vdh-season-period--all-year {
	letter-spacing: .04em;
	text-transform: uppercase;
}

.vdh-season-note {
	font-size: .78rem;
	line-height: 1.45;
	color: var(--vdh-muted);
	background: var(--vdh-cream);
	padding: .65rem;
	border-radius: 8px;
}

.vdh-seasons-disclaimer {
	margin-top: 2rem;
	padding: 1rem 1.2rem;
	border-left: 4px solid var(--vdh-green);
	background: var(--vdh-cream);
	font-size: .82rem;
	line-height: 1.55;
}

.vdh-seasons-disclaimer p { margin: .25rem 0; }
.vdh-seasons-disclaimer a { color: var(--vdh-green); }
.vdh-seasons-empty, .vdh-seasons-error { text-align: center; padding: 2rem; }

.vdh-search {
	--vdh-green: #204d35;
	--vdh-green-dark: #143524;
	--vdh-gold: #d6b26e;
	--vdh-cream: #f6f3ea;
	--vdh-text: #1f2a23;
	--vdh-muted: #667067;
	color: var(--vdh-text);
	margin: 2rem auto;
}

.vdh-search-heading {
	margin: 0 0 1.25rem;
	text-align: center;
}

.vdh-search-heading h2 {
	margin: 0 0 .35rem;
	color: var(--vdh-green-dark);
	font-size: clamp(1.65rem, 2.5vw, 2.25rem);
	font-weight: 800;
	text-transform: uppercase;
}

.vdh-search-heading p {
	margin: 0;
	color: var(--vdh-muted);
}

.vdh-search-form {
	display: grid;
	grid-template-columns: auto minmax(260px, 1fr) auto;
	align-items: end;
	gap: 1rem;
	max-width: 960px;
	margin: 0 auto;
	padding: 1.15rem;
	border: 1px solid rgba(32, 77, 53, .15);
	border-top: 3px solid var(--vdh-gold);
	border-radius: 12px;
	background: var(--vdh-cream);
	box-shadow: 0 7px 24px rgba(20, 53, 36, .07);
}

.vdh-search-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-self: end;
	overflow: hidden;
	border: 1px solid rgba(32, 77, 53, .25);
	border-radius: 8px;
	background: #fff;
}

.vdh-search-tabs label { margin: 0; cursor: pointer; }
.vdh-search-tabs input { position: absolute; opacity: 0; pointer-events: none; }

.vdh-search-tabs span {
	display: block;
	padding: .72rem .9rem;
	color: var(--vdh-green-dark);
	font-size: .88rem;
	font-weight: 800;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
}

.vdh-search-tabs input:checked + span {
	background: var(--vdh-green-dark);
	color: #fff;
}

.vdh-search-fields,
.vdh-search-fields--range > div {
	display: grid;
	gap: .35rem;
}

.vdh-search-fields[hidden] { display: none !important; }

.vdh-search-fields--range {
	grid-template-columns: 1fr 1fr;
	gap: .75rem;
}

.vdh-search-fields label {
	margin: 0;
	color: var(--vdh-green-dark);
	font-size: .77rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.vdh-date-control {
	position: relative;
	display: flex;
	width: 100%;
}

.vdh-search-fields .vdh-date-text {
	width: 100%;
	min-height: 42px;
	margin: 0;
	padding: .55rem 3.25rem .55rem .7rem;
	border: 1px solid rgba(32, 77, 53, .28);
	border-radius: 7px;
	background: #fff;
	color: var(--vdh-text);
	font: inherit;
}

.vdh-date-picker-button {
	position: absolute;
	right: 0;
	bottom: 0;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid rgba(32, 77, 53, .18);
	border-radius: 0 7px 7px 0;
	background: transparent;
	color: var(--vdh-green-dark);
	cursor: pointer;
}

.vdh-date-picker-button span {
	position: relative;
	display: block;
	box-sizing: border-box;
	width: 17px;
	height: 16px;
	border: 2px solid currentColor;
	border-radius: 3px;
}

.vdh-date-picker-button span::before {
	position: absolute;
	top: 3px;
	left: -2px;
	width: 17px;
	height: 2px;
	background: currentColor;
	content: '';
}

.vdh-date-native {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
	width: 42px !important;
	height: 42px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.vdh-search-form > button[type="submit"] {
	min-height: 42px;
	margin: 0;
	padding: .65rem 1.1rem;
	border: 0;
	border-radius: 7px;
	background: var(--vdh-green-dark);
	color: #fff;
	font-size: .86rem;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}

.vdh-search-form > button[type="submit"]:hover,
.vdh-search-form > button[type="submit"]:focus-visible { background: var(--vdh-green); }

.vdh-date-text:focus,
.vdh-date-picker-button:focus-visible {
	outline: 2px solid var(--vdh-gold);
	outline-offset: 2px;
}

.vdh-search-results { scroll-margin-top: 1rem; }
.vdh-seasons--search { margin-top: 2rem; }

.vdh-search-result-heading {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: .65rem;
	margin: 0 0 1.75rem;
	text-align: center;
}

.vdh-search-result-heading span {
	color: var(--vdh-muted);
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.vdh-search-result-heading strong { color: var(--vdh-green-dark); }

.vdh-season-overlap {
	display: block;
	color: var(--vdh-muted);
	font-size: .85rem;
	font-weight: 600;
	line-height: 1.4;
}

.vdh-season-overlap b { color: var(--vdh-green-dark); }

@media (max-width: 1024px) {
	.vdh-seasons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.vdh-season-title { min-height: 2.7rem; padding: .4rem .9rem; }
}

@media (max-width: 720px) {
	.vdh-seasons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
	.vdh-season-group + .vdh-season-group { margin-top: 2.25rem; padding-top: 1.5rem; }
	.vdh-season-group-heading { gap: .7rem; margin-bottom: 1rem; }
	.vdh-season-group-heading h2 { font-size: 1.15rem; letter-spacing: .04em; }
	.vdh-season-group-heading span { height: 2px; }
	.vdh-season-title { padding: .4rem .9rem; min-height: 2.7rem; }
	.vdh-season-title h2 { font-size: clamp(1.36rem, 5.95vw, 1.7rem); letter-spacing: 0; }
	.vdh-season-chevron { flex-basis: 1.1rem; width: 1.1rem; height: .72rem; margin-right: .15rem; }
	.vdh-season-chevron::before, .vdh-season-chevron::after { width: .7rem; height: 3px; }
	.vdh-season-details { padding: 0 .8rem .8rem; }
	.vdh-season-details h3 { font-size: .95rem; }
	.vdh-season-details li strong { font-size: .95rem; }
	.vdh-season-period { font-size: .95rem; }
	.vdh-seasons-date {
		min-height: 42px;
		gap: .45rem;
		padding: .55rem .75rem;
		font-size: 1rem;
		flex-wrap: wrap;
	}
	.vdh-seasons-date span,
	.vdh-seasons-date strong { font-size: .9rem; }
	.vdh-search { margin-top: 1.25rem; }
	.vdh-search-heading h2 { font-size: 1.5rem; }
	.vdh-search-form { grid-template-columns: 1fr; gap: .85rem; padding: .9rem; }
	.vdh-search-fields--range { grid-template-columns: 1fr; }
	.vdh-search-form > button[type="submit"] { width: 100%; white-space: normal; }
	.vdh-search-result-heading { flex-direction: column; align-items: center; gap: .2rem; }
}

@media (max-width: 600px) {
	.vdh-seasons-grid { grid-template-columns: 1fr; }
}

/* Globális felület: témaváltó és oldal tetejére gomb. */
.vdh-theme-menu-item {
	display: flex;
	align-items: center;
}

.vdh-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .42rem;
	min-height: 34px;
	margin: 0;
	padding: .38rem .42rem;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: rgba(255, 255, 255, .78);
	font: inherit;
	font-size: .84rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.vdh-theme-toggle:hover,
.vdh-theme-toggle:focus-visible {
	color: #fff;
	background: transparent;
}

.vdh-theme-toggle:focus-visible {
	outline: 2px solid #e1bd75;
	outline-offset: 2px;
}

.vdh-theme-toggle-icon {
	display: inline-grid;
	place-items: center;
	width: 1.2rem;
	height: 1.2rem;
	line-height: 1;
}

.vdh-theme-icon {
	display: none;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vdh-theme-icon--moon { display: block; }

.vdh-theme-icon--sun circle {
	fill: currentColor;
	stroke: none;
}

html[data-vdh-theme="dark"] .vdh-theme-icon--moon { display: none; }
html[data-vdh-theme="dark"] .vdh-theme-icon--sun { display: block; }

@media (min-width: 1025px) {
	.vdh-theme-menu-item .vdh-theme-toggle {
		width: 28px;
		min-width: 28px;
		padding-right: 0;
		padding-left: 0;
	}

	.vdh-theme-menu-item .vdh-theme-toggle-label {
		display: none;
	}
}

.vdh-interface-fallback {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: calc(4.2rem + env(safe-area-inset-bottom));
	z-index: 9997;
}

.vdh-interface-fallback .vdh-theme-toggle {
	width: 32px;
	height: 32px;
	min-height: 32px;
	padding: 0;
	background: transparent;
	color: #5f6862;
	filter: drop-shadow(0 1px 2px rgba(255, 255, 255, .75));
}

.vdh-interface-fallback .vdh-theme-toggle-label { display: none; }

.vdh-back-to-top {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: calc(1rem + env(safe-area-inset-bottom));
	z-index: 9997;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(214, 178, 110, .9);
	border-radius: 50%;
	background: rgba(20, 53, 36, .94);
	color: #fff;
	box-shadow: 0 5px 18px rgba(0, 0, 0, .2);
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity .22s ease, transform .22s ease, background-color .2s ease;
	cursor: pointer;
}

.vdh-back-to-top.is-visible {
	opacity: .88;
	pointer-events: auto;
	transform: translateY(0);
}

.vdh-back-to-top:hover,
.vdh-back-to-top:focus-visible {
	background: #204d35;
	opacity: 1;
}

.vdh-back-to-top:focus-visible {
	outline: 2px solid #e1bd75;
	outline-offset: 2px;
}

.vdh-back-to-top span {
	position: relative;
	display: block;
	width: 14px;
	height: 14px;
	border-top: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: translateY(3px) rotate(45deg);
}

/* Sötét mód: a teljes tartalmi felület és a bővítmény elemei együtt váltanak. */
html[data-vdh-theme="dark"] {
	color-scheme: dark;
}

html[data-vdh-theme="dark"] body,
html[data-vdh-theme="dark"] .site,
html[data-vdh-theme="dark"] .site-content,
html[data-vdh-theme="dark"] .content-area,
html[data-vdh-theme="dark"] .content-bg,
html[data-vdh-theme="dark"] .entry-content-wrap,
html[data-vdh-theme="dark"] .wp-site-blocks {
	background-color: #0f1712;
	color: #eeeae0;
}

html[data-vdh-theme="dark"] .site-main-header-wrap .site-header-row-container-inner,
html[data-vdh-theme="dark"] .site-header-upper-wrap .site-header-row-container-inner,
html[data-vdh-theme="dark"] .site-header-lower-wrap .site-header-row-container-inner {
	border-color: rgba(214, 178, 110, .22);
}

html[data-vdh-theme="dark"] .site-title,
html[data-vdh-theme="dark"] .site-title a,
html[data-vdh-theme="dark"] .entry-title,
html[data-vdh-theme="dark"] .entry-content h1,
html[data-vdh-theme="dark"] .entry-content h2,
html[data-vdh-theme="dark"] .entry-content h3,
html[data-vdh-theme="dark"] .entry-content h4,
html[data-vdh-theme="dark"] .entry-content h5,
html[data-vdh-theme="dark"] .entry-content h6 {
	color: #f4efe5;
}

html[data-vdh-theme="dark"] .site-footer-wrap,
html[data-vdh-theme="dark"] .site-footer-row-container-inner {
	background: #111e16;
	color: #d9d5ca;
}

html[data-vdh-theme="dark"] .vdh-seasons,
html[data-vdh-theme="dark"] .vdh-search {
	--vdh-green: #7fa58b;
	--vdh-green-dark: #e4c47e;
	--vdh-cream: #1b261f;
	--vdh-text: #f2eee5;
	--vdh-muted: #b8bdb6;
}

html[data-vdh-theme="dark"] .vdh-seasons-date,
html[data-vdh-theme="dark"] .vdh-search-form,
html[data-vdh-theme="dark"] .vdh-season-note,
html[data-vdh-theme="dark"] .vdh-seasons-disclaimer {
	background: #19231d;
	border-color: rgba(214, 178, 110, .45);
}

html[data-vdh-theme="dark"] .vdh-season-card {
	background: #17221b;
	border-color: rgba(214, 178, 110, .2);
	box-shadow: 0 7px 24px rgba(0, 0, 0, .22);
}

html[data-vdh-theme="dark"] .vdh-season-card:hover {
	box-shadow: 0 12px 30px rgba(0, 0, 0, .34);
}

html[data-vdh-theme="dark"] .vdh-season-title h2,
html[data-vdh-theme="dark"] .vdh-season-details h3,
html[data-vdh-theme="dark"] .vdh-season-details li strong,
html[data-vdh-theme="dark"] .vdh-season-group-heading h2,
html[data-vdh-theme="dark"] .vdh-seasons-date strong,
html[data-vdh-theme="dark"] .vdh-search-heading h2,
html[data-vdh-theme="dark"] .vdh-search-fields label,
html[data-vdh-theme="dark"] .vdh-search-result-heading strong,
html[data-vdh-theme="dark"] .vdh-season-overlap b {
	color: #e4c47e;
}

html[data-vdh-theme="dark"] .vdh-status-check {
	color: #86c397;
}

html[data-vdh-theme="dark"] .vdh-interface-fallback .vdh-theme-toggle {
	color: #d6d4ce;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .75));
}

html[data-vdh-theme="dark"] .vdh-season-details,
html[data-vdh-theme="dark"] .vdh-season-details li,
html[data-vdh-theme="dark"] .vdh-season-group + .vdh-season-group {
	border-color: rgba(214, 178, 110, .16);
}

html[data-vdh-theme="dark"] .vdh-season-chevron::before,
html[data-vdh-theme="dark"] .vdh-season-chevron::after {
	background: #e4c47e;
}

html[data-vdh-theme="dark"] .vdh-season-period {
	background: #26342b;
	color: #f2d698;
}

html[data-vdh-theme="dark"] .vdh-search-tabs,
html[data-vdh-theme="dark"] .vdh-search-fields .vdh-date-text {
	border-color: rgba(214, 178, 110, .3);
	background: #101913;
	color: #f2eee5;
}

html[data-vdh-theme="dark"] .vdh-search-tabs input:checked + span,
html[data-vdh-theme="dark"] .vdh-search-form > button[type="submit"] {
	background: #d6b26e;
	color: #142118;
}

html[data-vdh-theme="dark"] .vdh-date-picker-button {
	color: #e4c47e;
	border-color: rgba(214, 178, 110, .24);
}

@media (max-width: 1024px) {
	.vdh-theme-menu-item { padding: .45rem 0; }
	.vdh-theme-toggle { min-height: 38px; }
}

@media (max-width: 720px) {
	.vdh-back-to-top {
		width: 38px;
		height: 38px;
	}

	.vdh-interface-fallback {
		bottom: calc(3.95rem + env(safe-area-inset-bottom));
	}

	.vdh-interface-fallback .vdh-theme-toggle {
		width: 32px;
		height: 32px;
		min-height: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vdh-back-to-top,
	.vdh-theme-toggle { transition: none; }
}

@media (max-width: 410px) {
	.vdh-seasons-date {
		align-items: center;
		flex-direction: column;
		gap: .1rem;
		white-space: normal;
	}
	.vdh-seasons-date span i { display: none; }
}
