/* Mobile layout corrections. Desktop composition is kept in the theme. */
@media (max-width: 760px) {
  html { scroll-padding-top: 92px; }
  body .seb-header.seb-header--sez {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body .seb-header__inner.shell {
    width: calc(100% - 16px) !important;
    margin: 8px !important;
    grid-template-columns: minmax(88px, 1fr) 88px minmax(88px, 1fr) !important;
    gap: 6px !important;
    height: 60px !important;
    min-height: 60px !important;
  }
  body .seb-header__logo {
    width: 100% !important;
    height: 60px !important;
    padding: 10px !important;
    border-radius: 16px !important;
  }
  body .seb-header__logo svg {
    width: 96px !important;
    max-width: 100% !important;
    max-height: 42px !important;
    height: auto !important;
  }
  body .seb-header__navigation-glass {
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  body .seb-header__icon-button,
  body .seb-header__menu-button {
    width: 44px !important;
    height: 48px !important;
    min-height: 44px !important;
    padding: 11px !important;
  }
  body .seb-header__icon-button svg { width: 21px !important; height: 21px !important; }
  body .seb-header__actions {
    height: 60px !important;
    min-height: 60px !important;
    padding: 6px !important;
  }
  body .seb-header__actions .seb-header__phone { display: none !important; }
  body .seb-header__actions .seb-header__request {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 10px 8px !important;
    font-size: 13px !important;
    gap: 5px !important;
  }
  body .seb-mobile-drawer__panel {
    max-height: calc(100dvh - 20px);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  body .seb-mobile-drawer__head,
  body .seb-mobile-drawer__foot { flex: 0 0 auto !important; }
  body .seb-mobile-drawer__panel nav {
    flex: 1 1 auto !important;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    padding-bottom: 12px;
  }
  body .seb-mobile-drawer__panel nav::-webkit-scrollbar { display: none; }
  body .seb-mobile-drawer__foot { margin-top: 16px !important; }
  body .seb-mobile-drawer__panel :is(a,summary) { min-height: 44px; }

  body #content h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  body #content .sebl-cinema h1 { font-size: clamp(26px, 7.3vw, 34px) !important; }
  body #content .sebl-cinema h1 em { overflow-wrap: anywhere !important; hyphens: auto !important; }
  body #content .sebl-case-hero { padding-bottom: 90px !important; }
  body #content .sebl-project-case__screen { min-height: 620px !important; }
  body #content .sebl-case-hero h1 { font-size: clamp(28px, 7.7vw, 36px) !important; }

  /* Keep the title before the product photo without duplicating its markup. */
  body #content .single-product .product-hero__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    padding-top: 20px !important;
    padding-bottom: 32px !important;
  }
  body #content .single-product .product-summary { display: contents !important; }
  body #content .single-product .product-summary > * { min-width: 0; order: 5; }
  body #content .single-product .product-summary > .product-summary__category { order: 0; margin: 0 !important; }
  body #content .single-product .product-summary > h1 {
    order: 1;
    margin: 0 !important;
    font-size: clamp(28px, 7.8vw, 36px) !important;
    line-height: 1.13 !important;
  }
  body #content .single-product .product-summary > .breadcrumbs { order: 2; margin: 0 !important; font-size: 11px !important; }
  body #content .single-product .product-summary > .sebl-product-family-link { order: 3; margin: 0 !important; font-size: 14px !important; }
  body #content .single-product .product-gallery { order: 4; min-width: 0; }
  body #content .single-product .product-summary > .product-summary__order { order: 6; }
  body #content .single-product .product-summary > .product-summary__note { order: 7; }
  body #content .single-product .product-gallery__stage[data-gallery-stage] {
    height: clamp(220px, 62vw, 310px) !important;
    aspect-ratio: auto !important;
  }
  body #content .single-product .product-gallery__thumbs {
    display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    max-width: 100%; gap: 8px;
  }
  body #content .single-product .product-gallery__thumbs > * { flex-shrink: 0; }
  body #content .single-product .product-gallery__thumbs::-webkit-scrollbar { display: none; }
  body #content .single-product .sebl-product-photo-note { font-size: 12px !important; line-height: 1.5 !important; }

  body #content form input:is([type=text],[type=tel],[type=email],[type=number]),
  body #content form select {
    min-height: 48px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
  body #content form textarea { min-height: 112px !important; font-size: 16px !important; line-height: 1.5 !important; }
  body #content form button[type=submit] { min-height: 48px !important; }
  body :is(#request,#lead-modal) .sebl-request-form .sez-lead__fields > input {
    height: 48px !important;
    min-height: 48px !important;
    padding: 10px 12px !important;
    font-size: 16px !important;
  }
  body #content .request-page__copy {
    min-height: 0 !important; justify-content: flex-start !important; gap: 18px !important; padding: 24px !important;
  }
  body #content div.request-page__grid > div.request-page__copy > h1 { order: 0 !important; font-size: 28px !important; margin: 0 !important; }
  body #content div.request-page__grid > div.request-page__copy > p:not(.eyebrow) { order: 1 !important; font-size: 15px !important; line-height: 1.6 !important; margin: 0 !important; }
  body #content .request-page__copy > ul { order: 2 !important; margin: 0 !important; font-size: 14px !important; }
  body #content .request-page__copy > .request-page__contacts { order: 3 !important; margin: 0 !important; }
}

/* Compact reading scale shared by mobile page templates. */
@media (max-width: 760px) {
  body #content .single-product .product-summary > .product-summary__lead,
  body #content .sebl-clean-heading > p,
  body #content .inner-hero__copy > p:not(.eyebrow),
  body #content .catalog-discovery p,
  body #content .catalog-section-heading > p,
  body #content .sebl-cinema .sb-intro,
  body #content .sebl-proof-photo--diagram > div > p,
  body #content .sebl-case-hero__text > p,
  body #content .sebl-route-card__copy > p,
  body #content .sebl-journal-entry__lead,
  body #content div.request-page__grid > div.request-page__copy > p:not(.eyebrow) {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body #content .sb-new #about.sebl-home-intro--work .sebl-home-intro__copy p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 12px 0 !important;
  }
  body #content .single-product .product-summary > .product-summary__lead { margin: 0 !important; }
  body #content .single-product .product-hero__grid { gap: 12px !important; padding-bottom: 20px !important; }
  body #content .single-product .product-specs { margin: 0 !important; gap: 8px !important; }
  body #content .single-product .product-summary__order { padding-block: 14px !important; gap: 12px !important; }
  body #content .single-product .product-content { padding-block: 20px !important; }
  body #content .single-product .product-content__main { padding: 20px 16px !important; }
  body #content .sebl-clean-heading > p { margin-top: 12px !important; }
  body #content .sebl-journal-entry__lead { margin-bottom: 18px !important; }
  body #content .page-layout__content,
  body #content .article-page__content,
  body #content .entry-content { font-size: 14px !important; line-height: 1.5 !important; }

  body #content .entry-content.sebl-detail__body :is(p,li),
  body #content .single-product .product-content__main .entry-content :is(p,li),
  body #content .sebl-source-content .sebl-nku-copy p,
  body #content .sebl-source-content .sebl-nku-copy p:first-child,
  body #content .sebl-nku-chapter--purpose .sebl-nku-copy p:first-child,
  body #content .sebl-nku-chapter--construction .sebl-nku-copy p,
  body #content .sebl-project-case__content .sebl-case-section p,
  body #content .sebl-project-case__content .sebl-case-section:last-child p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body #content .entry-content.sebl-detail__body p,
  body #content .single-product .product-content__main .entry-content p,
  body #content .sebl-source-content .sebl-nku-copy p,
  body #content .sebl-nku-chapter--construction .sebl-nku-copy p {
    margin-bottom: 12px !important;
  }
  body #content .entry-content.sebl-detail__body p:last-child,
  body #content .single-product .product-content__main .entry-content p:last-child,
  body #content .sebl-source-content .sebl-nku-copy p:last-child { margin-bottom: 0 !important; }
  body #content .entry-content.sebl-detail__body :is(ul,ol) { margin-block: 14px !important; gap: 6px !important; }
  body #content .entry-content.sebl-detail__body li { margin-block: 5px !important; padding-block: 2px !important; }

  body #content .entry-content.sebl-detail__body h2,
  body #content .single-product .product-content__main .entry-content h2,
  body #content .sebl-project-case__heading h2,
  body #content .sebl-project-case__content .sebl-case-section h2,
  body #content .sebl-project-case__content .sebl-case-section:last-child h2,
  body #content .sebl-nku-chapter__heading h2,
  body #content .catalog-section-heading h2,
  body #content .sebl-service-return h2 {
    font-size: 23px !important;
    line-height: 1.2 !important;
  }
  body #content .entry-content.sebl-detail__body h2,
  body #content .single-product .product-content__main .entry-content h2 { margin: 24px 0 12px !important; }
  body #content .entry-content.sebl-detail__body h2:first-child,
  body #content .single-product .product-content__main .entry-content h2:first-child { margin-top: 0 !important; }
  body #content .entry-content.sebl-detail__body h3 { font-size: 18px !important; line-height: 1.25 !important; margin: 20px 0 10px !important; }
  body #content .sebl-route-card__copy > h2 { font-size: 26px !important; line-height: 1.15 !important; }
  body #content .sebl-route-card__copy { gap: 14px !important; }

  body #content .sb-new #about.sebl-home-intro--work { gap: 20px !important; padding-block: 30px !important; }
  body #content .sebl-nku-chapter { margin-bottom: 24px !important; }
  body #content .sebl-nku-chapter__heading { margin-bottom: 14px !important; }
  body #content .sebl-project-case__content .sebl-case-section { padding-block: 22px !important; row-gap: 14px !important; }
  body #content .sebl-project-case__content .sebl-case-section:last-child { padding: 18px 16px !important; }
  body #content .sebl-project-case__content .sebl-case-section:last-child p { padding-block: 12px !important; }
  body #content .sebl-project-case__content .sebl-case-fact { padding: 14px !important; }
  body #content .sebl-project-case__content .sebl-case-fact strong { font-size: 15px !important; line-height: 1.4 !important; }
  body #content .sebl-project-case__content .sebl-case-fact p:not(:first-child) { font-size: 15px !important; line-height: 1.4 !important; }
  body #content .sebl-project-case__content .sebl-case-fact p:first-child { margin-bottom: 6px !important; }
  body #content .single-product .product-summary__note { margin-block: 6px 0 !important; line-height: 1.45 !important; }
  body #content .request-page__copy { gap: 14px !important; padding: 20px !important; }
}

@media (max-width: 1100px) {
  /* Move the two existing launchers away from the middle of the copy. */
  body .sebl-side-toggle, body #szai-toggle {
    top: auto !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    border: 1px solid #dce2e5 !important;
    border-radius: 14px !important;
    padding: 9px !important;
    box-shadow: 0 3px 14px #20272d12 !important;
  }
  body .sebl-side-toggle { right: 70px !important; }
  body #szai-toggle { right: 14px !important; }
  body #szai-toggle .szai-reference__logo {
    width: 30px !important; height: 30px !important; inset: 7px !important;
  }
  body .sebl-side-panel {
    top: auto !important;
    right: 14px !important;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    width: min(340px, calc(100vw - 28px)) !important;
    max-height: calc(100dvh - 100px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding: 20px !important;
    border-radius: 18px !important;
  }
  body .sebl-side-panel :is(a,button) { min-height: 48px !important; font-size: 16px !important; }
  body .sebl-side-panel :is(h2,h3) { font-size: 24px !important; }
  body .site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* Mobile composition: short sections, readable headings and native swipe rails. */
@media (max-width: 760px) {
  body #content h1,
  body #content .single-product .product-summary > h1,
  body #content .sebl-source-page .sebl-nku-detail__intro h1,
  body #content .sebl-journal-entry .sebl-journal-entry__intro h1,
  body #content .sebl-project-case .sebl-case-hero h1,
  body #content .inner-hero .inner-hero__copy > h1,
  body #content .sebl-cinema h1 {
    font-size: clamp(24px, 6.6vw, 28px) !important;
    line-height: 1.16 !important;
    letter-spacing: -.025em !important;
  }
  body #content h1 .sebl-heading-tail { white-space: normal !important; overflow-wrap: anywhere !important; }
  body #content .inner-hero .inner-hero__copy { min-height: 0 !important; padding: 20px !important; gap: 14px !important; }
  body #content .inner-hero .inner-hero__copy > p:not(.eyebrow) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-block: 0 !important; }
  body #content .sb-new .sb-heading h2,
  body #content .sb-new .sebl-nku-mosaic > header h2,
  body #content .sebl-detail-related > .sb-heading h2,
  body #content .related-products h2,
  body #content .product-resources h2,
  body #content .sebl-source-drawing-section h2,
  body #content .sb-new .sebl-proof-photo h2 {
    font-size: 22px !important;
    line-height: 1.18 !important;
  }
  body #content .sb-new .sb-heading,
  body #content .sb-new .sebl-nku-mosaic > header { gap: 12px !important; margin-bottom: 16px !important; align-items: flex-start !important; }
  body #content .sb-new .sb-heading > div { flex: 1 1 auto; min-width: 0; }
  body #content .sb-new .sb-heading > .sb-link { flex: 0 0 auto; font-size: 12px !important; margin-top: 4px !important; }
  body #content .sb-new .sb-section { padding-block: 24px !important; }
  body #content .sb-new .sb-hero--cinematic { height: 540px !important; min-height: 0 !important; max-height: 85svh; }
  body #content .sb-new .sebl-cinema__copy { padding-top: 90px !important; padding-bottom: 65px !important; }
  body #content .sb-new .sebl-cinema .sb-intro { margin-block: 14px 18px !important; }

  body #content .sb-new #about.sebl-home-intro--work { padding-block: 24px !important; gap: 16px !important; }
  body #content .sb-new #about .sebl-home-intro__copy p {
    display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 5;
    overflow: hidden; margin-block: 12px !important;
  }
  body #content .sb-new #about .sebl-home-intro__copy .sb-link { margin-top: 4px !important; }
  body #content .sebl-home-paths { padding-bottom: 0 !important; }
  body #content .sebl-hero-paths { gap: 10px !important; }
  body #content .sebl-hero-path { flex: 0 0 76% !important; height: 160px !important; min-height: 160px !important; padding: 16px !important; border-radius: 16px !important; }
  body #content .sb-new .sebl-home-paths .sebl-hero-path__title { font-size: 18px !important; line-height: 1.2 !important; max-width: 22ch !important; margin: 0 !important; }
  body #content .sebl-hero-path__icon { width: 24px !important; height: 24px !important; }

  /* Keep all equipment families within reach in one horizontal row. */
  body #content .sebl-equipment-mobile-picker { display: none !important; }
  body #content .sebl-equipment-explorer { display: block !important; }
  body #content .sebl-equipment-explorer .sebl-equipment-menu { display: flex !important; flex-wrap: nowrap !important; gap: 8px !important; width: 100% !important; max-width: 100% !important; margin: 0 0 12px !important; }
  body #content .sebl-equipment-menu > section { display: contents !important; }
  body #content .sebl-equipment-menu h3,
  body #content .sebl-equipment-menu a > .icon { display: none !important; }
  body #content .sebl-equipment-menu a {
    flex: 0 0 auto !important; white-space: nowrap !important; min-height: 40px !important;
    padding: 10px 13px !important; margin: 0 !important; border: 1px solid #dce2e5 !important;
    border-radius: 12px !important; font-size: 13px !important; line-height: 18px !important;
    color: #20272d !important; background: #fff !important;
  }
  body #content .sebl-equipment-menu a.is-previewed { color: #fff !important; background: #20272d !important; border-color: #20272d !important; }
  body #content .sebl-equipment-preview { min-height: 0 !important; height: auto !important; }
  body #content .sebl-equipment-preview__art { height: 190px !important; min-height: 0 !important; padding: 14px !important; }
  body #content .sebl-equipment-selection .sebl-equipment-preview__art { height: 190px !important; flex: 0 0 190px !important; max-height: 190px !important; }
  body #content .sebl-equipment-preview__copy { padding: 14px !important; }
  body #content .sebl-equipment-preview__copy h3 { font-size: 20px !important; margin: 0 0 6px !important; }
  body #content .sebl-equipment-preview__copy p { font-size: 12px !important; line-height: 1.45 !important; }
  body #content .sebl-equipment-preview__copy > span { font-size: 12px !important; margin-top: 10px !important; }
  body #content .sebl-nku-mosaic { margin-top: 24px !important; }
  body #content .sebl-nku-mosaic__track { --nku-col: 96px !important; --nku-row: 86px !important; gap: 10px !important; }
  body #content .sebl-nku-mosaic__card { padding: 12px !important; border-radius: 16px !important; }
  body #content .sebl-nku-mosaic__card h3 { font-size: 17px !important; }
  body #content .sebl-nku-mosaic__card--small { padding: 10px !important; }
  body #content .sebl-nku-mosaic__card--small h3 { font-size: 14px !important; }
  body #content .sebl-nku-mosaic__card p { display: none !important; }
  body #content .sebl-nku-mosaic__card--wide { grid-column: span 2 !important; }
  body #content .sebl-nku-mosaic__card--wide img { width: 44% !important; }

  /* Publication covers and their copy remain two separate rounded panels. */
  body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__copy {
    min-height: 156px !important; height: auto !important; padding: 14px !important; border-radius: 14px !important;
  }
  body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__copy h2 { font-size: 15px !important; line-height: 1.25 !important; margin: 0 0 6px !important; }
  body #content .sebl-story.sebl-story--news .sebl-story__excerpt { font-size: 12px !important; line-height: 1.45 !important; -webkit-line-clamp: 2 !important; }
  body #content .sebl-story.sebl-story--news .sebl-story__photo { border-radius: 14px !important; }
  body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__meta { font-size: 10px !important; margin-bottom: 8px !important; }
  body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__read { font-size: 12px !important; padding-top: 12px !important; }
  body #content .sebl-home-journal.sebl-journal-rail { gap: 12px !important; }
  body #content .sebl-journal-rail__intro { display: grid !important; grid-template-columns: minmax(0,1fr) auto !important; grid-template-rows: auto !important; align-items: center !important; gap: 12px !important; min-height: 0 !important; padding: 16px !important; border-radius: 16px !important; }
  body #content .sebl-journal-rail__intro > div { display: contents !important; padding: 0 !important; margin: 0 !important; }
  body #content .sebl-journal-rail__intro > a { grid-column: 2 !important; grid-row: 1 !important; font-size: 11px !important; padding: 8px !important; }
  body #content .sebl-journal-rail__intro h2 { font-size: 22px !important; line-height: 1.1 !important; margin: 0 !important; }
  body #content .sebl-journal-rail__intro p,
  body #content .sebl-journal-rail__intro nav { display: none !important; }
  body #content .sebl-journal-rail__track { gap: 12px !important; }
  body #content .sebl-journal-rail__track > article { flex-basis: 78% !important; }

  /* Supporting resources should never form a tall stack of empty cards. */
  body #content .single-product .product-resources__grid { display: flex !important; flex-wrap: nowrap !important; gap: 10px !important; }
  body #content .single-product .product-resources__grid > a { flex: 0 0 74% !important; min-width: 0 !important; min-height: 140px !important; padding: 16px !important; border-radius: 16px !important; }
  body #content .single-product .product-resources__grid > a > .icon { width: 24px !important; height: 24px !important; }
  body #content .single-product .product-resources__grid > a strong { padding-top: 16px !important; font-size: 16px !important; }
  body #content .single-product .product-resources__grid > a span:not(.icon) { font-size: 12px !important; line-height: 1.4 !important; }
  body #content .single-product .product-gallery__stage[data-gallery-stage] { height: 210px !important; }
  body #content .single-product .product-specs { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body #content .single-product .product-specs dd { font-size: 15px !important; line-height: 1.3 !important; }
  body #content .single-product .product-specs > div { gap: 5px !important; padding: 12px !important; }
  body #content .single-product .product-content__main { padding: 16px !important; }
  body #content .sebl-source-page .sebl-nku-detail__photo { height: 230px !important; min-height: 0 !important; }
  body #content .sebl-source-page .sebl-nku-detail__hero { padding-bottom: 24px !important; }

  body #content .sebl-workstage-mobile > article { min-height: 0 !important; height: auto !important; padding: 16px !important; }
  body #content .sebl-workstage-mobile h3 { font-size: 20px !important; line-height: 1.2 !important; }
  body #content .home-process__links { gap: 10px !important; margin-top: 14px !important; padding-top: 0 !important; }
  body #content .cc-directions > div { display: flex !important; flex-wrap: nowrap !important; gap: 10px !important; }
  body #content .cc-direction { flex: 0 0 74% !important; min-height: 160px !important; grid-column: auto !important; grid-row: auto !important; padding: 16px !important; }
  body #content .sebl-service-return .sebl-rail > a.sebl-service-archive__card { min-height: 220px !important; padding: 16px !important; }
  body #content .sebl-related-projects.sebl-rail > a h3 { font-size: 18px !important; }
  body #content .sebl-rail > * { flex-basis: 78% !important; }
  body #content .related-products,
  body #content .sebl-detail-related,
  body #content .product-resources { padding-block: 24px !important; }

  /* Full catalog and journal stay grids, with two compact cards per row. */
  body #content .product-grid.product-grid--catalog { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; }
  body #content .product-grid--catalog > .product-card:nth-child(n) { display: flex !important; flex-direction: column !important; grid-column: auto !important; grid-row: auto !important; min-width: 0 !important; width: auto !important; height: auto !important; border-radius: 14px !important; }
  body #content .product-card .product-card__media { height: 150px !important; min-height: 0 !important; aspect-ratio: auto !important; }
  body #content .product-grid--catalog .product-card__media { height: 130px !important; }
  body #content .product-grid--catalog .product-card__media img { object-fit: contain !important; padding: 8px !important; }
  body #content .product-grid--catalog .product-card__body { flex: 1 1 auto !important; padding: 12px !important; min-width: 0 !important; }
  body #content .product-grid--catalog .product-card__category { font-size: 10px !important; }
  body #content .product-grid--catalog .product-card__category { margin-bottom: 0 !important; }
  body #content .product-grid--catalog .product-card__body h3 { font-size: 14px !important; line-height: 1.25 !important; min-height: 35px; margin-block: 6px !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  body #content .product-grid--catalog .seb-catalog-card-facts { font-size: 11px !important; line-height: 1.35 !important; margin-bottom: 8px !important; }
  body #content .product-grid--catalog .seb-catalog-card-facts { display: flex !important; flex-wrap: wrap !important; gap: 4px !important; }
  body #content .product-grid--catalog .seb-catalog-card-facts > span { font-size: 10px !important; line-height: 1.2 !important; padding: 3px 5px !important; }
  body #content .product-grid--catalog .seb-catalog-card-more { font-size: 11px !important; margin-top: auto !important; }
  body #content .product-grid .product-card:is(:hover,:focus-within) { background: #f1f3f4 !important; color: #20272d !important; transform: none !important; }
  body #content .product-grid .product-card:is(:hover,:focus-within) :is(h2,h3,h3 a) { color: #20272d !important; }
  body #content .product-grid .product-card:is(:hover,:focus-within) :is(.product-card__category,.seb-catalog-card-more) { color: #c6383d !important; }
  body #content .product-grid .product-card:is(:hover,:focus-within) :is(.seb-catalog-card-facts,.product-card__specs) { color: #67737c !important; }
  body #content .sb-editorial-index > .sb-story-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 18px 10px !important; overflow: visible !important; }
  body #content .sb-editorial-index .sb-story-grid .sebl-story:nth-child(n) { display: block !important; grid-column: auto !important; grid-row: auto !important; width: 100% !important; min-width: 0 !important; height: auto !important; }
  body #content .sb-editorial-index .sb-story-grid .sebl-story:nth-child(n) .sebl-story__copy { padding: 12px !important; }
  body #content .sb-editorial-index .sb-story-grid .sebl-story:nth-child(n) .sebl-story__copy h2 { font-size: 14px !important; line-height: 1.25 !important; }
  body #content .sb-editorial-index .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__meta { flex-wrap: wrap !important; gap: 4px !important; }
  body #content .sb-editorial-index .sebl-story .sebl-story__meta > :is(span,time) { font-size: 9px !important; line-height: 1.3 !important; gap: 4px !important; }
  body #content .sb-editorial-index .sebl-story__kind svg { width: 11px !important; height: 11px !important; }
  body #content .sebl-source-page:has(.sebl-source-catalog) .sebl-source-section > p { font-size: 12px !important; line-height: 1.45 !important; }
  body.post-type-archive-seb_product #content .sebl-equipment-preview { display: none !important; }
  body.post-type-archive-seb_product #content .catalog-subcategories { padding-block: 20px !important; }
  body.post-type-archive-seb_product #content .catalog-section-heading { margin-bottom: 14px !important; }
  body.post-type-archive-seb_product #content .catalog-section-heading h2 { font-size: 22px !important; }
  body.post-type-archive-seb_product #content .sebl-catalog-directions { display: flex !important; flex-wrap: nowrap !important; gap: 8px !important; padding-block: 12px !important; }
  body.post-type-archive-seb_product #content .sebl-catalog-directions > a { flex: 0 0 auto !important; min-height: 40px !important; padding: 10px 12px !important; font-size: 12px !important; }
  body.post-type-archive-seb_product #content .sebl-nku-catalog { padding-block: 24px !important; }
  body.post-type-archive-seb_product #content .sebl-nku-catalog > header { margin-bottom: 14px !important; gap: 12px !important; }
  body.post-type-archive-seb_product #content .sebl-nku-catalog > header h2 { font-size: 22px !important; line-height: 1.2 !important; }
  body.post-type-archive-seb_product #content .sebl-nku-catalog .sebl-source-catalog { display: flex !important; flex-wrap: nowrap !important; gap: 10px !important; }
  body.post-type-archive-seb_product #content .sebl-nku-catalog .sebl-source-catalog-card { flex: 0 0 64% !important; min-width: 0 !important; min-height: 0 !important; padding: 12px !important; }
  body.post-type-archive-seb_product #content .sebl-nku-catalog .sebl-source-catalog-card img { height: 110px !important; width: 100% !important; object-fit: contain !important; }
  body.post-type-archive-seb_product #content .sebl-nku-catalog .sebl-source-catalog-card strong { font-size: 16px !important; min-height: 0 !important; height: auto !important; margin-block: 8px 4px !important; }
  body.post-type-archive-seb_product #content .sebl-nku-catalog .sebl-source-catalog-card > span { font-size: 12px !important; line-height: 1.4 !important; }

  /* Native horizontal scrolling also allows the page to move vertically. */
  body #content :is(.sebl-rail,.sebl-journal-rail__track,.sebl-equipment-menu,.sebl-nku-mosaic__track,.sebl-hero-paths,.sebl-workstage-mobile,.product-resources__grid,.company-subnav__track,.cc-directions > div,.cc-projects > div,.sebl-catalog-directions,.sebl-nku-catalog .sebl-source-catalog) {
    max-width: 100% !important; min-width: 0 !important; overflow-x: auto !important; overflow-y: hidden !important;
    overscroll-behavior-x: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important; scroll-snap-type: x proximity;
  }
  body #content :is(.sebl-rail,.sebl-journal-rail__track,.sebl-equipment-menu,.sebl-nku-mosaic__track,.sebl-hero-paths,.sebl-workstage-mobile,.product-resources__grid,.company-subnav__track,.cc-directions > div,.cc-projects > div,.sebl-catalog-directions,.sebl-nku-catalog .sebl-source-catalog)::-webkit-scrollbar { display: none !important; }
  body #content :is(.sebl-rail,.sebl-journal-rail__track,.sebl-equipment-menu,.sebl-hero-paths,.sebl-workstage-mobile,.product-resources__grid,.company-subnav__track,.cc-directions > div,.cc-projects > div,.sebl-catalog-directions,.sebl-nku-catalog .sebl-source-catalog) > * { scroll-snap-align: start; }
}


/* Publication cards use one compact type scale across all placements. */
body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__copy {
  min-height: 0 !important;
  padding: 16px !important;
}
body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__copy h2 {
  font-size: 16px !important;
  line-height: 1.3 !important;
  margin: 0 0 8px !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__excerpt {
  font-size: 13px !important;
  line-height: 1.45 !important;
  -webkit-line-clamp: 2 !important;
}
body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__read {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 16px !important;
  white-space: nowrap !important;
  min-height: 0 !important;
  height: auto !important;
  padding-top: 12px !important;
  margin-top: 12px !important;
}
body #content .sebl-story .sebl-story__read .icon {
  flex: 0 0 14px !important;
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
}
@media (max-width: 760px) {
  body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__copy { padding: 12px !important; }
  body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__copy h2 { font-size: 13px !important; line-height: 1.25 !important; }
  body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__excerpt { font-size: 11px !important; line-height: 1.45 !important; }
  body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__read { font-size: 11px !important; padding-top: 10px !important; margin-top: 10px !important; }
}

@media (max-width:359px){body #content .sebl-story.sebl-story--news.sebl-story--news:nth-child(n):nth-child(n) .sebl-story__read{font-size:10px!important;gap:2px!important}body #content .sebl-story .sebl-story__read .icon{width:12px!important;height:12px!important;flex-basis:12px!important}}
