/***** Homepage Mockup Layout *****/

.vz-section-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 20px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--vz-primary);
	color: var(--vz-text);
}

.vz-section-title::after {
	content: '';
	display: block;
	width: 48px;
	height: 2px;
	background: var(--vz-accent);
	margin-top: 6px;
}

.vz-badge {
	display: inline-block;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #fff;
	background: var(--vz-category);
	padding: 4px 10px;
	border-radius: 3px;
	margin-bottom: 8px;
	text-decoration: none;
}

.vz-badge:hover {
	color: #fff;
	opacity: 0.9;
}

/* Hero Grid */
.vz-hero-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 20px;
}

.vz-hero-main,
.vz-hero-small {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}

.vz-hero-main-thumb img,
.vz-hero-small-thumb img {
	display: block;
	width: 100%;
	object-fit: cover;
}

.vz-hero-main-thumb img {
	aspect-ratio: 16 / 7;
}

.vz-hero-small-thumb img {
	aspect-ratio: 16 / 10;
}

.vz-hero-side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.vz-hero-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px 24px;
	background: linear-gradient(to top, rgba(26, 53, 96, 0.92) 0%, rgba(26, 53, 96, 0.25) 55%, transparent 100%);
	color: #fff;
	z-index: 2;
}

.vz-hero-title {
	font-size: 1.75rem;
	line-height: 1.2;
	margin: 0 0 8px;
}

.vz-hero-title a,
.vz-hero-small-title a {
	color: #fff;
}

.vz-hero-excerpt {
	font-size: 0.9375rem;
	line-height: 1.5;
	margin: 0 0 10px;
	opacity: 0.92;
}

.vz-hero-meta,
.vz-news-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	font-size: 0.8125rem;
	opacity: 0.85;
}

/* Meta-Zeile (Startseite + Beitrag) */
.vz-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 0.8125rem;
	color: var(--vz-text-muted);
}

.vz-post-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.vz-post-meta-item a {
	color: var(--vz-text-muted);
	text-decoration: none;
}

.vz-post-meta-item a:hover {
	color: var(--vz-primary);
}

.vz-post-meta .vz-icon svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.vz-post-meta--light,
.vz-post-meta--light a {
	color: rgba(255, 255, 255, 0.88);
}

.vz-post-meta--light a:hover {
	color: #fff;
}

.vz-hero-meta.vz-post-meta {
	opacity: 1;
}

.vz-card-meta {
	margin-top: auto;
	padding-top: 4px;
}

.vz-hero-small-title {
	font-size: 0.9375rem;
	line-height: 1.3;
	margin: 0 0 4px;
}

.vz-hero-small-date {
	font-size: 0.75rem;
	opacity: 0.85;
}

/* Card Grid */
.vz-card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.vz-card {
	display: flex;
	flex-direction: column;
}

.vz-card-thumb {
	margin: 0 0 12px;
	border-radius: 6px;
	overflow: hidden;
}

.vz-card-thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.vz-card-title {
	font-size: 1rem;
	line-height: 1.35;
	margin: 0 0 8px;
}

.vz-card-excerpt {
	font-size: 0.875rem;
	color: var(--vz-text-muted);
	line-height: 1.5;
	margin: 0 0 10px;
	flex: 1;
}

.vz-card-date {
	font-size: 0.75rem;
	color: var(--vz-text-muted);
}

/* News List */
.vz-news-list {
	margin-bottom: 20px;
}

.vz-news-item {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--vz-border);
}

.vz-news-thumb {
	margin: 0;
}

.vz-news-thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 6px;
}

.vz-news-title {
	font-size: 1.125rem;
	margin: 0 0 8px;
}

.vz-news-excerpt {
	font-size: 0.875rem;
	color: var(--vz-text-muted);
	margin: 0 0 10px;
	line-height: 1.5;
}

/* Sidebar Latest */
.vz-latest-compact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vz-latest-item {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dotted var(--vz-border);
}

.vz-latest-item:first-child {
	padding-top: 0;
}

.vz-latest-thumb img {
	width: 64px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
}

.vz-latest-title {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 4px;
}

.vz-latest-date {
	font-size: 0.6875rem;
	color: var(--vz-text-muted);
}

.vz-auto-widget {
	margin-bottom: 24px;
}

.vz-weather-auto {
	margin-bottom: 0;
}

/* Region Tabs */
.vz-region-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--vz-border);
}

.vz-region-tab {
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--vz-text-muted);
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.vz-region-tab:hover {
	color: var(--vz-primary);
}

.vz-region-tab.is-active {
	background: var(--vz-accent);
	color: var(--vz-primary);
}

.vz-region-panel {
	display: none;
}

.vz-region-panel.is-active {
	display: block;
}

.vz-home-empty {
	text-align: center;
	padding: 40px 20px;
	color: var(--vz-text-muted);
}

.vz-home-layout {
	padding: 24px 32px 32px;
}

.vz-home-section {
	margin-bottom: 32px;
}

.vz-home-section:last-child {
	margin-bottom: 0;
}

.vz-home-hero .mh-posts-focus-widget {
	margin: 0;
}

.vz-home-hero .mh-posts-focus-item-large {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}

.vz-home-hero .mh-posts-focus-thumb-large {
	margin: 0;
}

.vz-home-hero .mh-posts-focus-thumb-large img {
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
	display: block;
}

.vz-home-hero .mh-posts-focus-item-large .mh-posts-focus-title,
.vz-home-hero .mh-posts-focus-item-large .mh-posts-focus-meta,
.vz-home-hero .mh-posts-focus-item-large .mh-posts-focus-excerpt {
	position: absolute;
	left: 0;
	right: 0;
	color: #fff;
	z-index: 2;
}

.vz-home-hero .mh-posts-focus-item-large .mh-posts-focus-title {
	bottom: 72px;
	padding: 0 24px;
	font-size: 1.75rem;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.vz-home-hero .mh-posts-focus-item-large .mh-posts-focus-title a {
	color: #fff;
}

.vz-home-hero .mh-posts-focus-item-large .mh-posts-focus-meta {
	bottom: 48px;
	padding: 0 24px;
}

.vz-home-hero .mh-posts-focus-item-large .mh-posts-focus-meta,
.vz-home-hero .mh-posts-focus-item-large .mh-posts-focus-meta a {
	color: rgba(255, 255, 255, 0.85);
}

.vz-home-hero .mh-posts-focus-item-large .mh-posts-focus-excerpt {
	bottom: 0;
	padding: 16px 24px 20px;
	background: linear-gradient(to top, rgba(26, 53, 96, 0.92) 0%, transparent 100%);
}

.vz-home-hero .mh-posts-focus-item-large .mh-excerpt {
	color: rgba(255, 255, 255, 0.9);
}

.vz-home-hero .mh-posts-focus-item-large::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(26, 53, 96, 0.75) 0%, rgba(26, 53, 96, 0.1) 50%, transparent 100%);
	pointer-events: none;
	z-index: 1;
}

.vz-home-hero .mh-posts-focus-small-inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.vz-home-hero .mh-posts-focus-item-small {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}

.vz-home-hero .mh-posts-focus-thumb-small {
	margin: 0;
}

.vz-home-hero .mh-posts-focus-thumb-small img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.vz-home-hero .mh-posts-focus-item-small .mh-posts-focus-title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 12px 16px;
	background: linear-gradient(to top, rgba(26, 53, 96, 0.9), transparent);
	font-size: 0.9375rem;
}

.vz-home-hero .mh-posts-focus-item-small .mh-posts-focus-title a {
	color: #fff;
}

.vz-home-hero .mh-posts-focus-item-small .mh-posts-focus-meta,
.vz-home-hero .mh-posts-focus-item-small .mh-posts-focus-excerpt {
	display: none;
}

.vz-home-topics .mh-posts-large-widget > .mh-posts-large-item,
.vz-home-topics .mh-custom-posts-widget {
	display: contents;
}

.vz-home-topics .mh-widget:has(.mh-posts-large-item) {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.vz-home-topics .mh-posts-large-item {
	margin: 0;
	padding: 0;
	border: 0;
}

.vz-home-topics .mh-posts-large-thumb img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.vz-home-body {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 32px;
	align-items: start;
}

.vz-home-main {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	overflow: visible;
}

.vz-home-sidebar {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.vz-home-main .mh-custom-posts-item {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--vz-border);
}

.vz-home-main .mh-custom-posts-thumb {
	float: none;
	margin: 0;
}

.vz-home-main .mh-custom-posts-thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 6px;
}

.vz-home-region .mh-widget:has(.mh-posts-large-item) {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.vz-home-region .mh-posts-large-item {
	margin: 0;
	padding: 0;
	border: 0;
}

@media screen and (max-width: 1100px) {
	.vz-hero-grid {
		grid-template-columns: 1fr;
	}

	.vz-hero-side {
		grid-template-columns: 1fr 1fr;
	}

	.vz-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.vz-region-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.vz-home-body {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 767px) {
	.vz-home-layout {
		padding: 16px;
	}

	.vz-hero-side {
		grid-template-columns: 1fr;
	}

	.vz-card-grid,
	.vz-region-grid {
		grid-template-columns: 1fr;
	}

	.vz-news-item {
		grid-template-columns: 100px 1fr;
		gap: 12px;
	}
}
