/*
 * Post-integration bridge styles.
 * Keep this file small: it protects shared components from page-specific CSS
 * and tightens the heaviest mobile templates without redesigning them.
 */

body.home .pdl-site-header,
body.home .pdl-site-footer,
body.home .pdl-bottom-cta,
body.home .pdl-mobile-sticky-actions {
  font-family: inherit;
  letter-spacing: 0;
}

body.home .pdl-site-header {
  isolation: isolate;
}

body.home .pdl-site-header .pdl-container,
body.home .pdl-site-footer .pdl-container,
body.home .pdl-bottom-cta .pdl-container {
  width: min(100% - 40px, var(--pdl-container, 1180px));
  max-width: var(--pdl-container, 1180px);
}

body.home .pdl-site-header .pdl-button,
body.home .pdl-bottom-cta .pdl-button,
body.home .pdl-mobile-sticky-actions a {
  min-height: 42px;
  border-radius: 6px;
  font-size: .92rem;
  line-height: 1;
  white-space: nowrap;
}

body.home .pdl-site-header button.pdl-menu-toggle {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid rgba(19, 58, 102, .16);
  background: #fff;
  color: #12304d;
  box-shadow: none;
}

body.home .pdl-site-header button.pdl-menu-toggle svg {
  width: 22px;
  height: 22px;
}

body.home .pdl-primary-nav a,
body.home .pdl-footer-group a {
  letter-spacing: 0;
  text-decoration: none;
}

body.home [data-quote-form] .field-error {
  min-height: 1.1em;
}

body.home [data-quote-form] .is-invalid {
  border-color: #c2413a;
  box-shadow: 0 0 0 3px rgba(194, 65, 58, .12);
}

body.home [data-quote-form] .form-status {
  min-height: 1.4em;
}

.pdl-form-status,
body.home [data-quote-form] .form-status {
  word-break: break-word;
}

.pdl-primary-nav .pdl-nav-quote-item {
  display: none;
}

.pdl-media-placeholder-note {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(7, 24, 39, .72);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.pdl-page-hero-media,
.pdl-card-media {
  position: relative;
}

@media (max-width: 980px) {
  .pdl-primary-nav .pdl-nav-quote-item {
    display: block;
  }

  .pdl-primary-nav .pdl-nav-quote-item > a {
    justify-content: center;
    min-height: 42px;
    margin-top: 6px;
    border-radius: 6px;
    background: #075bc7;
    color: #fff;
    font-weight: 800;
    text-align: center;
  }

  .pdl-primary-nav .pdl-nav-quote-item > a::after {
    content: none;
  }
}

@media (max-width: 760px) {
  body.home .pdl-site-header .pdl-container,
  body.home .pdl-site-footer .pdl-container,
  body.home .pdl-bottom-cta .pdl-container {
    width: min(100% - 28px, var(--pdl-container, 1180px));
  }

  .pdl-page-hero,
  .pdl-page-hero.pdl-hero-visual-lite,
  .pdl-page-hero.pdl-hero-products-center,
  .pdl-page-hero.pdl-hero-industry-hub,
  .pdl-page-hero.pdl-hero-material-hub,
  .pdl-page-hero.pdl-hero-product-manual,
  .pdl-page-hero.pdl-hero-industry-diagnostic,
  .pdl-page-hero.pdl-hero-material-lab,
  .pdl-page-hero.pdl-hero-case-library,
  .pdl-page-hero.pdl-hero-case-story,
  .pdl-page-hero.pdl-hero-article-guide,
  .pdl-page-hero.pdl-hero-knowledge-library {
    min-height: 0;
    padding-block: 30px 24px;
  }

  .pdl-page-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
    line-height: 1.12;
  }

  .pdl-page-hero .pdl-hero-lead {
    font-size: .98rem;
    line-height: 1.6;
  }

  .pdl-page-hero-media,
  .pdl-hero-generated-media .pdl-page-hero-media {
    min-height: 172px;
    aspect-ratio: 16 / 10;
  }

  .pdl-section {
    padding-block: 34px;
  }

  .single-products .pdl-section,
  .single-materials .pdl-section,
  .post-type-archive-materials .pdl-section,
  .post-type-archive-industries .pdl-section,
  .page-template-page-quote .pdl-section {
    padding-block: 30px;
  }

  .single-products .pdl-card-grid,
  .single-materials .pdl-card-grid,
  .post-type-archive-materials .pdl-card-grid,
  .post-type-archive-industries .pdl-card-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(238px, 82vw);
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .single-products .pdl-card-grid > *,
  .single-materials .pdl-card-grid > *,
  .post-type-archive-materials .pdl-card-grid > *,
  .post-type-archive-industries .pdl-card-grid > * {
    scroll-snap-align: start;
  }

  .pdl-quote-form-panel,
  .pdl-quote-form-workbench {
    padding: 16px;
  }

  .pdl-quote-form .pdl-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pdl-bottom-cta {
    padding-block: 30px 82px;
  }

  .pdl-bottom-cta h2 {
    font-size: clamp(1.45rem, 7vw, 1.95rem);
  }

  .pdl-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pdl-spec-table {
    min-width: 620px;
  }

  .pdl-product-detail-hero,
  .pdl-process-feature-hero {
    padding-block: 28px;
  }

  .pdl-product-detail-hero-grid,
  .pdl-process-feature-hero-grid {
    gap: 18px;
  }

  .pdl-product-detail-main-shot,
  .pdl-product-detail-media,
  .pdl-product-detail-intro,
  .pdl-process-feature-copy,
  .pdl-process-feature-visual {
    border-radius: 8px;
  }

  .pdl-product-detail-main-shot img {
    max-height: 230px;
    object-fit: contain;
  }

  .pdl-product-detail-thumb-row,
  .pdl-product-gallery-strip,
  .pdl-product-option-rail,
  .pdl-process-photo-grid,
  .pdl-feature-option-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 70vw);
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pdl-product-detail-thumb-row > *,
  .pdl-product-gallery-strip > *,
  .pdl-product-option-rail > *,
  .pdl-process-photo-grid > *,
  .pdl-feature-option-list > * {
    scroll-snap-align: start;
  }

  .pdl-product-quick-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pdl-product-quick-info-grid article {
    min-height: 86px;
    padding: 12px;
  }

  .pdl-product-quick-info-grid span,
  .pdl-product-detail-bullets span {
    font-size: .68rem;
  }

  .pdl-product-quick-info-grid strong,
  .pdl-product-detail-bullets strong {
    font-size: .84rem;
    line-height: 1.42;
  }

  .pdl-product-detail-tags {
    gap: 6px;
  }

  .pdl-product-detail-tags span,
  .pdl-page-hero .pdl-hero-chips span {
    padding: 6px 8px;
    font-size: .72rem;
  }

  .pdl-product-detail-actions,
  .pdl-process-feature-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pdl-product-detail-actions .pdl-button,
  .pdl-process-feature-actions .pdl-button {
    min-width: 0;
    padding-inline: 10px;
    font-size: .84rem;
  }

  .pdl-process-feature-visual {
    min-height: 210px;
  }

  .pdl-feature-check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pdl-feature-check-list li {
    min-height: 58px;
    padding: 9px;
    font-size: .78rem;
    line-height: 1.35;
  }

  .pdl-mobile-collapsible:not(.is-expanded) > :nth-child(n+5) {
    display: none;
  }
}

@media (max-width: 430px) {
  body.home .pdl-site-header .pdl-button,
  body.home .pdl-bottom-cta .pdl-button,
  body.home .pdl-mobile-sticky-actions a {
    min-height: 40px;
    font-size: .86rem;
  }

  .pdl-page-hero-media,
  .pdl-hero-generated-media .pdl-page-hero-media {
    min-height: 148px;
  }

  .pdl-product-detail-actions,
  .pdl-process-feature-actions {
    grid-template-columns: 1fr;
  }

  .pdl-feature-check-list {
    grid-template-columns: 1fr;
  }

  .pdl-product-quick-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}
