/*
 * Pressespiegel widget — press-mentions card grid (media logo, headline, date,
 * external link). Same card language as ac-partners.css/ac-downloads.css.
 */

.ac-press {
	font-family: 'Amiko', sans-serif;
}

.ac-press-intro {
	margin-bottom: 35px;
}

.ac-press-heading {
	margin: 0 0 10px;
}

.ac-press-intro-text {
	font-size: 1.05rem;
	color: #555;
	margin: 0;
	max-width: 700px;
}

.ac-press-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 25px;
}

.ac-press-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 22px;
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba( 0, 0, 0, 0.04 );
	transition: transform 0.3s, box-shadow 0.3s;
}

.ac-press-card:hover {
	transform: translateY( -4px );
	box-shadow: 0 10px 25px rgba( 0, 0, 0, 0.08 );
}

.ac-press-media {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 12px;
}

.ac-press-logo {
	max-width: 130px;
	max-height: 36px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.ac-press-media-name {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: #111;
}

.ac-press-date {
	flex-shrink: 0;
	font-size: 0.8rem;
	color: #888;
	font-variant-numeric: tabular-nums;
}

.ac-press-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
	line-height: 1.35;
	margin: 0;
}

.ac-press-excerpt {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.55;
	margin: 0;
}

.ac-press-link,
.ac-press-link:link,
.ac-press-link:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	color: var( --ac-accent, #2e6741 ) !important;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 0.85rem;
	text-decoration: none;
	transition: gap 0.2s;
}

.ac-press-link:hover,
.ac-press-link:focus {
	gap: 12px;
}

/*
 * .ac-press-link-icon wraps the Elementor ICONS control output (Icons_Manager can
 * render either a font-icon <i> sized via font-size, or an inline <svg> which does
 * NOT follow font-size on its own) — sizing the wrapper's font-size (Style control
 * "Icon-Größe") drives both render modes consistently, matching the same fix already
 * applied to every other icon in this plugin (see ac-start-hero.css).
 */
.ac-press-link-icon {
	display: inline-flex;
	line-height: 1;
	color: inherit;
}

.ac-press-link-icon svg {
	width: 1em !important;
	height: 1em !important;
	fill: currentColor !important;
}

@media ( max-width: 560px ) {
	.ac-press-heading {
		font-size: 1.35rem;
	}
}
