/*
Theme Name: Globeview Nonke Buusjke
Theme URI: https://www.nonkebuusjke.nl/
Description: Child theme van Twenty Twenty-Five voor Openluchtmuseum Nonke Buusjke, Schinveld.
Author: Globeview
Author URI: https://www.globeview.nl/
Template: twentytwentyfive
Version: 1.1.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: globeview-nonkebuusjke
*/

/* Papieren achtergrond met de oude schets, heel zacht */
body {
	background-image: linear-gradient(rgba(246,237,223,.86), rgba(246,237,223,.86)), url("assets/images/background.jpg");
	background-attachment: fixed;
	background-position: center top;
	background-size: cover;
}

/* Kaarten op de homepage */
.gv-card { height: 100%; transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1); }
.gv-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(61,44,41,.12); }
.gv-card img { aspect-ratio: 300 / 170; object-fit: cover; width: 100%; }
.gv-card .wp-block-buttons { margin-top: auto; }
.gv-card > .wp-block-group__inner-container, .gv-card { display: flex; flex-direction: column; }

/* Lijstjes met nieuws en agenda */
.gv-postlist .wp-block-post { border-bottom: 1px solid rgba(61,44,41,.12); padding-bottom: 1rem; }
.gv-postlist .wp-block-post:last-child { border-bottom: 0; }
.gv-postlist .wp-block-post-featured-image img { border-radius: 4px; }

/* Kaart-embed netjes */
.gv-map iframe { width: 100%; height: 220px; border: 0; border-radius: 4px; }

/* Revolution Slider over de volle breedte zonder marge */
.gv-slider { line-height: 0; }

/* Footer-links leesbaar op donker */
.gv-footer a { color: inherit; }
.gv-footer a:hover { color: var(--wp--preset--color--accent-2); }

@media (prefers-reduced-motion: reduce) {
	.gv-card { transition: none; }
	.gv-card:hover { transform: none; }
}

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

/* Foto in de kaart altijd over de volle kaartbreedte */
.gv-card > .wp-block-image { align-self: stretch; width: 100%; }
.gv-card > .wp-block-image img { width: 100%; height: auto; }
.gv-card > .wp-block-image a { display: block; }

/* Tablet: kaarten twee naast elkaar in plaats van één brede kolom */
@media (min-width: 600px) and (max-width: 781px) {
	.wp-block-columns:has(> .wp-block-column > .gv-card) { flex-wrap: wrap !important; }
	.wp-block-columns:has(> .wp-block-column > .gv-card) > .wp-block-column { flex-basis: calc(50% - var(--wp--preset--spacing--40)) !important; flex-grow: 0; }
}

/* Oude Nonke Buusjke-typografie: kaartkoppen in Alex Brush */
.gv-card h3.wp-block-heading { font-family: var(--wp--preset--font-family--alex-brush); font-size: 32px !important; font-weight: 400; }
