/* Shared industry guidance: the approved RateWise palette, without changing copy. */
body.rw-nas-rebuild:not(.rw-nas-editorial) main > .section:is(.rw-industry-guidance, .rw-industry-faq) {
  padding-block: 36px;
}

.rw-industry-guidance-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 44px);
  border-radius: 22px;
  background: radial-gradient(ellipse at 100% 0, #3268d24d, transparent 65%), linear-gradient(135deg, #10264c, #1c4184);
  color: #fff;
  box-shadow: 0 12px 40px -24px #183b78;
}

.rw-industry-guidance .h2 {
  margin: 0;
  max-width: 23ch;
  color: #fff;
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.rw-industry-guidance-copy { min-width: 0; }
.rw-industry-guidance .body {
  margin: 0;
  max-width: 68ch;
  color: #edf3ff;
  font-size: 17px;
  line-height: 1.65;
}
.rw-industry-guidance .note-sm {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid #7795c2;
  max-width: 72ch;
  color: #d5e3fa;
  font-size: 14px;
  line-height: 1.65;
}
.rw-industry-guidance ::selection { background: #c4dcff; color: #10264c; }

.rw-industry-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}
.rw-industry-faq .h2 {
  margin: 0;
  max-width: 23ch;
  color: #172b49;
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.rw-industry-faq-list { display: grid; gap: 12px; min-width: 0; }
.rw-industry-faq details {
  margin: 0;
  padding: 0;
  border: 1px solid #ccd9ef;
  border-radius: 16px;
  background: #fff;
  color: #172b49;
}
.rw-industry-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 18px 60px 18px 22px;
  border-radius: 15px;
  color: #172b49;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}
.rw-industry-faq summary::-webkit-details-marker { display: none; }
.rw-industry-faq summary::before,
.rw-industry-faq summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 24px;
  top: calc(50% - 1px);
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: #1459d9;
}
.rw-industry-faq summary::after { transform: rotate(90deg); }
.rw-industry-faq details[open] summary::after { transform: none; }
.rw-industry-faq summary:hover { background: #f0f5ff; }
.rw-industry-faq summary:focus-visible {
  outline: 3px solid #1459d9;
  outline-offset: 3px;
}
.rw-industry-faq details[open] { border-color: #759bdc; background: #f0f5ff; }
.rw-industry-faq details[open] summary { color: #1048b2; }
.rw-industry-faq details p {
  margin: 0;
  padding: 0 22px 22px;
  max-width: 72ch;
  color: #405575;
  font-size: 16px;
  line-height: 1.65;
}
.rw-industry-faq ::selection { background: #c4dcff; color: #10264c; }

@media (max-width: 767px) {
  body.rw-nas-rebuild:not(.rw-nas-editorial) main > .section:is(.rw-industry-guidance, .rw-industry-faq) {
    padding-block: 24px;
  }
  .rw-industry-guidance-panel,
  .rw-industry-faq-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rw-industry-guidance-panel { padding: 24px; }
  .rw-industry-guidance .body { font-size: 16px; }
  .rw-industry-faq summary { padding-inline-start: 20px; }
  .rw-industry-faq details p { padding-inline: 20px; }
}

@media (forced-colors: active) {
  .rw-industry-faq summary::before,
  .rw-industry-faq summary::after { background: CanvasText; }
}
