/*
 * Treffpunkt Venezia — Theme-Styles (klassisches Theme)
 *
 * Token-Variablen kommen aus theme.json (--wp--preset--color--*, --wp--preset--spacing--*).
 * BEM-Konvention: tv-block__element--modifier
 */

/* === Reset & Base ============================================== */

:where(html) {
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}

:where(body) {
	min-height: 100vh;
	min-height: 100svh;
	margin: 0;
	font-family: var(--wp--preset--font-family--inter);
	color: var(--wp--preset--color--foreground);
	background: var(--wp--preset--color--background);
	line-height: 1.65;
}

:where(img, video, picture, svg) {
	max-width: 100%;
	height: auto;
	display: block;
}

:where(:focus-visible) {
	outline: 2px solid var(--wp--preset--color--secondary);
	outline-offset: 2px;
}

:where(a) {
	color: var(--wp--preset--color--primary);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

:where(a:hover, a:focus) {
	color: var(--wp--preset--color--primary-dark);
}

:where(h1, h2, h3, h4, h5, h6) {
	color: var(--wp--preset--color--primary-dark);
	line-height: 1.25;
	margin-block: 0 0.5em;
	font-weight: 700;
}

:where(h1) { font-size: var(--wp--preset--font-size--display); letter-spacing: -0.01em; line-height: 1.15; }
:where(h2) { font-size: var(--wp--preset--font-size--xxl); }
:where(h3) { font-size: var(--wp--preset--font-size--xl); font-weight: 600; }
:where(h4) { font-size: var(--wp--preset--font-size--lg); font-weight: 600; }

.screen-reader-text {
	border: 0;
	clip: rect(1px,1px,1px,1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* === Container ================================================== */

.tv-container {
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 3rem);
}

/* === Skip-Link ================================================== */

.tv-skip-link {
	position: absolute;
	inset-inline-start: -9999px;
	top: 0;
	z-index: 999;
	padding: 0.75rem 1rem;
	background: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--background);
	text-decoration: none;
	font-weight: 600;
}

.tv-skip-link:focus {
	inset-inline-start: 0;
}

/* === Header ===================================================== */

.tv-header {
	background: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--neutral-100);
	border-block-end: 1px solid rgba(255, 255, 255, 0.1);
	position: sticky;
	top: 0;
	z-index: 50;
}

.tv-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--40);
	min-height: 64px;
	padding-block: 2px;
}

.tv-header__brand {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
}

.tv-header__title {
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
}

.tv-header__title:hover {
	color: var(--wp--preset--color--secondary);
}

.tv-header__tagline {
	margin: 0;
	font-size: var(--wp--preset--font-size--sm);
	color: rgba(255, 255, 255, 0.75);
}

.custom-logo {
	max-height: 64px;
	width: auto;
}

.tv-header__nav {
	flex: 0 1 auto;
}

/* === Burger-Toggle (Mobile) ===================================== */

.tv-header__toggle {
	display: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 0.5rem;
	width: 44px;
	height: 44px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	margin-inline-start: auto;
}

.tv-header__toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: #ffffff;
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.tv-header__toggle[aria-expanded="true"] .tv-header__toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.tv-header__toggle[aria-expanded="true"] .tv-header__toggle-bar:nth-child(2) {
	opacity: 0;
}

.tv-header__toggle[aria-expanded="true"] .tv-header__toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* === Menüs (Header + Footer) ==================================== */

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

.tv-menu--primary {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--40);
	align-items: center;
}

.tv-menu--primary > li > a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-weight: 500;
	padding-block: 0.5rem;
	display: inline-block;
	transition: color 0.15s ease;
}

.tv-menu--primary > li > a:hover,
.tv-menu--primary > li.current-menu-item > a {
	color: var(--wp--preset--color--secondary);
}

.tv-menu--primary .sub-menu {
	display: none;
	position: absolute;
	background: var(--wp--preset--color--background);
	border: 1px solid var(--wp--preset--color--neutral-300);
	border-radius: 8px;
	padding: var(--wp--preset--spacing--20);
	min-width: 200px;
	list-style: none;
	box-shadow: var(--wp--preset--shadow--card);
}

.tv-menu--primary li:hover > .sub-menu,
.tv-menu--primary li:focus-within > .sub-menu {
	display: block;
}

.tv-menu--primary .sub-menu a {
	display: block;
	padding: 0.4rem 0.6rem;
	color: var(--wp--preset--color--primary-dark);
	text-decoration: none;
	border-radius: 4px;
}

.tv-menu--primary .sub-menu a:hover {
	background: var(--wp--preset--color--neutral-100);
}

.tv-menu--footer {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: var(--wp--preset--font-size--sm);
}

.tv-menu--footer a {
	color: var(--wp--preset--color--neutral-100);
	text-decoration: none;
}

.tv-menu--footer a:hover {
	color: var(--wp--preset--color--secondary);
}

.tv-menu--fallback {
	color: var(--wp--preset--color--neutral-700);
	font-size: var(--wp--preset--font-size--sm);
}

/* === Main ======================================================= */

.tv-main {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
	min-height: 60vh;
}

/* === Card-Grid für Übersichten ================================== */

.tv-card-grid {
	display: grid;
	gap: var(--wp--preset--spacing--50);
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	margin-block: var(--wp--preset--spacing--50);
}

.tv-card {
	background: var(--wp--preset--color--background);
	border: 1px solid var(--wp--preset--color--neutral-300);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tv-card:hover {
	box-shadow: var(--wp--preset--shadow--lift);
	transform: translateY(-2px);
}

.tv-card__media img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
}

.tv-card__body {
	padding: var(--wp--preset--spacing--40);
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	flex: 1;
}

.tv-card__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--lg);
}

.tv-card__title a {
	color: var(--wp--preset--color--primary-dark);
	text-decoration: none;
}

.tv-card__title a:hover {
	color: var(--wp--preset--color--secondary-dark);
}

.tv-card__meta {
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--neutral-500);
}

.tv-card__excerpt {
	font-size: var(--wp--preset--font-size--base);
	color: var(--wp--preset--color--neutral-700);
}

/* === News-Highlight: sticky/zeitkritische Beiträge ============== */

.tv-card--highlight {
	position: relative;
	border-color: #a23838;
	border-width: 2px;
	box-shadow: 0 6px 24px rgba(162, 56, 56, 0.18);
	background: linear-gradient(180deg, #fef7f5 0%, #ffffff 35%);
}

.tv-card--highlight:hover {
	box-shadow: 0 10px 32px rgba(162, 56, 56, 0.25);
}

.tv-card__highlight-pill {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: inline-block;
	padding: 5px 12px;
	background: #a23838;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(162, 56, 56, 0.4);
}

.tv-card__highlight-bis {
	display: inline-block;
	margin-left: 10px;
	padding: 2px 8px;
	background: #fef0e6;
	color: #a23838;
	border: 1px solid #f0c4b8;
	border-radius: 4px;
	font-size: 0.78rem;
	font-weight: 600;
}

/* === Homepage-Banner für aktive Highlights ====================== */

.tv-news-highlight-banner {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 18px 0 26px;
}

.tv-news-highlight-banner__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 18px;
	background: linear-gradient(135deg, #a23838 0%, #c14747 100%);
	color: #fff;
	border-radius: 10px;
	text-decoration: none;
	box-shadow: 0 3px 12px rgba(162, 56, 56, 0.25);
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.tv-news-highlight-banner__item:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(162, 56, 56, 0.35);
	color: #fff;
}

.tv-news-highlight-banner__pill {
	flex-shrink: 0;
	padding: 4px 10px;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 4px;
}

.tv-news-highlight-banner__title {
	flex: 1;
	font-weight: 600;
	font-size: 0.98rem;
	line-height: 1.3;
}

.tv-news-highlight-banner__date {
	flex-shrink: 0;
	font-size: 0.85rem;
	opacity: 0.9;
	font-weight: 500;
}

@media (max-width: 640px) {
	.tv-news-highlight-banner__item {
		padding: 10px 14px;
		gap: 10px;
	}

	.tv-news-highlight-banner__title {
		font-size: 0.9rem;
	}

	.tv-card__highlight-pill {
		top: 10px;
		right: 10px;
		padding: 4px 10px;
		font-size: 0.68rem;
	}
}

.tv-card__more {
	margin-block-start: auto;
	color: var(--wp--preset--color--primary);
	font-weight: 500;
	text-decoration: none;
}

/* === Page + Single ============================================== */

.tv-page {
	max-width: 1100px;
	margin-inline: auto;
}

.tv-single {
	max-width: 1100px;
	margin-inline: auto;
}

/* Innerhalb Pillar-Pages: alle Elemente nutzen volle Container-Breite parallel zur CTA-Box */
.tv-page__content > * {
	max-width: 100%;
}

/* Single-Post-Content: alles 100% Container-Breite, kein zweispaltiges Layout */
.tv-single__content,
.tv-single__content > * {
	max-width: 100%;
}

/* Single-Post-Featured-Image: volle Breite */
.tv-single__thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.tv-page__header,
.tv-single__header {
	margin-block-end: var(--wp--preset--spacing--50);
}

.tv-page__thumbnail,
.tv-single__thumbnail {
	margin: 0 0 var(--wp--preset--spacing--50);
	border-radius: 12px;
	overflow: hidden;
}

.tv-single__meta {
	margin-block-start: var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--neutral-500);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.tv-single__nav {
	display: flex;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--50);
	margin-block-start: var(--wp--preset--spacing--60);
	padding-block-start: var(--wp--preset--spacing--50);
	border-block-start: 1px solid var(--wp--preset--color--neutral-300);
}

/* === Destinations-Hub Cards (Bibione, Jesolo etc.) ============== */

.tv-hub-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin: 28px 0 36px;
}

.tv-hub-card {
	position: relative;
	display: block;
	padding: 24px 28px 56px 26px;
	background: linear-gradient(135deg, #ffffff 0%, #f5f7f9 100%);
	border: 1px solid #e5e8ec;
	border-left: 4px solid #1a4d6e;
	border-radius: 12px;
	text-decoration: none !important;
	color: #1a1a1a;
	box-shadow: 0 1px 4px rgba(26, 77, 110, 0.05);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	overflow: hidden;
}

.tv-hub-card:hover,
.tv-hub-card:focus {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(26, 77, 110, 0.16);
	border-left-color: #c9941e;
}

.tv-hub-card::after {
	content: "→";
	position: absolute;
	right: 22px;
	bottom: 18px;
	color: #1a4d6e;
	font-size: 22px;
	font-weight: 700;
	transition: right 0.25s ease, color 0.25s ease;
	line-height: 1;
}

.tv-hub-card:hover::after {
	right: 16px;
	color: #c9941e;
}

.tv-hub-card__icon {
	display: inline-block;
	font-size: 30px;
	line-height: 1;
	margin-bottom: 10px;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}

.tv-hub-card__title {
	color: #1a4d6e;
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.tv-hub-card__text {
	color: #4a5560;
	font-size: 0.95rem;
	margin: 0;
	line-height: 1.55;
	padding-right: 8px;
}

/* Akzent-Varianten je Sub-Bereich */
.tv-hub-card--markt   { border-left-color: #c9941e; }
.tv-hub-card--events  { border-left-color: #a23838; }
.tv-hub-card--konzert { border-left-color: #1a4d6e; }
.tv-hub-card--wetter  { border-left-color: #4a90a4; }

.tv-hub-card--markt::after   { color: #c9941e; }
.tv-hub-card--events::after  { color: #a23838; }
.tv-hub-card--konzert::after { color: #1a4d6e; }
.tv-hub-card--wetter::after  { color: #4a90a4; }

@media (max-width: 640px) {
	.tv-hub-cards {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.tv-hub-card {
		padding: 20px 22px 50px 22px;
	}
}

/* === Persona-Grid (für Adria-Sammelseite und Vergleichs-Pages) ==== */

.tv-persona-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
	margin: 28px 0 36px;
}

.tv-persona {
	padding: 22px 24px;
	background: #fafbfc;
	border: 1px solid #e5e8ec;
	border-top: 4px solid #1a4d6e;
	border-radius: 10px;
}

.tv-persona h3 {
	margin: 0 0 10px;
	font-size: 1.05rem;
	color: #1a4d6e;
	line-height: 1.3;
}

.tv-persona p {
	margin: 0 0 10px;
	font-size: 0.95rem;
	line-height: 1.55;
}

.tv-persona p:last-child {
	margin-bottom: 0;
}

.tv-persona strong {
	color: #a23838;
}

/* === Vergleichs-Tabelle für Sammelseite ============================ */

.tv-fakten-tabelle--compare {
	font-size: 0.95rem;
}

.tv-fakten-tabelle--compare thead th {
	background: #1a4d6e;
	color: #fff;
	font-weight: 600;
	text-align: left;
}

.tv-fakten-tabelle--compare tbody tr:nth-child(even) td {
	background: #f5f7f9;
}

.tv-fakten-tabelle--compare th,
.tv-fakten-tabelle--compare td {
	vertical-align: top;
}

@media (max-width: 640px) {
	.tv-persona-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.tv-fakten-tabelle--compare {
		font-size: 0.88rem;
	}
}

.tv-single__nav a {
	display: flex;
	flex-direction: column;
	color: var(--wp--preset--color--primary-dark);
	text-decoration: none;
	font-weight: 500;
}

.tv-single__nav-label {
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--neutral-500);
	font-weight: 400;
}

/* === Search ===================================================== */

.tv-search {
	display: flex;
	gap: 0.5rem;
	max-width: 520px;
}

.tv-search__input {
	flex: 1;
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--wp--preset--color--neutral-300);
	border-radius: 8px;
	font: inherit;
}

.tv-search__submit {
	padding: 0.6rem 1.2rem;
	background: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--neutral-900);
	border: 0;
	border-radius: 8px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.tv-search__submit:hover {
	background: var(--wp--preset--color--secondary-dark);
	color: var(--wp--preset--color--background);
}

/* === Pagination ================================================= */

.wp-block-query-pagination,
.tv-card-grid + .pagination,
.navigation.pagination {
	display: flex;
	gap: var(--wp--preset--spacing--30);
	justify-content: center;
	margin-block: var(--wp--preset--spacing--60);
}

.pagination .page-numbers {
	padding: 0.4rem 0.8rem;
	border-radius: 6px;
	text-decoration: none;
	color: var(--wp--preset--color--primary-dark);
	border: 1px solid var(--wp--preset--color--neutral-300);
}

.pagination .page-numbers.current {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
	border-color: var(--wp--preset--color--primary);
}

/* === 404 ======================================================== */

.tv-404 {
	text-align: center;
	padding-block: var(--wp--preset--spacing--70);
	max-width: 600px;
	margin-inline: auto;
}

.tv-404__title {
	font-size: var(--wp--preset--font-size--xxl);
}

.tv-404__lead {
	color: var(--wp--preset--color--neutral-700);
	margin-block-end: var(--wp--preset--spacing--50);
}

.tv-404__search {
	display: flex;
	justify-content: center;
	margin-block-end: var(--wp--preset--spacing--50);
}

/* === Button-Stil (generisch) ==================================== */

.tv-button {
	display: inline-block;
	padding: 0.7rem 1.5rem;
	background: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--neutral-900);
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
}

.tv-button:hover {
	background: var(--wp--preset--color--secondary-dark);
	color: var(--wp--preset--color--background);
}

/* === SEO-Bausteine (Featured-Snippet, Decision-Matrix, FAQ) ===== */

.tv-featured-snippet {
	background: var(--wp--preset--color--neutral-100);
	border-inline-start: 4px solid var(--wp--preset--color--secondary);
	border-radius: 0 8px 8px 0;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	margin-block: var(--wp--preset--spacing--40);
}

.tv-featured-snippet p {
	margin: 0;
}

/* Tabellen-Scroll-Container — JS wickelt jede Tabelle hierein */
.tv-table-scroll,
.wp-block-table.tv-table-scroll {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-block: var(--wp--preset--spacing--50);
	border-radius: 12px;
	box-shadow: var(--wp--preset--shadow--card);
}

.tv-table-scroll table,
.wp-block-table.tv-table-scroll table {
	margin: 0;
	min-width: 100%;
}

/* Subtle Scroll-Indikator auf Mobile */
@media (max-width: 768px) {
	.tv-table-scroll {
		position: relative;
	}
	.tv-table-scroll::after {
		content: "← scrollen →";
		display: block;
		text-align: center;
		font-size: 0.7rem;
		color: var(--wp--preset--color--neutral-500);
		padding: 0.3rem 0;
		border-top: 1px dashed var(--wp--preset--color--neutral-300);
		background: var(--wp--preset--color--neutral-100);
	}
}

.tv-decision-matrix {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.tv-decision-matrix caption {
	caption-side: top;
	text-align: start;
	font-weight: 600;
	margin-block-end: var(--wp--preset--spacing--30);
}

.tv-decision-matrix th,
.tv-decision-matrix td {
	padding: var(--wp--preset--spacing--40);
	text-align: start;
	border-block-end: 1px solid var(--wp--preset--color--neutral-300);
}

.tv-decision-matrix thead {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
}

.tv-decision-matrix tbody tr:nth-child(even) {
	background: var(--wp--preset--color--neutral-100);
}

.tv-faq details {
	border-block-end: 1px solid var(--wp--preset--color--neutral-300);
	padding: var(--wp--preset--spacing--40) 0;
}

.tv-faq summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--wp--preset--color--primary-dark);
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
}

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

.tv-faq summary::after {
	content: "+";
	font-size: 1.25em;
	color: var(--wp--preset--color--secondary);
	transition: transform 0.2s ease;
}

.tv-faq details[open] summary::after {
	transform: rotate(45deg);
}

.tv-faq details > div {
	padding-block-start: var(--wp--preset--spacing--30);
}

.tv-facts {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	margin-block: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--neutral-100);
	border-radius: 8px;
}

.tv-facts dt {
	font-weight: 600;
	color: var(--wp--preset--color--primary-dark);
}

.tv-facts dd {
	margin: 0;
}

.tv-reisebuero-cta {
	background: linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary-dark) 100%);
	color: var(--wp--preset--color--background);
	padding: var(--wp--preset--spacing--60);
	border-radius: 16px;
	margin-block: var(--wp--preset--spacing--60);
}

.tv-reisebuero-cta h2,
.tv-reisebuero-cta h3 {
	color: var(--wp--preset--color--secondary);
	margin-block-start: 0;
}

/* === Affiliate-Disclosure (DACH-Pflichthinweis) ================== */

.tv-affiliate-disclosure {
	background: var(--wp--preset--color--neutral-100, #f5f5f5);
	border-inline-start: 4px solid var(--wp--preset--color--secondary, #c9941e);
	padding: var(--wp--preset--spacing--30, 0.75rem) var(--wp--preset--spacing--40, 1rem);
	border-radius: 0 8px 8px 0;
	margin-block: var(--wp--preset--spacing--40, 1rem);
	font-size: 0.88rem;
	color: var(--wp--preset--color--neutral-700, #404040);
}

.tv-affiliate-disclosure p {
	margin: 0;
}

.tv-affiliate-disclosure strong {
	color: var(--wp--preset--color--primary-dark, #0e3450);
}

/* === Footer ===================================================== */

.tv-footer {
	background: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--neutral-100);
	margin-block-start: var(--wp--preset--spacing--70);
}

.tv-footer__inner {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}

.tv-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--wp--preset--spacing--50);
}

.tv-footer__heading {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--md);
	margin-block: 0 0.6em;
}

.tv-footer__lead {
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--neutral-100);
	margin: 0;
}

.tv-footer__divider {
	border: 0;
	border-block-start: 1px solid rgba(255, 255, 255, 0.15);
	margin-block: var(--wp--preset--spacing--50);
}

.tv-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--40);
	font-size: var(--wp--preset--font-size--xs);
}

.tv-footer__bottom p {
	margin: 0;
}

.tv-footer__family a {
	color: var(--wp--preset--color--secondary);
	text-decoration: none;
}

.tv-footer__family a:hover {
	color: var(--wp--preset--color--background);
}

/* === Responsive: Tablet + Mobile ================================= */

/* Tablet + Mobile (<= 1023.98px): Burger erscheint, Nav klappt ein */
@media (max-width: 1023.98px) {

	.tv-header__inner {
		flex-wrap: wrap;
	}

	.tv-header__toggle {
		display: flex;
	}

	.tv-header__nav {
		display: none;
		width: 100%;
		flex-basis: 100%;
		padding-block: 2px;
		order: 99;
	}

	.tv-header__nav.is-open {
		display: block;
		animation: tv-menu-slide 0.18s ease-out;
	}

	.tv-menu--primary {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.tv-menu--primary > li {
		border-block-start: 1px solid var(--wp--preset--color--neutral-300);
	}

	.tv-menu--primary > li > a {
		display: block;
		padding: 0.75rem var(--wp--preset--spacing--30);
	}

	.tv-menu--primary .sub-menu {
		display: none;
		position: static;
		background: var(--wp--preset--color--neutral-100);
		border: 0;
		box-shadow: none;
		border-radius: 0;
		padding: 0.25rem 0;
		min-width: 0;
	}

	.tv-menu--primary .menu-item-has-children.is-open > .sub-menu,
	.tv-menu--primary .menu-item-has-children:focus-within > .sub-menu {
		display: block;
	}

	.tv-menu--primary .sub-menu a {
		padding: 0.5rem var(--wp--preset--spacing--30) 0.5rem var(--wp--preset--spacing--50);
	}

	body.tv-menu-open {
		overflow: hidden;
	}

	.tv-main {
		padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60);
	}
}

@keyframes tv-menu-slide {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Mobile (<= 640px): kompakter Container, einspaltige Grids */
@media (max-width: 640px) {

	.tv-container {
		padding-inline: clamp(var(--wp--preset--spacing--30), 4vw, var(--wp--preset--spacing--40));
	}

	.tv-header__inner {
		gap: var(--wp--preset--spacing--20);
		min-height: 56px;
	}

	.custom-logo {
		max-height: 52px;
	}

	.tv-header__title {
		font-size: var(--wp--preset--font-size--md);
	}

	.tv-card-grid {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--40);
	}

	.tv-page,
	.tv-single {
		font-size: var(--wp--preset--font-size--base);
	}

	.tv-footer__inner {
		padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
	}

	.tv-footer__cols {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--40);
	}

	.tv-footer__bottom {
		flex-direction: column;
		gap: var(--wp--preset--spacing--20);
		text-align: start;
	}

	.tv-single__nav {
		flex-direction: column;
		gap: var(--wp--preset--spacing--30);
	}

	.tv-search {
		flex-direction: column;
	}

	.tv-search__submit {
		width: 100%;
	}

	.tv-decision-matrix {
		font-size: var(--wp--preset--font-size--sm);
	}

	.tv-decision-matrix th,
	.tv-decision-matrix td {
		padding: var(--wp--preset--spacing--30);
	}

	.tv-reisebuero-cta {
		padding: var(--wp--preset--spacing--50);
	}
}

/* Sehr kleines Mobile (<= 380px): minimaler Container */
@media (max-width: 380px) {

	.tv-container {
		padding-inline: var(--wp--preset--spacing--20);
	}

	.tv-header__title {
		font-size: var(--wp--preset--font-size--base);
	}
}

/* === Print + Reduced-Motion ===================================== */

@media print {
	.tv-header,
	.tv-footer,
	.tv-header__toggle,
	.tv-reisebuero-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* === Venedig 2026 auf einen Blick — Faktenbox ======================== */

.tv-glance-box {
	max-width: 900px;
	margin: 3rem auto 0;
	padding: 0 1.5rem;
}

.tv-glance-box__title {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #c9941e;
	margin: 0 0 0.5rem;
	text-align: center;
}

.tv-glance-box__head {
	font-size: 1.55rem;
	font-weight: 600;
	color: #1a4d6e;
	margin: 0 0 1.75rem;
	text-align: center;
	letter-spacing: -0.01em;
}

.tv-glance-box__table {
	width: 100%;
	background: #fff;
	border: 1px solid #e8e0c8;
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

.tv-glance-box__table tr {
	border-bottom: 1px solid #f4f1ea;
}

.tv-glance-box__table tr:last-child {
	border-bottom: 0;
}

.tv-glance-box__table th,
.tv-glance-box__table td {
	padding: 0.95rem 1.25rem;
	font-size: 0.98rem;
	line-height: 1.5;
	vertical-align: top;
}

.tv-glance-box__table th {
	width: 38%;
	color: #1a4d6e;
	font-weight: 600;
	text-align: left;
	background: #fbf8f1;
	border-bottom: 1px solid #f4f1ea;
}

.tv-glance-box__table td {
	color: #3a3a3a;
	border-bottom: 1px solid #f4f1ea;
}

@media (max-width: 600px) {
	.tv-glance-box__table th,
	.tv-glance-box__table td {
		display: block;
		width: 100%;
		padding: 0.6rem 1rem;
	}
	.tv-glance-box__table th {
		font-size: 0.72rem;
		text-transform: uppercase;
		letter-spacing: 1px;
		padding-bottom: 0.15rem;
		background: transparent;
		border-bottom: 0;
	}
	.tv-glance-box__table td {
		padding-top: 0;
		padding-bottom: 1rem;
		font-weight: 500;
	}
}

/* === Live-Status-Bar V2 — premium UX/UI ============================== */

.tv-live-bar-v2 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	max-width: 1100px;
	margin: 1.5rem auto 2rem;
	padding: 0 1.5rem;
	position: relative;
	z-index: 10;
}

.tv-live-bar-v2--hero {
	margin: -3rem auto 0;
}

.tv-live-bar-v2__card {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1.1rem 1.25rem;
	background: #ffffff;
	border: 1px solid #e8e0c8;
	border-right: 0;
	text-decoration: none !important;
	color: inherit;
	position: relative;
	transition: background 0.18s ease, transform 0.18s ease;
	min-height: 88px;
}

.tv-live-bar-v2__card:first-child {
	border-radius: 12px 0 0 12px;
}

.tv-live-bar-v2__card:last-child {
	border-right: 1px solid #e8e0c8;
	border-radius: 0 12px 12px 0;
}

.tv-live-bar-v2 {
	box-shadow: 0 14px 36px rgba(26, 77, 110, 0.14), 0 2px 8px rgba(26, 77, 110, 0.04);
	border-radius: 12px;
}

.tv-live-bar-v2__card:hover {
	background: #fff8ec;
}

.tv-live-bar-v2__card:hover .tv-live-bar-v2__arrow {
	color: #c9941e;
	transform: translateX(4px);
}

.tv-live-bar-v2__icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: #f4f1ea;
	color: #1a4d6e;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tv-live-bar-v2__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	justify-content: center;
}

.tv-live-bar-v2__label {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #999;
	line-height: 1.2;
}

.tv-live-bar-v2__value {
	font-size: 1.02rem;
	font-weight: 600;
	color: #1a4d6e;
	line-height: 1.35;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.tv-live-bar-v2__value--paid {
	color: #a23838;
}

.tv-live-bar-v2__value--free {
	color: #2f7d3a;
}

.tv-live-bar-v2__value--paid .tv-live-bar-v2__dot {
	background: #a23838;
	box-shadow: 0 0 0 4px rgba(162, 56, 56, 0.15);
}

.tv-live-bar-v2__value--free .tv-live-bar-v2__dot {
	background: #6cb04f;
	box-shadow: 0 0 0 4px rgba(108, 176, 79, 0.15);
}

.tv-live-bar-v2__value--neutral {
	color: #1a4d6e;
}

.tv-live-bar-v2__value--neutral .tv-live-bar-v2__dot {
	background: #3a7eaa;
	box-shadow: 0 0 0 4px rgba(58, 126, 170, 0.15);
}

.tv-live-bar-v2__dot {
	width: 0.55em;
	height: 0.55em;
	border-radius: 50%;
	flex-shrink: 0;
	display: inline-block;
}

.tv-live-bar-v2__sub {
	font-size: 0.78rem;
	color: #7a7a7a;
	line-height: 1.4;
	margin-top: 0;
	min-height: 1.4em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.tv-live-bar-v2__arrow {
	flex-shrink: 0;
	font-size: 1.2rem;
	color: #cfc7b3;
	transition: color 0.18s ease, transform 0.18s ease;
	margin-left: 0.5rem;
}

/* Innerhalb der V2-Bar muss die Acqua-Pille klein und konsistent sein */
.tv-live-bar-v2 .tv-aa-now {
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.35;
}

.tv-live-bar-v2 .tv-aa-now__dot {
	width: 0.55em;
	height: 0.55em;
}

@media (max-width: 900px) {
	.tv-live-bar-v2 {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.tv-live-bar-v2__card {
		border-right: 1px solid #e8e0c8 !important;
		border-bottom: 0;
		border-radius: 0 !important;
	}
	.tv-live-bar-v2__card:not(:last-child) {
		border-bottom: 1px solid #f0e8d8;
	}
	.tv-live-bar-v2__card:first-child {
		border-radius: 12px 12px 0 0 !important;
	}
	.tv-live-bar-v2__card:last-child {
		border-radius: 0 0 12px 12px !important;
	}
	.tv-live-bar-v2__card {
		padding: 1.25rem 1.25rem;
		min-height: 0;
	}
}

/* === Live-Status-Bar (alt, V1 — Kompatibilität) ====================== */

.wp-block-columns.tv-live-bar {
	background: #ffffff !important;
	border: 1px solid #e8e0c8 !important;
	border-radius: 12px !important;
	box-shadow: 0 12px 32px rgba(26, 77, 110, 0.12), 0 2px 8px rgba(26, 77, 110, 0.04) !important;
	padding: 1.5rem 1.75rem !important;
	position: relative;
	z-index: 10;
	gap: 0 !important;
}

.tv-live-bar > .wp-block-column {
	padding: 0 1.5rem !important;
	border-left: 1px solid #f0e8d8;
	min-height: 56px;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
}

.tv-live-bar > .wp-block-column:first-child {
	border-left: 0;
	padding-left: 0 !important;
}

.tv-live-bar > .wp-block-column:last-child {
	padding-right: 0 !important;
}

.tv-live-bar > .wp-block-column > p:first-child {
	font-size: 0.7rem !important;
	letter-spacing: 1.5px !important;
	text-transform: uppercase !important;
	color: #999 !important;
	font-weight: 600 !important;
	margin: 0 0 6px !important;
}

.tv-live-bar > .wp-block-column > p:not(:first-child),
.tv-live-bar > .wp-block-column .tv-cda-today,
.tv-live-bar > .wp-block-column .tv-aa-now {
	font-size: 1rem !important;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 !important;
}

.tv-live-bar a {
	text-decoration: none;
	transition: color 0.15s ease;
}

.tv-live-bar a:hover {
	color: var(--wp--preset--color--secondary, #c9941e);
}

@media (max-width: 768px) {
	.wp-block-columns.tv-live-bar {
		padding: 1.25rem 1.5rem !important;
		flex-direction: column !important;
	}
	.tv-live-bar > .wp-block-column {
		flex-basis: 100% !important;
		border-left: 0;
		border-top: 1px solid #f0e8d8;
		padding: 1rem 0 0 !important;
		margin-top: 1rem;
	}
	.tv-live-bar > .wp-block-column:first-child {
		border-top: 0;
		padding-top: 0 !important;
		margin-top: 0;
	}
}

/* === Acqua-Alta — Live-Pille [tv_acqua_alta_now] ===================== */

.tv-aa-now-link {
	text-decoration: none;
	color: inherit;
}

.tv-aa-now {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
}

.tv-aa-now__dot {
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	flex-shrink: 0;
}

.tv-aa-now__label {
	font-weight: 500;
	opacity: 0.85;
}

.tv-aa-now--blue,
.tv-aa-now--skeleton {
	color: #1a4d6e;
}
.tv-aa-now--blue .tv-aa-now__dot,
.tv-aa-now--skeleton .tv-aa-now__dot {
	background: #3a7eaa;
	box-shadow: 0 0 0 4px rgba(58, 126, 170, 0.15);
}

.tv-aa-now--yellow {
	color: #854d0e;
}
.tv-aa-now--yellow .tv-aa-now__dot {
	background: #ca8a04;
	box-shadow: 0 0 0 4px rgba(202, 138, 4, 0.18);
}

.tv-aa-now--orange {
	color: #9a3412;
}
.tv-aa-now--orange .tv-aa-now__dot {
	background: #ea580c;
	box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.18);
}

.tv-aa-now--red {
	color: #991b1b;
}
.tv-aa-now--red .tv-aa-now__dot {
	background: #dc2626;
	box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18);
}

.tv-aa-now--unavailable {
	color: #7a7a7a;
	font-weight: 500;
}
.tv-aa-now--unavailable .tv-aa-now__dot {
	background: #b4b4b4;
}

.tv-aa-now--skeleton {
	opacity: 0.6;
}

/* === Contributo di Accesso — Live-Pille + Jahres-Kalender ============= */

.tv-cda-today {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
}

.tv-cda-today__dot {
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	flex-shrink: 0;
}

.tv-cda-today--paid {
	color: #a23838;
}

.tv-cda-today--paid .tv-cda-today__dot {
	background: #a23838;
	box-shadow: 0 0 0 4px rgba(162, 56, 56, 0.15);
}

.tv-cda-today--free {
	color: #2f7d3a;
}

.tv-cda-today--free .tv-cda-today__dot {
	background: #6cb04f;
	box-shadow: 0 0 0 4px rgba(108, 176, 79, 0.15);
}

/* Kalender-Grid ------------------------------------------------------- */

.tv-cda-calendar {
	margin: 2rem 0;
	font-family: inherit;
}

.tv-cda-calendar__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin-bottom: 1.5rem;
	font-size: 0.85rem;
	color: #4a4a4a;
}

.tv-cda-calendar__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

.tv-cda-calendar__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
}

.tv-cda-calendar--compact .tv-cda-calendar__grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}

.tv-cda-calendar__month {
	background: #fff;
	border: 1px solid #e8e0c8;
	border-radius: 10px;
	padding: 1.25rem 1rem 1rem;
}

.tv-cda-calendar__month-title {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: #1a4d6e;
	text-align: center;
}

.tv-cda-calendar__weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	margin-bottom: 4px;
}

.tv-cda-calendar__weekday {
	font-size: 0.7rem;
	font-weight: 600;
	color: #999;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tv-cda-calendar__days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px;
}

.tv-cda-calendar__day {
	aspect-ratio: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.82rem;
	font-weight: 500;
	border-radius: 6px;
	cursor: default;
	position: relative;
	transition: transform 0.15s ease;
}

.tv-cda-calendar__day:hover:not(.tv-cda-calendar__day--empty) {
	transform: scale(1.08);
	z-index: 1;
}

.tv-cda-calendar__day--empty {
	visibility: hidden;
}

.tv-cda-calendar__day--free {
	background: #f4f1ea;
	color: #5a5a5a;
}

.tv-cda-calendar__day--paid {
	background: #a23838;
	color: #fff;
	font-weight: 600;
}

.tv-cda-calendar__day--today {
	outline: 2px solid #c9941e;
	outline-offset: 1px;
}

.tv-cda-calendar__day--today.tv-cda-calendar__day--free {
	background: #fff8ec;
	color: #1a4d6e;
}

.tv-cda-calendar__day-num {
	line-height: 1;
}

.tv-cda-calendar__month-summary {
	margin: 0.75rem 0 0;
	font-size: 0.8rem;
	color: #a23838;
	text-align: center;
	font-weight: 600;
}

.tv-cda-calendar__month-summary--free {
	color: #6cb04f;
}

.tv-cda-calendar__footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e8e0c8;
	font-size: 0.88rem;
	color: #4a4a4a;
}

.tv-cda-calendar__total {
	margin: 0 0 0.5rem;
	color: #1a4d6e;
}

.tv-cda-calendar__source {
	margin: 0;
	font-size: 0.78rem;
	color: #7a7a7a;
}

.tv-cda-calendar__source a {
	color: #1a4d6e;
}

@media (max-width: 600px) {
	.tv-cda-calendar__legend {
		font-size: 0.78rem;
	}
	.tv-cda-calendar__day {
		font-size: 0.75rem;
	}
}

/* === Wetter-Pipeline (Open-Meteo) ============================================ */

/* [tv_weather_now] — kompakte Live-Pille */
.tv-weather-now {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 4px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, #eef5fa, #fff);
	border: 1px solid rgba(26, 77, 110, 0.15);
	font-size: 0.92rem;
	line-height: 1.3;
	color: #1a4d6e;
	font-weight: 500;
}
.tv-weather-now__icon {
	font-size: 1.15rem;
	line-height: 1;
}
.tv-weather-now__temp {
	font-weight: 700;
	color: #1a4d6e;
}
.tv-weather-now__label {
	color: #555;
}
.tv-weather-now__wind {
	color: #888;
	font-size: 0.85rem;
}
.tv-weather-now--error {
	background: #f4f1ea;
	color: #888;
	font-style: italic;
}

/* [tv_weather_3day] — 3-Tage-Karten-Reihe */
.tv-weather-3day {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 20px 0;
}
.tv-weather-3day__card {
	background: #fff;
	border: 1px solid #e6e3d8;
	border-radius: 12px;
	padding: 16px 12px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(26, 77, 110, 0.04);
}
.tv-weather-3day__day {
	margin: 0 0 8px;
	font-size: 0.9rem;
	font-weight: 700;
	color: #1a4d6e;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.tv-weather-3day__icon {
	font-size: 2rem;
	line-height: 1;
	margin: 6px 0;
}
.tv-weather-3day__label {
	font-size: 0.85rem;
	color: #555;
	margin-bottom: 8px;
}
.tv-weather-3day__temp {
	display: flex;
	justify-content: center;
	gap: 12px;
	font-size: 1.05rem;
	margin-bottom: 6px;
}
.tv-weather-3day__tmax {
	font-weight: 700;
	color: #a23838;
}
.tv-weather-3day__tmin {
	color: #888;
}
.tv-weather-3day__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 0.78rem;
	color: #666;
}
.tv-weather-3day__attribution {
	grid-column: 1 / -1;
	margin: 8px 0 0;
	font-size: 0.75rem;
	color: #888;
	text-align: right;
}
.tv-weather-3day__attribution a {
	color: #888;
	text-decoration: underline;
}
.tv-weather-3day--error {
	padding: 16px;
	background: #f4f1ea;
	color: #888;
	font-style: italic;
	border-radius: 8px;
	text-align: center;
}

@media (max-width: 600px) {
	.tv-weather-3day {
		grid-template-columns: 1fr;
	}
}

/* [tv_marine_now] — Marine-Live-Pille */
.tv-marine-now {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.92rem;
	line-height: 1.3;
	font-weight: 500;
	border: 1px solid;
}
.tv-marine-now__wave {
	font-weight: 700;
}
.tv-marine-now__period,
.tv-marine-now__dir {
	color: #555;
	font-size: 0.85rem;
}
.tv-marine-now__status {
	font-weight: 600;
	padding-left: 6px;
	border-left: 1px solid currentColor;
}
.tv-marine-now--calm {
	background: #e8f5e9;
	border-color: #4caf50;
	color: #2e7d32;
}
.tv-marine-now--moderate {
	background: #fff8e1;
	border-color: #c9941e;
	color: #6d4c00;
}
.tv-marine-now--rough {
	background: #ffe0b2;
	border-color: #ef6c00;
	color: #aa4400;
}
.tv-marine-now--storm {
	background: #ffebee;
	border-color: #a23838;
	color: #7a1f1f;
}
.tv-marine-now--error {
	background: #f4f1ea;
	border-color: #ccc;
	color: #888;
	font-style: italic;
}

/* === [tv_live_conditions] — kombinierter Live-Bedingungen-Block ============
 * Mid-page Widget: Wetter + Acqua Alta + Adria-Wellengang + Reisepuls.
 * Drei Karten in Grid-Layout, darunter Reise-Soforteinschätzung.
 */
.tv-live-conditions {
	background: #fdfbf6;
	border: 1px solid #e8e0c8;
	border-radius: 12px;
	padding: 1.1rem 1.25rem;
	margin: 1.75rem 0;
	box-shadow: 0 2px 8px rgba(26, 77, 110, 0.06);
}

.tv-live-conditions--watch { border-color: #c9941e; background: #fffaf0; }
.tv-live-conditions--alert { border-color: #a23838; background: #fff6f6; }

.tv-live-conditions__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
	margin-bottom: 0.85rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid #efe7d4;
}

.tv-live-conditions__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1a4d6e;
}

.tv-live-conditions__pulse {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tv-live-conditions__pulse-dot {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	display: inline-block;
}

.tv-live-conditions__pulse--ok {
	background: #d9ecdc;
	color: #2c6634;
}
.tv-live-conditions__pulse--ok .tv-live-conditions__pulse-dot {
	background: #4ea65a;
	box-shadow: 0 0 0 3px rgba(78, 166, 90, 0.2);
}
.tv-live-conditions__pulse--watch {
	background: #fff0d6;
	color: #8a6610;
}
.tv-live-conditions__pulse--watch .tv-live-conditions__pulse-dot {
	background: #c9941e;
	box-shadow: 0 0 0 3px rgba(201, 148, 30, 0.22);
	animation: tv-lc-pulse 2.4s ease-in-out infinite;
}
.tv-live-conditions__pulse--alert {
	background: #fbe1e1;
	color: #842020;
}
.tv-live-conditions__pulse--alert .tv-live-conditions__pulse-dot {
	background: #a23838;
	box-shadow: 0 0 0 3px rgba(162, 56, 56, 0.25);
	animation: tv-lc-pulse 1.6s ease-in-out infinite;
}

@keyframes tv-lc-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%      { opacity: 0.6; transform: scale(1.15); }
}

.tv-live-conditions__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.85rem;
}

.tv-lc-card {
	background: #fff;
	border: 1px solid #e8e0c8;
	border-radius: 10px;
	padding: 0.85rem 1rem;
}

.tv-lc-card__head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.45rem;
	color: #1a4d6e;
}

.tv-lc-card__icon {
	font-size: 1.3rem;
	line-height: 1;
	display: inline-flex;
}

.tv-lc-card__icon svg {
	display: block;
}

.tv-lc-card__caption {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #5a7080;
}

.tv-lc-card__value {
	margin: 0;
	font-size: 1.05rem;
	color: #0e3450;
	line-height: 1.3;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem;
}

.tv-lc-card__value strong {
	font-size: 1.55rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: #1a4d6e;
}

.tv-lc-card__label {
	color: #2a4555;
	font-size: 0.92rem;
}

.tv-lc-card__sub {
	margin: 0.3rem 0 0;
	font-size: 0.83rem;
	color: #6a7888;
}

.tv-lc-card__sub a {
	color: #1a4d6e;
	text-decoration: underline;
}

/* Marine-Karte: Status-Akzent */
.tv-lc-card--marine-calm     { border-left: 4px solid #4ea65a; }
.tv-lc-card--marine-moderate { border-left: 4px solid #c9941e; }
.tv-lc-card--marine-rough    { border-left: 4px solid #d97706; }
.tv-lc-card--marine-storm    { border-left: 4px solid #a23838; }

/* Acqua-Karte: erbt Live-Pille-Styles aus acqua-alta-banner.css */
.tv-lc-card--acqua .tv-aa-now {
	margin: 0;
	font-size: 0.95rem;
}

.tv-live-conditions__footer {
	margin-top: 0.95rem;
	padding-top: 0.75rem;
	border-top: 1px solid #efe7d4;
}

.tv-live-conditions__hint {
	margin: 0 0 0.5rem;
	color: #2a4555;
	font-size: 0.94rem;
	line-height: 1.5;
}

.tv-live-conditions--alert .tv-live-conditions__hint {
	color: #6e1d1d;
	font-weight: 600;
}

.tv-live-conditions--watch .tv-live-conditions__hint {
	color: #6b5b1e;
}

.tv-live-conditions__source {
	margin: 0;
	font-size: 0.78rem;
	color: #7a7a7a;
	line-height: 1.45;
}

.tv-live-conditions__source a {
	color: #1a4d6e;
	text-decoration: underline;
}

@media (max-width: 480px) {
	.tv-live-conditions { padding: 0.95rem 1rem; }
	.tv-live-conditions__title { font-size: 0.98rem; }
	.tv-live-conditions__pulse { font-size: 0.72rem; padding: 0.2rem 0.6rem; }
	.tv-lc-card__value strong { font-size: 1.35rem; }
	.tv-live-conditions__grid { gap: 0.6rem; }
}

/* ARPAV-Halbtags-Forecast im Live-Conditions-Block */
.tv-live-conditions__arpav {
	margin-top: 1rem;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid #e0d4b0;
	border-radius: 8px;
	overflow: hidden;
}

.tv-live-conditions__arpav > summary {
	padding: 0.6rem 0.95rem;
	font-size: 0.92rem;
	font-weight: 700;
	color: #1a4d6e;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.tv-live-conditions__arpav > summary::-webkit-details-marker { display: none; }

.tv-live-conditions__arpav > summary::after {
	content: "▾";
	margin-left: auto;
	color: #5a7080;
	font-size: 0.75rem;
	transition: transform 0.2s;
}

.tv-live-conditions__arpav[open] > summary::after { transform: rotate(180deg); }

.tv-live-conditions__arpav-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0.6rem;
	padding: 0.75rem 0.95rem 0.95rem;
}

.tv-arpav-slot {
	background: #fff;
	border: 1px solid #e8e0c8;
	border-radius: 6px;
	padding: 0.7rem 0.8rem;
	font-size: 0.9rem;
}

.tv-arpav-slot__when {
	margin: 0 0 0.35rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: #1a4d6e;
	letter-spacing: 0.01em;
}

.tv-arpav-slot__cielo {
	margin: 0 0 0.45rem;
	font-weight: 600;
	color: #0e3450;
	line-height: 1.3;
}

.tv-arpav-slot__row {
	margin: 0.25rem 0;
	font-size: 0.85rem;
	color: #2a4555;
	line-height: 1.4;
}

.tv-arpav-slot__row strong {
	color: #1a4d6e;
	font-weight: 600;
}

.tv-arpav-slot__rel {
	margin: 0.5rem 0 0;
	font-size: 0.8rem;
}

.tv-arpav-slot__rel-pill {
	display: inline-block;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.tv-arpav-slot__rel-pill--gut     { background: #d9ecdc; color: #2c6634; }
.tv-arpav-slot__rel-pill--diskret { background: #fff0d6; color: #8a6610; }
.tv-arpav-slot__rel-pill--niedrig { background: #fbe1e1; color: #842020; }

/* === Venice Climate Normals ([tv_climate_normals], [tv_climate_year]) ===== */

.tv-climate-card {
	background: #fff;
	border: 1px solid #e8e0c8;
	border-left: 4px solid #1a4d6e;
	border-radius: 10px;
	padding: 1.1rem 1.25rem;
	margin: 1.5rem 0;
	box-shadow: 0 2px 8px rgba(26, 77, 110, 0.06);
}

.tv-climate-card--ideal   { border-left-color: #4ea65a; }
.tv-climate-card--good    { border-left-color: #1a4d6e; }
.tv-climate-card--fair    { border-left-color: #c9941e; }
.tv-climate-card--tricky  { border-left-color: #a23838; }

.tv-climate-card__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
	margin-bottom: 0.85rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid #efe7d4;
}

.tv-climate-card__title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
	color: #1a4d6e;
}

.tv-climate-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: #fdfbf6;
	border: 1px solid #e8e0c8;
	border-radius: 999px;
	padding: 0.25rem 0.75rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1a4d6e;
}

.tv-climate-card__stars {
	color: #c9941e;
	letter-spacing: 0.05em;
}

.tv-climate-card__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.85rem;
	margin-bottom: 0.85rem;
}

.tv-climate-stat {
	background: #fdfbf6;
	border-radius: 8px;
	padding: 0.7rem 0.85rem;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.tv-climate-stat__label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #5a7080;
}

.tv-climate-stat__value {
	font-size: 1.3rem;
	font-weight: 800;
	color: #0e3450;
	font-variant-numeric: tabular-nums;
}

.tv-climate-stat__sub {
	font-size: 0.8rem;
	color: #6a7888;
}

.tv-climate-card__note {
	margin: 0.5rem 0 0.5rem;
	color: #2a4555;
	font-size: 0.94rem;
	line-height: 1.5;
}

.tv-climate-card__source {
	margin: 0;
	padding-top: 0.5rem;
	border-top: 1px solid #efe7d4;
	font-size: 0.78rem;
	color: #7a7a7a;
}

/* Jahresübersicht-Tabelle */
.tv-climate-year {
	background: #fdfbf6;
	border: 1px solid #e8e0c8;
	border-radius: 12px;
	padding: 1.1rem 1.25rem;
	margin: 1.75rem 0;
	box-shadow: 0 2px 8px rgba(26, 77, 110, 0.06);
}

.tv-climate-year__head {
	margin-bottom: 0.85rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid #efe7d4;
}

.tv-climate-year__title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
	color: #1a4d6e;
}

.tv-climate-year__table-wrap {
	overflow-x: auto;
}

.tv-climate-year__table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	font-size: 0.92rem;
}

.tv-climate-year__table th,
.tv-climate-year__table td {
	padding: 0.55rem 0.8rem;
	border-top: 1px solid #e8e0c8;
	text-align: left;
	vertical-align: middle;
}

.tv-climate-year__table thead th {
	background: rgba(26, 77, 110, 0.08);
	color: #1a4d6e;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-top: none;
}

.tv-climate-year__table .num {
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.tv-climate-year__table tbody th[scope="row"] {
	font-weight: 700;
	color: #0e3450;
}

.tv-climate-year__row--ideal { background: rgba(78, 166, 90, 0.06); }
.tv-climate-year__row--good { background: rgba(26, 77, 110, 0.04); }
.tv-climate-year__row--fair { background: rgba(201, 148, 30, 0.06); }
.tv-climate-year__row--tricky { background: rgba(162, 56, 56, 0.06); }

.tv-climate-pill {
	display: inline-block;
	padding: 0.18rem 0.65rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.tv-climate-pill--ideal  { background: #d9ecdc; color: #2c6634; }
.tv-climate-pill--good   { background: #eef5fa; color: #1a4d6e; }
.tv-climate-pill--fair   { background: #fff0d6; color: #8a6610; }
.tv-climate-pill--tricky { background: #fbe1e1; color: #842020; }

.tv-climate-year__source {
	margin: 0.7rem 0 0;
	font-size: 0.78rem;
	color: #7a7a7a;
	line-height: 1.45;
}

/* Inline-Pille */
.tv-climate-compact {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.75rem;
	background: #fdfbf6;
	border: 1px solid #e8e0c8;
	border-radius: 999px;
	font-size: 0.9rem;
	color: #2a4555;
}

.tv-climate-compact strong {
	color: #1a4d6e;
}

.tv-climate-compact__stars {
	color: #c9941e;
	letter-spacing: 0.05em;
	font-size: 0.85rem;
}

.tv-climate-compact--ideal  { border-color: #4ea65a; }
.tv-climate-compact--fair   { border-color: #c9941e; }
.tv-climate-compact--tricky { border-color: #a23838; }

@media (max-width: 480px) {
	.tv-climate-card { padding: 0.95rem 1rem; }
	.tv-climate-stat__value { font-size: 1.15rem; }
	.tv-climate-year__table { font-size: 0.84rem; }
	.tv-climate-year__table th,
	.tv-climate-year__table td { padding: 0.4rem 0.55rem; }
}
