/*
Theme Name: Preventie Clinic Archive
Theme URI: https://preventieclinic.nl/
Author: Preventie Clinic
Description: A faithful WordPress recreation of the historic Preventie Clinic website.
Version: 1.1.0
Text Domain: preventieclinic
*/

@font-face {
	font-display: swap;
	font-family: "Arvo";
	font-style: normal;
	font-weight: 400;
	src: url("assets/fonts/arvo-400.woff2") format("woff2");
}

@font-face {
	font-display: swap;
	font-family: "Arvo";
	font-style: normal;
	font-weight: 700;
	src: url("assets/fonts/arvo-700.woff2") format("woff2");
}

:root {
	--blue: #0096ff;
	--navy: #005392;
	--bright-blue: #75d5ff;
	--ink: #181b20;
	--paper: rgba(255, 255, 255, 0.93);
}

* {
	box-sizing: border-box;
}

html {
	min-width: 320px;
}

body {
	margin: 0;
	background: #000 url("assets/images/background.jpg") fixed center top / cover no-repeat;
	color: var(--ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.7;
}

a {
	color: var(--blue);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

img {
	height: auto;
	max-width: 100%;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.site-shell {
	margin: 0 auto;
	width: 980px;
}

.site-header {
	align-items: center;
	display: flex;
	height: 190px;
	justify-content: center;
	text-align: center;
}

.site-logo,
.site-logo:hover {
	color: #fff;
	font-family: "Arvo", Georgia, serif;
	font-size: 54px;
	font-weight: 700;
	letter-spacing: -2px;
	line-height: 1;
	text-decoration: none;
	text-shadow: 0 3px 6px rgba(0, 0, 0, 0.78);
	text-transform: uppercase;
}

.site-nav {
	background: var(--navy);
	min-height: 56px;
	padding: 0 20px;
}

.site-nav ul {
	align-items: stretch;
	display: flex;
	justify-content: center;
	list-style: none;
	margin: 0;
	min-height: 56px;
	padding: 0;
}

.site-nav li {
	display: flex;
}

.site-nav a {
	align-items: center;
	color: #fff;
	display: flex;
	font-family: "Arvo", Georgia, serif;
	font-size: 13px;
	line-height: 1.25;
	padding: 0 15px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav .is-current a {
	background: rgba(0, 0, 0, 0.12);
	color: var(--bright-blue);
}

.site-main {
	background: var(--paper);
	min-height: 520px;
	padding: 40px 30px 0;
}

.site-main::after,
.entry-content::after {
	clear: both;
	content: "";
	display: table;
}

.content-column {
	float: right;
	padding-bottom: 46px;
	width: 600px;
}

.sidebar {
	float: left;
	padding-bottom: 36px;
	width: 240px;
}

h1,
h2,
h3,
h4,
.entry-title,
.sidebar-title {
	color: var(--blue);
	font-family: "Arvo", Georgia, serif;
	font-weight: 400;
	line-height: 1.22;
}

h1,
.entry-title {
	font-size: 31px;
	letter-spacing: -0.7px;
	margin: 0 0 22px;
}

h2 {
	font-size: 23px;
	margin: 30px 0 12px;
}

h3 {
	font-size: 18px;
	margin: 22px 0 8px;
}

p {
	margin: 0 0 17px;
}

ul,
ol {
	margin: 0 0 18px 22px;
	padding: 0;
}

.sidebar-section {
	margin-bottom: 36px;
}

.sidebar-title {
	border-bottom: 1px solid #ccd8e0;
	color: #0432ff;
	font-size: 20px;
	margin: 0 0 11px;
	padding: 0 0 9px;
	text-transform: uppercase;
}

.sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar li {
	border-bottom: 1px solid #e0e5e9;
	padding: 7px 0 7px 18px;
	position: relative;
}

.sidebar li::before {
	color: var(--blue);
	content: "›";
	font-size: 20px;
	left: 2px;
	line-height: 1;
	position: absolute;
	top: 8px;
}

.sidebar a {
	color: #34383d;
}

.sidebar .current-menu-item a,
.sidebar a:hover {
	color: var(--blue);
}

.feature-image {
	border: 1px solid #e1e1e1;
	float: right;
	margin: 3px 0 16px 22px;
	max-width: 285px;
	padding: 5px;
}

.button {
	background: var(--navy);
	border: 0;
	color: #fff;
	display: inline-block;
	font-family: "Arvo", Georgia, serif;
	padding: 9px 16px;
	text-transform: uppercase;
}

.button:hover,
.button:focus {
	background: var(--blue);
	color: #fff;
	text-decoration: none;
}

.notice {
	background: #edf7fd;
	border-left: 4px solid var(--blue);
	margin: 24px 0;
	padding: 13px 16px;
}

.breadcrumbs {
	color: #68727a;
	font-size: 12px;
	line-height: 1.5;
	margin: -13px 0 21px;
}

.breadcrumbs a {
	color: #4a5a66;
}

.archive-details {
	background: #f5f7f8;
	border: 1px solid #dbe2e7;
	margin: 24px 0;
	padding: 18px 20px;
}

.archive-details address {
	font-style: normal;
	margin-bottom: 10px;
}

.news-item {
	border-bottom: 1px solid #dfe5e8;
	margin-bottom: 22px;
	padding-bottom: 18px;
}

.news-item h2 {
	font-size: 21px;
	margin: 0 0 6px;
}

.news-meta {
	color: #777;
	font-size: 12px;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.site-footer {
	align-items: center;
	background: rgba(255, 255, 255, 0.93);
	border-top: 1px solid #ccd8e0;
	color: #62666a;
	display: flex;
	font-size: 12px;
	gap: 18px;
	justify-content: space-between;
	min-height: 76px;
	padding: 18px 30px;
}

.site-footer p {
	margin: 0;
}

.footer-contact,
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
}

.footer-contact strong {
	color: #3f464b;
}

.footer-links {
	justify-content: center;
}

.footer-consent-button {
	background: transparent;
	border: 0;
	color: var(--blue);
	cursor: pointer;
	font: inherit;
	padding: 0;
	text-decoration: underline;
}

.footer-consent-button:hover,
.footer-consent-button:focus {
	color: var(--dark-blue);
}

@media (max-width: 1020px) {
	body {
		background-attachment: scroll;
	}

	.site-shell {
		width: calc(100% - 32px);
	}

	.site-nav {
		padding: 0;
	}

	.site-nav ul {
		flex-wrap: wrap;
	}

	.site-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-links {
		justify-content: flex-start;
	}

	.site-nav a {
		min-height: 50px;
		padding: 0 12px;
	}

	.content-column {
		width: calc(100% - 280px);
	}
}

@media (max-width: 760px) {
	.site-shell {
		width: calc(100% - 20px);
	}

	.site-header {
		height: 128px;
	}

	.site-logo,
	.site-logo:hover {
		font-size: clamp(31px, 8vw, 45px);
		letter-spacing: -1px;
	}

	.site-nav ul {
		display: block;
	}

	.site-nav li {
		display: block;
	}

	.site-nav a {
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		justify-content: center;
		min-height: 44px;
	}

	.site-main {
		padding: 30px 24px 0;
	}

	.content-column,
	.sidebar {
		float: none;
		width: 100%;
	}

	.sidebar {
		border-top: 1px solid #ccd8e0;
		padding-top: 28px;
	}

	.feature-image {
		float: none;
		margin: 0 0 20px;
		max-width: 100%;
		width: 100%;
	}

	.breadcrumbs {
		margin-top: -5px;
	}
}
