/* SHRA Accessible: SHRA's look and feel, WCAG 2.1 AA.
   Brand: navy #243066, orange #f59220 (backgrounds only, with navy text 5.34:1), orange text shade #a64b00 (5.79:1 on white),
   sky #22a7df (on navy only, 4.53:1), callout blue #8cd6e3 (navy text 7.6:1). */
:root {
  --navy: #243066; --navy-dark: #1a2350; --orange: #f59220; --orange-text: #a64b00; --sky: #22a7df; --callout: #8cd6e3;
  --text: #333; --muted: #555; --line: #d9d9d9; --bg: #fff; --focus: #f59220; --focus-dark: #243066;
  --wrap: 1340px;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: #444; line-height: 1.25; font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Focus: visible on every control, two-tone so it shows on navy, orange and white (2.4.7, 1.4.11) */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus-dark); outline-offset: 2px; box-shadow: 0 0 0 6px #fff; border-radius: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .i-want :focus-visible, .hero :focus-visible, .useful-links :focus-visible { outline-color: var(--orange); box-shadow: 0 0 0 6px var(--navy-dark); }
main:focus-visible { outline: none; box-shadow: none; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--orange); color: var(--navy); font-weight: 700; padding: 12px 20px; text-decoration: none; }
.skip-link:focus { top: 8px; outline: 3px solid var(--navy); outline-offset: 2px; }

/* Header */
.site-header { background: var(--navy); color: #fff; }
.utility { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 8px; flex-wrap: wrap; }
.logo img { display: block; width: 130px; height: auto; }
.btn { display: inline-block; padding: 10px 20px; font-weight: 700; text-decoration: none; border: 2px solid transparent; border-radius: 2px; line-height: 1.3; min-height: 44px; font-size: 1rem; cursor: pointer; font-family: inherit; }
.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: #fff; color: var(--navy); border-color: var(--orange); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #fff; color: var(--navy); border-color: var(--navy); }
.utility .pay { margin-left: 80px; }
.site-search { display: flex; flex: 1 1 320px; max-width: 420px; margin-left: auto; }
.site-search input { flex: 1; min-width: 0; padding: 10px 12px; font-size: 1rem; border: 2px solid #fff; border-right: 0; border-radius: 2px 0 0 2px; font-family: inherit; }
.site-search button { background: var(--sky); color: var(--navy); border: 2px solid var(--sky); padding: 0 14px; border-radius: 0 2px 2px 0; cursor: pointer; min-width: 44px; }
.small-link { color: #fff; font-size: .9375rem; }
.small-link:hover { color: var(--orange); }
.menu-toggle { display: none; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 40px; }
.primary-nav li.top { position: relative; display: flex; align-items: center; }
.primary-nav li.top > a { color: #fff; font-weight: 700; font-size: 1.0625rem; text-decoration: none; padding: 14px 0 16px; display: inline-block; }
.primary-nav li.top > a:hover { color: var(--orange); text-decoration: underline; }
.sub-toggle { background: transparent; border: 0; color: #fff; width: 28px; height: 32px; cursor: pointer; padding: 0; margin-left: 2px; }
.sub-toggle::after { content: ""; display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
.sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
.sub-menu { position: absolute; top: 100%; left: 0; z-index: 50; min-width: 300px; list-style: none; margin: 0; padding: 8px 0; background: #fff; border-top: 4px solid var(--orange); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.sub-menu a { display: block; padding: 8px 18px; color: var(--navy); text-decoration: none; font-weight: 600; }
.sub-menu a:hover { background: #f1f3f9; text-decoration: underline; }

/* Hero carousel */
.hero { position: relative; background: #c9411f; color: #fff; }
.hero-slide { position: relative; min-height: 460px; display: flex; align-items: center; }
.hero-slide[hidden], [hidden] { display: none !important; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,35,80,.9) 0%, rgba(26,35,80,.75) 42%, rgba(26,35,80,0) 68%); }
.hero-content { position: relative; z-index: 1; width: 100%; padding-top: 40px; padding-bottom: 80px; }
.hero-content > * { max-width: 620px; }
.hero h2 { color: #fff; font-size: 2.6rem; font-weight: 700; margin: 0 0 12px; }
.hero p { font-size: 1.25rem; font-weight: 600; margin: 0 0 20px; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 10px; }
.hero-controls button { background: var(--navy); color: #fff; border: 2px solid #fff; min-width: 44px; min-height: 44px; font: 700 1rem "Open Sans", Arial, sans-serif; cursor: pointer; }
.hero-pause { padding: 0 16px; }
.hero-prev span[aria-hidden], .hero-next span[aria-hidden] { font-size: 1.8rem; line-height: 1; }
.hero-dots { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.hero-dots button { min-width: 24px; min-height: 24px; width: 24px; height: 24px; border-radius: 50%; padding: 0; background: transparent; }
.hero-dots button[aria-current="true"] { background: #fff; }

/* I want to */
.i-want { background: var(--navy); padding: 20px 0; }
.i-want-form { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.i-want label { color: #fff; font-size: 1.375rem; font-weight: 700; }
.i-want select { flex: 0 1 720px; min-width: 0; font: 600 1.125rem "Open Sans", Arial, sans-serif; color: var(--navy); padding: 10px 16px; border: 2px solid #fff; border-radius: 2px; min-height: 48px; }
.i-want .btn { min-height: 48px; }

/* Home columns */
.multi-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.multi-col .col + .col { border-left: 1px solid var(--line); padding-left: 40px; }
.multi-col h2 { font-size: 1.9rem; font-weight: 400; margin: 0 0 8px; color: #444; }
.multi-col p { margin: 0 0 10px; }

.tiles { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0 auto; max-width: none; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 220px; background-size: cover; background-position: center; text-decoration: none; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,35,80,.1) 30%, rgba(26,35,80,.88) 100%); }
.tile-label { position: relative; color: #fff; font-size: 1.4rem; font-weight: 700; padding: 18px 20px; }
.tile:hover .tile-label { text-decoration: underline; }
.tile:focus-visible { outline: 4px solid var(--orange); outline-offset: -4px; box-shadow: inset 0 0 0 8px var(--navy-dark); }
.tile-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.block { background: #f2f4f9; border-top: 6px solid var(--orange); padding: 24px; }
.block h2 { margin: 0 0 16px; color: var(--navy); }

/* Useful Links keeps SHRA's green band, darkened so white text passes (6.7:1) */
.useful-links { background: linear-gradient(90deg, #00512a 0, #00512a 300px, #006a37 300px); color: #fff; padding: 32px 0; }
.useful-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.useful-links h2 { color: #fff; margin: 0; font-size: 1.6rem; }
.useful-links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; }
.useful-links a { color: #fff; font-weight: 600; }
.useful-links a:hover { color: var(--orange); }

/* Inner pages */
.inner-banner img { display: block; width: 100%; height: 220px; object-fit: cover; }
.page-wrap { padding-top: 12px; padding-bottom: 48px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 8px 0 0; font-size: .9375rem; }
.breadcrumbs li + li::before { content: "/"; margin: 0 6px; color: var(--muted); }
.breadcrumbs a { color: var(--navy); }
.page-title { font-size: 2.6rem; color: #444; margin: 12px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.entry { max-width: 1340px; overflow-wrap: anywhere; }
.entry iframe { width: 100%; }
.entry h2 { font-size: 1.75rem; margin: 1.6em 0 .5em; }
.entry h3 { font-size: 1.3rem; margin: 1.4em 0 .4em; }
.content-block { margin-bottom: 24px; }
.callout { background: var(--callout); color: var(--navy); padding: 30px; margin: 0 0 24px; }
.callout h2, .callout h3 { color: var(--navy); margin-top: 0; }
.callout a { color: var(--navy); font-weight: 700; }
.file-meta { font-size: .9em; color: inherit; }
.link-list { padding-left: 1.2em; }
.link-list li { margin: 6px 0; }
.table-scroll { position: relative; overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); }
.entry table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 1rem; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry thead th { background: var(--navy); color: #fff; }
.entry tbody th { background: #f2f4f9; }

/* Accordion: buttons inside headings (WAI-ARIA disclosure) */
.shra-accordion { margin: 0 0 28px; border-top: 1px solid var(--line); }
.shra-acc-h { margin: 0; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
.shra-acc-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; background: #fff; color: var(--navy); border: 0; padding: 16px 12px; font: 700 1.2rem "Open Sans", Arial, sans-serif; cursor: pointer; min-height: 48px; }
.shra-acc-btn::after { content: "+"; font-size: 1.6rem; color: var(--orange-text); margin-left: 16px; }
.shra-acc-btn[aria-expanded="true"]::after { content: "\2212"; }
.shra-acc-btn:hover { background: #f2f4f9; text-decoration: underline; }
.shra-acc-panel { padding: 8px 12px 20px; border-bottom: 1px solid var(--line); }
.acc-tools { margin: 0 0 8px; }
.acc-tools button { background: none; border: 0; color: var(--navy); text-decoration: underline; font: 600 1rem "Open Sans", Arial, sans-serif; cursor: pointer; padding: 6px 0; min-height: 24px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare figure { margin: 0; border: 1px solid var(--line); padding: 12px; }
.compare figcaption { font-size: .9375rem; color: var(--muted); margin-top: 8px; }
.results { list-style: none; padding: 0; }
.results h2 { font-size: 1.3rem; margin-bottom: 4px; }
.pager { display: flex; gap: 18px; align-items: center; margin: 24px 0; font-size: 1.05rem; }

/* Footer */
.site-footer { background: #0e4d2c; color: #fff; padding: 36px 0 16px; margin-top: 0; border-bottom: 10px solid var(--orange); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer-logo img { display: block; width: 220px; height: auto; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; font-weight: 600; }
.lang-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 1.125rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.site-footer .org { font-weight: 700; font-size: 1.125rem; margin: 0 0 6px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0 0 8px; }
.eho { display: flex; gap: 12px; align-items: flex-start; }
.eho-mark { flex: none; color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.3); margin-top: 20px; padding-top: 12px; font-size: .9375rem; }

/* Small screens and 400% zoom (1.4.10) */
@media (max-width: 960px) {
  .utility .pay { margin-left: 0; }
  .menu-toggle { display: inline-block; background: var(--orange); color: var(--navy); border: 0; font: 700 1rem "Open Sans", Arial, sans-serif; padding: 10px 16px; min-height: 44px; margin-left: auto; cursor: pointer; }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav .menu { flex-direction: column; gap: 0; }
  .primary-nav li.top { flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.2); }
  .sub-toggle { margin-left: auto; width: 44px; height: 44px; }
  .sub-menu { position: static; width: 100%; box-shadow: none; }
  .site-search { order: 5; flex-basis: 100%; max-width: none; }
  .multi-col, .blocks, .tiles, .tile-grid, .compare, .footer-grid { grid-template-columns: 1fr; }
  .multi-col .col + .col { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .useful-grid { grid-template-columns: 1fr; }
  .useful-links ul { grid-template-columns: 1fr; }
  .hero h2 { font-size: 1.8rem; }
  .hero-slide { min-height: 0; }
  .hero-controls { position: static; flex-wrap: wrap; padding-bottom: 16px; background: var(--navy-dark); padding-top: 12px; }
  .hero-content { padding-bottom: 32px; }
  .hero-bg::after { background: rgba(26,35,80,.88); }
  .page-title { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .hero-controls button, .shra-acc-btn { border: 2px solid ButtonText; }
  .hero-dots button[aria-current="true"] { background: Highlight; }
}
