/* Model-first SUPPORT layout, adapted from the BESUS resource library. */
.support-body { background: #fff; }
.support-body .support-topbar { background: #fff; border-bottom: 1px solid #dce4df; }
.support-body .support-library-hero {
  display: block; max-width: 820px; padding-block: 58px 28px; text-align: center;
}
.support-body .support-library-hero h1 {
  font-family: Georgia, serif; font-size: clamp(32px, 3.8vw, 48px);
  letter-spacing: -1px; margin: 0 0 18px; white-space: normal;
}
.support-body .support-library-hero .lead { max-width: 620px; margin: 0 auto; }
.support-body .support-library-hero .searchbox { margin: 26px auto 0; text-align: left; }
.support-body #products { padding-top: 25px; padding-bottom: 44px; }
.support-body .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.support-body .product-card { border-radius: 8px; box-shadow: none; }
.support-body .product-visual { background: #f5f7f6; }
.support-body .model-hero { padding-block: 32px; gap: 44px; }
.support-body .model-image { height: 250px; background: #f5f7f6; border-radius: 8px; }
.support-body .model-hero h1 { margin-block: 10px 16px; font-family: Georgia, serif; }
.support-body .model-compatibility { margin-block: 16px; }
.support-body #materials { padding-block: 22px 40px; }
#materials > .section-heading h2 { margin: 0; font-size: 28px; }
#materials > .admin-help { margin-block: 12px 24px; }
#materials .materials-section { border: 1px solid #dce4df; border-radius: 8px; padding: 24px; margin-top: 20px; }
#materials .resource-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
#materials .resource-heading h3 { font-size: 23px; margin: 0 0 8px; font-family: Georgia, serif; }
#materials .resource-heading p { color: #566d64; font-size: 12px; margin: 0; }
#materials .resource-search { display: grid; gap: 7px; font-size: 12px; width: min(100%, 280px); }
#materials .resource-search input { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; background: #fff; border: 1px solid #becdc4; border-radius: 5px; font-size: 14px; }
#materials .material-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
#materials .material-card { min-width: 0; padding: 14px; border: 1px solid #dce4df; border-radius: 6px; box-shadow: none; }
#materials .material-card.is-preferred { border-color: #215c50; background: #f5f9f6; }
#materials .material-card small { background: none; border-radius: 0; padding: 0; font-size: 11px; color: #566d64; }
#materials .material-card h3 { font: 600 16px/1.5 system-ui, sans-serif; margin: 7px 0; }
#materials .material-card .resource-title,
#materials .material-card .resource-version { font-size: 11px; line-height: 1.5; margin: 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #566d64; }
#materials .material-card .button { padding: 10px 12px; min-height: 44px; margin-top: 12px; font-size: 12px; }
#materials .video-player { aspect-ratio: auto; background: #edf3ef; margin-top: 12px; }
#materials .video-launch { min-height: 44px; font-size: 21px; }
#materials .video-player:has(video), #materials .video-player:has(iframe) { aspect-ratio: 16/9; }
#materials .material-card:has(video), #materials .material-card:has(iframe) { grid-column: 1 / -1; }
#materials .material-card .text-button { font-size: 11px; margin-top: 8px; }
#manuals .material-card { position: relative; }
#manuals .material-card h3 { margin-block: 4px; }
#manuals .resource-title { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
#manuals .material-card .button { display: inline; border: 0; background: none; color: #215c50; padding: 0; min-height: 0; margin: 0; font-weight: 600; }
#manuals .material-card .button::after { content: ""; position: absolute; inset: 0; border-radius: 6px; }
#manuals .material-card:hover { background: #edf3ef; }
#materials .resource-empty { text-align: left; margin: 0; padding: 18px; background: #f5f7f6; font-size: 14px; }
#materials input:focus-visible, #materials a:focus-visible, #materials button:focus-visible { outline: 3px solid #215c50; outline-offset: 3px; }
.support-body .model-hero + #materials + .support-action-section { border-top: 1px solid #dce4df; padding-top: 32px; }
@media (max-width: 900px) {
  #materials .material-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .support-body .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .support-body .support-library-hero { padding-block: 32px 16px; }
  .support-body .model-hero { padding-block: 24px; gap: 20px; }
  .support-body .model-image { height: 180px; }
  .support-body .product-grid { grid-template-columns: 1fr; }
  #materials .materials-section { padding: 16px; }
  #materials .resource-heading { align-items: stretch; flex-direction: column; gap: 14px; }
  #materials .resource-search { width: 100%; }
  #materials .material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #materials .material-card { padding: 12px; }
  #materials .material-card .button { font-size: 11px; padding-inline: 8px; }
}
