/* Windhaan page sections (wb-*) and live-preview blocks; loaded on the site and inside the block editor. */

/* Classic theme: groups get an inner container; let grid and flex rules see the blocks inside it. */
[class*="wb-"] > .wp-block-group__inner-container { display: contents; }
.wb-page > * { margin-top: 0; margin-bottom: 0; }

/* Icons (Font Awesome 4) */
[class*="wb-i-"]::before { font-family: FontAwesome; font-style: normal; font-weight: normal; }
.wb-i-users::before { content: "\f0c0"; }
.wb-i-user::before { content: "\f007"; }
.wb-i-graduation-cap::before { content: "\f19d"; }
.wb-i-life-ring::before { content: "\f1cd"; }
.wb-i-shield::before { content: "\f132"; }
.wb-i-calendar::before { content: "\f073"; }
.wb-i-clock-o::before { content: "\f017"; }
.wb-i-flag::before { content: "\f024"; }
.wb-i-flag-checkered::before { content: "\f11e"; }
.wb-i-trophy::before { content: "\f091"; }
.wb-i-compass::before { content: "\f14e"; }
.wb-i-tint::before { content: "\f043"; }
.wb-i-tags::before { content: "\f02c"; }
.wb-i-glass::before { content: "\f000"; }
.wb-i-shopping-cart::before { content: "\f07a"; }
.wb-i-globe::before { content: "\f0ac"; }
.wb-i-book::before { content: "\f02d"; }
.wb-i-sun-o::before { content: "\f185"; }
.wb-i-anchor::before { content: "\f13d"; }
.wb-i-video-camera::before { content: "\f03d"; }
.wb-i-map-marker::before { content: "\f041"; }
.wb-i-phone::before { content: "\f095"; }
.wb-i-envelope::before { content: "\f0e0"; }

/* Shared parts */
.wb-title { margin: 0 0 .8em; padding-bottom: .3em; border-bottom: 2px solid #0d3b5e; }
.wb-title-sub { margin: -.4em 0 1.2em; color: #777; }
.wb-text { max-width: 46em; margin: 0 0 1em; }
.wb-intro { margin: 0 0 1em; color: #0d3b5e; font-size: 1.2em; font-weight: 700; }

.wb-banner { display: flex; align-items: center; gap: 1em; margin: 0 0 2em; padding: 1.1em 1.3em; border-radius: 8px; background: #0d3b5e; color: #fff; }
.wb-banner::before { font-size: 2em; color: #ff7b72; }
.wb-banner p { margin: 0; color: #d9e6f0; }
.wb-banner .wb-banner-title { font-size: 1.2em; font-weight: 700; color: #fff; }
.wb-banner a, .wb-banner a:visited, .wb-banner a:hover, .wb-banner a:focus, .wb-cta-text a, .wb-cta-text a:visited { color: #fff !important; text-decoration: underline; }

.wb-facts, .wb-gear, .wb-tiles, .wb-quick, .wb-prices { display: grid; gap: 1em; margin: 0 0 2.2em; }
.wb-facts { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.wb-fact { display: flex; flex-direction: column; gap: .35em; margin: 0; padding: 1.1em 1.2em; background: #fff; border: 1px solid #dde3e9; border-top: 4px solid #0d3b5e; border-radius: 6px; }
.wb-fact h3 { margin: 0; font-family: 'Lato', Verdana, sans-serif; font-size: 1.05em; font-weight: 700; line-height: 1.3; color: #0d3b5e; text-transform: none; }
.wb-fact h3::before { display: block; margin-bottom: .3em; font-size: 1.35em; color: #8b1c1c; }
.wb-fact p { margin: 0; font-size: .95em; line-height: 1.5; color: #555; }

.wb-chips { display: flex; flex-wrap: wrap; gap: .5em; margin: .4em 0 2.2em; padding: 0; list-style: none; }
.wb-chips li { margin: 0; padding: .4em .9em; border-radius: 999px; background: #e8eef3; color: #0d3b5e; font-size: .95em; font-weight: 700; list-style: none; }
.wb-chips li::before { display: none; }
.wb-chips--small { margin: 0; gap: .35em; }
.wb-chips--small li { padding: .15em .6em; font-size: .8em; }

.wb-note { display: flex; gap: .8em; align-items: flex-start; max-width: 50em; margin: 0 0 2em; padding: 1em 1.2em; border-left: 4px solid #d98e04; border-radius: 6px; background: #fff7e6; color: #5a4300; }
.wb-note::before { content: "\f071"; font-family: FontAwesome; font-size: 1.3em; line-height: 1.2; color: #d98e04; }
.wb-note p { margin: 0; }

.wb-page .wp-block-buttons, .wb-cta .wp-block-buttons { gap: .6em; margin: 0; }
.wb-page .wp-block-button__link, .wb-cta .wp-block-button__link { padding: .65em 1.2em; border: 0; border-radius: 4px; background: #8b1c1c; color: #fff; font-size: 1em; font-weight: 700; text-decoration: none; }
.wb-page .wp-block-button__link:hover, .wb-page .wp-block-button__link:focus, .wb-cta .wp-block-button__link:hover, .wb-cta .wp-block-button__link:focus { background: #6e1414; color: #fff; }
.wb-page .is-style-outline .wp-block-button__link { padding: calc(.65em - 2px) calc(1.2em - 2px); border: 2px solid #0d3b5e; background: #fff; color: #0d3b5e; }
.wb-page .is-style-outline .wp-block-button__link:hover, .wb-page .is-style-outline .wp-block-button__link:focus { background: #e8eef3; color: #0d3b5e; }
.wb-cta .is-style-outline .wp-block-button__link, .wb-hero-home .is-style-outline .wp-block-button__link { border-color: #fff; }

.wb-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1em 2em; margin: 0 0 2em; padding: 1.3em 1.5em; border-radius: 8px; background: #0d3b5e; color: #fff; }
.wb-cta-text { flex: 1 1 24em; }
.wb-cta-text p { margin: 0; color: #d9e6f0; }
.wb-cta-text .wb-cta-title { margin-bottom: .2em; font-size: 1.2em; font-weight: 700; color: #fff; }

/* Stretched links: the whole card is clickable (not in the editor, where the texts must stay editable). */
.wb-tile, .wb-quick-item { position: relative; }
.wb-tile h3 a::after, .wb-quick-item a::after { content: ""; position: absolute; inset: 0; }

/* Sport pages */
.wb-hero { align-items: center; gap: 1.5em; margin: 0 0 1.6em; }
.wb-lead { margin: 0; font-size: 1.2em; line-height: 1.6; color: #333; }
.wb-illu { margin: 0; text-align: center; }
.wb-illu img { width: 100%; max-width: 360px; height: auto; border-radius: 10px; }
.wb-gear { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.wb-gear-item { margin: 0; padding: .8em; background: #fff; border: 1px solid #dde3e9; border-radius: 8px; text-align: center; }
.wb-gear-item img { width: 100%; max-width: 110px; height: 120px; object-fit: contain; border-radius: 0; }
.wb-gear-item figcaption { margin: .4em 0 0; font-size: .85em; line-height: 1.4; color: #666; text-align: center; }
.wb-gear-item figcaption strong { display: block; font-size: 1.18em; color: #0d3b5e; }

/* Overview cards (windhaan/kaarten) */
.wlk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2em; margin: 0 0 2.5em; }
.wlk-card { position: relative; display: flex; flex-direction: column; gap: .55em; padding: 1.3em 1.2em 1.1em; background: #fff; border: 1px solid #dde3e9; border-radius: 8px; color: #333; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); transition: transform .15s, box-shadow .15s; }
.wlk-card:hover, .wlk-card:focus { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, .1); color: #333; text-decoration: none; }
@media (min-width: 900px) { .wlk-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.wlk-card .wlk-icon.fa { display: flex; flex: none; align-items: center; justify-content: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: #fbeaea; color: #8b1c1c; font-size: 1.3em; line-height: 1; }
.wlk-card strong { color: #0d3b5e; font-size: 1.15em; line-height: 1.25; }
.wlk-chips { display: flex; flex-wrap: wrap; gap: .35em; }
.wlk-chip { padding: .15em .6em; border-radius: 999px; background: #e8eef3; color: #0d3b5e; font-size: .8em; font-weight: 700; }
.wlk-text { flex: 1; color: #555; font-size: .93em; line-height: 1.5; }
.wlk-more { color: #8b1c1c; font-size: .9em; font-weight: 700; }
.wlk-card--illu { padding-top: 0; overflow: hidden; }
.wlk-illu { display: block; width: calc(100% + 2.4em); max-width: none; height: auto; margin: 0 -1.2em .4em; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.wb-empty { padding: 1em; border: 1px dashed #b9c4ce; border-radius: 6px; color: #666; }

/* Contact */
.wb-quick { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 1.8em; }
.wb-quick-item { display: flex; flex-direction: column; gap: .2em; margin: 0; padding: 1.1em 1.2em; border-radius: 8px; background: #0d3b5e; color: #fff; transition: transform .15s, background .15s; }
.wb-quick-item:hover { background: #0a2c47; transform: translateY(-2px); }
.wb-quick-item h3 { margin: 0; font-family: 'Lato', Verdana, sans-serif; font-size: 1.1em; font-weight: 700; color: #fff; text-transform: none; }
.wb-quick-item h3::before { display: block; margin-bottom: .25em; font-size: 1.4em; color: #ff7b72; }
.wb-quick-item p { margin: 0; }
.wb-quick-item a, .wb-quick-item a:visited { color: #d9e6f0 !important; text-decoration: none; }
.wb-contact { gap: 1.5em; margin: 0 0 2em; }
.wb-card { height: 100%; margin: 0; overflow: hidden; background: #fff; border: 1px solid #dde3e9; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.wb-card h2 { margin: 0 0 .3em; color: #0d3b5e; }
.wb-form { padding: 1.4em 1.5em; }
.wb-sub { margin: 0 0 1.2em; color: #666; }
.wb-form .whc-form { max-width: none; }
.wb-form .whc-form input[type=text], .wb-form .whc-form input[type=tel], .wb-form .whc-form input[type=email], .wb-form .whc-form textarea { border: 1px solid #cfd8e0; border-radius: 4px; background: #fbfcfd; }
.wb-form .whc-form input:focus, .wb-form .whc-form textarea:focus { border-color: #0d3b5e; outline: 2px solid rgba(13, 59, 94, .2); background: #fff; }
.wb-form .whc-form .whc-submit button { padding: .7em 1.6em; border: 0; border-radius: 4px; background: #8b1c1c; color: #fff; font-weight: 700; cursor: pointer; }
.wb-form .whc-form .whc-submit button:hover, .wb-form .whc-form .whc-submit button:focus { background: #6e1414; }
.wb-map { display: flex; flex-direction: column; }
.wb-map .wb-preview, .wb-mapframe { position: relative; flex: 1; min-height: 320px; }
.wb-mapframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wb-map-body { padding: 1.2em 1.5em 1.4em; border-top: 1px solid #e3e7eb; }
.wb-map-body p { margin: 0 0 .9em; }
.wb-routes { display: flex; flex-wrap: wrap; gap: .5em; margin: 0; padding: 0; list-style: none; }
.wb-routes li { margin: 0; list-style: none; }
.wb-routes li::before { display: none; }
.wb-routes a { display: inline-flex; align-items: center; gap: .4em; padding: .5em .95em; border: 1px solid #0d3b5e; border-radius: 4px; color: #0d3b5e; font-size: .9em; font-weight: 700; text-decoration: none; }
.wb-routes a::before { font-family: FontAwesome; font-weight: normal; }
.wb-routes a[href*="google"]::before { content: "\f124"; }
.wb-routes a[href*="apple"]::before { content: "\f179"; }
.wb-routes a[href*="openstreetmap"]::before { content: "\f14e"; }
.wb-routes a:hover, .wb-routes a:focus { background: #0d3b5e; color: #fff; }

/* Lessons and camps */
.wb-hero.wp-block-columns { align-items: center !important; }
.wb-hero-body > * + * { margin-top: 1em; }
.wb-page .wb-hero-body > .wp-block-buttons { margin-top: 1.6em; }
.wb-text-end { margin-bottom: 2.2em; }
.wb-split { gap: 2em; margin: 0; }
.wb-split > .wp-block-column > :last-child { margin-bottom: 2.2em; }
.wb-checks { margin: 0 0 2.2em; padding: 0; list-style: none; }
.wb-checks li { position: relative; margin: .35em 0; padding-left: 1.7em; list-style: none; text-align: left; }
.wb-checks li::before { content: "\f00c"; position: absolute; left: 0; top: .05em; font-family: FontAwesome; font-size: .9em; color: #8b1c1c; }
.wb-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1em; margin: 0 0 2.2em; counter-reset: wb-step; }
.wb-step { margin: 0; padding: 1.1em 1.2em; background: #fff; border: 1px solid #dde3e9; border-radius: 6px; }
.wb-step h3 { display: flex; align-items: center; gap: .55em; margin: 0 0 .4em; font-family: 'Lato', Verdana, sans-serif; font-size: 1.05em; font-weight: 700; line-height: 1.3; color: #0d3b5e; text-transform: none; }
.wb-step h3::before { counter-increment: wb-step; content: counter(wb-step); display: inline-flex; flex: none; align-items: center; justify-content: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: #8b1c1c; color: #fff; font-size: .85em; }
.wb-step p { margin: 0; font-size: .95em; line-height: 1.5; color: #555; }
.wb-register { margin: 0 0 2em; scroll-margin-top: 80px; }

/* Membership */
.wb-prices { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2em; margin-bottom: 2.5em; }
.wb-price { margin: 0; padding: 1.1em 1.3em; background: #fff; border: 1px solid #dde3e9; border-top: 4px solid #0d3b5e; border-radius: 6px; }
.wb-price h3 { margin: 0 0 .6em; color: #0d3b5e; }
.wb-price-sub { margin: -.5em 0 .6em; color: #777; font-size: .9em; }
.wb-price-list { margin: 0; padding: 0; list-style: none; }
.wb-price-list li { display: flex; justify-content: space-between; gap: 1em; margin: 0; padding: .45em 0; border-bottom: 1px dashed #e3e7eb; list-style: none; }
.wb-price-list li::before { display: none; }
.wb-price-list li:last-child { border-bottom: 0; }
.wb-price-list strong { color: #8b1c1c; white-space: nowrap; }
@media (min-width: 760px) { .wb-prices--duo { grid-template-columns: 1fr 1fr; } }
.wb-price-list--duo li { display: grid; grid-template-columns: minmax(0, 1fr) 62px 76px; align-items: baseline; gap: .7em; }
.wb-price-list--duo strong { text-align: right; }
.wb-price-list--duo strong:nth-last-child(2) { grid-column: 2; }
.wb-price-list--duo strong:last-child { grid-column: 3; }
.wb-price-list--duo li:first-child { align-items: end; color: #777; font-size: .85em; line-height: 1.25; }
.wb-price-list--duo li:first-child strong { color: #0d3b5e; white-space: normal; }
.wb-split--prices .wb-price + .wb-price { margin-top: 1.2em; }
.wb-info { margin: 0 0 2em; padding: 1.2em 1.4em; background: #f4f6f8; border: 1px solid #e3e7eb; border-radius: 8px; }
.wb-info h2 { margin: 0 0 .5em; font-size: 1.4em; }
.wb-info ul { margin: 0 0 .8em 1.2em; }
.wb-info p { margin: 0; }

/* Vacatures */
.wb-job { gap: 0; margin: 0 0 2.5em; overflow: hidden; background: #fff; border: 1px solid #dde3e9; border-left: 6px solid #8b1c1c; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.wb-job-img { height: 100%; margin: 0; }
.wb-job-img img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: 0; }
.wb-job-body { display: flex; flex-direction: column; justify-content: center; gap: .8em; padding: 1.6em 1.8em; }
.wb-job-body > * { margin: 0; }
.wb-label { align-self: flex-start; margin: 0; padding: .2em .7em; border-radius: 999px; background: #8b1c1c; color: #fff; font-size: .75em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wb-job h2 { margin: 0; font-size: 1.6em; line-height: 1.2; color: #0d3b5e; }
.wb-job p { margin: 0; font-size: 1.05em; line-height: 1.6; color: #444; }
.wb-job .wb-label { font-size: .75em; color: #fff; }

/* Home */
.wb-hero-home { align-items: flex-end; justify-content: flex-start; min-height: 380px; margin: 0 0 1.5em; padding: 0; overflow: hidden; border-radius: 8px; }
.wb-hero-home .wp-block-cover__image-background { object-position: center 60%; }
.wb-hero-home .wp-block-cover__background { background: linear-gradient(180deg, rgba(13, 59, 94, 0) 25%, rgba(13, 59, 94, .85) 100%) !important; opacity: 1 !important; }
.wb-hero-home .wp-block-cover__inner-container { width: auto; max-width: 40em; padding: 2em; color: #fff; }
.wb-hero-home h1 { margin: 0 0 .3em; font-size: 2.6em; line-height: 1.1; color: #fff; }
.wb-hero-home p { margin: 0 0 1em; font-size: 1.15em; color: #fff; }
@media (max-width: 600px) { .wb-hero-home { min-height: 340px; } .wb-hero-home .wp-block-cover__background { background: linear-gradient(180deg, rgba(13, 59, 94, .1) 0%, rgba(13, 59, 94, .92) 55%) !important; } .wb-hero-home h1 { font-size: 1.9em; } .wb-hero-home .wp-block-cover__inner-container { padding: 1.3em; } }
.wb-tiles { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 2.5em; }
.wb-tile { display: flex; flex-direction: column; gap: .3em; margin: 0; padding: 1.2em; background: #fff; border: 1px solid #dde3e9; border-top: 4px solid #0d3b5e; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); transition: transform .15s, box-shadow .15s; }
.wb-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .1); }
.wb-tile h3 { margin: 0; font-family: 'Lato', Verdana, sans-serif; font-size: 1.1em; font-weight: 700; text-transform: none; }
.wb-tile h3::before { display: block; margin-bottom: .3em; font-size: 1.45em; color: #8b1c1c; }
.wb-tile h3 a { color: #0d3b5e; text-decoration: none; }
.wb-tile p { margin: 0; font-size: .92em; color: #666; }
.wb-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; margin: 0 0 .8em; border-bottom: 2px solid #0d3b5e; }
.wb-section-head h2 { margin: 0 0 .3em; }
.wb-section-head p { margin: 0; }
.wb-sponsors { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1em; margin: 0; padding: 1.5em 0 .5em; border-top: 1px solid #e5e5e5; color: #666; }
.wb-sponsors p { margin: 0; }
.wb-sponsor-logo { margin: 0; }
.wb-sponsor-logo img { display: block; width: 150px; height: auto; border-radius: 0; }

/* News and featured posts (windhaan/nieuws, windhaan/uitgelicht) */
.whh-news { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2em; margin: 0 0 2.5em !important; padding: 0; }
.whh-news li { margin: 0 !important; padding: 0 0 1em; width: auto !important; list-style: none; overflow: hidden; background: #fff; border: 1px solid #dde3e9; border-radius: 6px; }
.whh-news .wp-block-latest-posts__featured-image { margin: 0 0 .8em; aspect-ratio: 16 / 10; overflow: hidden; }
.whh-news .wp-block-latest-posts__featured-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.whh-news a.wp-block-latest-posts__post-title { display: block; padding: 0 1em; font-weight: 700; color: #0d3b5e; }
.whh-news .wp-block-latest-posts__post-date { display: block; padding: .3em 1em 0; color: #777; font-size: .85em; }
.whh-featured-list { display: grid; gap: 1.2em; margin: 0 0 2.5em; }
.whh-featured { display: grid; grid-template-columns: 1fr; overflow: hidden; background: #fff; border: 1px solid #dde3e9; border-left: 6px solid #8b1c1c; border-radius: 8px; color: #333; text-decoration: none; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); transition: transform .15s, box-shadow .15s; }
@media (min-width: 768px) { .whh-featured { grid-template-columns: 2fr 3fr; } .whh-featured--text { grid-template-columns: 1fr; } }
.whh-featured:hover, .whh-featured:focus { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .1); color: #333; text-decoration: none; }
.whh-featured-img { display: block; min-height: 220px; background-size: cover; background-position: center; }
.whh-featured-body { display: flex; flex-direction: column; justify-content: center; gap: .5em; padding: 1.4em 1.6em; }
.whh-featured-label { align-self: flex-start; padding: .2em .7em; border-radius: 999px; background: #8b1c1c; color: #fff; font-size: .75em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.whh-featured-body strong { font-size: 1.5em; line-height: 1.2; color: #0d3b5e; }
.whh-featured-text { line-height: 1.55; color: #555; }
.whh-featured-more { font-weight: 700; color: #8b1c1c; }

/* Block editor: same fonts and width as the site; stretched links off so texts stay clickable. */
.editor-styles-wrapper { font-family: 'Lato', Verdana, sans-serif; font-size: 15px; color: #333; }
.editor-styles-wrapper :is(h1, h2) { font-family: 'Oswald', sans-serif; font-weight: 400; color: #0d3b5e; }
.editor-styles-wrapper .wb-hero-home h1 { color: #fff; }
.editor-styles-wrapper .wp-block.wb-page { max-width: 1140px; }
.editor-styles-wrapper .wb-page .wp-block { max-width: none; margin-left: 0; margin-right: 0; }
.editor-styles-wrapper .wb-tile h3 a::after, .editor-styles-wrapper .wb-quick-item a::after { display: none; }
.editor-styles-wrapper .wb-preview a { pointer-events: none; }

/* Groups */
.wb-i-desktop::before { content: "\f108"; }
.wb-i-car::before { content: "\f1b9"; }
.wb-i-cutlery::before { content: "\f0f5"; }
.wb-i-moon-o::before { content: "\f186"; }
@media (min-width: 900px) { .wb-facts--3 { grid-template-columns: repeat(3, 1fr); } }
.wb-illu--photo img { max-width: 420px; box-shadow: 0 6px 18px rgba(13, 59, 94, .18); }
.wb-page h3.wb-subtitle { margin: 0 0 .5em; font-family: 'Lato', Verdana, sans-serif; font-size: 1.05em; font-weight: 700; color: #0d3b5e; text-transform: none; }
.wb-page .bwg_load_btn { display: inline-block; margin-top: .8em !important; padding: .5em 1.1em !important; border: 2px solid #0d3b5e !important; border-radius: 4px !important; background: #fff !important; color: #0d3b5e !important; font-family: Arial, Helvetica, sans-serif !important; font-size: 15px !important; font-weight: 700 !important; text-decoration: none; }
