/*
Theme Name: Oostvliet
Author: Oostvliet bv
Description: Website van Oostvliet bv als blokthema, in de vertrouwde look: donkere menubalk, het zwarte Oostvliet-logo en de grote foto van de vaart. Logo, foto en de About-pagina zitten in het thema.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
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: oostvliet
*/

html, body { margin: 0; }
body { background: #F2F2F2; color: #333; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > main, .wp-site-blocks > .ov-page { flex: 1 0 auto; width: 100%; box-sizing: border-box; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
img { max-width: 100%; height: auto; }

/* Menubalk bovenaan */
.ov-topbar { background: #222; }
.ov-topbar-inner { max-width: 1020px; margin: 0 auto; padding: 0 20px; min-height: 40px; display: flex; align-items: center; }
.ov-topbar .wp-block-navigation { font-size: 13px; }
.ov-topbar .wp-block-navigation__container { gap: 0 !important; }
.ov-topbar .wp-block-navigation-item__content { display: block; padding: 10px 14px; color: #bbb !important; text-decoration: none; }
.ov-topbar .wp-block-navigation-item__content:hover,
.ov-topbar .wp-block-navigation-item__content:focus,
.ov-topbar .current-menu-item > .wp-block-navigation-item__content { color: #fff !important; background: #333; }
.ov-topbar .wp-block-navigation__responsive-container-open { color: #fff; padding: 8px 0; }
.ov-topbar .wp-block-navigation__responsive-container.is-menu-open { background: #222; color: #fff; padding: 24px; }

/* Witte pagina */
.ov-page {
	max-width: 1020px;
	margin: 0 auto !important;
	background: #fff;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	padding: 24px 20px 40px;
}
.ov-page > * { margin-block-start: 0 !important; }
.ov-logo { margin: 0 0 24px !important; }
.ov-logo a { display: inline-block; line-height: 0; }
.ov-logo img { display: block; width: 298px; max-width: 70vw; height: auto; }

/* Grote foto */
.ov-hero { margin: 0 !important; }
.ov-hero img { display: block; width: 100%; height: clamp(260px, 58vw, 600px); object-fit: cover; object-position: center 55%; }

/* Inhoudspagina's */
.ov-title { margin: 8px 0 20px !important; font-size: 28px; font-weight: 600; }
.ov-content > * { margin-block-start: 0 !important; margin-block-end: 1.2em; }
.ov-content a { color: #333; }
.ov-content a:hover { color: #000; }

/* Footer */
.ov-footer { background: #000; color: #aaa; font-size: 13px; }
.ov-footer-inner { max-width: 1020px; margin: 0 auto; padding: 18px 20px; }
.ov-footer p { margin: 0; }
.ov-footer a { color: #ddd; }

@media (max-width: 600px) {
	.ov-page { padding: 16px 16px 28px; border: 0; }
	.ov-logo { margin-bottom: 16px !important; }
}
