/* ============================================================
 * Presse-Archiv (archive-presse.php)
 * ============================================================ */

.ec-presse {
	background: var(--ec-page-bg, #fdfcf9);
	padding: clamp(56px, 9vw, 120px) clamp(20px, 6vw, 80px) clamp(80px, 12vw, 160px);
	color: #1c1c1a;
	font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ec-presse__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.ec-presse__title {
	margin: 0 0 48px;
	font-family: inherit;
	font-size: clamp(28px, 4vw, 48px);
	line-height: 1.15;
	font-weight: 400;
	color: inherit;
}

.ec-presse__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 48px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-presse__item {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ec-presse__logo {
	display: flex;
	align-items: center;
	height: 56px;
}

.ec-presse__logo img {
	max-height: 56px;
	max-width: 180px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.ec-presse__media {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--ec-surface, #f4f0e8);
}

.ec-presse__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ec-presse__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Elementor-Kit färbt Links schwarz, daher höhere Spezifität. */
.ec-presse .ec-presse__links a {
	color: #1c1c1a;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ec-presse__media-link {
	display: contents;
}

.ec-presse__media--two {
	aspect-ratio: auto;
	background: transparent;
}

.ec-presse__media--two .ec-presse__media-link {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.ec-presse__media--two img {
	aspect-ratio: 3 / 4;
}

.ec-presse__copy {
	display: grid;
	gap: 8px;
}

.ec-presse__item-title {
	margin: 0;
	font: inherit;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 500;
}

.ec-presse__excerpt,
.ec-presse__excerpt p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

.ec-presse__source {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #686761;
}

@media (min-width: 900px) {
	.ec-presse__item--featured {
		grid-column: span 2;
	}
}

@media (max-width: 520px) {
	.ec-presse__media--two .ec-presse__media-link {
		grid-template-columns: 1fr;
	}
}
