/* ============================================================
   Bos Rubber - herontwerp niveau 1 t/m 3
   Huisstijl: navy + staalblauw uit bestaand logo, functioneel en fris
   ============================================================ */

:root {
  --navy: #1b3a5c;
  --navy-deep: #122a44;
  --blue: #2e7c9f;
  --blue-dark: #246585;
  --blue-tint: #e8f1f6;
  --ink: #22303c;
  --ink-soft: #52616e;
  --line: #dde5ea;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --ok: #2e8b57;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(18, 42, 68, 0.10);
  --shadow-soft: 0 4px 14px rgba(18, 42, 68, 0.07);
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #c7d6e2;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}
.topbar a { color: #ffffff; font-weight: 500; }
.topbar a:hover { color: #9fc5da; }
.topbar-usps { display: flex; gap: 28px; list-style: none; }
.topbar-usps li::before { content: "✓"; color: #6fb5d3; margin-right: 7px; font-weight: 700; }
.topbar-contact { display: flex; gap: 20px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.logo img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 10px 14px;
  border-radius: 6px;
}
.main-nav a:hover { background: var(--blue-tint); color: var(--navy); }
.main-nav a.active { color: var(--blue); font-weight: 600; }
.main-nav a.nav-outlet { color: #c0392b; font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-tint); color: var(--navy); border-color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-tint); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 11px 0;
}
.breadcrumbs li { color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #9db0bd; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs li[aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- Hero (home) ---------- */
.hero { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero p.lead { font-size: 1.13rem; color: var(--ink-soft); margin: 20px 0 28px; max-width: 54ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 0.95rem; }
.hero-checks li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 9px; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  width: 100%;
}
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow);
  font-family: var(--font-head);
}
.hero-badge strong { display: block; font-size: 1.5rem; line-height: 1.1; }
.hero-badge span { font-size: 0.85rem; color: #b9cddd; }

/* ---------- Secties ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #dbe6ee; }
.section-navy h2 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); margin-top: 12px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Categorie-grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue); color: var(--ink); }
.cat-card .thumb { aspect-ratio: 4 / 3; background: var(--blue-tint); overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-card h3 { font-size: 1.04rem; }
.cat-card p { font-size: 0.88rem; color: var(--ink-soft); flex: 1; }
.cat-card .link { font-weight: 600; font-size: 0.9rem; color: var(--blue); margin-top: 8px; }
.cat-card:hover .link { color: var(--navy); }

/* ---------- Productkaarten ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue); color: var(--ink); }
.prod-card .thumb { aspect-ratio: 3 / 2; background: var(--bg-soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .thumb.contain img { object-fit: contain; padding: 14px; }
.prod-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-card p { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
.prod-card .link { font-weight: 600; font-size: 0.92rem; color: var(--blue); }
.prod-card:hover .link { color: var(--navy); }
.prod-card .tag {
  align-self: flex-start;
  background: var(--blue-tint);
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}

/* ---------- USP-band ---------- */
.usp-band { border-block: 1px solid var(--line); background: #fff; }
.usp-band .container {
  display: grid;
  grid-template-columns: repeat(var(--usp-cols, 5), 1fr);
  gap: 12px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.usp {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.usp .icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.usp strong { display: block; color: var(--navy); font-size: 0.93rem; }

/* ---------- Pagina-header (niveau 2/3) ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.page-hero .container { position: relative; padding-top: 64px; padding-bottom: 64px; max-width: 1200px; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { margin-top: 16px; max-width: 60ch; color: #d5e2ec; font-size: 1.08rem; }
.page-hero .hero-cta { margin: 26px 0 0; }

/* ---------- Contactbanner ---------- */
.contact-banner .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.contact-banner p { margin: 14px 0 26px; color: #c3d4e1; max-width: 50ch; }
.contact-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 14px; }
.contact-card ul { list-style: none; display: grid; gap: 10px; font-size: 0.95rem; }
.contact-card li { display: flex; gap: 12px; align-items: baseline; }
.contact-card .lbl { color: var(--ink-soft); width: 74px; flex: none; font-size: 0.85rem; }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; object-fit: cover; }
.split .content p { color: var(--ink-soft); margin: 16px 0; }
.split .content ul { list-style: none; display: grid; gap: 10px; margin: 20px 0 26px; }
.split .content ul li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 10px; }

/* ---------- Spec-tabel ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.spec-table th { font-family: var(--font-head); color: var(--navy); background: var(--bg-soft); }
.spec-table tr:last-child td { border-bottom: 0; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; overflow-x: auto; }

/* ---------- Productdetail ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.detail-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-soft);
}
.aside-card h3 { margin-bottom: 8px; }
.aside-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 18px; }
.aside-card .btn { width: 100%; margin-bottom: 10px; }
.aside-card .phone { display: block; text-align: center; font-size: 0.9rem; color: var(--ink-soft); }
.aside-card .phone a { font-weight: 700; color: var(--navy); }
.aside-card.navy { background: var(--navy); border-color: var(--navy); }
.aside-card.navy h3 { color: #fff; }
.aside-card.navy p { color: #c3d4e1; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { border-radius: 6px; aspect-ratio: 1; object-fit: cover; width: 100%; cursor: pointer; border: 2px solid transparent; }
.gallery img.main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* ---------- Varianten ---------- */
.variant-list { display: grid; gap: 12px; }
.variant {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.variant .dikte {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue);
  font-size: 1.05rem;
  background: var(--blue-tint);
  border-radius: 6px;
  text-align: center;
  padding: 10px 6px;
  line-height: 1.2;
}
.variant .dikte small { display: block; font-size: 0.7rem; font-weight: 600; color: var(--ink-soft); }
.variant h4 { font-size: 1rem; }
.variant p { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 800px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Formulier ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b6c8d6; font-size: 0.92rem; }
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.site-footer h4 { color: #fff; font-size: 0.98rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #b6c8d6; }
.site-footer a:hover { color: #fff; }
.site-footer .brand img { height: 40px; margin-bottom: 16px; background: #fff; padding: 6px 10px; border-radius: 6px; }
.site-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: #8ba2b4;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .header-cta { display: none; }
  .nav-search input { width: 100%; }
  .nav-search { margin: 8px 6px 0; }
}

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .usp-band .container { grid-template-columns: repeat(2, 1fr) !important; }
  .contact-banner .container { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .topbar-usps li:nth-child(n+3) { display: none; }

}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero-checks { grid-template-columns: 1fr; }
  .topbar-usps { display: none; }
  .variant { grid-template-columns: 72px 1fr; }
  .variant .btn { grid-column: 1 / -1; }
}

/* ============================================================
   WordPress-specifiek
   ============================================================ */

/* Content-breedtes: blokken die geen sectie zijn krijgen containerbreedte */
.entry-content > :where(p, h1, h2, h3, h4, ul, ol, table, figure, blockquote, .wp-block-buttons, .wp-block-columns, .content-block, .wp-block-table) {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.entry-content > :where(p, ul, ol) { margin-bottom: 1.1em; }
.entry-content > h2 { margin: 1.6em auto 0.6em; }
.entry-content > h3 { margin: 1.3em auto 0.5em; }
.is-narrow .entry-content > :where(p, h1, h2, h3, h4, ul, ol, table, figure, blockquote) { max-width: 820px; }
.container.is-narrow { max-width: 820px; }

/* Binnen artikel-layouts (product/project) geen extra padding */
.detail-layout .entry-content > * { padding-left: 0; padding-right: 0; max-width: none; }
.detail-layout .entry-content > p,
.detail-layout .entry-content > ul,
.detail-layout .entry-content > ol { color: var(--ink-soft); }
.detail-layout h1 { margin-bottom: 18px; }
.detail-layout .entry-content h2 { margin: 1.5em 0 0.5em; }
.detail-layout .entry-content img { border-radius: var(--radius); }
.detail-layout .entry-content figure { margin: 20px 0; }

.content-block { margin: 32px auto; }

/* Afbeeldingen en galerijen */
.entry-content .wp-block-image img { border-radius: var(--radius); height: auto; }
.block-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.block-gallery .gallery-item { display: block; }
.block-gallery img { border-radius: 6px; aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 700px) { .block-gallery { grid-template-columns: repeat(2, 1fr); } }

/* Tabellen (core table block) */
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.entry-content table th, .entry-content table td { text-align: left; padding: 12px 16px; border: 1px solid var(--line); }
.entry-content table th, .entry-content table thead td { font-family: var(--font-head); color: var(--navy); background: var(--bg-soft); }

/* Knoppen (core buttons) */
.wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; padding: 13px 24px; border-radius: 6px; background: var(--blue); color: #fff; text-decoration: none; }
.wp-block-button__link:hover { background: var(--navy); color: #fff; }

/* Outlet */
.outlet-banner { display: block; background: #c0392b; color: #fff; font-family: var(--font-head); font-weight: 600; padding: 12px 18px; border-radius: 6px; margin-bottom: 22px; }
.outlet-banner:hover { background: #a93226; color: #fff; }
.tag-outlet { background: #fdecea; color: #c0392b; }

/* Prijsblok */
.price-block { display: flex; gap: 16px; flex-wrap: wrap; }
.price { background: var(--blue-tint); border-radius: var(--radius); padding: 26px 30px; flex: 1; min-width: 240px; }
.price-dark { background: var(--navy); color: #fff; }
.price-dark .title, .price-dark .euro { color: #fff; }
.price .title { color: var(--navy); font-size: 1.05rem; margin-bottom: 2px; }
.price .subtitle { font-size: 0.88rem; color: var(--ink-soft); }
.price-dark .subtitle, .price-dark .permeter, .price-dark .btw { color: #c3d4e1; }
.price .euro { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--navy); margin: 8px 0 2px; }
.price .permeter { font-size: 0.9rem; color: var(--ink-soft); }
.price .btw { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }

/* Besteltabs */
.order-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.order-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.btn-ghost { border: 2px solid var(--line); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* CF7 */
.wpcf7 p { margin-bottom: 14px; }
.wpcf7 label { font-size: 0.88rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 6px; }
.wpcf7 input[type="submit"] { background: var(--blue); color: #fff; border: 0; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; padding: 13px 24px; border-radius: 6px; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--navy); }
.wpcf7 form .wpcf7-response-output { border-radius: 6px; padding: 12px 16px; margin: 16px 0 0; }

/* Zoeken */
.search-form { display: flex; gap: 10px; margin-top: 18px; }
.search-form input { max-width: 420px; }
.nav-search { margin-left: 6px; }
.nav-search input { padding: 8px 12px; font-size: 0.9rem; width: 130px; border-radius: 6px; border: 1px solid var(--line); }

/* Quote & medewerker */
.bosr-quote { border-left: 4px solid var(--blue); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 28px auto; font-size: 1.08rem; color: var(--navy); }
.bosr-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 0.88rem; color: var(--ink-soft); }
.employee-card .employee-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.employee-role { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 10px; }
.employee-contact { list-style: none; display: grid; gap: 6px; font-size: 0.95rem; }

/* Paginatie */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--navy); font-weight: 600; }
.pagination .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Split reverse */
.split-reverse img { order: 2; }
@media (max-width: 960px) { .split-reverse img { order: 0; } }

/* Hero-outline knop (op donkere achtergrond) */
.btn-hero-outline { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Checklist klein (sidebar) */
.checklist.small { font-size: 0.92rem; }

/* Sectie-meer knop */
.section-more { margin-top: 28px; }

/* Post meta */
.post-meta { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 6px; }
.post-hero img { border-radius: var(--radius); margin: 20px 0; }

/* Blog-kaarten en overige */
.related { margin-top: 64px; }

/* Lightbox */
.bosr-lightbox { position: fixed; inset: 0; background: rgba(15, 28, 42, 0.92); display: grid; place-items: center; z-index: 999; padding: 4vw; }
.bosr-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }

/* Review-fixes */
.main-nav a { white-space: nowrap; }
.nav-search input { width: 110px; }

/* CF7-formulieren binnen de content-breedte + tweekoloms layout */
.entry-content > .wpcf7 { max-width: 1200px; margin: 0 auto 40px; padding: 0 24px; }
.wpcf7 .form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.wpcf7 .form .left, .wpcf7 .form .right { min-width: 0; }
.wpcf7 textarea { min-height: 150px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea { margin-bottom: 4px; }
@media (max-width: 700px) { .wpcf7 .form { grid-template-columns: 1fr; } }

/* Uitgelijnde afbeeldingen in content */
.entry-content .wp-block-image.alignright { float: right; margin: 4px 0 18px 28px; max-width: min(45%, 360px); }
.entry-content .wp-block-image.alignleft { float: left; margin: 4px 28px 18px 0; max-width: min(45%, 360px); }
@media (max-width: 700px) {
  .entry-content .wp-block-image.alignright,
  .entry-content .wp-block-image.alignleft { float: none; margin: 0 0 18px; max-width: 100%; }
}
.wp-block-table { overflow-x: auto; }
.section-head .entry-content > * { padding-left: 0; padding-right: 0; }

/* Knoppen nooit laten wrappen */
.btn { white-space: nowrap; }

/* ============================================================
   Productdetail: beeld- en witruimte-ritme
   ============================================================ */

/* Elke gevlochten afbeelding begint onder de vorige tekst (rustig ritme) */
.detail-layout .entry-content .wp-block-image.alignleft,
.detail-layout .entry-content .wp-block-image.alignright { clear: both; margin-top: 8px; }

/* Productfoto's op wit krijgen een subtiel kader */
.detail-layout .entry-content .wp-block-image.alignleft img,
.detail-layout .entry-content .wp-block-image.alignright img {
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px;
}

/* Koppen: consistente lucht boven en onder */
.detail-layout .entry-content h2 { margin: 1.8em 0 0.6em; }
.detail-layout .entry-content h3 { margin: 1.4em 0 0.5em; }
.detail-layout .entry-content > h2:first-child { margin-top: 0; }
.detail-layout h1 { margin-bottom: 20px; }

/* Alinea-ritme in de productkolom */
.detail-layout .entry-content p { margin-bottom: 1em; }

/* Volledige-breedte afbeeldingen in de productkolom: lucht eromheen */
.detail-layout .entry-content > .wp-block-image:not(.alignleft):not(.alignright) { margin: 28px 0; }
.detail-layout .entry-content > .wp-block-image:not(.alignleft):not(.alignright) img { width: 100%; }

/* Galerij: meer lucht en consistent kader */
.content-block .block-gallery { margin-top: 8px; }
.block-gallery img { border: 1px solid var(--line); background: #fff; }

/* Tabellen en lijsten: lucht na floats */
.detail-layout .entry-content table,
.detail-layout .entry-content .wp-block-list { clear: both; }

/* ============================================================
   Contactpagina
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 48px; align-items: start; }
.contact-intro { padding-bottom: 48px; }
.contact-intro-text > p { padding: 0; max-width: none; color: var(--ink-soft); }
.contact-intro h1 { margin-bottom: 16px; }

.contact-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.contact-quick-item {
  display: flex; gap: 14px; align-items: center;
  background: var(--blue-tint); border-radius: var(--radius);
  padding: 18px 20px; color: var(--ink);
  transition: background 0.15s;
}
.contact-quick-item:hover { background: #d9e9f2; color: var(--ink); }
.contact-quick-item .icon {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  background: #fff; color: var(--blue); display: grid; place-items: center; font-size: 1.2rem;
}
.contact-quick-item strong { display: block; color: var(--navy); font-family: var(--font-head); }
.contact-quick-item em { font-style: normal; font-size: 0.9rem; color: var(--ink-soft); }

.contact-details-list { list-style: none; display: grid; gap: 14px; font-size: 0.95rem; }
.contact-details-list li { display: flex; gap: 12px; }
.contact-details-list .lbl { color: var(--ink-soft); width: 110px; flex: none; font-size: 0.85rem; padding-top: 2px; }

.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow-soft); }
.contact-form-card h2 { margin-bottom: 6px; }
.contact-form-card .form-note { color: var(--ink-soft); margin-bottom: 22px; }

.route-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 48px; align-items: start; }
.route-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.route-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.route-info { display: grid; gap: 20px; }
.route-item { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-soft); border-radius: var(--radius); padding: 18px 20px; }
.route-item .icon { flex: none; width: 38px; height: 38px; border-radius: 8px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.route-item strong { font-family: var(--font-head); color: var(--navy); display: block; margin-bottom: 2px; }
.route-item p { color: var(--ink-soft); font-size: 0.93rem; }

@media (max-width: 960px) {
  .contact-grid, .route-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-quick { grid-template-columns: 1fr; }
  .route-map iframe { height: 320px; }
}
