/*
Theme Name: Barend van de Kar
Description: Eigen thema voor barendvandekar.nl, gebaseerd op het oorspronkelijke ontwerp, responsive gemaakt.
Version: 1.1
Text Domain: barendvandekar
*/

:root { --bvdk-blauw: #7492A1; --bvdk-tekst: #4F5155; }

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--bvdk-tekst); font-family: Georgia, "Times New Roman", Times, serif; font-size: 14px; line-height: 1.5; }
img { max-width: 100%; height: auto; }

.site { max-width: 643px; margin: 0 auto; padding: 0 0 24px; }

/* kop: woordmerk met gestippelde lijn eronder */
.site-header { display: flex; align-items: flex-end; }
.site-header .logo img { display: block; width: 163px; height: 193px; border-bottom: 1px dashed var(--bvdk-blauw); }
.site-header .foto { display: none; }
.menu-toggle { display: none; }

/* twee kolommen: menu met foto links, tekstvlak rechts */
.layout { display: grid; grid-template-columns: 161px 1fr; column-gap: 9px; margin-left: 2px; }
/* onderaan de kolom altijd ruimte voor de foto (269px + marge); bij een langer menu groeit de kolom (en het tekstvlak) mee */
.sidebar { box-sizing: border-box; min-height: 530px; padding-bottom: 290px; background: url(img/barend.jpg) no-repeat bottom right; text-align: right; }
.hoofdmenu { list-style: none; margin: 0; padding: 8px 0 0; }
.hoofdmenu li { padding-right: 10px; margin-top: 7px; }
.hoofdmenu a { color: var(--bvdk-blauw); font-size: 13px; text-decoration: none; text-transform: uppercase; }
.hoofdmenu a:hover, .hoofdmenu a:focus { text-decoration: underline; }
.hoofdmenu .current-menu-item > a, .hoofdmenu .current_page_item > a { color: #000; }

.content { background: var(--bvdk-blauw); color: #fff; padding: 15px; min-height: 455px; font-size: 13px; }
.content h1 { color: #fff; font-size: 14px; font-weight: normal; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 1px; }
.content h2, .content h3 { color: #fff; font-size: 13px; margin: 1.2em 0 .3em; }
.content a { color: #fff; font-weight: bold; }
.content p { margin: 0 0 1em; }
.content ul, .content ol { padding-left: 1.4em; }

.site-footer { margin-top: 8px; padding-top: 5px; border-top: 1px dashed var(--bvdk-blauw); color: var(--bvdk-blauw); font-size: 12px; font-style: italic; letter-spacing: 1.4px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* telefoon en smalle tablets */
@media (max-width: 680px) {
	.site { padding: 0 14px 24px; }
	.site-header { justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--bvdk-blauw); padding-bottom: 8px; }
	.site-header .logo img { width: 110px; height: auto; border-bottom: 0; }
	.site-header .foto { display: block; width: 92px; height: auto; }
	.menu-toggle { display: block; width: 100%; margin: 10px 0 0; padding: 10px; background: #fff; border: 1px solid var(--bvdk-blauw); color: var(--bvdk-blauw); font: inherit; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
	.layout { display: block; margin: 0; }
	.sidebar { min-height: 0; padding-bottom: 0; background: none; text-align: left; }
	.hoofdmenu { display: none; padding: 4px 0 8px; border-bottom: 1px dashed var(--bvdk-blauw); }
	.hoofdmenu.open { display: block; }
	.hoofdmenu li { padding: 0; margin: 0; }
	.hoofdmenu a { display: block; padding: 9px 4px; font-size: 14px; }
	.content { margin-top: 12px; min-height: 0; font-size: 15px; }
	.content h1 { font-size: 15px; }
}
