/* Teamuitjes Den Haag – stijl */

@font-face { font-family: 'Source Sans 3'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/source-sans-3-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/lora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/lora-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 600; font-style: italic; font-display: swap; src: url('/assets/fonts/lora-latin-600-italic.woff2') format('woff2'); }

:root {
  --inkt: #17313A;
  --teal: #0E5E6F;
  --teal-hover: #093F4B;
  --koraal: #E07A5F;
  --koraal-tekst: #C2552F;
  --perzik: #F2A07B;
  --geel: #F2C14E;
  --zand: #F7F1E8;
  --rand: #E4DDD2;
  --gedempt: #55656C;
  --info: #E8F2F1;
  --serif: Lora, Georgia, serif;
  --sans: 'Source Sans 3', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: var(--inkt); font-family: var(--sans); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--teal); }
a:hover { color: var(--teal-hover); }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.01em; }
details summary { cursor: pointer; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--geel); outline-offset: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--inkt); color: #FFFFFF; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; color: #FFFFFF; }

/* Topbalk */
.topbalk { background: var(--inkt); font-size: 15px; }
.topbalk__rij { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbalk a { color: #FFFFFF; text-decoration: none; padding: 4px 0; }
.topbalk a:hover { text-decoration: underline; color: #FFFFFF; }

/* Kop */
.kop { border-bottom: 1px solid var(--rand); }
.kop__rij { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 22px; padding-bottom: 22px; }
.logo { text-decoration: none; color: var(--inkt); display: flex; align-items: center; gap: 12px; }
.logo:hover { color: var(--inkt); }
.logo__beeld { flex: 0 0 auto; }
.logo__tekst { display: flex; flex-direction: column; line-height: 1; }
.logo__naam { font-size: 29px; font-weight: 700; letter-spacing: -0.02em; }
.logo__stad { margin-top: 2px; font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 600; color: var(--koraal-tekst); }
.logo--licht .logo__naam { font-size: 22px; color: var(--zand); }
.logo--licht .logo__stad { font-size: 17px; color: var(--perzik); }

.zoek { flex: 0 1 380px; display: flex; min-width: 240px; }
.zoek input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 11px 14px; border: 2px solid var(--inkt); border-right: 0; border-radius: 4px 0 0 4px; }
.zoek button { font: inherit; font-size: 17px; font-weight: 600; padding: 0 18px; background: var(--inkt); color: #FFFFFF; border: 0; border-radius: 0 4px 4px 0; cursor: pointer; }
.zoek button:hover { background: var(--teal); }

/* Menu */
.menu { background: var(--zand); border-top: 1px solid var(--rand); }
.menu__rij { display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 17px; font-weight: 600; }
.menu a { text-decoration: none; color: var(--inkt); padding: 14px 14px; border-bottom: 3px solid transparent; }
.menu a:hover { color: var(--teal); }
.menu a[aria-current="page"] { border-bottom-color: var(--koraal); }

/* Voet */
.voet { background: var(--inkt); color: #FFFFFF; }
.voet__kolommen { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; font-size: 16px; }
.voet__kop { margin: 0 0 10px; font-weight: 700; font-size: 18px; }
.voet ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.voet a { color: #FFFFFF; }
.voet a:hover { color: var(--perzik); }
.voet__onder { border-top: 1px solid #2E4A53; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 15px; color: #C9D1D9; }
.voet__onder a { color: #C9D1D9; }

/* Pagina's die met klassen zijn opgebouwd (blog, zoeken, contact, ...) */
.pagina { padding-top: 24px; padding-bottom: 64px; }
.kruimelpad { font-size: 16px; color: var(--gedempt); display: flex; flex-wrap: wrap; gap: 8px; }
.kolommen { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.artikel { flex: 999 1 640px; min-width: 0; max-width: 780px; }
.zijbalk { flex: 1 1 280px; min-width: 0; }
.artikel h1, .pagina > h1 { margin: 0; font-size: 42px; line-height: 1.15; font-weight: 700; }
.pagina > h1 { margin-top: 20px; }
.meta { margin: 12px 0 0; font-size: 15px; color: var(--gedempt); }
.intro { margin: 20px 0 0; font-size: 21px; line-height: 1.55; }
.lead { margin: 12px 0 0; max-width: 760px; font-size: 20px; color: var(--gedempt); }
.kort { margin-top: 28px; background: var(--info); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; padding: 20px 24px; }
.kort h2 { margin: 0; font-size: 20px; font-weight: 700; }
.kort ul { margin: 10px 0 0; padding-left: 22px; }
.hero-figuur { margin: 36px 0 0; }
.hero-figuur .hero { margin-top: 0; }
.hero-figuur figcaption { margin-top: 6px; font-size: 13px; color: var(--gedempt); }
.hero { display: block; margin-top: 36px; width: 100%; height: auto; aspect-ratio: 12 / 7; max-height: 420px; object-fit: cover; border-radius: 10px; }

.prose h2, .sectie > h2 { margin: 52px 0 0; padding-top: 28px; border-top: 1px solid var(--rand); font-size: 30px; line-height: 1.2; font-weight: 700; }
.prose h3 { margin: 32px 0 0; font-size: 22px; }
.prose h4 { margin: 28px 0 0; font-family: var(--serif); font-size: 20px; }
.prose p, .prose ul, .prose ol { margin: 16px 0 0; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; margin-top: 20px; font-size: 17px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--rand); vertical-align: top; }
.prose th { background: var(--zand); }
.prose blockquote { margin: 20px 0 0; padding: 12px 20px; border-left: 4px solid var(--koraal); background: var(--zand); }
.tabel-scroll { overflow-x: auto; }

.foto { margin: 20px 0 0; padding: 0; }
.foto img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 10px; }
.foto figcaption { margin-top: 6px; font-size: 13px; color: var(--gedempt); }
.label { font-size: 14px; font-weight: 700; color: var(--koraal-tekst); text-transform: uppercase; letter-spacing: 0.04em; }
.aanbieder { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; padding: 20px 22px; border: 1px solid var(--rand); border-radius: 12px; }
.aanbieder__img { flex: 0 0 132px; width: 132px; height: 92px; object-fit: cover; border-radius: 8px; }
.aanbieder__body { flex: 1 1 320px; min-width: 0; }
.aanbieder h3 { margin: 4px 0 0; font-size: 22px; }
.aanbieder__plek { margin: 2px 0 0 !important; font-size: 15px; color: var(--gedempt); }
.aanbieder p { margin: 8px 0 0; font-size: 17px; }
.feiten { margin: 14px 0 0; padding: 14px 16px; background: var(--zand); border-radius: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; font-size: 16px; }
.feiten dt { font-size: 13px; font-weight: 700; color: var(--gedempt); text-transform: uppercase; letter-spacing: 0.04em; }
.feiten dd { margin: 2px 0 0; }
.aanbieder__link { display: inline-block; margin-top: 8px; font-size: 16px; font-weight: 600; padding: 4px 0; }

.regelen { margin-top: 48px; background: var(--zand); border-radius: 14px; padding: 26px 28px; }
.regelen h2 { margin: 0; font-size: 22px; font-weight: 700; }
.regelen p { margin: 8px 0 0; font-size: 17px; }
.regelen a { font-weight: 600; }

.faq { margin-top: 16px; border-top: 1px solid var(--rand); }
.faq details { border-bottom: 1px solid var(--rand); padding: 16px 0; }
.faq summary { font-size: 19px; font-weight: 700; color: var(--teal); }
.faq p { margin: 10px 0 0; }

.kader { border: 1px solid var(--rand); border-radius: 12px; padding: 20px 22px; }
.kader + .kader { margin-top: 24px; }
.kader h2 { margin: 0 0 10px; font-size: 20px; font-weight: 700; }
.kader ol, .kader ul { margin: 0; padding-left: 22px; font-size: 17px; display: flex; flex-direction: column; gap: 8px; }
.kader ul { padding-left: 0; list-style: none; }

/* Kaartenlijst (blogoverzicht, zoekresultaten) */
.lijst { margin: 24px 0 0; padding: 0; list-style: none; }
.lijst li { border-top: 1px solid var(--rand); padding: 20px 0; display: flex; gap: 20px; }
.lijst img { flex: 0 0 140px; width: 140px; height: 94px; object-fit: cover; border-radius: 8px; }
.lijst__tekst { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lijst__titel { font-size: 21px; font-weight: 700; line-height: 1.25; }
.lijst__sub { font-size: 16px; color: var(--gedempt); }
.leeg { margin-top: 24px; padding: 24px; background: var(--zand); border-radius: 12px; }

.zoekpagina form { margin-top: 24px; max-width: 620px; }
.knop { display: inline-block; font: inherit; font-weight: 600; padding: 12px 20px; background: var(--teal); color: #FFFFFF; border: 0; border-radius: 12px; text-decoration: none; cursor: pointer; }
.knop:hover { background: var(--teal-hover); color: #FFFFFF; }

/* ---------- Mobiel ----------
   De vaste pagina's gebruiken inline stijlen uit het ontwerp; die worden hier voor kleine schermen bijgestuurd. */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap, #inhoud main[style*="max-width"], #inhoud section > div[style*="max-width"], #inhoud section[style*="max-width"] { padding-left: 16px !important; padding-right: 16px !important; }
  .kop__rij { padding-top: 14px; padding-bottom: 14px; }
  .logo__beeld { width: 44px; height: 44px; }
  .logo__naam { font-size: 24px; }
  .logo__stad { font-size: 19px; }
  .zoek { flex: 1 1 100%; min-width: 0; }
  .menu__rij { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-left: 4px !important; padding-right: 4px !important; }
  .menu__rij::-webkit-scrollbar { display: none; }
  .menu a { white-space: nowrap; padding: 12px 10px; }
  #inhoud h1 { font-size: 32px !important; }
  #inhoud h2 { font-size: 25px !important; }
  #inhoud img[style*="height: 400px"], #inhoud img[style*="height: 340px"], #inhoud img[style*="height: 380px"] { height: 220px !important; }
  #inhoud li[style*="display: flex"] > img[style*="140px"] { flex-basis: 96px !important; width: 96px !important; height: 72px !important; }
  #inhoud table { display: block; overflow-x: auto; }
  .artikel h1, .pagina > h1 { font-size: 32px; }
  .intro { font-size: 19px; }
  .lijst img { flex-basis: 96px; width: 96px; height: 72px; }
  /* Alle teamuitjes: foto over de volle breedte */
  #inhoud li[data-soort] > span:first-child { flex-basis: 100% !important; }
  #inhoud li[data-soort] img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 2; }
}
