/* Reference-inspired editorial layout for the custom B2B buying page. */
.custom-editorial {
  --editorial-ink: #243b32;
  --editorial-muted: #657269;
  --editorial-line: #d9d1cf;
  --editorial-paper: #fff1f7;
}

.custom-editorial .page-banner.editorial-hero {
  padding: calc(var(--header-height) + 58px) 0 76px;
  background: #fbe7f0;
  color: var(--editorial-ink);
  text-align: left;
  overflow: visible;
}

.custom-editorial .editorial-hero::before,
.custom-editorial .cta-section::before,
.custom-editorial .cta-section::after { display: none; }

.custom-editorial .editorial-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(32px, 5vw, 86px);
  align-items: center;
}

.custom-editorial .eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: #7b594f;
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.custom-editorial .editorial-hero h1 {
  max-width: 760px;
  color: var(--editorial-ink);
  font-size: clamp(3.15rem, 5.3vw, 5.9rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.custom-editorial .editorial-hero-copy > p {
  max-width: 575px;
  margin: 28px 0 0;
  color: #485b51;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}

.custom-editorial .editorial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 35px;
}

.custom-editorial .editorial-actions .btn,
.custom-editorial .oem-content .btn,
.custom-editorial .cta-actions .btn {
  padding: 15px 22px;
  border-radius: 2px;
}

.custom-editorial .editorial-text-link,
.custom-editorial .editorial-route-list a {
  color: var(--editorial-ink);
  font-family: Arial, sans-serif;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.custom-editorial .editorial-hero .breadcrumb {
  justify-content: flex-start;
  margin-top: 64px;
  color: var(--editorial-muted);
}

.custom-editorial .editorial-hero .breadcrumb ol { justify-content: flex-start; }
.custom-editorial .editorial-hero .breadcrumb a { color: var(--editorial-muted); }
.custom-editorial .editorial-hero .breadcrumb a:hover { color: var(--editorial-ink); }

.custom-editorial .editorial-hero-image {
  position: relative;
  margin: 0;
  padding: 16px;
  background: var(--editorial-paper);
  border: 1px solid #e9dedc;
}

.custom-editorial .editorial-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.custom-editorial .editorial-hero-image figcaption {
  padding: 14px 2px 0;
  color: var(--editorial-muted);
  font-family: Arial, sans-serif;
  font-size: .73rem;
  letter-spacing: .03em;
  text-align: left;
}

.custom-editorial .section { padding-top: clamp(72px, 8vw, 125px); padding-bottom: clamp(72px, 8vw, 125px); }
.custom-editorial .section-alt { background: #f8dce8; }
.custom-editorial .editorial-answer { border-top: 1px solid var(--editorial-line); }

.custom-editorial .editorial-two-col {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: start;
}

.custom-editorial .editorial-two-col h2,
.custom-editorial .section-header h2,
.custom-editorial .oem-content h2 {
  max-width: 700px;
  color: var(--editorial-ink);
  font-size: clamp(2.4rem, 3.7vw, 4.3rem);
  line-height: 1.13;
}

.custom-editorial .editorial-two-col p,
.custom-editorial .oem-content p,
.custom-editorial .section-header p {
  color: #4c5a52;
  font-size: 1.06rem;
  line-height: 1.8;
}

.custom-editorial .editorial-two-col p + p { margin-top: 22px; }
.custom-editorial .oem-showcase { gap: clamp(35px, 7vw, 100px); }
.custom-editorial .oem-image { box-shadow: none; border-radius: 0; aspect-ratio: 4 / 4.25; }
.custom-editorial .oem-content .btn-ghost { margin-left: 10px; }

.custom-editorial .section-header { max-width: 780px; margin-bottom: 46px; }
.custom-editorial .section-header p { margin-top: 18px; }
.custom-editorial .features-grid { gap: 0; border-top: 1px solid var(--editorial-line); }

.custom-editorial .feature-card {
  padding: 32px 28px 15px 0;
  background: none;
  border: 0;
  border-right: 1px solid var(--editorial-line);
  border-radius: 0;
}

.custom-editorial .feature-card + .feature-card { padding-left: 28px; }
.custom-editorial .feature-card:last-child { border-right: 0; }
.custom-editorial .feature-icon {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 45px;
  padding: 0;
  color: #9a6d64;
  background: none;
  border-radius: 0;
  font-family: Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.custom-editorial .feature-card h3 { color: var(--editorial-ink); font-size: 1.8rem; }
.custom-editorial .feature-card p { max-width: 340px; color: #4c5a52; }
.custom-editorial .editorial-route { background: var(--editorial-paper); }
.custom-editorial .editorial-route-list { border-top: 1px solid var(--editorial-line); }
.custom-editorial .editorial-route-list article { padding: 28px 0 32px; border-bottom: 1px solid var(--editorial-line); }
.custom-editorial .editorial-route-list h3 { margin-bottom: 10px; color: var(--editorial-ink); font-size: 1.7rem; }
.custom-editorial .editorial-route-list p { margin: 0 0 16px; }

.custom-editorial .process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--editorial-line);
}

.custom-editorial .process-step {
  display: block;
  padding: 32px 26px 0 0;
  border-right: 1px solid var(--editorial-line);
}

.custom-editorial .process-step + .process-step { padding-left: 26px; }
.custom-editorial .process-step:last-child { border-right: 0; }
.custom-editorial .process-number {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 40px;
  color: #9a6d64;
  background: none;
  border-radius: 0;
  font-family: Arial, sans-serif;
  font-size: .8rem;
  line-height: 1;
}

.custom-editorial .process-step h3 { color: var(--editorial-ink); font-size: 1.5rem; }
.custom-editorial .process-step p { color: #4c5a52; }
.custom-editorial .editorial-brief ul { margin: 0 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--editorial-line); }
.custom-editorial .editorial-brief li { padding: 15px 0; border-bottom: 1px solid var(--editorial-line); color: var(--editorial-ink); }
.custom-editorial .editorial-brief a { text-decoration: underline; text-underline-offset: 4px; }
.custom-editorial .faq-list { max-width: 100%; gap: 0; border-top: 1px solid var(--editorial-line); }
.custom-editorial .faq-item { border: 0; border-bottom: 1px solid var(--editorial-line); border-radius: 0; }
.custom-editorial .faq-question { padding: 24px 0; font-size: 1.24rem; }
.custom-editorial .cta-section { background: #f8dce8; }
.custom-editorial .cta-content { max-width: 740px; }
.custom-editorial .cta-content h2 { color: var(--editorial-ink); font-size: clamp(2.6rem, 4.5vw, 4.8rem); line-height: 1.12; }
.custom-editorial .cta-content p { color: #4c5b52; }
.custom-editorial .cta-actions .btn-outline { color: var(--editorial-ink); border-color: var(--editorial-ink); }
.custom-editorial .cta-actions .btn-outline:hover { background: #ead7df; }

@media (max-width: 900px) {
  .custom-editorial .editorial-hero-grid,
  .custom-editorial .editorial-two-col,
  .custom-editorial .oem-showcase { grid-template-columns: 1fr; }
  .custom-editorial .editorial-hero-image { max-width: 680px; }
  .custom-editorial .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom-editorial .process-step:nth-child(2) { border-right: 0; }
  .custom-editorial .process-step:nth-child(n+3) { border-top: 1px solid var(--editorial-line); }
  .custom-editorial .process-step:nth-child(3) { padding-left: 0; }
}

@media (max-width: 640px) {
  .custom-editorial .page-banner.editorial-hero { padding-top: calc(var(--header-height) + 35px); padding-bottom: 58px; }
  .custom-editorial .editorial-hero h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .custom-editorial .editorial-hero .breadcrumb { margin-top: 40px; }
  .custom-editorial .editorial-hero-image { padding: 10px; }
  .custom-editorial .features-grid,
  .custom-editorial .process-steps { display: block; }
  .custom-editorial .feature-card,
  .custom-editorial .feature-card + .feature-card,
  .custom-editorial .process-step,
  .custom-editorial .process-step + .process-step {
    padding: 28px 0;
    border-right: 0;
    border-top: 1px solid var(--editorial-line);
  }
  .custom-editorial .features-grid,
  .custom-editorial .process-steps { border-top: 0; }
  .custom-editorial .feature-icon,
  .custom-editorial .process-number { margin-bottom: 20px; }
  .custom-editorial .oem-content .btn-ghost { display: inline-flex; margin: 12px 0 0; }
}
