body.service-hub-page {
  --service-ink: #0d2136;
  --service-blue: #2b7fc1;
  --service-sky: #eaf5fc;
  --service-paper: #f7f9fb;
  background: #fff;
}

.authority-hub {
  color: #24384d;
}

.authority-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 9vw, 116px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(43,127,193,.36), transparent 28%),
    linear-gradient(125deg, #091a2b 0%, #0d2943 58%, #123c60 100%);
}

.authority-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image: linear-gradient(90deg, transparent 49%, rgba(255,255,255,.15) 50%, transparent 51%);
  background-size: 44px 44px;
  transform: skewY(-6deg) scale(1.2);
}

.authority-hero-grid,
.authority-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.authority-hero h1 {
  max-width: 900px;
  margin: 12px 0 20px;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: .96;
}

.authority-lead {
  max-width: 780px;
  color: #d9e9f7;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.authority-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.authority-promise,
.authority-check {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}

.authority-promise strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.authority-promise p,
.authority-promise li {
  color: #d9e9f7;
}

.authority-promise ul,
.authority-check ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.authority-promise li,
.authority-check li {
  margin: 10px 0;
}

.authority-copy {
  max-width: 920px;
}

.authority-copy p,
.authority-section-intro,
.authority-split p {
  font-size: 1.03rem;
  line-height: 1.82;
}

.authority-section-intro {
  max-width: 850px;
  margin-bottom: 28px;
}

.authority-section-alt {
  background: #f3f7fa;
}

.authority-callout {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 4px solid #2b7fc1;
  border-radius: 0 12px 12px 0;
  background: #e8f4fc;
  color: #17324b;
}

.authority-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.authority-card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.authority-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid #dce6ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(13,33,54,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.authority-card:hover {
  transform: translateY(-4px);
  border-color: #a9d0ec;
  box-shadow: 0 20px 42px rgba(13,33,54,.11);
}

.authority-card h3 {
  margin-top: 0;
}

.authority-card h3 a {
  color: #0d3657;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.authority-check {
  color: #24384d;
  border-color: #cfe0ec;
  background: #fff;
  box-shadow: 0 22px 55px rgba(13,33,54,.09);
}

.authority-check h3 {
  margin-top: 0;
}

.authority-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: authority-step;
  list-style: none;
}

.authority-steps li {
  position: relative;
  min-height: 58px;
  padding: 17px 18px 17px 66px;
  border: 1px solid #dce6ee;
  border-radius: 12px;
  background: #fff;
}

.authority-steps li::before {
  counter-increment: authority-step;
  content: counter(authority-step);
  position: absolute;
  top: 12px;
  left: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2b7fc1;
  font-weight: 800;
}

.authority-figure {
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: #0d2136;
  box-shadow: 0 26px 54px rgba(13,33,54,.16);
}

.authority-figure img {
  display: block;
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.authority-figure figcaption {
  padding: 16px 18px;
  color: #dceaf5;
  font-size: .85rem;
  line-height: 1.55;
}

.authority-tip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.authority-tip-grid > div {
  padding: 26px;
  border-radius: 14px;
  background: #f3f7fa;
}

.authority-tip-grid h3 {
  margin-top: 0;
}

.authority-tip-grid li {
  margin: 9px 0;
}

@media (max-width: 900px) {
  .authority-hero-grid,
  .authority-split,
  .authority-card-grid-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .authority-card-grid,
  .authority-tip-grid {
    grid-template-columns: 1fr;
  }

  .authority-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }
}

body.service-hub-page main {
  overflow: clip;
}

body.service-hub-page .service-hub-hero {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  background: var(--service-ink) !important;
  color: #fff;
  padding-top: clamp(70px, 9vw, 108px) !important;
  padding-bottom: clamp(62px, 8vw, 92px) !important;
  border: 0 !important;
}

body.service-hub-page .service-hub-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -190px;
  top: -280px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 86px rgba(255,255,255,.025), 0 0 0 172px rgba(255,255,255,.016);
  pointer-events: none;
}

body.service-hub-page .service-hub-hero h1 {
  max-width: 900px;
  color: #fff !important;
  font-size: clamp(2.65rem, 5.4vw, 5.15rem) !important;
  line-height: .96 !important;
  letter-spacing: -.025em;
  text-wrap: balance;
}

body.service-hub-page .service-hub-hero p,
body.service-hub-page .service-hub-hero li {
  color: rgba(255,255,255,.78) !important;
}

body.service-hub-page .service-hub-hero .section-label,
body.service-hub-page .service-hub-hero [class*="kicker"],
body.service-hub-page .service-hub-hero [class*="eyebrow"] {
  color: #9fd1f5 !important;
}

.authority-hero .section-label {
  color: #9fd1f5;
}

.service-topic-nav {
  position: relative;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 45px rgba(13,33,54,.06);
}

.service-topic-nav-inner {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 24px;
  align-items: center;
  min-height: 78px;
}

.service-topic-nav strong {
  font-family: var(--font-display);
  color: var(--service-ink);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .76rem;
  white-space: nowrap;
}

.service-topic-links {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 13px 2px;
  scrollbar-width: thin;
}

.service-topic-links a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid #dce6ee;
  border-radius: 999px;
  color: #405a70;
  background: #fff;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.service-topic-links a:hover,
.service-topic-links a:focus-visible {
  color: var(--service-blue);
  border-color: #a9d2ec;
  background: var(--service-sky);
  transform: translateY(-1px);
}

body.service-hub-page .service-hub-section {
  padding-top: clamp(68px, 8vw, 96px) !important;
  padding-bottom: clamp(68px, 8vw, 96px) !important;
  border-top: 1px solid rgba(13,33,54,.06);
}

body.service-hub-page .service-hub-section.service-hub-alt {
  background: var(--service-paper) !important;
}

body.service-hub-page .service-hub-section h2 {
  max-width: 900px;
  color: var(--service-ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  text-wrap: balance;
}

body.service-hub-page .service-hub-section h3 {
  color: var(--service-ink);
}

body.service-hub-page .service-hub-section p,
body.service-hub-page .service-hub-section li {
  line-height: 1.78;
}

body.service-hub-page .service-hub-section > .container > p,
body.service-hub-page .service-hub-section > .container > ul,
body.service-hub-page .service-hub-section > .container > ol {
  max-width: 920px;
}

body.service-hub-page .content-box,
body.service-hub-page .callout,
body.service-hub-page .type-card,
body.service-hub-page .method-card,
body.service-hub-page .service-card,
body.service-hub-page .service-card-local,
body.service-hub-page .cause-card,
body.service-hub-page .step,
body.service-hub-page article[style*="background:#fff"] {
  border: 1px solid #dfe8ef !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 42px rgba(13,33,54,.06);
}

/* .info-card is the dark navy "bel ons" CTA card: style.min.css gives it
   background:var(--navy) with white heading/body text, and its markup hard-codes
   white inline colours. It used to be listed here too, which forced background:#fff
   on it and left every one of those white values intact - the whole card rendered
   white-on-white on all 16 service-hub pages. Only the genuinely light cards belong
   in this group; .info-card keeps its own dark treatment. */
body.service-hub-page .content-box,
body.service-hub-page .callout {
  border-left: 5px solid var(--service-blue) !important;
  background: #fff !important;
}

body.service-hub-page table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(13,33,54,.07);
}

body.service-hub-page table th {
  background: var(--service-ink) !important;
  color: #fff !important;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
}

body.service-hub-page table th,
body.service-hub-page table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e3eaf0;
  text-align: left;
}

body.service-hub-page .service-hub-faq {
  background: var(--service-paper) !important;
}

body.service-hub-page .service-hub-faq .faq-list,
body.service-hub-page .service-hub-faq .faq-wrap {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

body.service-hub-page .service-hub-faq details,
body.service-hub-page .service-hub-faq .faq-item,
body.service-hub-page .service-hub-faq .local-faq {
  background: #fff;
  border: 1px solid #dfe7ee;
  border-radius: 13px;
  box-shadow: 0 8px 25px rgba(13,33,54,.04);
}

body.service-hub-page .service-hub-faq summary,
body.service-hub-page .service-hub-faq .faq-question {
  color: var(--service-ink);
  font-family: var(--font-display);
  font-weight: 800;
}

body.service-hub-page .service-hub-cta {
  position: relative;
  overflow: hidden;
  background: var(--service-blue) !important;
  color: #fff;
  border: 0;
}

body.service-hub-page .service-hub-cta h2,
body.service-hub-page .service-hub-cta h3,
body.service-hub-page .service-hub-cta p {
  color: #fff !important;
}

body.service-hub-page .service-hub-section img {
  border-radius: 18px;
}

.service-config-summary {
  max-width: 900px;
  color: #4b6276;
  font-size: 1.03rem;
}

.service-image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.service-image-strip figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 230px;
  border-radius: 16px;
  background: var(--service-ink);
}

.service-image-strip img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.service-image-strip figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(13,33,54,.9);
  color: #fff;
  font-size: .76rem;
}

@media (max-width: 760px) {
  .service-topic-nav-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 14px;
  }

  .service-topic-links {
    width: 100%;
  }

  body.service-hub-page .service-hub-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.25rem) !important;
  }

  body.service-hub-page .service-hub-section [style*="grid-template-columns:1fr 1fr"],
  body.service-hub-page .service-hub-section [style*="grid-template-columns:repeat"] {
    grid-template-columns: 1fr !important;
  }

  .service-image-strip {
    grid-template-columns: 1fr;
  }
}

/* Shared service-page consistency */
body.service-hub-page .authority-hub,body.service-hub-page .service-hub-section,body.service-hub-page .service-hub-hero{min-width:0;overflow-x:clip}body.service-hub-page .authority-hero-grid>*,body.service-hub-page .authority-split>*,body.service-hub-page .service-image-strip>*,body.service-hub-page [class*="grid"]>*{min-width:0}body.service-hub-page .service-hub-section{padding-block:clamp(62px,8vw,96px)}body.service-hub-page table{width:100%;max-width:100%}body.service-hub-page .service-topic-links{max-width:100%;overscroll-behavior-inline:contain;scrollbar-width:thin}
@media(max-width:960px){body.service-hub-page .authority-hero-grid,body.service-hub-page .authority-split{grid-template-columns:minmax(0,1fr);gap:28px}body.service-hub-page .authority-promise,body.service-hub-page .authority-check{width:100%;max-width:720px}}
@media(max-width:620px){body.service-hub-page .service-hub-section{padding-block:56px}body.service-hub-page table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}body.service-hub-page .authority-actions,body.service-hub-page .authority-actions .btn{width:100%}}
