/* Service navigation, contextual resources and enquiry paths. */
.topic-shell { width: min(100% - 48px, 1160px); margin-inline: auto; }
.topic-hero { background: var(--color-navy); color: #fff; padding: 32px 0 48px; }
.topic-hero h1 { color: #fff; max-width: 850px; font-size: clamp(30px, 3.3vw, 46px); margin: 20px 0; line-height: 1.2; }
.topic-hero > .topic-shell > p { max-width: 780px; color: #dbe5ef; font-size: 18px; line-height: 1.75; margin-bottom: 24px; }
.topic-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.topic-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topic-section { padding: 48px 0; }
.topic-section--muted { background: var(--color-off-white); }
.topic-section h2 { margin-bottom: 16px; }
.topic-section > .topic-shell > p { max-width: 800px; margin-bottom: 24px; line-height: 1.8; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.topic-card { min-width: 0; border: 1px solid #dce3eb; border-radius: 14px; padding: 24px; background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.topic-card h3 { font-size: 21px; margin-bottom: 12px; line-height: 1.4; }
.topic-card p { line-height: 1.75; margin-bottom: 20px; }
.topic-card a, .topic-text-link { color: #126d63; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.topic-card > a:last-child { margin-top: auto; }
.topic-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.topic-actions .btn { white-space: normal; text-align: center; justify-content: center; min-height: 48px; }
.topic-image { display: block; width: min(100%, 780px); height: auto; border-radius: 16px; margin: 24px 0; }
.topic-note { max-width: 850px; border-left: 4px solid var(--color-amber); background: #f5f7fa; padding: 24px; border-radius: 0 12px 12px 0; }
.topic-note h3 { margin-bottom: 12px; }
.topic-note p { margin-bottom: 16px; line-height: 1.8; }
.topic-note p:last-child { margin-bottom: 0; }
.topic-resources { background: #f6f8fa; padding: 36px 0; }
.topic-resources h2 { font-size: 26px; margin-bottom: 16px; }
.topic-resources > .topic-shell > p { margin-bottom: 20px; max-width: 800px; }
.topic-resource-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.topic-resource-links a { color: #126d63; border: 1px solid #bddbd6; background: #fff; border-radius: 8px; padding: 10px 14px; text-decoration: underline; text-underline-offset: 3px; }
.topic-home-nav { margin: 0 0 32px; padding: 20px; border: 1px solid #dce3eb; border-radius: 12px; }
.topic-home-nav p { margin-bottom: 12px; }
.topic-home-nav .topic-resource-links { margin-bottom: 0; }
.topic-guide-cluster { border-top: 1px solid #dce3eb; border-bottom: 1px solid #dce3eb; padding: 20px 0; margin: 28px 0; }
.topic-guide-cluster a { margin-right: 16px; }
.topic-footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 20px 0; }
.topic-footer-nav a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topic-call-bar { display: none; }
/* Content is accessible without scripting; optional reveal effects never gate reading. */
.reveal { opacity: 1; transform: none; }
@media (max-width: 1024px) {
  .nav__item--dropdown.open .mega-dropdown { max-height: none; overflow: visible; }
}
@media (max-width: 768px) {
  .topic-shell { width: calc(100% - 36px); }
  .topic-hero { padding: 24px 0 28px; }
  .topic-section { padding: 32px 0; }
  .topic-grid { grid-template-columns: minmax(0, 1fr); }
  .topic-card, .topic-note { padding: 20px; }
  .topic-actions { flex-direction: column; }
  .topic-actions .btn { width: 100%; }
  .topic-call-bar { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 990; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; background: var(--color-navy); border-top: 1px solid #304661; }
  .topic-call-bar a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 8px; padding: 10px; font-size: 14px; font-weight: 700; }
  .topic-call-bar__phone { flex: 1.3; color: #071428; background: var(--color-amber-light); }
  .topic-call-bar__request { flex: 1; color: #fff; border: 1px solid #8b9cb3; }
  body:has(.topic-call-bar) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body:has(.topic-call-bar) .scroll-top { bottom: calc(90px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; }
}
