/*
Theme Name:   Globeview Motorhotel Eifel
Theme URI:    https://www.globeview.nl/
Description:  Childthema van Twenty Twenty voor Motorhotel Eifel – Pension Lindental. Vervangt het Genesis-childthema "globeview".
Author:       Globeview
Author URI:   https://www.globeview.nl/
Template:     twentytwenty
Version:      1.0.4
Requires at least: 6.4
Requires PHP: 8.0
Text Domain:  gvme
*/

/* ---------- Lettertype (lokaal, geen Google Fonts) ---------- */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-stretch: 100%;
	font-display: swap;
	src: url("fonts/open-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Basis ---------- */
:root {
	--gv-cream: #faf1e2;
	--gv-lime: #d2de24;
	--gv-brown: #5b3d10;
	--gv-gold: #b2771f;
	--gv-taupe: rgba(58, 40, 22, 0.58);
	--gv-taupe-solid: #8c7d6c;
	--gv-text: #1a1a1a;
	--gv-light: #fffbf0;
	--gv-wrap: 1200px;
	--gv-gap: 30px;
	--gv-font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
	background: var(--gv-cream) url("images/background.jpg") no-repeat fixed left top;
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: transparent;
	color: var(--gv-text);
	font-family: var(--gv-font);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--gv-brown); text-decoration: underline; text-underline-offset: 2px; }
a:hover, a:focus { color: var(--gv-gold); }
:focus-visible { outline: 2px solid var(--gv-brown); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--gv-font);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	color: #000;
	margin: 1.2em 0 .4em;
}
h1 { font-size: 24px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4, h5, h6 { font-size: 16px; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; left: 10px; top: 10px; z-index: 100000;
	background: #fff; color: #000; padding: 10px 16px;
}

.gvme-wrap { width: 100%; max-width: var(--gv-wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.gvme-header { background: var(--gv-cream); position: relative; z-index: 10; }
.gvme-header__inner { position: relative; display: flex; align-items: flex-start; justify-content: space-between; min-height: 130px; }
.gvme-brand { flex: 1 1 auto; }
.gvme-brand .widget, .gvme-brand .widget-wrap, .gvme-brand p { margin: 0; padding: 0; }
.gvme-brand img { display: block; width: 960px; max-width: 100%; height: auto; }
.gvme-brand__text { font-size: 28px; font-weight: 700; text-decoration: none; display: block; padding: 40px 0; }
.gvme-header__aside { flex: 0 0 auto; padding: 12px 0 0 20px; font-size: 13px; text-align: left; }
.gvme-header__aside .widget, .gvme-header__aside p { margin: 0; }
.gvme-header__aside img { display: inline-block; vertical-align: middle; }
.gvme-header__aside .telephone { line-height: 1.5; font-weight: 700; }
.gvme-header__aside .telephone a { color: #000; text-decoration: none; }
.gvme-header__aside .telephone a:hover, .gvme-header__aside .telephone a:focus { color: var(--gv-brown); text-decoration: underline; }
.gvme-header__aside #languages { margin-bottom: 4px; }
.gvme-mobile-logo { display: none; }

/* Menu */
.gvme-nav { background: var(--gv-lime); }
.gvme-nav .gvme-wrap { position: relative; }
.gvme-menu, .gvme-menu ul { list-style: none; margin: 0; padding: 0; }
.gvme-menu { display: flex; flex-wrap: wrap; }
.gvme-menu > li { position: relative; border-right: 1px solid rgba(91, 61, 16, .18); }
.gvme-menu > li:first-child { border-left: 1px solid rgba(91, 61, 16, .18); }
.gvme-menu a {
	display: block; padding: 14px 18px; color: #333; text-decoration: none;
	font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
	transition: background-color .2s ease;
}
.gvme-menu a:hover, .gvme-menu a:focus,
.gvme-menu .current-menu-item > a, .gvme-menu .current-menu-ancestor > a, .gvme-menu .current_page_item > a {
	background: rgba(91, 61, 16, .16); color: #000;
}
.gvme-menu .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 200px; background: var(--gv-lime);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .15); opacity: 0; visibility: hidden; transition: opacity .15s ease;
}
.gvme-menu li:hover > .sub-menu, .gvme-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.gvme-menu-toggle { display: none; }

/* ---------- Subpagina-banner ---------- */
.gvme-banner { line-height: 0; overflow: hidden; }
.gvme-banner img { width: 100%; height: 200px; object-fit: cover; display: block; }

/* ---------- Pagina-indeling met zijbalk ---------- */
.gvme-layout {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 0;
	background: #fff; box-shadow: 0 2px 3px rgba(0, 0, 0, .25); margin: 30px auto 40px; padding: 0;
}
.gvme-content { padding: 20px 30px 40px; min-width: 0; }
.gvme-sidebar { padding: 20px 30px 40px; border-left: 1px solid #e6e0d4; font-size: 14px; }
.gvme-sidebar .widget { margin-bottom: 26px; }
.gvme-sidebar .widget-title { font-size: 22px; margin: 0 0 8px; }
.gvme-sidebar ul { list-style: none; margin: 0; padding: 0; }
.gvme-sidebar li { margin: 0 0 7px; }
.gvme-sidebar a { font-weight: 700; text-decoration: none; }

.gvme-entry .entry-title { margin-top: 0; font-size: 22px; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.1em; }
.entry-content img { border: 2px solid #ccc; }
.entry-content .wp-caption { max-width: 100%; margin: 0 0 16px; background: var(--gv-taupe-solid); padding: 6px; color: #fff; font-size: 13px; }
.entry-content .wp-caption img { border: 0; display: block; }
.entry-content .wp-caption-text { margin: 6px 4px 2px; }
.alignleft { float: left; margin: 0 20px 16px 0; }
.alignright { float: right; margin: 0 0 16px 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content table { border-collapse: collapse; width: 100%; margin: 0 0 1em; }
.entry-content td, .entry-content th { border: 1px solid #ddd; padding: 6px 10px; text-align: left; }
.gvme-meta { color: #666; font-size: 13px; margin: -4px 0 12px; }
.gvme-entry--teaser { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; }
.gvme-entry--teaser .entry-title { font-size: 19px; margin: 0 0 4px; }
.gvme-entry--teaser .entry-title a { color: #000; text-decoration: none; }
.gvme-entry__img img { width: 120px; height: 120px; object-fit: cover; border: 2px solid #ccc; }
.gvme-postnav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; font-size: 14px; }
.gvme-more { font-weight: 700; font-size: 13px; }

/* Formulieren (Contact Form 7) */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="date"], input[type="number"], textarea, select {
	width: 100%; max-width: 520px; padding: 10px 12px; font: inherit; border: 1px solid #c9c1b2; border-radius: 3px; background: #fff;
}
textarea { min-height: 140px; }
input[type="submit"], button[type="submit"], .button, .wp-block-button__link {
	display: inline-block; background: var(--gv-brown); color: #fff; border: 0; border-radius: 5px;
	padding: 10px 22px; font: 700 14px/1.4 var(--gv-font); cursor: pointer; text-decoration: none;
}
input[type="submit"]:hover, button[type="submit"]:hover, .button:hover { background: var(--gv-gold); color: #fff; }
.wpcf7 p { margin-bottom: 14px; }
.wpcf7-acceptance { display: block; background: var(--gv-lime); padding: 12px 16px; }

/* ---------- Contactformulier (overgenomen uit de oude Extra CSS) ---------- */
.contactform { overflow: hidden; width: 100%; }
.contactform #google-maps { width: 100%; overflow: hidden; border: 1px solid #555; margin-bottom: 15px; }
.contactform #google-maps iframe { width: 100%; display: block; }
.contactform #pre-form { padding-bottom: 15px; font-size: 16px; }
.contactform #pre-form .redstar_comment, .contactform .redstar { color: #c8101a; font-weight: 700; padding-right: 3px; }
.contactform #extra-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contactform #extra-content .block h1 { font-size: 16px; }
.contactform #extra-content .block .fa { width: 14px; text-align: center; }
.contactform #extra-tekst { margin: 0 0 24px; }
.contactform .row { display: flex; flex-wrap: wrap; gap: 0 30px; padding-bottom: 15px; }
.contactform .row .inputfield { position: relative; flex: 1 1 200px; min-width: 0; }
.contactform .row.textarea .inputfield, .contactform .row.artikel .inputfield { flex-basis: 100%; }
.contactform .inputfield input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="submit"]),
.contactform .inputfield select, .contactform .inputfield textarea {
	width: 100%; max-width: none; height: 38px; font-size: 14px; background: #eee; border: 1px solid #ccc; border-radius: 0; padding: 0 10px;
}
.contactform .inputfield textarea { height: auto; min-height: 140px; padding: 10px; resize: vertical; }
.contactform .inputfield input[type="date"] { height: auto; padding: 9px 10px; }
.contactform .fa, .contactform .inputicon { display: none; } /* geen icoontjes in het formulier */
.contactform .wpcf7-list-item { display: block; margin: 8px 0 0; }
.contactform .row.submit input.wpcf7-submit { background: #865a18; margin-top: 10px; }
.contactform .row.submit input.wpcf7-submit:hover { background: var(--gv-brown); }
span.wpcf7-form-control.wpcf7-radio { display: flex; flex-wrap: wrap; gap: 0 16px; }
#contactform td { display: block; }
@media (max-width: 760px) { .contactform #extra-content { grid-template-columns: 1fr; } }

/* ---------- Cookiebanner (Ultimate GDPR) ---------- */
#ct-ultimate-gdpr-cookie-content { text-align: center; }
#ct-ultimate-gdpr-cookie-accept, #ct-ultimate-gdpr-cookie-read-more { background: #fff !important; text-align: center; width: 41%; margin: 13px 0; }
.ct-ultimate-gdpr-container.container { margin-top: 20px; }
.ct-ultimate-gdpr-container #tabs .ui-tabs-nav { background: var(--gv-cream) !important; padding: 0 !important; }
.ct-ultimate-gdpr-container #tabs .ui-tabs-nav .ui-state-active, .ct-ultimate-gdpr-container #tabs .ui-widget-content { background: var(--gv-lime) !important; }

/* ---------- Home ---------- */
.gvme-home__slider { padding: 0; width: 100%; }
.gvme-home__slider .widget, .gvme-home__slider .widget-wrap { margin: 0; padding: 0; }
.gvme-home__slider .metaslider, .gvme-home__slider .flexslider { width: 100% !important; max-width: none !important; margin: 0 !important; }
.gvme-home__slider .metaslider img { width: 100%; height: auto; display: block; }
.gvme-home__slider .metaslider { margin: 0 auto; }

.gvme-home__cta { text-align: center; margin-top: 40px; }
.gvme-home__cta .widget-wrap {
	background: var(--gv-taupe); color: var(--gv-light); font-size: 22px; line-height: 1.5; padding: 24px 30px;
}
.gvme-home__cta h1, .gvme-home__cta h2, .gvme-home__cta h3, .gvme-home__cta h4, .gvme-home__cta p { color: var(--gv-light); margin: 0; }
.gvme-home__cta a { color: var(--gv-light); }

.gvme-home__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gv-gap); padding-top: 60px; padding-bottom: 60px; }
.gvme-home__three .widget-wrap {
	background: var(--gv-taupe); color: var(--gv-light); padding: 22px 24px 28px; height: 100%;
}
.gvme-home__three .widget-title, .gvme-home__three h1, .gvme-home__three h2, .gvme-home__three h3, .gvme-home__three h4 { color: var(--gv-light); margin-top: 0; font-size: 20px; }
.gvme-home__three a { color: var(--gv-light); }
.gvme-home__three img { display: block; width: 100%; height: auto; border: 3px solid #fff; }
.gvme-home__three a.button, .gvme-home__three .button { background: var(--gv-lime); color: #222; margin-top: 14px; }

.gvme-home__single { background: var(--gv-taupe); color: var(--gv-light); padding: 40px 0; }
.gvme-home__single .widget-title, .gvme-home__single h1, .gvme-home__single h2, .gvme-home__single h3, .gvme-home__single h4, .gvme-home__single p { color: var(--gv-light); }
.gvme-home__single .widget-title { margin-top: 0; }
.gvme-home__single a { color: var(--gv-light); }
.gvme-home__single img.alignright, .gvme-home__single img { border: 3px solid #fff; }

.gvme-home__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 40px; padding-bottom: 50px; }
.gvme-home__two .widget-title { font-size: 22px; margin: 0 0 16px; }
.gvme-home__band { background: var(--gv-cream); }
.gvme-news__item { display: flex; gap: 16px; margin-bottom: 24px; }
.gvme-news__img { flex: 0 0 120px; }
.gvme-news__img img { width: 120px; height: 120px; object-fit: cover; border: 2px solid #ccc; display: block; }
.gvme-news__body h3 { font-size: 15px; margin: 0 0 6px; }
.gvme-news__body h3 a { color: var(--gv-brown); text-decoration: none; }
.gvme-news__body p { font-size: 14px; margin: 0 0 6px; }
.flagcont { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 20px; }
.flagcont .flag { flex: 0 0 auto; }

/* ---------- Footer ---------- */
.gvme-footer { background: var(--gv-lime); border-top: 1px solid #3c3c3c; color: #264586; font-size: 13px; text-transform: uppercase; }
.gvme-footer__inner { padding-top: 10px; padding-bottom: 10px; text-align: center; }
.gvme-footer p { margin: 0; font-weight: 700; }
.gvme-footer a { color: #264586; }

.gvme-totop {
	position: fixed; right: 18px; bottom: 86px; width: 46px; height: 46px; display: grid; place-items: center;
	background: var(--gv-brown); color: #fff; border-radius: 3px; opacity: 0; visibility: hidden;
	transition: opacity .25s ease, background-color .2s ease; z-index: 50;
}
.gvme-totop.is-visible { opacity: .9; visibility: visible; }
.gvme-totop:hover, .gvme-totop:focus { background: var(--gv-lime); color: #fff; opacity: 1; }

/* ---------- Responsief ---------- */
@media (max-width: 1000px) {
	.gvme-header__aside { font-size: 12px; }
	.gvme-home__three { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 30px; }
	.gvme-layout { grid-template-columns: 1fr; margin: 0 auto 30px; }
	.gvme-sidebar { border-left: 0; border-top: 1px solid #e6e0d4; }
}
@media (max-width: 760px) {
	.gvme-brand, .gvme-header__aside { display: none; }
	.gvme-header__inner { min-height: 0; justify-content: center; padding-top: 10px; padding-bottom: 10px; }
	.gvme-mobile-logo { display: block; }
	.gvme-mobile-logo img { display: block; width: 260px; max-width: 70vw; height: auto; }
	.gvme-menu-toggle {
		display: flex; align-items: center; gap: 10px; width: 100%; background: transparent; border: 0;
		padding: 14px 0; font: 700 14px/1 var(--gv-font); text-transform: uppercase; color: #222; cursor: pointer;
	}
	.gvme-menu-toggle__bars, .gvme-menu-toggle__bars::before, .gvme-menu-toggle__bars::after {
		display: block; width: 22px; height: 2px; background: #222; position: relative; content: "";
	}
	.gvme-menu-toggle__bars::before { position: absolute; top: -7px; }
	.gvme-menu-toggle__bars::after { position: absolute; top: 7px; }
	.gvme-menu { display: none; flex-direction: column; padding-bottom: 10px; }
	.gvme-menu.is-open { display: flex; }
	.gvme-menu > li, .gvme-menu > li:first-child { border: 0; border-top: 1px solid rgba(91, 61, 16, .18); }
	.gvme-menu .sub-menu { position: static; opacity: 1; visibility: visible; box-shadow: none; background: transparent; }
	.gvme-menu .sub-menu a { padding-left: 34px; }
	.gvme-banner img { height: 110px; }
	.gvme-content, .gvme-sidebar { padding: 18px 18px 30px; }
	.gvme-home__two { grid-template-columns: 1fr; gap: 10px; }
	.gvme-home__cta .widget-wrap { font-size: 18px; padding: 18px; }
	.alignleft, .alignright { float: none; margin: 0 0 16px; }
	.gvme-totop { bottom: 80px; right: 12px; }
}

@media print {
	.gvme-nav, .gvme-sidebar, .gvme-footer, .gvme-totop, .gvme-banner { display: none; }
	html { background: none; }
}
