/* ============================================================
   KBH footer — brand chrome + contact column + social row.
   Colors/spacing come from theme.json tokens; this file owns
   the footer's contact/social layout only. The footer sits on
   koningsblauw with white text (see parts/footer.html).
   ============================================================ */

/* Top row: brand on the left, contact on the right, wraps on small screens. */
.kbh-footer .kbh-footer-top {
	row-gap: var(--wp--preset--spacing--30);
}

/* -------------------------------------------------- Contact column */
.kbh-contact .kbh-contact-heading {
	margin: 0 0 0.4rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	opacity: 0.85;
}

.kbh-contact .kbh-contact-item {
	margin: 0;
	line-height: 1.5;
}
.kbh-contact .kbh-contact-item + .kbh-contact-item {
	margin-top: 0.15rem;
}

/* Footer context: right-aligned, small, links inherit white. */
.kbh-footer .kbh-contact {
	text-align: right;
	font-size: var(--wp--preset--font-size--small);
}
.kbh-footer .kbh-contact a {
	color: inherit;
	text-decoration: none;
}
.kbh-footer .kbh-contact a:hover,
.kbh-footer .kbh-contact a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

@media (max-width: 782px) {
	.kbh-footer .kbh-contact {
		text-align: left;
	}
}

/* -------------------------------------------------- Quick links */
.kbh-footer .kbh-footer-links-heading {
	margin: 0;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	opacity: 0.85;
}
.kbh-footer .kbh-footer-links a:hover,
.kbh-footer .kbh-footer-links a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* -------------------------------------------------- Social row */
.kbh-social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: center;
}

/* In the footer the social row sits just above the copyright line. */
.kbh-footer .kbh-social {
	margin-bottom: 0.85rem;
}

.kbh-social-link {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--wp--preset--color--wit);
	background: rgba(255, 255, 255, 0.12);
	transition: background 0.2s ease, transform 0.2s ease;
}
.kbh-social-link:hover,
.kbh-social-link:focus-visible {
	background: rgba(255, 255, 255, 0.24);
}
@media (prefers-reduced-motion: no-preference) {
	.kbh-social-link:hover {
		transform: translateY(-2px);
	}
}
.kbh-social-link:focus-visible {
	outline: 2px solid var(--wp--preset--color--wit);
	outline-offset: 2px;
}
.kbh-social-icon {
	width: 22px;
	height: 22px;
	display: block;
}

/* -------------------------------------------------- Contact on the contact page */
/* On a white page the same block reads as dark text with brand-blue links. */
.kbh-page-contact {
	margin-top: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border-left: 4px solid var(--wp--preset--color--koningsblauw);
	background: rgba(35, 56, 142, 0.04);
}
.kbh-page-contact .kbh-contact-heading {
	color: var(--wp--preset--color--koningsblauw);
	opacity: 1;
	font-size: 0.8125rem;
}
.kbh-page-contact .kbh-contact-item {
	color: var(--wp--preset--color--zwart);
	line-height: 1.7;
}
.kbh-page-contact .kbh-contact a {
	color: var(--wp--preset--color--koningsblauw);
	text-decoration: none;
	font-weight: 600;
}
.kbh-page-contact .kbh-contact a:hover,
.kbh-page-contact .kbh-contact a:focus-visible {
	color: var(--wp--preset--color--venetiaans-rood);
	text-decoration: underline;
}
