/* Reading options (inc/accessibility.php). */
.a11y { position: fixed; left: 20px; bottom: 20px; z-index: 79; font: 15px/1.5 Arial, "Helvetica Neue", sans-serif; }
.a11y-launch {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 2px solid #fff; border-radius: 50%; cursor: pointer;
  color: #fff; background: linear-gradient(140deg, #123f86, #061b44); box-shadow: 0 10px 26px rgba(6, 27, 68, .3);
  transition: transform .2s cubic-bezier(.2, .7, .2, 1);
}
.a11y-launch:hover { transform: translateY(-2px); }
.a11y.is-custom .a11y-launch { box-shadow: 0 0 0 3px #f7c21b, 0 10px 26px rgba(6, 27, 68, .3); }
.a11y-launch:focus-visible, .a11y-panel :focus-visible { outline: 3px solid #f7c21b; outline-offset: 2px; }
.a11y-panel {
  position: absolute; left: 0; bottom: 64px; width: min(330px, calc(100vw - 40px)); max-height: calc(100vh - 120px); overflow-y: auto; padding: 18px;
  border-radius: 18px; color: #152235; background: #fff; box-shadow: 0 26px 60px rgba(6, 27, 68, .3), 0 0 0 1px rgba(10, 44, 107, .08);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -2px 0 14px; padding-bottom: 12px; border-bottom: 3px solid #f7c21b; }
.a11y-panel h2 { margin: 0; font: 700 20px/1.2 Georgia, "Times New Roman", serif; color: #0a2c6b; letter-spacing: 0; }
.a11y-panel h2::after { content: "."; color: #d99a00; }
.a11y-close { width: 36px; height: 36px; border: 0; border-radius: 10px; background: #eef4fb; color: #0a2c6b; font-size: 22px; line-height: 1; cursor: pointer; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-weight: 800; }
.a11y-size div { display: flex; gap: 6px; }
.a11y-size button { width: 44px; height: 44px; border: 1px solid #c8d6e8; border-radius: 10px; background: #fff; color: #0a2c6b; font: 800 15px/1 Georgia, serif; cursor: pointer; }
.a11y-size button[aria-pressed="true"] { border-color: #0a2c6b; background: #0a2c6b; color: #fff; }
.a11y-options { margin: 0; padding: 0; list-style: none; }
.a11y-options li + li { border-top: 1px solid #e3eaf3; }
.a11y-options label { display: flex; align-items: center; gap: 12px; padding: 11px 0; cursor: pointer; }
.a11y-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.a11y-switch { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: #c5d1e0; transition: background .15s; }
.a11y-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.a11y-options input:checked + .a11y-switch { background: #0a2c6b; }
.a11y-options input:checked + .a11y-switch::after { transform: translateX(18px); background: #f7c21b; }
.a11y-options input:focus-visible + .a11y-switch { outline: 3px solid #f7c21b; outline-offset: 2px; }
.a11y-options strong { display: block; font-size: 15px; }
.a11y-options small { display: block; color: #4a586d; font-size: 13px; }
.a11y-reset { width: 100%; margin-top: 12px; min-height: 42px; border: 1px solid #c8d6e8; border-radius: 999px; background: #fff; color: #0a2c6b; font-weight: 800; cursor: pointer; }
.a11y-note { margin: 10px 0 0; color: #4a586d; font-size: 12px; }
@media (max-width: 560px) { .a11y { left: 14px; bottom: 14px; } .a11y-launch { width: 48px; height: 48px; } }
@media print { .a11y { display: none; } }
/* The assistant's full-screen phone panel sits above the reading button. */
.assist.is-open ~ .a11y { display: none; }

/* ----------------------------------------------------------------- preference classes */
/*
 * Text size. The theme sets sizes in px, so the root font size cannot scale it. Zooming each
 * outermost text block instead keeps the page layout and breakpoints as they are, while the
 * text reflows inside its own column (a zoomed block's width shrinks by the same factor).
 * The header and banners keep their design; the page body, forms and footer grow.
 */
html.a11y-size-1 :is(main, footer, .assist-log) :is(p, li, dt, dd, h2, h3, h4, summary, label, td, th, figcaption, blockquote, .bb-tile-body, .kb-filters, .resource):not(:is(p, li, dt, dd, h2, h3, h4, summary, label, td, th, figcaption, blockquote, .bb-tile-body, .kb-filters, .resource, .bh) *) { zoom: 1.15; }
html.a11y-size-2 :is(main, footer, .assist-log) :is(p, li, dt, dd, h2, h3, h4, summary, label, td, th, figcaption, blockquote, .bb-tile-body, .kb-filters, .resource):not(:is(p, li, dt, dd, h2, h3, h4, summary, label, td, th, figcaption, blockquote, .bb-tile-body, .kb-filters, .resource, .bh) *) { zoom: 1.3; }

/* Higher contrast: grey text and hairlines become dark; text on navy panels keeps its own colour. */
html.a11y-contrast {
  --muted: #1f2b3b; --ink: #0b1420; --line: #8193ab;
  --bb-muted: #1f2b3b; --bb-ink: #0b1420; --bb-line: #8193ab;
}
html.a11y-contrast .assist { --as-muted: #1f2b3b; --as-line: #8193ab; }
html.a11y-contrast .prose p, html.a11y-contrast .prose li { color: #16202e; }
html.a11y-contrast :focus-visible { outline: 3px solid #0a2c6b !important; outline-offset: 2px; box-shadow: 0 0 0 6px #f7c21b !important; }
html.a11y-contrast input, html.a11y-contrast select, html.a11y-contrast textarea { border-color: #4d5f78 !important; }

html.a11y-links main a:not(.bh-btn):not(.ref-button):not(.btn), html.a11y-links footer a, html.a11y-links .assist-msg a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }

html.a11y-spacing body { letter-spacing: .02em; word-spacing: .06em; }
html.a11y-spacing main p, html.a11y-spacing main li, html.a11y-spacing .kb-answer { line-height: 1.95 !important; }

html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important;
}

/* ----------------------------------------------------------- Email alerts sign-up (inc/email-alerts.php) */
.alerts-signup { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin: 44px 0 10px; }
.alerts-copy { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.alerts-copy h2 { margin: 6px 0 10px !important; color: #fff !important; font-size: clamp(28px, 3vw, 38px) !important; }
.alerts-copy p { margin: 0 !important; color: #d6e3f5 !important; font-size: 16px !important; line-height: 1.6; }
.alerts-form { position: relative; z-index: 1; display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 26px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; background: rgba(4, 22, 56, .82); backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(3, 16, 40, .3); }
.alerts-form .form-trap { position: absolute; left: -9999px; }
.alerts-form fieldset { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.alerts-form legend { margin-bottom: 8px; color: #e3edf9; font-size: 13.5px; font-weight: 700; }
.alerts-form fieldset label { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: rgba(255, 255, 255, .06); cursor: pointer; }
.alerts-form fieldset label:hover { background: rgba(255, 255, 255, .1); }
.alerts-form fieldset input { margin-top: 3px; width: 18px; height: 18px; accent-color: #f7c21b; flex: none; }
.alerts-form fieldset strong { display: block; color: #fff; font-size: 14.5px; }
.alerts-form fieldset small { display: block; color: #b8c9e2; font-size: 12.5px; line-height: 1.4; }
.alerts-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.alerts-row .bh-btn { --bh-gold: var(--bb-gold, #f7c21b); --bh-gold-2: var(--bb-gold-2, #ffd76a); min-height: 48px; border: 0; cursor: pointer; }
.alerts-row .bh-btn .ic { --ic-acc: #0a2c6b; width: 18px; height: 18px; }
.alerts-privacy { margin: 0 !important; color: #b8c9e2 !important; font-size: 12.5px !important; }
@media (max-width: 860px) { .alerts-signup { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .alerts-form fieldset, .alerts-row { grid-template-columns: 1fr; } }

/* Language switch in the page banner (inc/kweyol.php). */
.kw-switch { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 800; background: rgba(255, 255, 255, .08); }
.kw-switch::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm-9 9h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm-9 9h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.kw-switch:hover { background: rgba(255, 255, 255, .18); }
.kw-note { padding: 14px 18px; border-left: 4px solid var(--bb-gold, #f7c21b); background: #fff9e6; font-size: 16px !important; }
.kw-english { margin-top: 30px !important; font-weight: 700; }
.kw-english a { color: #0b4f99; text-decoration: underline; }

/* Header between the mobile menu (≤900px) and 1000px: the full menu was up to 29px wider than the
   screen. Kept here, not in header-unified.css, so the Trade Show pages' shared header is untouched. */
@media (min-width: 901px) and (max-width: 1000px) {
  .site-header .brand { width: 106px; }
  .site-header .brand img { width: 104px; height: auto; }
  .site-header .nav-service-link { padding-left: 8px; padding-right: 8px; }
}

/* Contrast (WCAG 1.4.3): the gold section labels and "Read More" links on white or pale blue
   were 2.8–3.5:1. Same gold hue, darkened just enough to pass (5.0:1 on white, 4.7:1 on #f0f7fc). */
#news-hub .ref-heading .ref-kicker, #services .ref-heading .ref-kicker, .ref-approach-grid .ref-kicker { color: #926705; }
.ref-feature-copy > .ref-text-link, .unit-media .ref-feature-copy .ref-text-link { color: #90680f; }

/* Gold buttons outside the banner and forms (empty states, link bands, FAQ help) take the banner's colours. */
main { --bh-gold: var(--bb-gold, #f7c21b); --bh-gold-2: var(--bb-gold-2, #ffd76a); --bh-ease: cubic-bezier(.2, .7, .2, 1); }

/* ---- Premium navigation dropdowns (desktop). Same language as the banners: navy glass, gold rule, serif title.
   Lives here, not in style.css, so the Trade Show pages (which do not load this file) stay as they are. ---- */
@media (min-width: 901px) {
  .site-header .nav-dropdown-menu {
    --dd-gold: var(--bb-gold, #f7c21b);
    top: calc(100% + 14px);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-top: 3px solid var(--dd-gold);
    border-radius: 0 0 14px 14px;
    background:
      linear-gradient(115deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 38%),
      linear-gradient(160deg, #0a2a52 0%, #061a34 100%);
    box-shadow: 0 34px 80px rgba(3, 14, 29, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
    color: #fff;
    overflow: hidden;
  }
  .site-header .nav-dropdown-menu::after { /* the banner's diagonal gold stripe, in miniature */
    content: ""; position: absolute; right: -40px; top: -30px; width: 120px; height: 220%;
    background: linear-gradient(180deg, rgba(247, 194, 27, .16), rgba(247, 194, 27, 0));
    transform: rotate(24deg); pointer-events: none;
  }
  .site-header .nav-dropdown-menu::before { display: none; }
  .site-header .nav-dropdown.is-open .nav-dropdown-menu { animation: dd-in .26s cubic-bezier(.2, .7, .2, 1) both; }
  .site-header .nav-dropdown-menu > * { position: relative; z-index: 1; }

  .site-header .nav-dropdown-menu .nav-menu-label {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px 10px; color: rgba(255, 255, 255, .62);
    font-size: 10px; letter-spacing: .18em;
  }
  .site-header .nav-dropdown-menu .nav-menu-label::before { content: ""; width: 18px; height: 2px; background: var(--dd-gold); }

  .site-header .nav-dropdown-menu a {
    border: 0; border-radius: 8px; padding: 13px 16px 13px 18px;
    color: #fff; font-size: 14px; font-weight: 700;
    transition: background .2s ease, padding .2s ease, color .2s ease;
  }
  .site-header .nav-dropdown-menu a::before { /* gold marker that grows in on hover */
    content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 3px;
    background: var(--dd-gold); transform: scaleY(0); transition: transform .22s ease;
  }
  .site-header .nav-dropdown-menu a::after { /* arrow */
    content: "\2192" !important; display: block !important; position: absolute; right: 16px; top: 50%;
    width: auto; height: auto; background: none; color: var(--dd-gold); font-size: 16px; line-height: 1;
    opacity: 0; transform: translate(-6px, -50%); transition: opacity .2s ease, transform .2s ease;
  }
  .site-header .nav-dropdown-menu a:hover,
  .site-header .nav-dropdown-menu a:focus-visible {
    background: rgba(255, 255, 255, .09); color: #fff; padding-left: 22px; transform: none;
  }
  .site-header .nav-dropdown-menu a:hover::before,
  .site-header .nav-dropdown-menu a:focus-visible::before { transform: scaleY(1); }
  .site-header .nav-dropdown-menu a:hover::after,
  .site-header .nav-dropdown-menu a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
  .site-header .nav-dropdown-menu a:focus-visible { outline: 2px solid var(--dd-gold); outline-offset: -2px; }
  .site-header .nav-dropdown-menu strong { font-size: 14px; letter-spacing: .005em; }
  .site-header .nav-dropdown-menu small { color: rgba(226, 236, 248, .74); font-size: 12px; line-height: 1.45; }

  /* Departments & Units: directory panel, anchored to the header's right edge so it never leaves the screen */
  .site-header .nav-wrap { position: relative; }
  .site-header .nav-dropdown:has(> .nav-mega) { position: static; }
  .site-header .nav-mega { padding: 0; left: auto; right: 0; top: calc(100% - 8px); transform: none; width: min(780px, 100%); }
  .site-header .nav-mega .nav-menu-intro {
    background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)), rgba(3, 14, 29, .35);
    border-right: 1px solid rgba(255, 255, 255, .1);
  }
  .site-header .nav-mega .nav-menu-intro .eyebrow { color: var(--dd-gold); }
  .site-header .nav-mega .nav-menu-intro > strong { font-size: 24px; }
  .site-header .nav-mega .nav-menu-intro > a::after { display: none !important; }
  .site-header .nav-mega .nav-menu-intro > a::before { display: none; }
  .site-header .nav-mega .nav-menu-intro > a { padding: 14px 0; border-top: 1px solid rgba(247, 194, 27, .5); color: var(--dd-gold); }
  .site-header .nav-mega .nav-menu-intro > a:hover,
  .site-header .nav-mega .nav-menu-intro > a:focus-visible { padding-left: 0; background: transparent; color: #fff; }
  .site-header .nav-menu-links { padding: 14px; gap: 2px; }
  .site-header .nav-menu-links .nav-featured-link {
    margin-top: 8px; border: 1px solid rgba(247, 194, 27, .38);
    background: linear-gradient(100deg, rgba(247, 194, 27, .2), rgba(247, 194, 27, .06));
  }
  .site-header .nav-menu-links .nav-featured-link strong { color: var(--dd-gold); }
  .site-header .nav-menu-links .nav-featured-link:hover { background: linear-gradient(100deg, rgba(247, 194, 27, .3), rgba(247, 194, 27, .12)); }
}
@keyframes dd-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-header .nav-dropdown.is-open .nav-dropdown-menu { animation: none; } }
html.a11y-motion .site-header .nav-dropdown.is-open .nav-dropdown-menu { animation: none; }

/* ---- Sign in / account links in the top bar and the phone menu (not loaded on the Trade Show pages) ---- */
.govbar-account { display: inline-flex; align-items: center; gap: 14px; padding-left: 18px; margin-left: 4px; border-left: 1px solid rgba(255, 255, 255, .22); }
.govbar-account a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; }
.govbar-account a + a { padding: 2px 10px; border: 1px solid rgba(247, 194, 27, .7); border-radius: 3px; color: var(--bb-gold-2, #ffd95a); }
.govbar-account a:hover, .govbar-account a:focus-visible { color: var(--bb-gold-2, #ffd95a); text-decoration: underline; }
.govbar-account .ic { width: 1em; height: 1em; }
.nav-account-link { display: none !important; }
@media (max-width: 900px) {
  .nav-account-link { display: flex !important; align-items: center; margin-top: 8px; padding: 14px 15px; border: 1px solid var(--bb-line, #dde6f0); background: var(--bb-paper, #f5f8fc); color: var(--bb-navy, #0a2c6b) !important; font-weight: 800; }
}

/* ---- Signed-in member in the top bar and phone menu ---- */
.ac-avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; object-fit: cover; color: #fff; font: 800 12px Arial, sans-serif; letter-spacing: .02em; box-shadow: 0 0 0 2px rgba(247, 194, 27, .9); }
.govbar-account--in { gap: 16px; }
.govbar-me { display: inline-flex; align-items: center; gap: 9px; }
.govbar-me-text { display: grid; line-height: 1.1; }
.govbar-me-text small { display: inline-flex; align-items: center; gap: 5px; color: #a9c6e3; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.govbar-me-text small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 2px rgba(61, 220, 132, .25); }
.govbar-me-text b { color: #fff; font-size: 13px; }
.govbar-account--in a + a { border: 0; padding: 0; color: #c9d8ee; font-weight: 700; }
@media (max-width: 900px) {
  .nav-account-link--in { gap: 12px; }
  .nav-account-link--in span { display: grid; line-height: 1.15; }
  .nav-account-link--in small { color: var(--bb-muted, #53627a); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
}
.nav-account-link--in { gap: 12px; }

/* ---- The four-box mark (navy, slate, sky, gold) as a recurring accent: banners, bands, headings, panels.
   Not loaded on the Trade Show pages. ---- */
:root {
  --boxes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 43'%3E%3Crect width='15.5' height='18' rx='1.6' fill='%230a2d5c'/%3E%3Crect x='20.5' width='15.5' height='18' rx='1.6' fill='%238ea5bc'/%3E%3Crect y='24' width='15.5' height='19' rx='1.6' fill='%232a9ad3'/%3E%3Crect x='20.5' y='24' width='15.5' height='19' rx='1.6' fill='%23ecaa1e'/%3E%3C/svg%3E");
  --boxes-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 43'%3E%3Crect width='15.5' height='18' rx='1.6' fill='%23173f7a' stroke='%23ffffff' stroke-opacity='.28'/%3E%3Crect x='20.5' width='15.5' height='18' rx='1.6' fill='%238ea5bc'/%3E%3Crect y='24' width='15.5' height='19' rx='1.6' fill='%232a9ad3'/%3E%3Crect x='20.5' y='24' width='15.5' height='19' rx='1.6' fill='%23ecaa1e'/%3E%3C/svg%3E");
}

/* Banners: a larger mark above the breadcrumbs, boxes arriving one by one. */
.bh-boxes { position: absolute; z-index: 3; top: 30px; left: calc(max(20px, (100% - 1180px) / 2) + 410px); width: 54px; pointer-events: none; }
.bh-boxes svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 8px 14px rgba(3, 14, 40, .35)); }
.bh-boxes rect { transform-box: fill-box; transform-origin: center; animation: box-in .6s var(--bh-ease, cubic-bezier(.2, .7, .2, 1)) both; }
.bh-boxes rect:nth-child(2) { animation-delay: .09s; }
.bh-boxes rect:nth-child(3) { animation-delay: .18s; }
.bh-boxes rect:nth-child(4) { animation-delay: .27s; }
.bh-boxes rect:first-child { stroke: rgba(255, 255, 255, .3); stroke-width: .6; }
@keyframes box-in { from { opacity: 0; transform: scale(.5) translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) { .bh-boxes { left: calc(max(20px, (100% - 1180px) / 2) + 300px); } }
@media (max-width: 860px) { .bh-boxes { top: 16px; left: auto; right: 20px; width: 38px; } }
@media (prefers-reduced-motion: reduce) { .bh-boxes rect { animation: none; } }
html.a11y-motion .bh-boxes rect { animation: none; }

/* Heading eyebrows: the gold dash becomes the mark. */
.bh-eyebrow::before, .bb-eyebrow::before { width: 17px; height: 20px; border-radius: 0; background: var(--boxes-light) center / contain no-repeat; }
.bb-head .bb-eyebrow::before, .bb-sec .bb-eyebrow::before { background-image: var(--boxes); }

/* Bands and panels: the mark in the corner, behind the content. */
.bb-band::after, .dc-lib-intro::before, .ac-benefits::before, .dc-status::before, .dc-receipt::before, .dc-stats::before {
  content: ""; position: absolute; top: 18px; right: 22px; width: 38px; height: 45px; background: var(--boxes-light) center / contain no-repeat; opacity: .95; pointer-events: none; z-index: 1;
}
.bb-band, .dc-stats, .dc-status, .dc-receipt { position: relative; }
.dc-receipt::before { background-image: var(--boxes); }
.dc-lib-intro::after { display: none; } /* the old slab gave way to the mark */

/* ---- Top bar: Saint Lucia date and time, language switcher ---- */
.govbar-clock { display: inline-flex; align-items: center; gap: 7px; color: #e6eefb; font-weight: 700; white-space: nowrap; }
.govbar-clock .ic, .govbar-lang .ic { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--bb-gold-2, #ffd95a); flex: none; }
.govbar-clock i { margin: 0 5px; color: rgba(255, 255, 255, .45); font-style: normal; }
.govbar-clock abbr { text-decoration: none; color: #a9c6e3; font-size: .92em; letter-spacing: .06em; }
.govbar-lang { position: relative; display: inline-flex; align-items: center; }
.govbar-lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 3px; background: transparent; color: #fff; font: 800 11px Arial, sans-serif; letter-spacing: .06em; cursor: pointer; transition: background .15s, border-color .15s; }
.govbar-lang-btn:hover, .govbar-lang-btn:focus-visible, .govbar-lang-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .14); border-color: var(--bb-gold, #f7c21b); }
.govbar-lang-btn i { font-size: 9px; font-style: normal; opacity: .8; }
.govbar-lang-menu { position: absolute; z-index: 80; top: calc(100% + 10px); right: 0; display: grid; min-width: 210px; padding: 6px; border: 1px solid rgba(255, 255, 255, .16); border-top: 3px solid var(--bb-gold, #f7c21b); border-radius: 0 0 6px 6px; background: linear-gradient(160deg, #0a2a52, #061a34); box-shadow: 0 24px 60px rgba(3, 14, 29, .5); letter-spacing: 0; }
.govbar-lang-menu[hidden] { display: none; }
.govbar-lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 0; border-radius: 3px; background: transparent; color: #fff; font: 700 14px Arial, sans-serif; text-align: left; cursor: pointer; }
.govbar-lang-menu button:hover, .govbar-lang-menu button:focus-visible { background: rgba(255, 255, 255, .12); outline: 0; }
.govbar-lang-menu button[aria-checked="true"] { background: var(--bb-gold, #f7c21b); color: #0a2456; }
.govbar-lang-menu button[aria-checked="true"]::after { content: "✓"; font-weight: 900; }
.govbar-lang-menu small { display: block; margin: 6px 6px 4px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .14); color: #b9d0e8; font-size: 11px; line-height: 1.45; font-weight: 500; }
@media (max-width: 620px) {
  .govbar-inner > div > .govbar-clock, .govbar-inner > div > .govbar-lang { display: inline-flex !important; padding: 0 8px !important; border-left: 0 !important; }
  .govbar-clock { font-size: 10px; }
  .govbar-clock .ic { display: none; }
  .govbar-lang-menu { position: fixed; top: 34px; right: 8px; left: auto; }
}
/* Google's translator adds a banner and pushes the page down; the switcher above replaces it. */
.goog-te-banner-frame, .skiptranslate > iframe.goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: transparent !important; }

/* Keep the top bar on one line; the address (also in the footer and on Contact) steps aside first. */
.govbar-inner > span, .govbar-inner > div > *, .govbar-inner a { white-space: nowrap; }
.govbar-inner > div > * { padding-left: 12px; padding-right: 12px; }
@media (min-width: 621px) and (max-width: 1520px) { .govbar-inner > div > span:not(.govbar-clock):not(.govbar-lang):not(.govbar-account) { display: none; } }
@media (min-width: 621px) and (max-width: 1180px) { .govbar-inner > div > a[href^="mailto"] { display: none; } .govbar-clock abbr { display: none; } }

/* The language menu is its own box: it must wrap its note instead of inheriting the top bar's no-wrap rule. */
.govbar-lang-menu { width: 270px; max-width: calc(100vw - 24px); white-space: normal !important; }
.govbar-lang-menu button, .govbar-lang-menu small { white-space: normal !important; padding-left: 12px; padding-right: 12px; }
.govbar-lang-menu button { border-left: 0 !important; }
.govbar-lang-menu small { padding: 8px 6px 4px; border-left: 0 !important; }
@media (max-width: 900px) { .govbar-lang-menu { right: 0; left: auto; } }

/* ---- Top bar and touch targets at every width (no horizontal scroll, nothing too small to tap) ---- */
.govbar { overflow-x: clip; }
@media (min-width: 621px) and (max-width: 1320px) { .govbar-inner > div > a[href^="mailto"] { display: none !important; } }
@media (min-width: 621px) and (max-width: 1180px) { .govbar-inner > div > a[href^="tel"] { display: none !important; } }
@media (min-width: 621px) and (max-width: 940px) { .govbar-inner > span { display: none !important; } .govbar-inner { justify-content: flex-end; } }
@media (min-width: 621px) and (max-width: 780px) { .govbar-account a + a { display: none; } .govbar-clock abbr { display: none; } }
@media (max-width: 620px) {
  .govbar-inner { height: 40px !important; min-height: 40px !important; }
  .govbar-clock { font-size: 11px; }
}
@media (pointer: coarse), (max-width: 900px) {
  .govbar-lang-btn { min-height: 32px; padding-inline: 10px; }
  .govbar-inner > div .govbar-social a { width: 32px !important; height: 32px !important; font-size: 13px !important; }
  .bh-crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
  .dir-body a, .dir-card a { display: inline-flex; align-items: center; min-height: 32px; padding-block: 4px; overflow-wrap: anywhere; }
  .kb-group-head a, .kb-answer a { display: inline-flex; align-items: center; min-height: 34px; }
  .footer-main a, .site-footer a { display: inline-block; padding-block: 5px; }
}
@media (pointer: coarse), (max-width: 900px) {
  .hero-dot, .hero-controls .hero-dot { position: relative; }
  .hero-dot::after { content: ""; position: absolute; inset: -14px -8px; }
  .ref-text-link { display: inline-flex; align-items: center; min-height: 34px; }
}

/* Top bar, final pass: what is shown at each width. */
@media (min-width: 621px) and (max-width: 1100px) { .govbar-inner > span { display: none !important; } .govbar-inner { justify-content: flex-end !important; } .govbar-inner > div > * { padding-left: 10px; padding-right: 10px; } }
@media (min-width: 621px) and (max-width: 900px) { .govbar-inner > div .govbar-account a { display: inline-flex !important; } .govbar-inner > div .govbar-account a + a { display: inline-flex !important; } }
@media (min-width: 621px) and (max-width: 780px) { .govbar-inner > div .govbar-account a + a { display: none !important; } }
@media (max-width: 620px) {
  .govbar-clock .y, .govbar-clock abbr { display: none; }
  .govbar-clock i { margin: 0 4px; }
  .govbar-inner > div .govbar-social a:nth-child(n+3) { display: none !important; }
  .govbar-inner > div > .govbar-clock, .govbar-inner > div > .govbar-lang { padding: 0 6px !important; }
}
@media (max-width: 360px) { .govbar-clock [data-clock-date], .govbar-clock i { display: none; } }
/* An old rule hides every "last span" in the top bar below 900px; the language menu is one, so it needs saying outright. */
.govbar-lang-menu:not([hidden]) { display: grid !important; }
.govbar-lang-menu[hidden] { display: none !important; }

/* Footer on phones: one column (two columns forced the contact details off the screen). */
@media (max-width: 600px) {
  #site-footer.reference-footer .rf-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 30px; }
  #site-footer.reference-footer .rf-links, #site-footer.reference-footer .rf-contact { border-left: 0; padding-left: 0; }
  #site-footer.reference-footer .rf-links > a:before { left: -8px; }
  #site-footer.reference-footer .rf-contact p, #site-footer.reference-footer .rf-contact > a:not(.rf-contact-button) { overflow-wrap: anywhere; }
}

/* Legal pages */
.legal-copy{max-width:760px}
.legal-copy h2{margin:1.8em 0 .5em}
.legal-copy ul{padding-left:1.2em}
.legal-copy li{margin:.5em 0}
.legal-updated{color:#5b6b7c;font-size:.9rem}
