/* MG788: preserve the catalogue type scale; give chapters more separation
   than items within a chapter. The enquiry band and other products are not
   part of the product reading surface. */
body[data-af-page="rapier"] main.rp-native {
  --rp-chapter: clamp(1.75rem, 2.7vw, 2.375rem);
  --rp-heading-gap: clamp(1rem, 1.6vw, 1.5rem);
  --rp-card-gap: clamp(1.125rem, 1.9vw, 1.625rem);
  --rp-measure: 66ch;
  --af-type-display: clamp(1.875rem, 2.5vw, 2.25rem);
  --af-lead-copy: 1.6;
}
html[lang="ar"] body[data-af-page="rapier"] main.rp-native {
  --af-lead-copy: 1.65;
}

body[data-af-page="rapier"] .rp-native > :is(.fabric-applications,.visual-section,.specs-section,.field-proof-section),
body[data-af-page="rapier"] .rp-native > :is(.maintenance-section,.quality-section,.buyer-faq-section) > .section {
  padding-block: var(--rp-chapter);
}
/* The three full-width bands already have an inner .section; put spacing
   there only, rather than doubling the padding on narrow screens. */
body[data-af-page="rapier"] .rp-native > :is(.maintenance-section,.quality-section,.buyer-faq-section) {
  padding-block: 0;
}
body[data-af-page="rapier"] main.rp-native .section-heading,
body[data-af-page="rapier"] .rp-native .fabric-applications h2 {
  margin-block-end: var(--rp-heading-gap);
}
body[data-af-page="rapier"] .rp-native .section-heading > :only-child:not(h2) {
  grid-column: 1 / -1;
}
body[data-af-page="rapier"] .rp-native .section-heading :is(p:not(.eyebrow),.spec-intro),
body[data-af-page="rapier"] .rp-native :is(.visual-card,.field-proof-card) figcaption p,
body[data-af-page="rapier"] .rp-native .buyer-faq-list details > p {
  max-inline-size: var(--rp-measure);
}
body[data-af-page="rapier"] .rp-native .section-heading h2 + p:not(.eyebrow) {margin-block-start:.625rem}
body[data-af-page="rapier"] .rp-native .hero-product-title {
  align-items: start;
  flex-direction: column;
  gap: .375rem;
}
body[data-af-page="rapier"] .rp-native .hero-product-title .hero-model {
  font: 500 1rem/1.45 var(--af-type-family);
  letter-spacing: normal;
}
body[data-af-page="rapier"] .rp-native .hero-product-title .hero-model strong {
  font-size: inherit; font-weight:650;
}
body[data-af-page="rapier"] .rp-native .hero-product-title .hero-model small {
  font-size:.8125rem; letter-spacing:.04em;
}
body[data-af-page="rapier"] .rp-native .hero-intro {
  margin-block-start: 1.25rem;
  gap:1.25rem clamp(1.5rem, 3vw, 3rem);
}
body[data-af-page="rapier"] .rp-native :is(.hero-intro,.maintenance-checks) dd {
  max-inline-size:var(--rp-measure);
  font:400 1rem/var(--af-lead-copy) var(--af-type-family);
}
body[data-af-page="rapier"] .rp-native .hero-intro + .hero-proof-strip {margin-block-start:1.25rem}
body[data-af-page="rapier"] .rp-native :is(.visual-grid,.field-proof-grid) {gap:var(--rp-card-gap)}
body[data-af-page="rapier"] .rp-native :is(.visual-card,.field-proof-card) figcaption {
  padding:clamp(1rem,1.5vw,1.25rem);
}
body[data-af-page="rapier"] .rp-native .spec-desktop-columns:not([hidden]) {
  align-items:stretch; column-gap:var(--rp-card-gap);
}
body[data-af-page="rapier"] .rp-native .maintenance-safety {
  max-inline-size:80ch;
  padding:.75rem 1rem; border-inline-start:3px solid #aac4d7;
  margin-block:0 var(--rp-heading-gap);
}
body[data-af-page="rapier"] .rp-native .maintenance-help {margin-block-start:var(--rp-heading-gap)}
/* The first two chapters are routine checks. A full-width third chapter
   keeps the troubleshooting answers readable instead of squeezing them
   into another short measure beside the other two. */
@media (min-width:981px) {
  body[data-af-page="rapier"] .rp-native .maintenance-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:var(--rp-card-gap);
  }
  body[data-af-page="rapier"] .rp-native .maintenance-faults {
    grid-column:1 / -1; display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:start; column-gap:var(--rp-card-gap);
  }
  body[data-af-page="rapier"] .rp-native .maintenance-faults > h3 {grid-column:1 / -1}
}
@media (max-width:860px) {
  body[data-af-page="rapier"] main.rp-native {--af-type-display:clamp(1.375rem,3.4vw,1.75rem)}
}
@media (max-width:720px) {
  body[data-af-page="rapier"] main.rp-native {
    --rp-chapter:1.375rem;
    --rp-heading-gap:1rem;
    --rp-card-gap:1rem;
  }
  body[data-af-page="rapier"] .rp-native .hero-overview {padding-block:1rem 1.25rem}
  body[data-af-page="rapier"] .rp-native .hero-intro + .hero-proof-strip {margin-block-start:1rem}
  body[data-af-page="rapier"] .rp-native .buyer-faq-list {
    grid-template-columns:minmax(0,1fr);
  }
  body[data-af-page="rapier"] .rp-native :is(.visual-card,.field-proof-card) figcaption {padding:.875rem 1rem}
}

/* A compact disclosure list, not four competing subheadings. */
#buyer-questions.buyer-faq-section > .section {padding-block:clamp(1rem,2vw,1.625rem)}
#buyer-questions .section-heading {margin-block:0 .375rem}
#buyer-questions-title {margin:0}
#buyer-questions .buyer-faq-list {align-items:start;row-gap:0}
#buyer-questions .buyer-faq-list summary {
  display:flex;align-items:center;gap:.5rem;box-sizing:border-box;
  min-block-size:2.25rem;padding:.35rem .125rem;
  list-style:none;cursor:pointer;
}
#buyer-questions .buyer-faq-list summary::-webkit-details-marker {display:none}
#buyer-questions .buyer-faq-list summary::before {
  content:"";flex:0 0 .36rem;block-size:.36rem;box-sizing:border-box;
  border:solid #426783;border-width:0 1.5px 1.5px 0;
  transform:rotate(-45deg);
}
[dir="rtl"] #buyer-questions .buyer-faq-list summary::before {transform:rotate(135deg)}
#buyer-questions .buyer-faq-list details[open] > summary::before {transform:rotate(45deg)}
#buyer-questions .buyer-faq-list summary:focus-visible {outline:2px solid #1768a3;outline-offset:-2px;border-radius:.2rem}
#buyer-questions .buyer-faq-list p {margin-block:0 .625rem;padding-inline-start:1rem}
@layer home-editorial-type {
  #buyer-questions #buyer-questions-title {
    font-size:clamp(1.125rem,1rem + .42vw,1.375rem) !important;
    font-weight:650 !important;
  }
  #buyer-questions .buyer-faq-list summary {
    font-size:.9375rem !important;font-weight:550 !important;line-height:1.4 !important;
  }
  [lang="ar"] #buyer-questions .buyer-faq-list summary {line-height:1.5 !important}
}
@media (max-width:720px),(pointer:coarse) {
  #buyer-questions .buyer-faq-list summary {min-block-size:2.75rem;padding-block:.25rem}
}
