/*
 * Pinnacle buying and manufacturer editorial layer.
 * Opt-in is a single stylesheet per verified canonical route. Keep the
 * technology and manufacturer visual language; no shared-shell selectors.
 */
#main[data-editorial-buying] {
  --buy-ink:#201a15;
  --buy-paper:#faf9f5;
  --buy-cream:#f6efe4;
  --buy-line:#dfd1bf;
  --buy-orange:#F08647;
}
#main[data-editorial-buying] :is(.hero-ctas,.hero-cta,.mfr-hero-cta) > a.btn {
  box-sizing:border-box;
  min-block-size:48px;
  max-inline-size:100%;
  white-space:normal;
  text-align:center;
}
#main[data-editorial-buying] :is(.hero-ctas,.hero-cta,.mfr-hero-cta) > a.btn:focus-visible,
#main[data-editorial-buying] :is(.acc-q,.faq-q,.ha-filter,.bmatrix-row):focus-visible {
  outline:2px solid currentColor;
  outline-offset:3px;
  box-shadow:0 0 0 4px var(--buy-orange);
}

/* Preserve Cormorant type, proof row, device photography and dark brand index. */
#main[data-editorial-buying="flagship"] .ha-editorial {
  box-shadow:inset 0 -1px var(--buy-line);
}
html body.flagship-hearing #main[data-editorial-buying="flagship"] .ha-editorial .ha-hero-copy .display em {
  color:var(--buy-ink)!important;
}
#main[data-editorial-buying="flagship"] .ha-hero-copy .display em {
  text-decoration:underline;
  text-decoration-color:var(--buy-orange);
  text-decoration-thickness:.035em;
  text-underline-offset:.11em;
}
#main[data-editorial-buying="flagship"] .ha-compare .ha-filter {
  min-block-size:44px;
}
#main[data-editorial-buying="flagship"] .ha-compare .ha-compare-tools {
  gap:12px 20px;
}
#main[data-editorial-buying="flagship"] .ha-compare .ha-model {
  border-block-start:2px solid var(--buy-orange);
}
#main[data-editorial-buying="flagship"] .ha-hero-comparison a,
#main[data-editorial-buying="flagship"] .ha-midtown-entry a {
  text-decoration-thickness:.1em;
  text-decoration-color:var(--buy-ink);
}

/* Pricing/brand/family guides and Sphere retain existing columns and headings. */
#main[data-editorial-buying="guide"] > .page-hero {
  background:var(--buy-paper);
  border-block-end-color:var(--buy-line);
}
#main[data-editorial-buying="guide"] .page-hero .fact-card {
  border-color:var(--buy-line);
  border-block-start:3px solid var(--buy-orange);
}
html body #main[data-editorial-buying="guide"] .page-hero .display em,
html body #main[data-editorial-buying="guide"] .section-head h2 em {
  color:var(--buy-ink)!important;
}
#main[data-editorial-buying="guide"] .page-hero .fc-eyebrow,
#main[data-editorial-buying="guide"] .bmatrix-row .bm-tag {
  color:var(--buy-ink);
}
#main[data-editorial-buying="guide"] :is(.section.alt,.sphere-comparison) {
  background:var(--buy-cream);
}
#main[data-editorial-buying="guide"] .bmatrix-row {
  border-block-end-color:var(--buy-line);
}
#main[data-editorial-buying="guide"] .bmatrix-row:is(:hover,:focus-visible) .bm-go {
  background:var(--buy-orange);
  border-color:var(--buy-orange);
  color:var(--buy-ink);
}
#main[data-editorial-buying="guide"] .bmatrix-row:focus-visible {
  outline-offset:0;
}
#main[data-editorial-buying="guide"] :is(.acc-q,.faq-q) {
  min-block-size:44px;
}

/* Brand-specific hero art (including dark styles), colors, device specs and
   module layouts remain intact. Only the long guide's section and tap rhythm
   change, outside the separate office panel and the fixed site chrome. */
#main[data-editorial-buying="manufacturer"] .mfr-hero {
  box-shadow:inset 0 -2px var(--buy-orange);
}
#main[data-editorial-buying="manufacturer"] .mfr-page > .mfr-sec {
  padding-block:clamp(42px,6vw,86px);
}
#main[data-editorial-buying="manufacturer"] .mfr-page > .mfr-sec .mfr-head {
  margin-block-end:clamp(20px,3vw,42px);
}
#main[data-editorial-buying="manufacturer"] .mfr-page > .mfr-sec .sec-label::before {
  background-color:var(--buy-orange);
}
#main[data-editorial-buying="manufacturer"] .mfr-sec :is(.acc-q,.faq-q) {
  min-block-size:44px;
}
#main[data-editorial-buying="manufacturer"] .mfr-sec .pcard {
  border-block-start:2px solid var(--buy-orange);
}
#main[data-editorial-buying="manufacturer"] .mfr-sec .pcard .spec-grid > * {
  min-inline-size:0;
  overflow-wrap:anywhere;
}

@media (max-width:560px) {
  #main[data-editorial-buying="flagship"] .ha-hero-copy {
    padding-block-end:24px;
  }
  #main[data-editorial-buying="guide"] > .section:not(.faq):not(.related-services) {
    padding-block:clamp(38px,9vw,52px);
  }
  #main[data-editorial-buying] .crumbs {
    flex-wrap:wrap;
    row-gap:4px;
  }
}
