/* DS 0.34: compact mobile layout and one manual carousel control style.
   Colours follow the saved DS palette. Photography and desktop composition stay intact. */

/* Older server-rendered hero variants can still supply a rotation control.
   site.js removes it as well; all carousel controllers are manual-only. */
body.ds-choice [data-hero-pause],
body.ds-choice main .af-play {display:none!important}

body.ds-choice main :is(.team-photo-arrow,[data-inline-prev],[data-inline-next],[data-hero-prev],[data-hero-next],[data-ds031-previous],[data-ds031-next]),
body.ds-choice main .af-carousel>.af-controls :is(.af-prev,.af-next) {
 box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;
 flex:0 0 44px;width:44px!important;height:44px!important;
 min-width:44px!important;min-height:44px!important;padding:0!important;
 border:1px solid currentColor!important;border-radius:50%!important;
 border-color:color-mix(in srgb,currentColor 22%,transparent)!important;
 background:var(--dst-cards,var(--paper,#f6f0e5))!important;
 color:var(--dst-cards-ink,var(--ink,#45433f))!important;
 box-shadow:none!important;filter:none!important;cursor:pointer;touch-action:manipulation;
}
body.ds-choice main :is(.team-photo-arrow,[data-inline-prev],[data-inline-next],[data-hero-prev],[data-hero-next],[data-ds031-previous],[data-ds031-next]) svg,
body.ds-choice main .af-carousel>.af-controls :is(.af-prev,.af-next) svg {
 display:block;flex:none;width:23px!important;height:23px!important;
}
body.ds-choice main :is(.team-photo-arrow,[data-inline-prev],[data-inline-next],[data-hero-prev],[data-hero-next],[data-ds031-previous],[data-ds031-next]):focus-visible,
body.ds-choice main .af-carousel>.af-controls :is(.af-prev,.af-next):focus-visible {
 outline:2px solid var(--dst-cards-ink,var(--ink,#45433f))!important;outline-offset:3px!important;
 box-shadow:0 0 0 5px var(--dst-cards,var(--paper,#f6f0e5))!important;
}
body.ds-choice main :is(.team-photo-arrow,[data-inline-prev],[data-inline-next],[data-hero-prev],[data-hero-next],[data-ds031-previous],[data-ds031-next]):disabled,
body.ds-choice main .af-carousel>.af-controls :is(.af-prev,.af-next):disabled {opacity:.42;cursor:default}

/* These wrappers preserve the existing two-column cards at larger sizes. */
body.ds-choice main .ds034-editorial-heading .section-heading {margin-bottom:20px}
body.ds-choice main .ds034-editorial-body>:last-child {margin-bottom:0}

@media(max-width:720px) {
 body.ds-choice.team-update-v105 {--team-header-height:132px}
 body.ds-choice .site-header .utility-inner {
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:center;gap:0 10px;min-height:0;padding-block:3px;
 }
 body.ds-choice .site-header .ds150-review-badge,
 body.ds-choice .site-header .ds130-header-call {
  display:inline-flex!important;align-items:center;min-height:28px;
  margin:0;font-size:11px;line-height:1.35;gap:5px;
 }
 body.ds-choice .site-header .ds150-review-badge {justify-self:start}
 body.ds-choice .site-header .ds130-header-call {justify-self:end}
 body.ds-choice .site-header .ds150-google-mark {width:14px;height:14px}
 body.ds-choice .site-header .utility-inner .ds-entry-links {
  grid-column:1/-1;display:flex;justify-self:end;justify-content:flex-end;
  width:auto;min-height:0;margin:0;
 }
 body.ds-choice .site-header .audience-switch {gap:18px;font-size:11px;line-height:1.35}
 body.ds-choice .site-header .audience-switch a {
  display:inline-flex;align-items:center;min-height:28px;padding:3px 0;box-sizing:border-box;
 }
 body.ds-choice .site-header .nav-inner {
  min-height:68px;gap:16px;padding-block:4px;box-sizing:border-box;
 }
 body.ds-choice .site-header .nav-inner>.logo {
  width:104px;max-width:36%;flex:0 0 auto;padding:0;
 }
 body.ds-choice .site-header .nav-inner>.menu-toggle {
  min-height:44px;padding:8px 0;margin-left:auto;gap:8px;font-size:13px;
 }
 body.ds-choice .site-header.is-scrolled .nav-inner {min-height:64px}
 body.ds-choice .site-header.is-scrolled .nav-inner>.logo {width:96px}
 body.ds-choice .site-header .main-nav {
  max-height:calc(100dvh - var(--ds130-anchor-offset,150px) - 8px)!important;
  overscroll-behavior:contain;
 }
 /* Contact remains at its original page entry; it no longer moves into the header. */
 body.ds-choice .site-header .ds140-contact-launcher {display:none!important}
}

@media(max-width:680px) {
 /* The four existing benefits remain in a compact, readable two-column strip. */
 body.ds-choice main .hy-usps {padding-block:12px}
 body.ds-choice main .hy-usps>.container {
  grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px;
 }
 body.ds-choice main .hy-usps span {align-items:flex-start;gap:7px;font-size:12px;line-height:1.45}
 body.ds-choice main .hy-usps svg {flex:0 0 14px;width:14px;height:14px;margin-top:2px}

 /* CODE and showroom: heading, existing photo, then the descriptive copy and action. */
 body.ds-choice main .ds034-editorial-split {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:18px!important;align-items:start!important;box-sizing:border-box;
  padding:20px!important;border-radius:4px;
 }
 html[data-dst-theme] body.ds-choice main .ds034-editorial-split {
  background-color:var(--dst-cards)!important;color:var(--dst-cards-ink)!important;
  --dst-local-ink:var(--dst-cards-ink);
 }
 body.ds-choice main .ds034-editorial-split>.ds034-editorial-copy {
  display:contents!important;padding:0!important;box-shadow:none!important;
 }
 body.ds-choice main .ds034-editorial-heading {grid-column:1;grid-row:1;min-width:0}
 body.ds-choice main .ds034-editorial-heading :is(h2,h3,.section-heading) {margin:0!important}
 body.ds-choice main .ds034-editorial-heading .eyebrow {margin:0 0 10px}
 body.ds-choice main .ds034-editorial-split>.ds034-editorial-media {
  grid-column:1;grid-row:2;width:100%;min-width:0;margin:0;align-self:start!important;
 }
 body.ds-choice main .ds034-editorial-body {grid-column:1;grid-row:3;min-width:0}
 body.ds-choice main .ds034-editorial-body p {margin:0 0 18px;line-height:1.65}
 body.ds-choice main .ds034-editorial-body .button {width:100%;justify-content:space-between}
 body.ds-choice main .ds034-editorial-body .hy-action {margin-top:20px}
 body.ds-choice main .ds034-editorial-body .ds0200-code-action {margin-top:0}

 /* Every card carousel has its arrows immediately below the current card.
    Photo-only sliders keep their original over-photo previous/next positions. */
 body.ds-choice main .af-carousel.af-text-carousel {padding-top:0}
 body.ds-choice main .af-carousel>.af-controls {
  position:static!important;inset:auto!important;display:flex!important;
  align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;
  width:100%!important;height:auto!important;min-height:44px;
  margin:16px 0 0;padding:0!important;border:0!important;background:none!important;
  pointer-events:auto;color:var(--dst-local-ink,var(--ink));
 }
 body.ds-choice main .af-carousel>.af-controls :is(.af-prev,.af-next) {
  position:static!important;inset:auto!important;transform:none!important;margin:0;
 }
 body.ds-choice main .af-carousel>.af-controls .af-slide-count {
  position:static!important;inset:auto!important;display:inline-flex;
  align-items:center;justify-content:center;width:auto!important;height:auto!important;
  min-width:42px;min-height:44px;margin:0!important;padding:0 2px!important;
  clip:auto!important;clip-path:none!important;overflow:visible!important;
  background:transparent!important;color:inherit!important;font-size:13px;line-height:1.4;
  font-variant-numeric:tabular-nums;
 }
 body.ds-choice main .af-carousel>.af-controls .ds034-carousel-label {
  flex:1 1 100%;margin:0 0 2px;font-size:15px;font-weight:600;line-height:1.5;
 }
 body.ds-choice main .ds034-product-carousel>.af-controls {justify-content:center;margin-top:18px}
 body.ds-choice main .ds034-product-carousel>.af-controls .ds034-carousel-label {text-align:center}

 /* The product link remains one accessible card, with its title before the image. */
 body.ds-choice.page-home main #oplossingen>.hy-heading-row>.button {display:none!important}
 body.ds-choice.page-home main #oplossingen .product-tile {
  display:flex!important;flex-direction:column;min-width:0;height:auto;
 }
 body.ds-choice.page-home main #oplossingen .product-tile__text {display:contents!important}
 body.ds-choice.page-home main #oplossingen .product-tile__text h3 {
  order:-2;margin:0 0 14px;padding:0 8px;font-size:26px!important;line-height:1.2;
 }
 body.ds-choice.page-home main #oplossingen .product-tile__media {order:-1;margin-bottom:16px}
 body.ds-choice.page-home main #oplossingen .ds028-card-price {margin:0 8px 12px}
 body.ds-choice.page-home main #oplossingen .ds029-product-summary {margin:0 8px 8px}

 body.ds-choice main .ds031-process-footer {gap:10px 14px;align-items:center}
 body.ds-choice main .ds031-process-controls {gap:10px}

 /* Mobile statement first; the existing desktop logo/statement row is untouched. */
 body.ds-choice main .hy-brand-strip.ds031-brand-strip {
  grid-template-columns:minmax(0,1fr);gap:15px;padding-block:22px;
 }
 body.ds-choice main .ds031-brand-strip>p {grid-column:1;grid-row:1;margin:0;font-size:16px;line-height:1.5}
 body.ds-choice main .ds031-brand-strip>.ds029-brand-logos {grid-column:1;grid-row:2;margin:0;gap:20px}
}

@media(prefers-reduced-motion:reduce) {
 body.ds-choice main .af-viewport,
 body.ds-choice main .af-track-mobile {transition:none!important}
}

@media print {
 body.ds-choice main .af-controls,
 body.ds-choice main .ds031-process-controls {display:none!important}
}
