/*
Theme Name: Sportpark De Horst
Theme URI: https://www.sportparkdehorst.nl/
Author: ChatGPT voor Sportpark De Horst
Description: Licht, snel en informatief WordPress thema voor Sportpark De Horst in Zeewolde. Inclusief homepage, menustructuur, verenigingen, documenten, nieuws en dossierpagina's.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: sportpark-de-horst
License: GPLv2 or later
*/

:root {
  --spdh-green: #2f7d32;
  --spdh-green-dark: #245f27;
  --spdh-green-light: #eaf5ea;
  --spdh-blue: #154c79;
  --spdh-blue-dark: #0f3656;
  --spdh-orange: #f28c28;
  --spdh-sand: #f7f3ea;
  --spdh-text: #1d2a2f;
  --spdh-muted: #65727a;
  --spdh-border: #dfe6e2;
  --spdh-white: #ffffff;
  --spdh-shadow: 0 18px 45px rgba(15, 54, 86, 0.10);
  --spdh-radius: 22px;
  --spdh-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--spdh-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background: #ffffff;
}
img { max-width: 100%; height: auto; }
a { color: var(--spdh-blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--spdh-green); }

.spdh-container { width: min(var(--spdh-container), calc(100% - 40px)); margin: 0 auto; }
.spdh-skip-link { position: absolute; left: -999px; top: 12px; background: #fff; padding: 10px 14px; z-index: 9999; }
.spdh-skip-link:focus { left: 12px; }

.site-header { background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--spdh-border); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 14px; min-width: 230px; }
.site-logo-mark { width: 48px; height: 48px; border-radius: 15px; background: linear-gradient(135deg, var(--spdh-green), var(--spdh-blue)); display: grid; place-items: center; color: #fff; font-weight: 900; letter-spacing: -1px; }
.site-title-wrap { line-height: 1.1; }
.site-title { display: block; font-weight: 850; color: var(--spdh-blue-dark); font-size: 20px; text-decoration: none; }
.site-tagline { display: block; color: var(--spdh-muted); font-size: 13px; margin-top: 4px; }

.main-navigation { display: flex; align-items: center; gap: 10px; }
.main-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 4px; }
.main-navigation a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 999px; color: var(--spdh-text); text-decoration: none; font-size: 15px; font-weight: 650; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { background: var(--spdh-green-light); color: var(--spdh-green-dark); }
.nav-toggle { display: none; border: 1px solid var(--spdh-border); background: #fff; border-radius: 12px; padding: 10px 12px; font-weight: 750; color: var(--spdh-blue-dark); cursor: pointer; }

.spdh-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 10% 0%, rgba(242,140,40,.24), transparent 31%), linear-gradient(135deg, var(--spdh-blue-dark), var(--spdh-blue)); color: #fff; }
.spdh-hero:after { content: ""; position: absolute; inset: auto -12% -42% 38%; height: 380px; border-radius: 999px; background: rgba(255,255,255,.08); transform: rotate(-12deg); }
.spdh-hero__inner { position: relative; z-index: 1; padding: 84px 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 48px; align-items: center; }
.spdh-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 750; margin-bottom: 18px; }
.spdh-hero h1 { margin: 0 0 20px; font-size: clamp(38px, 6vw, 72px); line-height: .98; letter-spacing: -.05em; max-width: 820px; }
.spdh-hero p { font-size: clamp(18px, 2.2vw, 23px); color: rgba(255,255,255,.88); max-width: 720px; margin: 0 0 30px; }
.spdh-hero__card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); border-radius: var(--spdh-radius); padding: 28px; box-shadow: var(--spdh-shadow); }
.spdh-hero__card h2 { margin-top: 0; font-size: 26px; color: #fff; }
.spdh-hero__card ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,.9); }
.spdh-hero__card li + li { margin-top: 8px; }

.spdh-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.spdh-button, .wp-block-button__link, button, input[type="submit"] { border: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: 999px; background: var(--spdh-green); color: #fff !important; text-decoration: none; font-weight: 800; box-shadow: 0 10px 24px rgba(47,125,50,.18); cursor: pointer; }
.spdh-button:hover, .wp-block-button__link:hover, button:hover, input[type="submit"]:hover { background: var(--spdh-green-dark); color: #fff !important; }
.spdh-button--secondary { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); box-shadow: none; }
.spdh-button--secondary:hover { background: rgba(255,255,255,.22); }
.spdh-button--outline { background: #fff; color: var(--spdh-blue-dark) !important; border: 1px solid var(--spdh-border); box-shadow: none; }
.spdh-button--outline:hover { background: var(--spdh-green-light); color: var(--spdh-green-dark) !important; }

.spdh-section { padding: 72px 0; }
.spdh-section--sand { background: var(--spdh-sand); }
.spdh-section--green { background: var(--spdh-green-light); }
.spdh-section__head { max-width: 820px; margin-bottom: 34px; }
.spdh-section__head h2, .entry-content h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.06; letter-spacing: -.035em; color: var(--spdh-blue-dark); }
.spdh-section__head p { margin: 0; color: var(--spdh-muted); font-size: 19px; }

.spdh-grid { display: grid; gap: 22px; }
.spdh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spdh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spdh-card { background: #fff; border: 1px solid var(--spdh-border); border-radius: var(--spdh-radius); padding: 26px; box-shadow: 0 10px 30px rgba(15, 54, 86, 0.06); }
.spdh-card h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.15; color: var(--spdh-blue-dark); }
.spdh-card p { margin: 0 0 16px; color: var(--spdh-muted); }
.spdh-card p:last-child { margin-bottom: 0; }
.spdh-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.spdh-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; background: var(--spdh-green-light); color: var(--spdh-green-dark); font-size: 13px; font-weight: 800; }
.spdh-pill--orange { background: #fff1df; color: #9a4d04; }

.spdh-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -28px; position: relative; z-index: 2; }
.spdh-stat { background: #fff; border: 1px solid var(--spdh-border); border-radius: 18px; padding: 22px; box-shadow: var(--spdh-shadow); }
.spdh-stat strong { display: block; color: var(--spdh-blue-dark); font-size: 32px; line-height: 1; letter-spacing: -.03em; }
.spdh-stat span { display: block; color: var(--spdh-muted); margin-top: 8px; font-size: 14px; font-weight: 650; }

.spdh-callout { border-radius: var(--spdh-radius); background: linear-gradient(135deg, var(--spdh-green), var(--spdh-blue)); color: #fff; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.spdh-callout h2, .spdh-callout h3 { color: #fff; margin: 0 0 8px; }
.spdh-callout p { color: rgba(255,255,255,.86); margin: 0; max-width: 720px; }

.spdh-page-header { background: var(--spdh-sand); padding: 62px 0; border-bottom: 1px solid var(--spdh-border); }
.spdh-page-header h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1; letter-spacing: -.05em; margin: 0; color: var(--spdh-blue-dark); }
.spdh-page-header p { max-width: 780px; font-size: 19px; color: var(--spdh-muted); margin: 18px 0 0; }

.site-main { min-height: 52vh; }
.entry-content { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h1, .entry-content h2, .entry-content h3 { color: var(--spdh-blue-dark); line-height: 1.15; letter-spacing: -.02em; }
.entry-content h3 { font-size: 26px; margin-top: 34px; }
.entry-content p, .entry-content li { color: #2b383d; }
.entry-content blockquote { margin: 32px 0; padding: 24px 28px; background: var(--spdh-green-light); border-left: 6px solid var(--spdh-green); border-radius: 14px; color: var(--spdh-blue-dark); font-weight: 650; }

.spdh-list { display: grid; gap: 18px; }
.spdh-list-item { background: #fff; border: 1px solid var(--spdh-border); border-radius: 18px; padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.spdh-list-item h2, .spdh-list-item h3 { margin: 0 0 6px; font-size: 24px; color: var(--spdh-blue-dark); }
.spdh-list-item p { margin: 0; color: var(--spdh-muted); }

.spdh-timeline { position: relative; display: grid; gap: 18px; }
.spdh-timeline__item { display: grid; grid-template-columns: 150px 1fr; gap: 20px; }
.spdh-timeline__date { font-weight: 850; color: var(--spdh-green-dark); }
.spdh-timeline__content { background: #fff; border: 1px solid var(--spdh-border); border-radius: 18px; padding: 22px; }
.spdh-timeline__content h3 { margin: 0 0 8px; }

.site-footer { background: var(--spdh-blue-dark); color: rgba(255,255,255,.82); padding: 54px 0 28px; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.site-footer h2, .site-footer h3 { color: #fff; margin: 0 0 12px; }
.site-footer p { margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 7px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.64); font-size: 14px; }

form label { display: block; font-weight: 750; margin-bottom: 7px; color: var(--spdh-blue-dark); }
input[type="text"], input[type="email"], input[type="url"], textarea, select { width: 100%; border: 1px solid var(--spdh-border); border-radius: 14px; padding: 13px 14px; font: inherit; background: #fff; }
textarea { min-height: 140px; }

@media (max-width: 980px) {
  .spdh-hero__inner, .spdh-grid--2, .spdh-grid--3, .site-footer__grid { grid-template-columns: 1fr; }
  .spdh-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: inline-flex; }
  .main-navigation { position: relative; }
  .main-navigation ul { display: none; position: absolute; right: 0; top: 56px; width: min(340px, calc(100vw - 40px)); background: #fff; border: 1px solid var(--spdh-border); border-radius: 18px; padding: 10px; box-shadow: var(--spdh-shadow); }
  .main-navigation.is-open ul { display: grid; }
  .main-navigation a { width: 100%; justify-content: flex-start; }
  .spdh-callout { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .spdh-container, .entry-content { width: min(100% - 28px, var(--spdh-container)); }
  .spdh-hero__inner { padding: 58px 0; }
  .spdh-section { padding: 52px 0; }
  .spdh-stat-grid { grid-template-columns: 1fr; margin-top: 18px; }
  .site-header__inner { min-height: 72px; }
  .site-tagline { display: none; }
  .spdh-list-item, .spdh-timeline__item { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; }
}
