/* Witte inhoud zoals de catalogus: de zwarte apparaten vallen op een lichte tegel beter op. */
.manuals { padding: 48px 0 80px; scroll-margin-top: 110px; background: #fff; color: #111; }
.manual-lead { max-width: 760px; margin: 20px 0 36px; color: var(--muted, #bdbdbd); }
.manual-group + .manual-group { margin-top: 48px; }
.manual-group h3 { margin: 0 0 16px; font-size: 22px; color: #111; }
.manual-list, .manual-downloads { list-style: none; padding: 0; margin: 0; }
.manual-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.manual-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 20px; padding: 16px; border: 1px solid #e7e7ea; border-radius: 16px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.manual-row:hover { border-color: #d4d4d8; box-shadow: 0 12px 32px rgba(17,17,17,.08); }
.manual-row h4 { margin: 6px 0 12px; font-size: 19px; line-height: 1.25; color: #111; }

/* Productfoto: onderaan uitgelijnd; bij een lange antenne (.hoog) loopt de antenne uit de tegel. */
.manual-img { grid-row: 1 / 3; display: flex; align-items: flex-end; justify-content: center; height: 120px; padding: 12px 10px; border-radius: 12px; background: #f5f5f7; overflow: hidden; }
.manual-img img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); transition: transform .3s ease; }
.manual-img.hoog img { height: 150%; max-width: none; }
.manual-row:hover .manual-img img { transform: scale(1.04); }
.manual-icon { align-items: center; background: #eaf1fe; color: var(--blue, #367def); }

/* Een raster met gelijke kolommen: de knoppen staan onder elkaar uitgelijnd, ook op de tweede regel. */
.manual-downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 8px; align-content: start; }
.manual-downloads a { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 7px 14px 7px 36px; border-radius: 10px; background: #eaf1fe; color: #1f5fcc; font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background .15s ease, color .15s ease; }
.manual-downloads a::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.manual-downloads small { color: #5b7fbf; font-size: 12px; font-weight: 500; }
.manual-downloads a:hover, .manual-downloads a:focus-visible { background: var(--blue, #367def); color: #fff; }
.manual-downloads a:hover small, .manual-downloads a:focus-visible small { color: rgba(255,255,255,.82); }
.manual-downloads a:focus-visible { outline: 2px solid var(--blue, #367def); outline-offset: 3px; }

/* De handleiding in de taal van de pagina krijgt de volle kleur. */
html[lang="nl"] .manual-downloads a[hreflang="nl"],
html[lang="en"] .manual-downloads a[hreflang="en"],
html[lang="de"] .manual-downloads a[hreflang="de"],
html[lang="fr"] .manual-downloads a[hreflang="fr"],
html[lang="es"] .manual-downloads a[hreflang="es"] { background: var(--blue, #367def); color: #fff; }
html[lang="nl"] .manual-downloads a[hreflang="nl"] small,
html[lang="en"] .manual-downloads a[hreflang="en"] small,
html[lang="de"] .manual-downloads a[hreflang="de"] small,
html[lang="fr"] .manual-downloads a[hreflang="fr"] small,
html[lang="es"] .manual-downloads a[hreflang="es"] small { color: rgba(255,255,255,.82); }

@media (max-width: 1000px) {
  .manual-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .manuals { padding: 32px 0 56px; }
  .manual-row { grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; padding: 14px; }
  .manual-img { grid-row: 1; height: 88px; padding: 8px; }
  .manual-row h4 { align-self: center; margin: 0; font-size: 17px; }
  .manual-downloads { grid-column: 1 / -1; margin-top: 14px; }
}
