/* Contact page — themes/telstar/includes/contact-page-*.php */

.contact-page {
	max-width: 100%;
	/* CMS: FAQ / accent #2ecc71; CTA-knoppen blijven #00a859 */
	--contact-accent: #2ecc71;
	--contact-accent-soft: rgba(46, 204, 113, 0.15);
}

.contact-page .contact-lead {
	font-size: 14pt;
	line-height: 1.65;
	margin-bottom: 1.25rem;
}

.contact-page .contact-lead strong {
	font-weight: 700;
}

.contact-page .contact-title {
	text-align: center;
	font-size: 26pt;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1.25rem;
}

/* ——— Contact: één kader, 4 gelijke kolommen (CMS: table border 0, cellpadding 20) ——— */
/* Top/bottom lijn op het paneel (volle breedte), niet op cellen — voorkomt afgekapte lijn + tekst tegen de rand */
.contact-page .contact-info-panel {
	margin: 2rem 0 2.5rem;
	border: 0;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	border-radius: 0;
	background: #fff;
	padding: 1rem 0 0;
	box-sizing: border-box;
	width: 100%;
}

.contact-page #telstar-contact-info.contact-info-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	width: 100%;
	min-height: 100%;
	background: #fff;
	border-radius: 3px;
	overflow: visible;
	align-items: stretch;
}

/* Scheiding tussen kolommen: links op 2–4 (betrouwbaarder dan border-right + last-child i.c.m. overflow) */
.contact-page #telstar-contact-info .contact-info-card {
	background: #fff;
	border: none;
	border-radius: 0;
	padding: 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 100%;
	box-sizing: border-box;
	box-shadow: none;
}

.contact-page #telstar-contact-info .contact-info-card:not(:first-child) {
	border-left: 1px dotted #c5ccd6;
}

.contact-page #telstar-contact-info .contact-info-card--hours {
	align-items: stretch;
	text-align: left;
}

.contact-page #telstar-contact-info .contact-info-card--detail {
	justify-content: center;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.contact-page #telstar-contact-info .contact-info-icon {
	width: auto;
	height: auto;
	border-radius: 0;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.75rem;
	flex-shrink: 0;
	border: none;
	box-shadow: none;
}

.contact-page #telstar-contact-info .contact-info-icon img {
	display: block;
	width: 75px;
	height: auto;
	max-width: 75px;
	object-fit: contain;
	margin: 0;
}

.contact-page #telstar-contact-info .contact-info-label {
	font-size: 14pt;
	font-weight: 700;
	color: #000;
	margin: 0 0 0.45rem;
	display: block;
	letter-spacing: 0;
	text-transform: none;
}

.contact-page #telstar-contact-info .contact-info-link {
	font-size: 14pt;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.45;
	word-break: break-word;
}

.contact-page #telstar-contact-info .contact-info-link--tel {
	color: #000;
}

.contact-page #telstar-contact-info .contact-info-link--tel:hover {
	color: var(--contact-accent);
	text-decoration: underline;
}

.contact-page #telstar-contact-info .contact-info-link--mail {
	color: #000;
}

.contact-page #telstar-contact-info .contact-info-link--mail:hover {
	color: var(--contact-accent);
	text-decoration: underline;
}

.contact-page #telstar-contact-info .contact-info-address {
	font-size: 14pt;
	line-height: 1.55;
	color: #000;
	font-weight: 600;
	text-align: center;
}

/* Openingstijden (linkerkolom) */
.contact-page #telstar-contact-info .contact-info-hours {
	width: 100%;
}

.contact-page #telstar-contact-info .contact-info-hours-title {
	display: block;
	font-size: 14pt;
	font-weight: 700;
	color: #000;
	margin: 0 0 0.35rem;
	letter-spacing: 0;
	text-transform: none;
}

.contact-page #telstar-contact-info .contact-info-hours-sub {
	display: block;
	font-size: 14pt;
	font-weight: 700;
	color: #000;
	margin: 0 0 0.65rem;
}

.contact-page #telstar-contact-info .contact-info-hours-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14pt;
	line-height: 1.65;
	color: #000;
}

.contact-page #telstar-contact-info .contact-info-hours-list li {
	padding: 0.15rem 0;
	margin: 0;
	border: none;
}

.contact-page-form {
	margin: 0 0 2rem;
	padding: 1.5rem 0;
	border: 0;
}

.contact-page-form .table,
.contact-page-form table {
	width: 100%;
}

.contact-faq-title {
	font-size: 18pt;
	font-weight: 700;
	margin: 2rem 0 1rem;
	color: #000;
}

.contact-faq {
	border: 1px solid #2ecc71;
	border-radius: 0;
	padding: 10px;
	margin-bottom: 10px;
	background: #fff;
	overflow: visible;
}

.contact-faq summary {
	cursor: pointer;
	font-weight: 700;
	color: #2ecc71;
	padding: 0;
	list-style: none;
	font-size: 16pt;
	line-height: 1.45;
	background: transparent;
}

.contact-faq summary::-webkit-details-marker {
	display: none;
}

.contact-faq summary::after {
	content: "+";
	float: right;
	font-weight: 600;
	color: #2ecc71;
	font-size: 1.1rem;
	line-height: 1;
}

.contact-faq[open] summary::after {
	content: "−";
}

.contact-faq .contact-faq-body {
	padding: 8px 0 0;
	margin-top: 0;
	font-size: 14pt;
	line-height: 1.6;
	color: #222;
	border-top: none;
	background: transparent;
}

.contact-banner-link {
	display: block;
	margin: 1.5rem 0;
	text-decoration: none;
}

.contact-banner-link img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

/* “Snel meer weten?” — drie blog-achtige kaarten */
.contact-crosslinks-section {
	margin: 2rem 0 2.5rem;
}

.contact-crosslinks-intro {
	text-align: center;
	margin: 0 0 1.75rem;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.contact-crosslinks-intro h2 {
	font-size: 26.6667px;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: #222;
}

.contact-crosslinks-intro-text {
	font-size: 14pt;
	line-height: 1.5;
	margin: 0;
	color: #333;
}

/* Flex row: robuuster dan grid i.c.m. theme .row/.col floats; 3 kolommen op breed scherm */
.contact-page .contact-crosslinks-grid {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	max-width: 100%;
	clear: both;
	box-sizing: border-box;
}

.contact-page .contact-crosslink-card {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e5e5;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-page .contact-crosslink-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.contact-page .contact-crosslink-card .contact-crosslink-media {
	height: 250px;
	overflow: hidden;
	border-radius: 12px 12px 0 0;
	background: #f3f3f3;
}

.contact-page .contact-crosslink-card .contact-crosslink-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.contact-page .contact-crosslink-body {
	padding: 15px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.contact-page .contact-crosslink-title {
	margin: 0 0 0.4rem;
	font-size: 14pt;
	font-weight: 700;
	line-height: 1.25;
	color: #1a1a1a;
}

.contact-page .contact-crosslink-tagline {
	font-size: 12pt;
	line-height: 1.45;
	margin: 0 0 0.5rem;
	color: #333;
}

.contact-page .contact-crosslink-tagline em {
	font-style: italic;
	font-weight: 500;
}

.contact-page .contact-crosslink-desc {
	font-size: 12pt;
	line-height: 1.55;
	margin: 0 0 1rem;
	color: #333;
	flex: 1;
}

/* Oranje links + bullets (zoals live / voorbeeld) */
.contact-page .contact-crosslink-list {
	margin: 0;
	padding: 0 0 0 1.15rem;
	font-size: 12pt;
	line-height: 1.65;
	list-style: disc;
}

.contact-page .contact-crosslink-list li {
	padding-left: 0.15rem;
	margin-bottom: 0.2rem;
}

.contact-page .contact-crosslink-list li::marker {
	color: #e67e22;
}

.contact-page .contact-crosslink-list a {
	color: #e67e22;
	text-decoration: none;
	font-weight: 500;
}

.contact-page .contact-crosslink-list a:hover {
	color: #ca6a14;
	text-decoration: underline;
}

.contact-section {
	margin: 2rem 0;
	font-size: 1rem;
	line-height: 1.65;
}

.contact-section h2 {
	font-size: clamp(1.15rem, 2.5vw, 1.35rem);
	margin: 0 0 0.75rem;
	line-height: 1.3;
}

.contact-section h4 {
	font-size: 1rem;
	margin: 1rem 0 0.5rem;
}

.contact-section ul {
	margin: 0.5rem 0 1rem;
	padding-left: 1.25rem;
}

.contact-btn {
	display: inline-block;
	background-color: #00a859;
	color: #fff !important;
	font-weight: 700;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 16px;
	margin: 0.5rem 0 1rem;
	border: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
}

.contact-btn:hover {
	background-color: #008a4a;
	color: #fff !important;
}

/* Zelfde breedte als .contact-lead / contact-info-panel (volle kolom .contact-page) */
.contact-page .contact-regions-wrap {
	text-align: left;
	max-width: 100%;
	width: 100%;
	margin: 2rem 0 0;
	padding: 0;
	box-sizing: border-box;
}

/* CMS: hoofdtitel 14pt gecentreerd; blok max 800px zoals editor */
.contact-regions-wrap .contact-regions-title-main {
	text-align: center;
	font-size: 14pt;
	font-weight: 700;
	margin: 0 0 1rem;
	line-height: 1.3;
	color: #000;
}

.contact-regions-wrap .description {
	text-align: left;
	max-width: 100%;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	box-sizing: border-box;
}

.contact-regions-wrap .contact-regions-lead {
	margin: 0 0 1rem;
	line-height: 1.65;
	color: #222;
}

/* Oranje plaats-links zoals in de CMS-editor */
.contact-regions-wrap .description .contact-region-links a,
.contact-regions-wrap .description .contact-region-col a,
.contact-regions-wrap .description .contact-regions-lead a {
	color: #e67e22;
	text-decoration: none;
	font-weight: 500;
}

.contact-regions-wrap .description .contact-region-links a:hover,
.contact-regions-wrap .description .contact-region-col a:hover,
.contact-regions-wrap .description .contact-regions-lead a:hover {
	color: #ca6a14;
	text-decoration: underline;
}

.contact-regions-wrap h2.contact-region-heading {
	font-family: Arial Black, "Arial Black", Gadget, sans-serif;
	font-size: 18pt;
	letter-spacing: 0.02em;
	margin: 1.25rem 0 0.5rem;
	text-transform: uppercase;
}

/* Eén kolom: volle breedte, rustige leesregels */
.contact-regions-wrap .contact-region-grid {
	display: block;
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem 0.95rem;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: #fafafa;
	width: 100%;
	box-sizing: border-box;
}

.contact-regions-wrap .contact-region-col {
	font-size: 0.95rem;
	line-height: 1.75;
	min-width: 0;
}

.contact-regions-wrap .contact-region-links {
	font-size: 0.95rem;
	line-height: 1.75;
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem 0.95rem;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: #fafafa;
}

.contact-regions-wrap .contact-region-links a,
.contact-regions-wrap .contact-region-col a {
	white-space: nowrap;
	color: #e67e22;
}

@media (max-width: 640px) {
	.contact-regions-wrap .contact-region-grid {
		padding: 0.75rem 0.85rem;
	}
}

@media (max-width: 720px) {
	.contact-page .contact-info-panel {
		padding: 1rem 0 0;
		border-radius: 0;
	}

	.contact-page #telstar-contact-info.contact-info-grid {
		grid-template-columns: 1fr;
	}

	.contact-page #telstar-contact-info .contact-info-card:not(:first-child) {
		border-left: none;
	}

	.contact-page #telstar-contact-info .contact-info-card {
		border-bottom: 1px dotted #c5ccd6;
		padding: 1.5rem 1.25rem;
	}

	.contact-page #telstar-contact-info .contact-info-card:last-child {
		border-bottom: none;
	}

	.contact-page .contact-crosslinks-grid {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 20px;
	}

	.contact-page .contact-crosslink-card {
		width: 100%;
		max-width: 100%;
		flex: 1 1 auto;
	}
}

@media (max-width: 560px) {
	.contact-page .contact-crosslink-card .contact-crosslink-media {
		height: 200px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-page .contact-crosslink-card {
		transition: none;
	}

	.contact-page .contact-crosslink-card:hover {
		transform: none;
	}
}
