/* ============================================================
   MeinVerein Magazin – Ausgabenarchiv (Figma 8007:429)
   Mindestschriftgröße 18px gemäß Repo-Regel.
   ============================================================ */

.mv-magazin {
	box-sizing: border-box;
	width: 100%;
	padding: 80px 32px;
	background: #eff4fa;
	color: #023e84 !important;
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
}

.mv-magazin *,
.mv-magazin *::before,
.mv-magazin *::after {
	box-sizing: border-box;
}

.mv-magazin__inner {
	width: 100%;
	max-width: 1366px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* Kopf */
.mv-magazin__header {
	margin: 0;
	text-align: center;
}

.mv-magazin__headline {
	margin: 0 0 12px;
	color: #023e84 !important;
	font-family: "Cairo", sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 45px;
}

.mv-magazin__subline {
	margin: 0;
	color: #023e84 !important;
	font-size: 18px;
	line-height: 28px;
}

/* Filterkarte */
.mv-magazin__filter {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 24px;
	padding: 30px 50px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 4px 36px 0 rgba(0, 0, 0, 0.1);
}

.mv-magazin__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.mv-magazin__field--search {
	flex: 1 1 420px;
	max-width: 420px;
}

.mv-magazin__field--year {
	flex: 0 1 180px;
}

.mv-magazin__field--sort {
	flex: 0 1 210px;
}

.mv-magazin__label {
	margin: 0;
	color: #023e84 !important;
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
}

.mv-magazin__input,
.mv-magazin__select {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid rgba(106, 114, 130, 0.4);
	border-radius: 7px;
	background: #fff;
	color: #023e84 !important;
	font-family: inherit;
	font-size: 18px;
	line-height: 26px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.mv-magazin__input::placeholder {
	color: #6a7282 !important;
}

.mv-magazin__input:focus,
.mv-magazin__select:focus {
	border-color: #023e84;
	box-shadow: 0 0 0 3px rgba(2, 62, 132, 0.12);
}

.mv-magazin__select {
	padding-right: 44px;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4.5 6.75 9 11.25l4.5-4.5' stroke='%23023e84' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}

/* Liste */
.mv-magazin__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.mv-magazin__card {
	display: grid;
	grid-template-columns: 216px minmax(0, 1fr) 291px;
	gap: 64px;
	align-items: start;
	padding: 50px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.1);
}

.mv-magazin__card[hidden] {
	display: none;
}

/* Cover */
.mv-magazin__cover {
	width: 216px;
}

.mv-magazin__cover-image,
.mv-magazin__cover-placeholder {
	display: block;
	width: 216px;
	aspect-ratio: 216 / 305;
	border-radius: 3px;
	box-shadow: 0 3.5px 17.5px 0 rgba(0, 0, 0, 0.25);
	object-fit: cover;
}

.mv-magazin__cover-placeholder {
	display: flex;
	align-items: flex-end;
	padding: 16px;
	background: linear-gradient(160deg, #023e84 0%, #0a5bb5 100%);
	color: #fff !important;
	font-family: "Cairo", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

/* Text */
.mv-magazin__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.mv-magazin__title {
	margin: 0;
	color: #023e84 !important;
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 30px;
}

.mv-magazin__teaser {
	margin: 0;
	color: #6a7282 !important;
	font-size: 18px;
	line-height: 28px;
}

.mv-magazin__topics-label {
	margin: 0;
	color: #023e84 !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
}

.mv-magazin__topics {
	margin: 0;
	padding-left: 24px;
	color: #6a7282 !important;
	font-size: 18px;
	line-height: 28px;
	list-style: disc;
}

.mv-magazin__topics li {
	margin: 0;
}

/* Aktionen */
.mv-magazin__actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mv-magazin__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 30px;
	border-radius: 7px;
	font-family: "Cairo", sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 27px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.mv-magazin__button--primary {
	background: #023e84;
	color: #fff !important;
}

.mv-magazin__button--primary:hover,
.mv-magazin__button--primary:focus-visible {
	background: #012d5f;
	color: #fff !important;
}

.mv-magazin__button--secondary {
	background: #fff;
	border: 1px solid #023e84;
	color: #023e84 !important;
}

.mv-magazin__button--secondary:hover,
.mv-magazin__button--secondary:focus-visible {
	background: #eff4fa;
	color: #023e84 !important;
}

.mv-magazin__button:focus-visible {
	outline: 2px solid #023e84;
	outline-offset: 2px;
}

.mv-magazin__button svg {
	flex-shrink: 0;
}

.mv-magazin__divider {
	width: 100%;
	height: 1px;
	margin: 0;
	border: 0;
	background: #eff4fa;
}

.mv-magazin__empty {
	margin: 0;
	padding: 40px 20px;
	text-align: center;
	color: #6a7282 !important;
	font-size: 18px;
}

.mv-magazin__empty[hidden] {
	display: none;
}

/* Responsive */
@media (max-width: 1100px) {
	.mv-magazin__card {
		grid-template-columns: 216px minmax(0, 1fr);
		gap: 40px;
	}

	.mv-magazin__actions {
		grid-column: 2;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.mv-magazin__divider {
		display: none;
	}
}

@media (max-width: 767px) {
	.mv-magazin {
		padding: 48px 20px;
	}

	.mv-magazin__headline {
		font-size: 30px;
		line-height: 1.25;
	}

	.mv-magazin__filter {
		padding: 24px 20px;
		gap: 16px;
	}

	.mv-magazin__field--search,
	.mv-magazin__field--year,
	.mv-magazin__field--sort {
		flex: 1 1 100%;
		max-width: none;
	}

	.mv-magazin__card {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 28px 20px;
	}

	.mv-magazin__cover {
		width: 100%;
	}

	.mv-magazin__cover-image,
	.mv-magazin__cover-placeholder {
		margin: 0 auto;
	}

	.mv-magazin__actions {
		grid-column: 1;
		flex-direction: column;
	}

	.mv-magazin__button {
		width: 100%;
	}
}
