﻿/*
 * CSS voor de footer en cookiemelding.
 */
body:has(.hw-auth-page) footer,
body:has(.hw-auth-page) footer > *,
body:has(.hw-auth-page) footer .wp-block-group,
body:has(.hw-auth-page) footer .wp-block-group__inner-container,
body:has(.hw-auth-page) footer nav,
body:has(.hw-auth-page) footer ul {
	align-items: center !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 10px !important;
	justify-content: space-between !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:has(.hw-auth-page) footer {
	background: #0f1720 !important;
	min-height: 42px !important;
	overflow: hidden !important;
	padding: 10px 12px !important;
	width: 100% !important;
}

body:has(.hw-auth-page) footer nav {
	margin-left: auto !important;
}

.hw-footer-company {
	font-size: 0.82rem;
	line-height: 1.6;
}

.hw-footer-company a {
	color: inherit;
}

.hw-context-disclaimer {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid rgba(11, 27, 77, 0.12);
	border-radius: 8px;
	background: #f8fafc;
	color: #475569;
	font-size: 0.9rem;
	line-height: 1.5;
}

.hw-context-disclaimer p {
	margin: 0;
}

.hw-context-disclaimer a,
.hw-checkout-terms a,
.hw-ai-chat-disclaimer a {
	color: #ff3f4b;
	font-weight: 700;
	text-decoration: none;
}

.hw-legal-info-card {
	margin-top: 18px;
}

.hw-legal-link-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.hw-legal-link-grid a {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(11, 27, 77, 0.12);
	border-radius: 8px;
	color: #0b1b4d;
	display: flex;
	flex: 1 1 180px;
	font-weight: 700;
	justify-content: space-between;
	min-height: 44px;
	padding: 10px 12px;
	text-decoration: none;
}

.hw-cookie-banner {
	align-items: flex-start;
	background: #fff;
	border: 1px solid rgba(11, 27, 77, 0.12);
	border-radius: 8px;
	bottom: 18px;
	box-shadow: 0 18px 60px rgba(11, 27, 77, 0.18);
	color: #0b1b4d;
	display: flex;
	gap: 18px;
	padding: 18px;
	position: fixed;
	right: 18px;
	width: min(720px, calc(100vw - 36px));
	z-index: 99998;
}

.hw-cookie-banner div:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

.hw-cookie-banner[hidden],
.hw-cookie-preferences[hidden] {
	display: none;
}

.hw-cookie-banner p {
	margin: 6px 0 0;
	color: #475569;
	line-height: 1.5;
}

.hw-cookie-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: flex-end;
}

.hw-cookie-actions a {
	color: #0b1b4d;
	font-weight: 700;
	text-decoration: none;
}

.hw-cookie-preferences {
	position: fixed;
	right: 18px;
	bottom: 98px;
	z-index: 99997;
	padding: 9px 12px;
	border: 1px solid rgba(11, 27, 77, 0.12);
	border-radius: 8px;
	background: #fff;
	color: #0b1b4d;
	font-weight: 700;
	box-shadow: 0 10px 34px rgba(11, 27, 77, 0.16);
}

.hw-ai-chat-disclaimer {
	display: block;
	margin: 0;
	padding: 0 4px;
	background: transparent;
	color: #667085;
	font-size: 0.78rem;
	line-height: 1.4;
}

.hw-ai-chat-disclaimer a {
	color: #ff3f4b;
	font-weight: 700;
}

@media (max-width: 720px) {
	.hw-cookie-banner {
		bottom: 12px;
		flex-direction: column;
		left: 12px;
		right: 12px;
		width: auto;
	}

	.hw-cookie-banner div:first-child {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.hw-cookie-banner div:first-child p {
		text-align: center;
	}

	.hw-cookie-actions {
		align-items: stretch;
		flex-direction: column;
		justify-content: flex-start;
		width: 100%;
	}

	.hw-cookie-actions a,
	.hw-cookie-actions .hw-button {
		justify-content: center;
		text-align: center;
		width: 100%;
	}

	.hw-cookie-preferences {
		right: 12px;
		bottom: 88px;
	}
}

.hw-home-footer {
	color: rgba(255, 255, 255, 0.7);
}

.hw-home-footer-grid {
	gap: clamp(84px, 8vw, 132px);
	justify-content: space-between;
}

.hw-home-footer-grid > :first-child {
	border-right: 1px solid rgba(255, 255, 255, 0.1);
	padding-right: clamp(48px, 6vw, 92px);
}

.hw-home-footer .hw-home-logo {
	align-items: center;
	height: 52px;
	justify-content: center;
	margin-bottom: 20px;
	width: 154px;
}

.hw-home-footer .hw-home-logo img {
	height: auto;
	max-height: 42px;
	max-width: 118px;
	width: auto;
}

.hw-home-footer h2 {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.04em;
	margin-bottom: 18px;
}

.hw-home-footer nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hw-home-footer nav a {
	align-items: center;
	color: #ffffff;
	display: inline-flex;
	gap: 8px;
	font-size: 14px;
	transition: color 160ms ease, transform 160ms ease;
}

.hw-home-footer nav a:hover,
.hw-home-footer nav a:focus-visible {
	color: #ff3f4b;
	transform: translateX(2px);
}

.hw-home-footer nav a .dashicons {
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.hw-home-footer nav a .hw-social-icon {
	flex: 0 0 16px;
	height: 16px;
	width: 16px;
}

.hw-home-footer .hw-footer-company {
	color: rgba(255, 255, 255, 0.78);
	display: flex !important;
	flex-direction: column;
	gap: 7px;
	margin-bottom: 12px !important;
	opacity: 1;
	visibility: visible;
}

.hw-home-footer .hw-footer-company span {
	align-items: center;
	display: flex !important;
	gap: 10px;
	opacity: 1;
	visibility: visible;
}

.hw-footer-company .dashicons {
	align-items: center;
	color: #ffffff;
	display: inline-flex;
	flex: 0 0 18px;
	font-size: 15px;
	height: 18px;
	justify-content: center;
	line-height: 1;
	width: 18px;
}

.hw-footer-company a {
	color: #ffffff;
	text-decoration-color: rgba(255, 255, 255, 0.55);
}

.hw-footer-company a:hover,
.hw-footer-company a:focus-visible {
	color: #ff3f4b;
	text-decoration-color: #ff3f4b;
}

.hw-footer-trust {
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	font-weight: 750;
	margin-top: 12px !important;
}

.hw-home-footer small {
	color: rgba(255, 255, 255, 0.62);
}

.hw-ai-chat {
	bottom: 28px;
	right: 28px;
}

.hw-ai-chat-toggle {
	box-shadow: 0 18px 44px rgba(217, 35, 50, 0.38);
}

@media (max-width: 720px) {
	.hw-home-footer {
		padding: 32px 0;
		text-align: center;
	}

	.hw-home-footer-grid {
		align-items: center;
		flex-direction: column;
		gap: 30px;
	}

	.hw-home-footer-grid > *,
	.hw-home-footer-grid > :first-child {
		align-items: center;
		flex: 0 1 auto;
		text-align: center;
		width: 100%;
	}

	.hw-home-footer-grid > :first-child {
		border-right: 0;
		padding-right: 0;
	}

	.hw-home-footer .hw-home-logo {
		height: 46px;
		width: 138px;
	}

	.hw-home-footer .hw-home-logo img {
		max-height: 36px;
		max-width: 106px;
	}

	.hw-footer-company,
	.hw-footer-trust {
		text-align: center;
	}

	.hw-footer-company span {
		gap: 10px;
		justify-content: center;
		width: 100%;
	}

	.hw-home-footer nav a .dashicons,
	.hw-home-footer nav a .hw-social-icon {
		flex: 0 0 18px;
		height: 18px;
		margin-right: 2px;
		width: 18px;
	}

	.hw-home-footer nav {
		align-items: center;
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.hw-home-footer nav h2 {
		margin-bottom: 4px;
		text-align: center;
	}

	.hw-home-footer nav a {
		justify-content: center;
		text-align: center;
		white-space: normal;
	}

	.hw-home-footer nav a:not(:last-child)::after {
		content: none;
	}

	.hw-home-footer small {
		display: block;
		text-align: center;
		white-space: normal;
	}

	/* Houd de gedeelde footer ook boven pagina-specifieke mobiele overrides. */
	.hw-home-page .hw-home-footer-grid,
	.hw-blog-page .hw-home-footer-grid {
		align-items: center;
		flex-direction: column;
		justify-content: center;
	}

	.hw-home-page .hw-home-footer-grid > *,
	.hw-home-page .hw-home-footer-grid > :first-child,
	.hw-blog-page .hw-home-footer-grid > *,
	.hw-blog-page .hw-home-footer-grid > :first-child {
		align-items: center;
		flex: 0 1 auto;
		padding-right: 0;
		text-align: center;
		width: 100%;
	}

	.hw-home-page .hw-home-footer nav,
	.hw-blog-page .hw-home-footer nav {
		align-items: center;
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 100%;
	}

	.hw-home-page .hw-home-footer nav a,
	.hw-blog-page .hw-home-footer nav a {
		justify-content: center;
		text-align: center;
	}

	.hw-home-page .hw-home-footer nav a:not(:last-child)::after,
	.hw-blog-page .hw-home-footer nav a:not(:last-child)::after {
		content: none;
	}

	.hw-ai-chat {
		bottom: 24px;
		right: 24px;
	}
}

body:has(.hw-auth-page) footer li,
body:has(.hw-auth-page) footer p,
body:has(.hw-auth-page) footer small,
body:has(.hw-auth-page) footer a {
	display: inline-flex !important;
	flex: 0 0 auto !important;
	font-size: 11px !important;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	white-space: nowrap !important;
}

body:has(.hw-auth-page) footer nav {
	display: flex !important;
	gap: 10px !important;
	justify-content: flex-end !important;
}

body:has(.hw-auth-page) footer > *,
body:has(.hw-auth-page) footer .wp-block-group,
body:has(.hw-auth-page) footer .wp-block-group__inner-container {
	flex: 1 1 auto !important;
	width: 100% !important;
}

body:has(.hw-auth-page) footer nav {
	margin-left: auto !important;
}


