/*
Theme Name: Uw Camperverzekering V2
Theme URI: https://uwcamperverzekering.nl/
Author: Codex
Description: Moderne vrije V2-variant voor UwCamperverzekering.nl.
Version: 2.1.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: uwcamperverzekering-v2
*/

@font-face {
	font-display: swap;
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400 700;
	src: url('assets/open-sans-latin.woff2') format('woff2');
}

:root {
	--blue: #0082cc;
	--blue-dark: #075d90;
	--green: #68a900;
	--green-soft: #eaf6dc;
	--ink: #183243;
	--muted: #667888;
	--line: rgba(24, 50, 67, 0.12);
	--paper: #ffffff;
	--surface: rgba(255, 255, 255, 0.86);
	--shadow-sm: 0 10px 28px rgba(7, 93, 144, 0.12);
	--shadow-lg: 0 28px 80px rgba(16, 45, 68, 0.22);
	--radius: 18px;
	--container: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background:
		radial-gradient(circle at 18% 12%, rgba(104, 169, 0, 0.14), transparent 30%),
		radial-gradient(circle at 82% 6%, rgba(0, 130, 204, 0.16), transparent 32%),
		linear-gradient(180deg, #f6fbff 0%, #eef6f8 48%, #f8fbf7 100%);
	color: var(--ink);
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	margin: 0;
	overflow-x: hidden;
}

a {
	color: inherit;
}

::selection {
	background: rgba(104, 169, 0, 0.24);
	color: var(--ink);
}

.site-bg,
.wrapper {
	width: 100%;
}

.wrapper {
	float: none;
}

.wide-container,
.narrow-container {
	margin: 0 auto;
	max-width: var(--container);
	width: min(calc(100% - 48px), var(--container));
}

.white {
	background: transparent;
}

.green {
	background: transparent;
}

.blue {
	background: transparent;
}

.topbar {
	background: linear-gradient(90deg, var(--blue-dark), var(--blue));
	color: #fff;
	position: relative;
	z-index: 2;
}

.topcontact {
	align-items: center;
	display: flex;
	font-size: 14px;
	font-weight: 700;
	gap: 22px;
	justify-content: flex-end;
	min-height: 42px;
	padding: 9px 0;
	text-align: right;
}

.topcontact a {
	color: #fff;
	padding-left: 7px;
	text-decoration: none;
}

.topcontact span {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.headerbar {
	backdrop-filter: blur(18px);
	background: rgba(255, 255, 255, 0.86);
	border-bottom: 1px solid rgba(255, 255, 255, 0.68);
	box-shadow: 0 12px 38px rgba(24, 50, 67, 0.08);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.site-header {
	align-items: center;
	display: flex;
	min-height: 86px;
}

.logo {
	padding: 18px 0;
	width: 34%;
}

.logo img {
	display: block;
	height: auto;
	max-width: 330px;
	width: min(100%, 330px);
}

.main-nav {
	align-items: center;
	display: flex;
	gap: 6px;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	width: 66%;
}

.main-nav a {
	border-radius: 999px;
	color: var(--ink);
	display: block;
	font-size: 15px;
	font-weight: 700;
	padding: 12px 16px;
	text-decoration: none;
	transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus {
	background: #fff;
	box-shadow: 0 10px 22px rgba(0, 130, 204, 0.13);
	color: var(--blue);
	transform: translateY(-1px);
}

.menu-toggle {
	align-items: center;
	background: linear-gradient(135deg, var(--blue), #16a4e7);
	border: 0;
	border-radius: 14px;
	box-shadow: 0 10px 22px rgba(0, 130, 204, 0.22);
	color: #fff;
	cursor: pointer;
	display: none;
	font-size: 22px;
	height: 48px;
	justify-content: center;
	margin-left: auto;
	width: 54px;
}

.banner {
	overflow: hidden;
	min-height: clamp(500px, 68vh, 760px);
	position: relative;
}

.banner::before {
	background:
		linear-gradient(90deg, rgba(7, 93, 144, 0.48), rgba(7, 93, 144, 0.05) 55%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.26));
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

body.home .static-hero,
body.ucv-no-featured-image .static-hero,
body.ucv-no-featured-image .home-hero {
	display: none;
}

body.ucv-no-featured-image .main-content {
	margin-top: 32px;
}

.page-featured-hero + .blue {
	display: none;
}

.page-featured-hero {
	display: block;
	margin: 0 !important;
	margin-block-end: 0 !important;
	margin-block-start: 0 !important;
	min-height: 680px;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

.page-featured-hero .wp-block-post-featured-image {
	margin: 0 !important;
	margin-block-end: 0 !important;
	margin-block-start: 0 !important;
}

.hero-image {
	height: 680px !important;
	line-height: 0;
	margin: 0 !important;
	max-width: none;
	width: 100%;
}

.hero-image img {
	display: block;
	height: 100% !important;
	object-fit: cover;
	width: 100%;
}

.home-hero {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.home-hero .wp-block-cover__background {
	display: none;
}

.home-hero .wp-block-cover__image-background,
.home-hero .wp-block-cover__video-background {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
	z-index: 0;
}

.home-hero .wp-block-cover__inner-container {
	min-height: inherit;
	position: relative;
	z-index: 2;
}

.hero-container {
	max-width: none;
	width: 100%;
}

.bannermodule {
	animation: ucv-rise 700ms cubic-bezier(.2,.8,.2,1) both;
	backdrop-filter: blur(18px);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68));
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 28px;
	box-shadow: var(--shadow-lg);
	color: var(--ink);
	left: max(32px, calc((100vw - var(--container)) / 2));
	padding: clamp(28px, 4vw, 54px);
	position: absolute;
	top: 18%;
	width: min(560px, calc(100% - 64px));
	z-index: 3;
}

.bannermodule::before {
	background: linear-gradient(180deg, var(--green), #8ad02a);
	border-radius: 999px;
	content: "";
	height: 72px;
	left: -14px;
	position: absolute;
	top: 38px;
	width: 6px;
}

.bannermodule h3 {
	color: var(--blue);
	font-size: clamp(28px, 4vw, 48px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0;
}

.bannermodule p {
	color: var(--muted);
	font-size: 17px;
	font-weight: 700;
}

.btn {
	background: linear-gradient(135deg, var(--blue), #1db7f2);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 18px 34px rgba(0, 130, 204, 0.28);
	color: #fff;
	display: inline-flex;
	font-size: 16px;
	font-weight: 700;
	margin: 28px 0 18px;
	padding: 14px 26px;
	text-decoration: none;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.wp-block-button.btn {
	background: none;
	box-shadow: none;
	display: block;
	margin: 28px 0 18px;
	padding: 0;
}

.wp-block-button.btn .wp-block-button__link {
	background: linear-gradient(135deg, var(--blue), #1db7f2);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 18px 34px rgba(0, 130, 204, 0.28);
	color: #fff;
	display: inline-flex;
	font-size: 16px;
	font-weight: 700;
	padding: 14px 26px;
	text-decoration: none;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.btn:hover,
.btn:focus,
.wp-block-button.btn .wp-block-button__link:hover,
.wp-block-button.btn .wp-block-button__link:focus {
	box-shadow: 0 24px 42px rgba(0, 130, 204, 0.34);
	color: #fff;
	transform: translateY(-3px);
}

.main-content {
	align-items: start;
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
	margin-top: -58px;
	position: relative;
	z-index: 5;
}

.main-content.no-sidebar {
	display: block;
}

.content,
.midright {
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.content {
	animation: ucv-fade-up 650ms ease-out both;
	padding: clamp(30px, 4vw, 54px);
}

.page-header {
	border: 0;
	margin: 0 0 18px;
	padding: 0;
}

.page-header h1,
.fcp_page h1 {
	color: var(--blue);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.12;
	margin: 0 0 18px;
	position: relative;
}

.page-header h1::after,
.fcp_page h1::after {
	background: linear-gradient(90deg, var(--green), var(--blue));
	border-radius: 999px;
	bottom: -12px;
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	width: min(170px, 42%);
}

h2 {
	color: var(--green);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
	margin: 28px 0 12px;
}

h3 {
	color: var(--blue);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.24;
	margin: 24px 0 12px;
}

h4 {
	color: var(--blue-dark);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	margin: 20px 0 4px;
}

p {
	color: var(--ink);
	font-size: 16px;
	line-height: 1.82;
	margin: 0;
	padding: 9px 0;
}

.content .page-header,
.content h2,
.content h3,
.content h4,
.content p,
.content table,
.midright,
.footer-grid > div {
	animation: ucv-fade-up 620ms ease-out both;
}

.midright {
	animation-delay: 120ms;
	padding: 32px;
	position: sticky;
	top: 110px;
	transition: box-shadow 220ms ease, transform 220ms ease;
}

.midright:hover {
	box-shadow: 0 18px 48px rgba(7, 93, 144, 0.14);
	transform: translateY(-3px);
}

.midright h3 {
	color: var(--blue);
	font-size: 26px;
	margin-top: 0;
}

.midright ul {
	display: grid;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.midright li {
	align-items: flex-start;
	background: rgba(234, 246, 220, 0.72);
	border: 1px solid rgba(104, 169, 0, 0.16);
	border-radius: 14px;
	display: flex;
	font-size: 15px;
	font-weight: 600;
	gap: 12px;
	line-height: 1.45;
	margin: 0;
	padding: 13px 14px;
}

.midright li::before {
	align-items: center;
	background: var(--green);
	border-radius: 50%;
	color: #fff;
	content: "+";
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 900;
	height: 20px;
	justify-content: center;
	line-height: 1;
	margin-top: 1px;
	transition: transform 180ms ease;
	width: 20px;
}

.midright li:hover::before {
	transform: rotate(90deg);
}

.video-link {
	margin: 26px 0 0;
}

.video-link img {
	border-radius: 16px;
	box-shadow: 0 16px 34px rgba(7, 93, 144, 0.16);
	display: block;
	height: auto;
	max-width: 100%;
	transition: filter 220ms ease, transform 220ms ease;
}

.video-link a:hover img,
.video-link a:focus img {
	filter: saturate(1.08) contrast(1.03);
	transform: scale(1.015);
}

.footer {
	background: linear-gradient(135deg, var(--blue-dark), var(--blue));
	color: #fff;
	margin-top: 74px;
	overflow: hidden;
	padding: 62px 0;
	position: relative;
}

.footer::before {
	background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
	content: "";
	height: 320px;
	position: absolute;
	right: -80px;
	top: -120px;
	width: 320px;
}

.footer-grid {
	display: grid;
	gap: 38px;
	grid-template-columns: repeat(3, 1fr);
	position: relative;
}

.footer h3 {
	color: #bff17f;
	margin-top: 0;
}

.footer p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 15px;
}

.footer a {
	color: #fff;
	line-height: 2;
	padding-left: 10px;
	text-decoration: none;
	transition: color 180ms ease, padding-left 180ms ease;
}

.footer a:hover,
.footer a:focus {
	color: #d7f2ff;
	padding-left: 15px;
}

.footer i {
	min-width: 18px;
}

.copyright {
	background: var(--green);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 13px 30px;
	text-align: right;
}

.copyright a {
	color: #fff;
	text-decoration: none;
}

.table-responsive table,
table.table-responsive {
	border-collapse: separate;
	border-spacing: 0;
	font-size: 14px;
	overflow: hidden;
	width: 100%;
}

.table-responsive td,
table.table-responsive td {
	border-bottom: 1px solid rgba(0, 130, 204, 0.1);
	padding: 14px;
	vertical-align: middle;
}

.tabledblue {
	background: var(--blue);
	color: #fff;
	font-weight: 700;
}

.tableblue {
	background: rgba(0, 130, 204, 0.08);
}

.tablewhite {
	background: rgba(255, 255, 255, 0.66);
}

.check {
	color: var(--green);
	font-weight: 900;
}

.times {
	color: #d11f3f;
	font-weight: 900;
}

.premium-frame-wrap {
	background: #fff;
	border-radius: 18px;
	margin-top: 28px;
	overflow: hidden;
}

.premium-frame {
	border: 0;
	display: block;
	height: 1360px;
	transform: translateY(-104px);
	width: 100%;
}

.fcp_wrapper {
	background: transparent;
	color: var(--ink);
	padding: 8px 0 0;
}

.fcp_line {
	margin: 0 0 14px;
}

.fcp_label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 6px;
}

.fcp_input {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	font: inherit;
	font-size: 15px;
	padding: 11px 12px;
	width: 100%;
}

.fcp_input:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(0, 130, 204, 0.1);
	outline: 0;
}

.fcp_form .button {
	background: linear-gradient(135deg, var(--green), #8ad02a);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	padding: 13px 26px;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.fcp_form .button:hover {
	box-shadow: 0 18px 34px rgba(104, 169, 0, 0.24);
	transform: translateY(-2px);
}

.ucv-lightbox {
	align-items: center;
	background: rgba(5, 19, 30, 0.84);
	display: none;
	inset: 0;
	justify-content: center;
	padding: 30px;
	position: fixed;
	z-index: 9999;
}

.ucv-lightbox.is-open {
	display: flex;
}

.ucv-lightbox__inner {
	aspect-ratio: 16 / 9;
	max-width: 1000px;
	position: relative;
	width: min(100%, 1000px);
}

.ucv-lightbox iframe {
	border: 0;
	border-radius: 18px;
	height: 100%;
	width: 100%;
}

.ucv-lightbox__close {
	background: var(--blue);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	font-size: 22px;
	height: 46px;
	position: absolute;
	right: -12px;
	top: -58px;
	width: 46px;
}

@keyframes ucv-fade-up {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes ucv-rise {
	from {
		opacity: 0;
		transform: translateY(22px) scale(0.985);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 1024px) {
	.site-header {
		flex-wrap: wrap;
		padding: 0 24px;
		position: relative;
	}

	.logo {
		width: auto;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.main-nav {
		background: rgba(255, 255, 255, 0.97);
		border-top: 1px solid rgba(0, 130, 204, 0.1);
		box-shadow: 0 18px 38px rgba(24, 50, 67, 0.12);
		display: none;
		left: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		padding: 12px 24px 18px;
		position: absolute;
		right: 50%;
		top: 100%;
		transform: none;
		width: auto;
	}

	.main-nav.is-open {
		display: grid;
		gap: 8px;
		justify-items: center;
	}

	.main-nav a {
		background: rgba(245, 251, 255, 0.96);
		border: 1px solid rgba(0, 130, 204, 0.08);
		border-radius: 10px;
		box-shadow: none;
		color: var(--ink);
		max-width: 760px;
		padding: 14px 16px;
		text-align: center;
		width: 100%;
	}

	.main-content {
		grid-template-columns: 1fr;
	}

	.midright {
		position: static;
	}
}

@media (max-width: 650px) {
	.wide-container,
	.narrow-container {
		width: min(calc(100% - 32px), var(--container));
	}

	.topcontact {
		align-items: stretch;
		display: grid;
		font-size: 14px;
		gap: 8px;
		justify-content: stretch;
		padding: 9px 16px;
	}

	.topcontact span {
		background: rgba(255, 255, 255, 0.14);
		border-radius: 12px;
		justify-content: center;
		padding: 11px 14px;
	}

	.site-header {
		min-height: 78px;
		padding: 12px 16px;
	}

	.logo {
		padding: 0;
		width: calc(100% - 64px);
	}

	.logo img {
		max-width: min(100%, 340px);
	}

	.banner {
		min-height: 580px;
	}

	.bannermodule {
		left: 16px;
		padding: 28px;
		top: 90px;
		width: calc(100% - 32px);
	}

	.main-content {
		margin-top: -36px;
	}

	.content,
	.midright {
		padding: 26px;
	}

	.footer {
		padding: 42px 0;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.copyright {
		padding: 13px 16px;
		text-align: center;
	}

	.table-responsive {
		overflow-x: auto;
	}

	.table-responsive table {
		min-width: 720px;
	}
}

.editor-styles-wrapper {
	background: #f6fbff;
	font-family: 'Open Sans', Arial, sans-serif;
}

.editor-styles-wrapper .wrapper {
	float: none;
}

.editor-styles-wrapper .narrow-container {
	margin-left: auto;
	margin-right: auto;
}
