/*
Theme Name:   Globeview Bikerhotelgermany
Theme URI:    https://www.globeview.nl/
Description:  Child theme of Twenty Twenty for bikerhotelgermany.com (Pension Lindental). Replaces the former Genesis 2.4 child theme; same look, current code.
Author:       Globeview
Author URI:   https://www.globeview.nl/
Template:     twentytwenty
Version:      1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  globeview-bikerhotelgermany
*/

/* ==========================================================================
   1. Fonts and tokens
   ========================================================================== */

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

@font-face {
	font-family: "Open Sans";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/open-sans-400-italic.woff2") format("woff2");
}

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

:root {
	--gv-font: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--gv-cream: #faf1e2;
	--gv-cream-light: #fffbf0;
	--gv-lime: #d2de24;
	--gv-lime-dark: #b9c41c;
	--gv-olive: #808814;
	--gv-brown: #5b3d10;
	--gv-brown-mid: #865a18;
	--gv-gold: #b2771f;
	--gv-taupe: rgba(58, 40, 22, 0.58);
	--gv-taupe-solid: #8f8273;
	--gv-text: #000;
	--gv-container: 1200px;
	--gv-gutter: 20px;
}

/* ==========================================================================
   2. Base (overrides Twenty Twenty's typography and colours)
   ========================================================================== */

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body,
body.custom-background {
	background: var(--gv-cream) url("assets/images/background.jpg") left top / auto no-repeat;
	color: var(--gv-text);
	font-family: var(--gv-font);
	font-size: 1.5rem;
	line-height: 1.6;
	letter-spacing: normal;
}

@media (min-width: 1000px) {
	body,
	body.custom-background {
		background-attachment: fixed;
	}
}


body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6,
.has-drop-cap:not(:focus)::first-letter,
.menu-modal,
.wp-block-button__link {
	font-family: var(--gv-font);
	letter-spacing: normal;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--gv-text);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1rem;
	letter-spacing: normal;
	text-wrap: balance;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.6rem; }
h5, h6 { font-size: 1.5rem; }

p {
	margin: 0 0 1rem;
	line-height: 1.6;
	text-wrap: pretty;
}

a {
	color: var(--gv-brown);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--gv-gold);
	text-decoration: none;
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--gv-brown);
	outline-offset: 2px;
}

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

strong, b {
	font-weight: 700;
}

/* Widgets are <section> elements; Twenty Twenty gives sections 8rem padding. */
section.widget {
	padding: 0;
}

.gv-container {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: var(--gv-container);
	padding: 0 var(--gv-gutter);
	width: 100%;
}

/* ==========================================================================
   3. Header
   ========================================================================== */

#site-header.gv-header {
	background: var(--gv-cream);
	position: relative;
	z-index: 10;
}

.gv-header-top {
	align-items: flex-end;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	padding-top: 10px;
}

/* Logo sits directly on the menu bar */
.gv-logo,
.gv-logo .widget-wrap,
.gv-logo .textwidget,
.gv-logo p,
.gv-logo a {
	display: block;
	line-height: 0;
	margin: 0;
	padding: 0;
}

.gv-logo {
	flex: 1 1 auto;
	max-width: 960px;
}

.gv-logo .widget,
.gv-header-contact .widget {
	margin: 0;
}

.gv-logo p,
.gv-logo img {
	display: block;
	margin: 0;
}

.gv-site-title {
	color: var(--gv-brown);
	font-size: 2.8rem;
	font-weight: 700;
}

.gv-header-contact {
	align-self: center;
	flex: 0 0 auto;
	font-size: 1.3rem;
	line-height: 1.6;
	text-align: left;
}

.gv-header-contact #languages {
	align-items: center;
	display: flex;
	gap: 4px;
	margin-bottom: 6px;
}

.gv-header-contact #languages img {
	display: block;
	margin: 0;
}

.gv-header-contact .telephone {
	font-weight: 700;
}

.gv-header-contact .telephone a {
	color: var(--gv-text);
}

.gv-header-contact .telephone a:hover,
.gv-header-contact .telephone a:focus {
	color: var(--gv-brown);
	text-decoration: underline;
}

.gv-header-contact .clear {
	clear: both;
}

/* Navigation bar */
.gv-nav {
	background: var(--gv-lime);
	position: relative;
	z-index: 20;
}

.gv-nav-inner {
	align-items: stretch;
	display: flex;
	justify-content: space-between;
}

.gv-menu,
.gv-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gv-menu {
	border-left: 1px solid rgba(0, 0, 0, 0.12);
	display: flex;
	flex-wrap: wrap;
}

.gv-menu > li {
	border-right: 1px solid rgba(0, 0, 0, 0.12);
	margin: 0;
	position: relative;
}

.gv-menu a {
	border-bottom: 5px solid transparent;
	color: var(--gv-text);
	display: block;
	font-size: 1.4rem;
	line-height: 1;
	padding: 17px 18px 12px;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gv-menu > li > a:hover,
.gv-menu > li > a:focus {
	border-bottom-color: var(--gv-olive);
	color: var(--gv-text);
}

.gv-menu > .current-menu-item > a,
.gv-menu > .current-menu-ancestor > a,
.gv-menu > .current_page_item > a {
	background: var(--gv-lime-dark);
	border-bottom-color: var(--gv-olive);
}

/* Dropdown */
.gv-menu .sub-menu {
	background: var(--gv-lime);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
	left: 0;
	min-width: 200px;
	opacity: 0;
	position: absolute;
	top: 100%;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	visibility: hidden;
}

.gv-menu li:hover > .sub-menu,
.gv-menu li:focus-within > .sub-menu {
	opacity: 1;
	transform: none;
	visibility: visible;
}

.gv-menu .sub-menu a {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding: 14px 18px;
	text-transform: none;
}

.gv-menu .sub-menu a:hover,
.gv-menu .sub-menu a:focus {
	background: var(--gv-lime-dark);
}

/* Mobile menu button (Twenty Twenty's modal does the rest) */
.gv-nav .gv-menu-toggle {
	align-items: center;
	background: none;
	border: 0;
	bottom: auto;
	color: var(--gv-text);
	cursor: pointer;
	display: none;
	font-size: 1.5rem;
	font-weight: 700;
	gap: 10px;
	margin: 0 0 0 auto;
	padding: 14px 0;
	position: static;
	text-transform: uppercase;
	width: auto;
}

.gv-burger {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	width: 22px;
}

.gv-burger span {
	background: currentColor;
	display: block;
	height: 2px;
	width: 100%;
}

/* Twenty Twenty modal menu in the site colours */
.menu-modal {
	background: var(--gv-cream);
}

.menu-modal .modal-menu a,
.menu-modal .toggle {
	color: var(--gv-text);
}

.menu-modal .modal-menu li {
	border-color: rgba(58, 40, 22, 0.2);
}

/* Banner photo on sub pages */
.gv-banner {
	background: var(--gv-cream);
	line-height: 0;
}

.gv-banner img {
	display: block;
	height: 200px;
	object-fit: cover;
	width: 100%;
}

/* ==========================================================================
   4. Content area with sidebar
   ========================================================================== */

.gv-main {
	padding: 40px 0 60px;
}

.gv-layout {
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 1fr) 30%;
}

.gv-content {
	padding-right: 40px;
}

.gv-sidebar {
	border-left: 1px solid var(--gv-taupe);
	font-size: 1.4rem;
	padding-left: 30px;
}

.gv-sidebar .widget {
	margin: 0 0 30px;
}

.gv-sidebar .widget-title {
	font-size: 2.2rem;
	margin-bottom: 0.75rem;
}

.gv-sidebar p {
	margin-bottom: 0.25rem;
}

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

.gv-sidebar li {
	margin: 0 0 0.25rem;
}

.gv-sidebar .widget_recent_entries ul {
	list-style: disc;
	padding-left: 18px;
}

.gv-sidebar img {
	display: block;
	margin: 0 0 10px;
}

.gv-sidebar .hrstripes,
.hrstripes {
	background: repeating-linear-gradient(-45deg, rgba(58, 40, 22, 0.18) 0 2px, transparent 2px 6px);
	border: 0;
	display: block;
	height: 14px;
	margin: 30px 0 0;
	width: 100%;
}

.gv-sidebar .fa {
	margin-right: 10px;
	width: 15px;
}

/* Entry */
.gv-entry-header .entry-title {
	font-size: 2.2rem;
	margin: 0 0 0.5rem;
}

.gv-meta {
	color: #555;
	font-size: 1.2rem;
	margin: 0 0 1.5rem;
}

.gv-meta a {
	color: var(--gv-brown);
}

.gv-meta span[aria-hidden] {
	margin: 0 6px;
}

.gv-entry-image img {
	display: block;
	margin: 0 0 20px;
}

/* Twenty Twenty limits .entry-content to a narrow, centred column — undo that */
.gv-entry .entry-content,
.gv-blog-intro {
	font-family: var(--gv-font);
	font-size: 1.5rem;
	letter-spacing: normal;
}

.gv-entry .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide),
.gv-blog-intro > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: auto;
}

.gv-entry .entry-content p,
.gv-entry .entry-content li {
	font-family: var(--gv-font);
	line-height: 1.6;
}

.gv-entry .entry-content h1,
.gv-entry .entry-content h2,
.gv-entry .entry-content h3,
.gv-entry .entry-content h4,
.gv-entry .entry-content h5,
.gv-entry .entry-content h6 {
	margin: 2rem 0 0.75rem;
}

.gv-entry .entry-content h1:first-child,
.gv-entry .entry-content h2:first-child {
	margin-top: 0;
}

.gv-entry .entry-content h1 { font-size: 2.2rem; }
.gv-entry .entry-content h2 { font-size: 2rem; }
.gv-entry .entry-content h3 { font-size: 1.8rem; }
.gv-entry .entry-content h4 { font-size: 1.6rem; }

.gv-entry .entry-content a {
	color: var(--gv-brown);
	text-decoration: none;
}

.gv-entry .entry-content a:hover {
	color: var(--gv-gold);
}

.gv-entry .entry-content img {
	border: 2px solid #ccc;
}

.gv-entry .entry-content .alignleft,
.gv-entry .entry-content > .alignleft {
	float: left;
	margin: 0 20px 20px 0;
	max-width: 50%;
	position: static;
}

.gv-entry .entry-content .alignright,
.gv-entry .entry-content > .alignright {
	float: right;
	margin: 0 0 20px 20px;
	max-width: 50%;
	position: static;
}

.gv-entry .entry-content img.alignnone,
.gv-entry .entry-content .wp-caption.alignnone {
	display: inline-block;
	margin: 0 20px 20px 0;
}

.gv-entry .entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.gv-entry .entry-content::after {
	clear: both;
	content: "";
	display: table;
}

/* Captions: taupe box with white caption (as before) */
.gv-entry .entry-content .wp-caption {
	background-color: var(--gv-taupe);
	box-sizing: border-box;
	display: inline-block;
	margin: 0 20px 20px 0;
	max-width: 100%;
	padding: 20px;
	text-align: center;
	vertical-align: top;
}

.gv-entry .entry-content .wp-caption img {
	border: 3px solid #fff;
	display: block;
	margin: 0 auto;
}

.gv-entry .entry-content .wp-caption .wp-caption-text {
	color: #fff;
	font-size: 1.4rem;
	line-height: 1.4;
	margin: 8px 0 0;
	text-align: left;
}

.gv-edit {
	clear: both;
	font-size: 1.3rem;
	margin-top: 2rem;
}

.gv-prev-next {
	border-top: 1px solid var(--gv-taupe);
	clear: both;
	display: flex;
	flex-wrap: wrap;
	font-size: 1.4rem;
	gap: 10px 30px;
	justify-content: space-between;
	margin-top: 3rem;
	padding-top: 1.5rem;
}

/* Post lists (weblog, archives) */
.gv-list-item {
	border-bottom: 1px solid rgba(58, 40, 22, 0.25);
	display: grid;
	gap: 20px;
	grid-template-columns: 240px minmax(0, 1fr);
	margin: 0 0 30px;
	padding: 0 0 30px;
}

.gv-list-item:not(.has-post-thumbnail) {
	grid-template-columns: minmax(0, 1fr);
}

.gv-list-thumb img {
	border: 2px solid var(--gv-brown);
	display: block;
}

.gv-list-title {
	font-size: 1.8rem;
	margin: 0 0 0.5rem;
}

.gv-list-title a {
	color: var(--gv-brown);
}

.gv-list-excerpt p {
	margin: 0;
}

.gv-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gv-pagination .page-numbers {
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid var(--gv-taupe);
	padding: 6px 12px;
}

.gv-pagination .current {
	background: var(--gv-lime);
}

/* ==========================================================================
   5. Homepage
   ========================================================================== */

.gv-home {
	padding: 0;
}

.gv-home .widget {
	margin: 0;
}

.gv-home-slider {
	line-height: 0;
}

.gv-home-slider,
.gv-home-slider .widget,
.gv-home-slider .widget-wrap,
.gv-home-slider .metaslider,
.gv-home-slider .metaslider .flexslider,
.gv-home-slider .metaslider .slides li,
.gv-home-slider .metaslider .slides img {
	margin: 0;
	max-width: none !important;
	width: 100% !important;
}

.gv-home-slider .metaslider .slides img {
	display: block;
	height: auto;
}

.gv-home-slider .flex-control-nav {
	line-height: 1;
}

.gv-section {
	padding: 40px 0;
}

/* Welcome bar */
.gv-home-cta {
	padding: 60px 0 0;
}

.gv-home-cta .textwidget {
	background: var(--gv-taupe);
	border: 3px solid #fff;
	color: var(--gv-cream-light);
	font-size: 2.2rem;
	padding: 16px 30px;
	text-align: center;
}

.gv-home-cta .textwidget p {
	margin: 0;
}

/* Three blocks */
.gv-home-three {
	padding: 60px 0;
}

.gv-grid-3 {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gv-home-three .widget-wrap {
	background: var(--gv-taupe);
	height: 100%;
	padding: 30px;
	box-sizing: border-box;
}

.gv-home-three .widget-title {
	color: #fff;
	font-size: 2.2rem;
	margin: 0 0 20px;
}

.gv-home-three .textwidget img {
	border: 3px solid #fff;
	display: block;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	width: 100%;
}

.gv-home-three .textwidget a:hover img,
.gv-home-three .textwidget a:focus img {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	transform: translateY(-3px);
}

/* Introduction band */
.gv-home-single {
	background: var(--gv-taupe);
	padding: 40px 0 50px;
}

.gv-home-single .widget-title,
.gv-home-single p {
	color: var(--gv-cream-light);
}

.gv-home-single .widget-title {
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
}

.gv-home-single .textwidget > p:empty,
.gv-home-single .textwidget h5:empty {
	display: none;
}

.gv-home-single .alignright {
	border: 3px solid #fff;
	float: right;
	margin: 0 0 20px 30px;
}

.gv-home-single .textwidget::after {
	clear: both;
	content: "";
	display: table;
}

/* Latest news + languages */
.gv-home-two {
	padding: 50px 0 60px;
}

.gv-grid-2 {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gv-home-two .widget-title {
	font-size: 2.6rem;
	margin-bottom: 20px;
}

.gv-news-item {
	display: grid;
	gap: 16px;
	grid-template-columns: 120px minmax(0, 1fr);
	margin: 0 0 30px;
}

.gv-news-thumb img {
	border: 2px solid var(--gv-brown);
	display: block;
}

.gv-news-title {
	font-size: 1.4rem;
	margin: 0 0 6px;
}

.gv-news-title a {
	color: var(--gv-brown);
}

.gv-news-body p {
	margin: 0 0 8px;
}

.gv-news-more {
	color: var(--gv-brown);
	font-size: 1.4rem;
}

/* Languages block: flag next to its text (same as motorhotel-eifel.nl) */
.flagcont {
	align-items: flex-start;
	display: flex;
	gap: 14px;
	padding-bottom: 20px;
}

.flagcont .flag {
	flex: 0 0 36px;
}

.flagcont .flag img {
	display: block;
	margin: 3px 0 0;
}

.flagcont .flagtext {
	flex: 1 1 auto;
}

.flagcont:has(.flagtext:empty) {
	display: none;
}

/* ==========================================================================
   6. Footer
   ========================================================================== */

#site-footer.gv-footer {
	background: var(--gv-lime);
	border-top: 1px solid #3c3c3c;
	padding: 0;
	font-size: 1.4rem;
	text-transform: uppercase;
}

.gv-footer-inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 30px;
	justify-content: space-between;
	padding-bottom: 16px;
	padding-top: 16px;
}

.gv-footer a {
	color: var(--gv-brown);
}

.gv-footer a:hover {
	color: var(--gv-text);
}

.gv-to-top {
	font-weight: 700;
}

.gv-credits {
	font-weight: 700;
	margin: 0;
}

/* ==========================================================================
   7. Buttons and house styles (used in content and widgets)
   ========================================================================== */

.button,
a.button,
.wpcf7-submit,
input[type="submit"].wpcf7-submit,
button[type="submit"],
input[type="submit"],
.wp-block-button__link {
	background: var(--gv-brown-mid);
	border: 0;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 1.4rem;
	font-variant: small-caps;
	font-weight: 700;
	letter-spacing: normal;
	margin: 5px 5px 5px 0;
	padding: 10px 30px;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	transition: background-color 0.2s ease;
	vertical-align: middle;
}

.button:hover,
a.button:hover,
.wpcf7-submit:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--gv-brown);
	color: #fff;
	text-decoration: none;
}

.btn-ghost-medium,
a.btn-ghost-medium {
	background: transparent;
	border: 1px solid currentColor;
	color: var(--gv-brown);
}

.text-brand { color: var(--gv-brown); }
.text-skew-brand { color: var(--gv-brown); font-style: italic; }
.text-bold-brand { color: var(--gv-brown); font-weight: 700; }
.text-alarm { color: #c61017; }
.text-alert { color: #b9006d; }
.text-mark { color: #007237; }
.text-custom { color: #7f4098; }

/* ==========================================================================
   8. Contact Form 7 (custom .contactform markup in the two forms)
   ========================================================================== */

.contactform .row {
	display: grid;
	gap: 20px 30px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 20px;
}

.contactform .row .clear {
	display: none;
}

.contactform .row.textarea,
.contactform .row.submit {
	grid-template-columns: minmax(0, 1fr);
}

.contactform .inputfield {
	position: relative;
}

.contactform .label {
	display: block;
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.contactform .redstar,
.contactform .redstar_comment {
	color: #c61017;
	font-weight: 700;
	padding-right: 3px;
}

.contactform .inputicon {
	display: none;
}

.contactform input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),
.contactform select,
.contactform textarea {
	background: #fff;
	border: 1px solid #c9bfae;
	border-radius: 0;
	box-sizing: border-box;
	color: #000;
	font-size: 1.5rem;
	margin: 0;
	padding: 9px 12px;
	width: 100%;
}

.contactform input:focus,
.contactform select:focus,
.contactform textarea:focus {
	border-color: var(--gv-brown);
	outline: 2px solid var(--gv-lime);
}

.contactform .wpcf7-list-item {
	display: block;
	margin: 4px 0;
}

.contactform #extra-content {
	display: grid;
	gap: 20px 30px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 20px;
}

.contactform #extra-content .block {
	float: none;
	height: auto;
	padding: 0;
	width: auto;
}

.contactform #google-maps iframe {
	max-width: 100%;
}

.wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
}

span.wpcf7-form-control.wpcf7-acceptance {
	background: var(--gv-lime);
	display: block;
	padding: 15px 20px;
}

/* ==========================================================================
   8b. Afgestemd op motorhotel-eifel.nl (zustersite, zelfde huisstijl)
   ========================================================================== */

/* Menu: compacter, halfvet */
.gv-menu a {
	color: #333;
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 16px 18px 11px;
}

.gv-menu > li > a:hover,
.gv-menu > li > a:focus,
.gv-menu > .current-menu-item > a,
.gv-menu > .current-menu-ancestor > a,
.gv-menu > .current_page_item > a {
	background: rgba(91, 61, 16, 0.16);
	color: #000;
}

.gv-header-contact {
	font-size: 1.3rem;
}

/* Sub pages: white panel with content + sidebar on the bikers background */
.gv-main:not(.gv-home) {
	padding: 30px 0 40px;
}

.gv-main:not(.gv-home) > .gv-layout {
	background: #fff;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
	grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
	padding: 0;
}

.gv-main:not(.gv-home) .gv-content {
	padding: 20px 30px 40px;
}

.gv-main:not(.gv-home) .gv-sidebar {
	border-left: 1px solid #e6e0d4;
	padding: 20px 30px 40px;
}

.gv-sidebar .widget {
	margin-bottom: 26px;
}

.gv-sidebar .widget-title {
	margin-bottom: 8px;
}

.gv-sidebar .widget_recent_entries ul {
	list-style: none;
	padding-left: 0;
}

.gv-sidebar li {
	margin: 0 0 7px;
}

.gv-sidebar a {
	font-weight: 700;
	text-decoration: none;
}

.gv-sidebar .hrstripes {
	background: none;
	border-top: 1px solid #e6e0d4;
	height: 0;
	margin: 20px 0 0;
}

/* Content: underlined links, compact captions */
.gv-entry .entry-content a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.gv-entry .entry-content .wp-caption {
	background: var(--gv-taupe-solid);
	margin: 0 16px 16px 0;
	padding: 6px;
}

.gv-entry .entry-content .wp-caption img {
	border: 0;
}

.gv-entry .entry-content .wp-caption .wp-caption-text {
	font-size: 1.3rem;
	margin: 6px 4px 2px;
}

/* Homepage */
.gv-home-cta {
	padding-top: 40px;
}

.gv-home-cta .textwidget {
	border: 0;
	line-height: 1.5;
	padding: 24px 30px;
}

.gv-home-three .widget-wrap {
	padding: 22px 24px 28px;
}

.gv-home-three .widget-title {
	font-size: 2rem;
	margin-bottom: 14px;
}

.gv-home-single .widget-title {
	font-size: 1.6rem;
	margin-bottom: 0.5rem;
}

.gv-home-two .widget-title {
	font-size: 2.2rem;
	margin-bottom: 16px;
}

.gv-news-thumb img {
	border: 2px solid #ccc;
	height: 120px;
	object-fit: cover;
	width: 120px;
}

.gv-news-title {
	font-size: 1.5rem;
}

.gv-news-body p {
	font-size: 1.4rem;
	margin-bottom: 6px;
}

.gv-news-more {
	font-size: 1.3rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Forms */
.contactform input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),
.contactform select,
.contactform textarea {
	background: #eee;
	border-color: #ccc;
}

.button,
a.button,
input[type="submit"],
button[type="submit"],
.wpcf7-submit {
	border-radius: 5px;
	font-variant: normal;
	padding: 10px 22px;
}

/* Footer: centred credits, floating "back to top" button */
#site-footer.gv-footer {
	color: #264586;
	font-size: 1.3rem;
}

.gv-footer-inner {
	justify-content: center;
	padding-bottom: 10px;
	padding-top: 10px;
	text-align: center;
}

.gv-footer a,
.gv-credits a {
	color: #264586;
	text-decoration: underline;
}

.gv-footer .gv-to-top {
	align-items: center;
	background: var(--gv-brown);
	border-radius: 3px;
	bottom: 86px;
	color: #fff;
	display: flex;
	font-size: 0;
	height: 46px;
	justify-content: center;
	opacity: 0.9;
	position: fixed;
	right: 18px;
	text-decoration: none;
	transition: background-color 0.2s ease;
	width: 46px;
	z-index: 50;
}

.gv-footer .gv-to-top .arrow,
.gv-footer .gv-to-top span {
	font-size: 2rem;
	line-height: 1;
}

.gv-footer .gv-to-top:hover,
.gv-footer .gv-to-top:focus {
	background: var(--gv-lime);
	color: #fff;
	opacity: 1;
}

/* Only show the button once the visitor has scrolled (browsers with scroll timelines) */
@supports (animation-timeline: scroll()) {
	.gv-footer .gv-to-top {
		animation: gv-to-top-show linear both;
		animation-range: 0 400px;
		animation-timeline: scroll(root);
	}

	@keyframes gv-to-top-show {
		from { opacity: 0; visibility: hidden; }
		to { opacity: 0.9; visibility: visible; }
	}
}

/* ==========================================================================
   9. Responsive
   ========================================================================== */

@media (max-width: 999px) {
	.gv-menu {
		display: none;
	}

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

	.gv-header-top {
		flex-direction: column;
		gap: 10px;
		min-height: 0;
		padding-bottom: 12px;
		padding-top: 12px;
	}

	.gv-logo {
		max-width: 100%;
	}

	.gv-header-contact {
		align-items: center;
		display: flex;
		flex-wrap: wrap;
		gap: 4px 16px;
		justify-content: center;
		text-align: center;
	}

	.gv-header-contact .widget-wrap,
	.gv-header-contact .textwidget {
		display: contents;
	}

	.gv-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.gv-content {
		padding-right: 0;
	}

	.gv-sidebar {
		border-left: 0;
		border-top: 1px solid var(--gv-taupe);
		margin-top: 40px;
		padding-left: 0;
		padding-top: 30px;
	}

	.gv-main:not(.gv-home) > .gv-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.gv-main:not(.gv-home) .gv-sidebar {
		border-left: 0;
		border-top: 1px solid #e6e0d4;
		margin-top: 0;
	}

	.gv-grid-3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.gv-grid-2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.contactform .row,
	.contactform #extra-content {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	:root {
		--gv-gutter: 16px;
	}

	.gv-banner img {
		height: 120px;
	}

	.gv-main {
		padding: 24px 0 40px;
	}

	.gv-main:not(.gv-home) .gv-content,
	.gv-main:not(.gv-home) .gv-sidebar {
		padding: 18px 18px 30px;
	}

	.gv-footer .gv-to-top {
		bottom: 80px;
		right: 12px;
	}

	.gv-home-cta .textwidget {
		font-size: 1.8rem;
		padding: 14px 18px;
	}

	.gv-home-three {
		padding: 40px 0;
	}

	.gv-home-single .alignright {
		float: none;
		margin: 0 0 20px;
	}

	.gv-list-item {
		grid-template-columns: minmax(0, 1fr);
	}

	.gv-entry .entry-content .alignleft,
	.gv-entry .entry-content .alignright {
		float: none;
		margin: 0 0 20px;
		max-width: 100%;
	}

	.gv-entry .entry-content .wp-caption {
		display: block;
		margin-right: 0;
	}

	.gv-footer-inner {
		flex-direction: column;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}
