/* ==========================================================================
   Bedieninge – page styles (builds on wie-is-ons.css shared page styles)
   ========================================================================== */

.bed .wie-hero { min-height: 380px; }
.bed .wie-hero {
	background:
		radial-gradient(ellipse at center, rgba(3, 30, 48, 0.62), rgba(3, 30, 48, 0.25) 75%),
		linear-gradient(180deg, rgba(3, 40, 58, 0.1), rgba(3, 30, 48, 0.5)),
		var(--wie-hero-bg) center 30% / cover no-repeat;
}
.bed .wie-hero__title { font-size: clamp(44px, 6.4vw, 96px); }
.bed .wie-hero__tagline { max-width: 34em; margin-left: auto; margin-right: auto; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.5; }

/* ---------- Ministry cards ---------- */
.ministries { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; width: 100%; max-width: 1340px; margin: 0 auto; }

.ministry {
	position: relative;
	flex: 0 1 310px;
	display: flex;
	flex-direction: column;
	padding: 10px 10px 26px;
	border-radius: 28px;
	transition: transform 0.25s ease, border-color 0.25s ease;
}
.ministry:hover { transform: translateY(-6px); border-color: var(--gold); }

.ministry__photo { overflow: hidden; aspect-ratio: 16 / 11; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.5); }
.ministry__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transition: transform 0.5s ease; }
.ministry:hover .ministry__photo img { transform: scale(calc(var(--z, 1) * 1.05)); }

/* contact person's picture sits on the bottom edge of the ministry photo */
.ministry__avatar {
	position: relative;
	z-index: 1;
	width: 134px; height: 92px;
	margin: -46px auto 0;
	overflow: hidden;
	border: 3px solid #fff;
	border-radius: 48px;
	background: #0b3a4a;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.15);
}
.ministry__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.12) translateX(var(--ax, 0)); }

.ministry__body { display: flex; flex-direction: column; align-items: center; padding: 14px 12px 0; text-align: center; }
.ministry h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: 0.1em; color: #fff; }
.ministry__line { display: block; width: 44px; height: 3px; margin: 12px 0 14px; background: var(--red); }
.ministry__label { margin: 0 0 2px; color: var(--gold); font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.ministry__person { margin: 0 0 14px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.ministry__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	background: rgba(0, 25, 42, 0.35);
	font-size: 14.5px;
	font-weight: 500;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.ministry__phone .icon { color: var(--gold); }
.ministry__phone:hover { background: rgba(0, 160, 184, 0.45); border-color: #8ff3ff; }

@media (max-width: 700px) {
	.ministry { flex-basis: 100%; max-width: 380px; }
}
