/* ============================================================
   Omoda Brands — berichtpagina's /nieuws/<slug>/
   Basisregels, header en footer gelijk aan de homepage (www/index.html);
   de tekst van een bericht komt 1-op-1 uit de homepage, met inline opmaak.
   De pagina's zelf maak je met tools/build-nieuws.py, niet met de hand.
   ============================================================ */

/* ---- Basis (gelijk aan de homepage) ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body { --accent: #2e2d2c; background: #f7f3f0; color: #2e2d2c; font-family: 'DM Sans', system-ui, sans-serif; font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; max-width: 100%; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: #2e2d2c; color: #f7f3f0; }

/* ---- Citaten (gelijk aan de homepage) ---- */
.ob-quote { display: flex; gap: clamp(14px, 1.6vw, 20px); align-items: flex-start; }
.ob-quote-avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--accent, #907147); margin-top: 3px; }
.ob-quote-body { min-width: 0; }

/* ---- Hovers: op de homepage via JS, hier via CSS ---- */
.ob-link { transition: opacity 240ms; }
.ob-link:hover { opacity: 1 !important; }
.ob-flink { transition: opacity 240ms; }
.ob-flink:hover { opacity: 0.55 !important; }
.ob-vlogo:hover { opacity: 0.85; }
.ob-textlink:hover { opacity: 0.6; }

/* ---- Bericht ---- */
.ob-art { padding: calc(76px + clamp(40px, 7vh, 88px)) clamp(20px, 5vw, 64px) clamp(80px, 13vh, 168px); }
.ob-art-inner { max-width: 1320px; margin: 0 auto; }
.ob-art-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; opacity: 0.78; transition: opacity 240ms; }
.ob-art-back:hover { opacity: 1; }
.ob-art-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent, #2e2d2c); margin: clamp(32px, 5vh, 56px) 0 18px; }
.ob-art-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(46,45,44,0.55); margin-bottom: 20px; }
.ob-art-meta span:first-child { color: var(--accent, #907147); font-weight: 600; }
.ob-art h1 { font-family: 'Newsreader', serif; font-weight: 300; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.06; letter-spacing: -0.02em; max-width: 26ch; }
.ob-art-body { margin-top: clamp(32px, 5vh, 56px); padding-top: clamp(28px, 4vh, 44px); border-top: 1.5px solid #2e2d2c; }
.ob-art-foot { margin-top: clamp(28px, 4vh, 44px); padding-top: clamp(20px, 3vh, 28px); border-top: 1px solid #e3dbce; }

/* ---- Mobiel (header en footer gelijk aan de homepage) ---- */
@media (max-width: 640px) {
  html { scroll-padding-top: 116px; }
  #site-header { flex-direction: column; row-gap: 16px; padding-top: 16px; padding-bottom: 14px; }
  #site-header > a[data-nav="top"] { align-self: center; font-size: 23px !important; letter-spacing: 0.1em !important; }
  #site-header nav { width: 100% !important; justify-content: space-between !important; flex-wrap: nowrap !important; gap: 6px !important; }
  #site-header nav a { white-space: nowrap; font-size: 10.5px !important; letter-spacing: 0 !important; }
  #footer-brands { display: grid !important; grid-template-columns: auto auto !important; justify-content: start !important; gap: 26px 44px !important; justify-items: start !important; align-items: center !important; }
  #footer-brands img[alt="Assem"] { margin-left: 0 !important; height: 15px !important; }
  #footer-brands img[alt="Omoda"] { height: 15px !important; }
  #footer-brands img[alt="Wehkamp"] { height: 18px !important; }
  #footer-brands img[alt="Kleertjes.com"] { height: 19px !important; }
  .ob-quote { gap: 12px; }
  .ob-quote-avatar { width: 40px; height: 40px; }
  .ob-art { padding-top: calc(116px + 32px); }
}
