@media (max-width: 768px) {
    .isd-promotion {
        display: none !important;
    }
}

/* ISD cross-promotion is hosted by the existing HKO-style square slider. */
.bnr-index-page #sideBanner .bannerContainer {
    position: relative;
    width: 260px;
    height: 220px;
    align-items: stretch;
    background: #fff;
}
.bnr-index-page #sideBanner .isd-promotion {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 220px;
    height: 220px;
    overflow: hidden;
}
.bnr-index-page #sideBanner .bro-side-banner-fallback {
    display: block;
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
    object-fit: cover;
}
.bnr-index-page #sideBanner .isd-promotion > *,
.bnr-index-page #sideBanner .isd-promotion iframe,
.bnr-index-page #sideBanner .isd-promotion img {
    width: 220px !important;
    height: 220px !important;
    max-width: none !important;
    object-fit: cover;
}
.bnr-index-page #sideBanner.hide {
    transform: translateX(-220px);
}
@media (max-width: 768px) {
    .bnr-index-page #sideBanner { display: none !important; }
}

/* Accessibility overrides for homepage contrast. This file loads after index.css/index-responsive.css. */
body.bnr-index-page .bnr-impact .bnr-stat-card p,
body.bnr-index-page .bnr-impact .bnr-stat-card .tc-impact-label,



body.bnr-index-page .bnr-impact .bnr-stat-card .tc-impact-text {
    color: #174b34 !important;
}

body.bnr-index-page .bnr-impact .bnr-stat-card:nth-child(1) p,
body.bnr-index-page .bnr-impact .tc-impact-card--1 .tc-impact-label,
body.bnr-index-page .bnr-impact .tc-impact-card--1 .tc-impact-text {
    color: #2f6cba !important;
}

body.bnr-index-page .bnr-impact .bnr-stat-card:nth-child(3) p,
body.bnr-index-page .bnr-impact .tc-impact-card--3 .tc-impact-label,
body.bnr-index-page .bnr-impact .tc-impact-card--3 .tc-impact-text {
    color: #006b5f !important;
}

body.bnr-index-page .bnr-impact .bnr-stat-card:nth-child(4) p,
body.bnr-index-page .bnr-impact .tc-impact-card--4 .tc-impact-label,
body.bnr-index-page .bnr-impact .tc-impact-card--4 .tc-impact-text {
    color: #936d08 !important;
}

body.bnr-index-page .bnr-impact .tc-impact-card--5 .tc-impact-text {
    color: #2f6cba !important;
}
body.bnr-index-page .bnr-impact .tc-impact-card--5 .tc-impact-label {
    color: #2f6cba !important;
}

.tc-impact-card--6 .tc-impact-text {
    color: #174b34 !important;
}

body.bnr-index-page .bnr-happening-no-photos .what_happening_card time,
body.bnr-index-page .bnr-happening-no-photos .what_happening_card h3,
body.bnr-index-page .bnr-happening-no-photos .what_happening_card p {
    color: #fff !important;
}

/* Restore homepage slider indicator visibility after accessibility overrides.
   Support both legacy span indicators (TC/SC) and native button indicators (EN/JS). */
body.bnr-index-page .bnr-impact .bnr-slider-lines,
body.bnr-index-page .bnr-highlights .bnr-slider-lines,
body.bnr-index-page .bnr-happening .bnr-slider-lines {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    height: 18px !important;
    overflow: visible !important;
}

body.bnr-index-page .bnr-impact .bnr-slider-lines > span,
body.bnr-index-page .bnr-highlights .bnr-slider-lines > span,
body.bnr-index-page .bnr-happening .bnr-slider-lines > span,
body.bnr-index-page .bnr-impact .bnr-slider-lines > button,
body.bnr-index-page .bnr-highlights .bnr-slider-lines > button,
body.bnr-index-page .bnr-happening .bnr-slider-lines > button {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: block !important;
    flex: 0 0 50px !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 4px !important;
    min-height: 4px !important;
    max-height: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #6f8f86 !important;
    opacity: 1 !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

body.bnr-index-page .bnr-impact .bnr-slider-lines > span.is-active,
body.bnr-index-page .bnr-highlights .bnr-slider-lines > span.is-active,
body.bnr-index-page .bnr-happening .bnr-slider-lines > span.is-active,
body.bnr-index-page .bnr-impact .bnr-slider-lines > button.is-active,
body.bnr-index-page .bnr-highlights .bnr-slider-lines > button.is-active,
body.bnr-index-page .bnr-happening .bnr-slider-lines > button.is-active {
    background: #064a31 !important;
}

body.bnr-index-page .home-content-slider-control > button {
    color: #064a31 !important;
}

/* Impact at a Glance: final palette and typography for the two added cards. */
body.bnr-index-page .bnr-impact .bnr-stat-card--eto,
body.tc-home-page .bnr-impact .bnr-stat-card--eto {
  border-top: 4px solid #936d08 !important;
  color: #936d08 !important;
}

body.bnr-index-page .bnr-impact .bnr-stat-card--visa,
body.tc-home-page .bnr-impact .bnr-stat-card--visa {
  border-top: 4px solid #8b2d8f !important;
  color: #8b2d8f !important;
}

body.bnr-index-page .bnr-impact .bnr-stat-card--eto .bnr-stat-icon,
body.bnr-index-page .bnr-impact .bnr-stat-card--eto strong,
body.bnr-index-page .bnr-impact .bnr-stat-card--eto .bnr-count,
body.tc-home-page .bnr-impact .bnr-stat-card--eto .tc-impact-number,
body.tc-home-page .bnr-impact .bnr-stat-card--eto .tc-impact-text,
body.tc-home-page .bnr-impact .bnr-stat-card--eto .tc-impact-label,
body.bnr-index-page .bnr-impact .bnr-stat-card--eto p {
  color: #936d08 !important;
}

body.bnr-index-page .bnr-impact .bnr-stat-card--visa .bnr-stat-icon,
body.bnr-index-page .bnr-impact .bnr-stat-card--visa strong,
body.bnr-index-page .bnr-impact .bnr-stat-card--visa .bnr-count,
body.tc-home-page .bnr-impact .bnr-stat-card--visa .tc-impact-number,
body.tc-home-page .bnr-impact .bnr-stat-card--visa .tc-impact-text,
body.tc-home-page .bnr-impact .bnr-stat-card--visa .tc-impact-label,
body.bnr-index-page .bnr-impact .bnr-stat-card--visa p {
  color: #8b2d8f !important;
}

body.bnr-index-page .bnr-impact .bnr-stat-card--eto .bnr-stat-icon svg,
body.bnr-index-page .bnr-impact .bnr-stat-card--visa .bnr-stat-icon svg,
body.tc-home-page .bnr-impact .bnr-stat-card--eto .bnr-stat-icon svg,
body.tc-home-page .bnr-impact .bnr-stat-card--visa .bnr-stat-icon svg {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
}

body.bnr-index-page .bnr-impact .bnr-stat-card--eto p,
body.bnr-index-page .bnr-impact .bnr-stat-card--visa p {
  font-weight: 800 !important;
  line-height: 1.18 !important;
}

body.tc-home-page .bnr-impact .tc-impact-card--7 .tc-impact-metric,
body.tc-home-page .bnr-impact .tc-impact-card--7 .tc-impact-label {
  color: #936d08 !important;
}

body.tc-home-page .bnr-impact .tc-impact-card--8 .tc-impact-metric,
body.tc-home-page .bnr-impact .tc-impact-card--8 .tc-impact-label {
  color: #8b2d8f !important;
}

/* Impact reveal: keep text motion quick so it does not look like the counter pauses. */
body.bnr-index-page .bnr-ranking-card.is-impact-revealed h3,
body.bnr-index-page .bnr-ranking-card.is-impact-revealed .bnr-rank-row,
body.tc-home-page .bnr-ranking-card.is-impact-revealed h3,
body.tc-home-page .bnr-ranking-card.is-impact-revealed .bnr-rank-row {
  animation-duration: .32s !important;
}

body.bnr-index-page .bnr-ranking-card.is-impact-revealed .bnr-rank-row:nth-of-type(1),
body.tc-home-page .bnr-ranking-card.is-impact-revealed .bnr-rank-row:nth-of-type(1) {
  animation-delay: .04s !important;
}

body.bnr-index-page .bnr-ranking-card.is-impact-revealed .bnr-rank-row:nth-of-type(2),
body.tc-home-page .bnr-ranking-card.is-impact-revealed .bnr-rank-row:nth-of-type(2) {
  animation-delay: .08s !important;
}

body.bnr-index-page .bnr-ranking-card.is-impact-revealed .bnr-rank-row:nth-of-type(3),
body.tc-home-page .bnr-ranking-card.is-impact-revealed .bnr-rank-row:nth-of-type(3) {
  animation-delay: .12s !important;
}

/* Dark footer and CTA backgrounds require a light focus ring, not navy. */
body.bnr-index-page .footerArea :where(a, button, [tabindex]:not([tabindex="-1"])):focus-visible,
body.tc-home-page .footerArea :where(a, button, [tabindex]:not([tabindex="-1"])):focus-visible,
body.sc-home-page .footerArea :where(a, button, [tabindex]:not([tabindex="-1"])):focus-visible,
body.bnr-index-page .bnr-cta :where(a, button):focus-visible,
body.tc-home-page .bnr-cta :where(a, button):focus-visible,
body.sc-home-page .bnr-cta :where(a, button):focus-visible {
  outline: 3px solid #ffbf47 !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

@media screen and (max-width: 767px) {
  html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-panel-mobile:nth-child(7) > .bnr-stat-card > .bnr-stat-icon,
  html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-panel-mobile:nth-child(7) > .bnr-stat-card > strong,
  html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-panel-mobile:nth-child(7) > .bnr-stat-card > p,
  body.tc-home-page .bnr-impact .bnr-stat-panel-mobile:nth-child(7) > .tc-impact-card .bnr-stat-icon,
  body.tc-home-page .bnr-impact .bnr-stat-panel-mobile:nth-child(7) > .tc-impact-card .tc-impact-metric,
  body.tc-home-page .bnr-impact .bnr-stat-panel-mobile:nth-child(7) > .tc-impact-card .tc-impact-label {
    color: #936d08 !important;
  }

  html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-panel-mobile:nth-child(8) > .bnr-stat-card > .bnr-stat-icon,
  html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-panel-mobile:nth-child(8) > .bnr-stat-card > strong,
  html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-panel-mobile:nth-child(8) > .bnr-stat-card > p,
  body.tc-home-page .bnr-impact .bnr-stat-panel-mobile:nth-child(8) > .tc-impact-card .bnr-stat-icon,
  body.tc-home-page .bnr-impact .bnr-stat-panel-mobile:nth-child(8) > .tc-impact-card .tc-impact-metric,
  body.tc-home-page .bnr-impact .bnr-stat-panel-mobile:nth-child(8) > .tc-impact-card .tc-impact-label {
    color: #8b2d8f !important;
  }
}

/* Final Impact card style lock: the added cards must follow the original card pattern,
   independent of nth-child colour overrides used by older slides. */
html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto {
  border-top-color: #936d08 !important;
}

html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa {
  border-top-color: #8b2d8f !important;
}

html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto .bnr-stat-icon,
html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto .bnr-stat-icon svg,
html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto strong,
html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto .bnr-count,
html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto p,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto .bnr-stat-icon,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto .bnr-stat-icon svg,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto .tc-impact-metric,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto .tc-impact-number,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto .tc-impact-text,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto .tc-impact-label {
  color: #936d08 !important;
}

html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa .bnr-stat-icon,
html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa .bnr-stat-icon svg,
html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa strong,
html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa .bnr-count,
html body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa p,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa .bnr-stat-icon,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa .bnr-stat-icon svg,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa .tc-impact-metric,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa .tc-impact-number,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa .tc-impact-text,
html body.tc-home-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa .tc-impact-label {
  color: #8b2d8f !important;
}

html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto strong,
html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa strong {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto .bnr-count,
html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa .bnr-count {
  font-size: 33px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--eto p,
html[lang="en"] body.bnr-index-page .bnr-impact .bnr-stat-card.bnr-stat-card--visa p {
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

/* Homepage navigation: one blue focus ring on the light header/dropdown. */
body.bnr-index-page .headerArea .headerMenu a:focus-visible {
  outline: 3px solid #003f6b !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

/* Development Areas: one clearly visible coloured frame around the active card. */
body.bnr-index-page .bnr-development .dev-item:focus-visible,
body.bnr-index-page .bnr-development .dev-slide-btn:focus-visible {
  outline: 3px solid #003f6b !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

/* 2026-10-05: one shared Impact icon frame for EN / TC / SC at every viewport.
   Match by SVG viewBox, so mobile regrouping cannot change an icon's size. */
html body.bnr-index-page .bnr-impact .bnr-stat-slider .bnr-stat-viewport .bnr-stat-track .bnr-stat-panel > .bnr-stat-card > .bnr-stat-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

html body.bnr-index-page .bnr-impact .bnr-stat-slider .bnr-stat-viewport .bnr-stat-track .bnr-stat-panel > .bnr-stat-card > .bnr-stat-icon > svg {
  display: block !important;
  flex: 0 0 auto !important;
  width: var(--bro-impact-icon-size, 64px) !important;
  height: var(--bro-impact-icon-size, 64px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
  scale: none !important;
  translate: none !important;
  rotate: none !important;
  transform-origin: center !important;
}

/* Optical balance: allow for the different drawing proportions and whitespace. */
body.bnr-index-page .bnr-impact .bnr-stat-icon > svg[viewBox="0 0 54 50"] { --bro-impact-icon-size: 62px; }
body.bnr-index-page .bnr-impact .bnr-stat-icon > svg[viewBox="0 0 103 73"] { --bro-impact-icon-size: 70px; }
body.bnr-index-page .bnr-impact .bnr-stat-icon > svg[viewBox="0 0 63 79"] { --bro-impact-icon-size: 64px; }
body.bnr-index-page .bnr-impact .bnr-stat-icon > svg[viewBox="0 0 77 89"] { --bro-impact-icon-size: 62px; }
body.bnr-index-page .bnr-impact .bnr-stat-icon > svg[viewBox="0 0 107 79"] { --bro-impact-icon-size: 70px; }
body.bnr-index-page .bnr-impact .bnr-stat-icon > svg[viewBox="0 0 106 79"] { --bro-impact-icon-size: 72px; }
body.bnr-index-page .bnr-impact .bnr-stat-icon > svg[viewBox="0 0 576 442"] { --bro-impact-icon-size: 68px; }
body.bnr-index-page .bnr-impact .bnr-stat-icon > svg[viewBox="0 0 57 52"] { --bro-impact-icon-size: 64px; }

/* 2026-10-05: mobile-only optical refinement, shared by EN / TC / SC.
   Keep the approved desktop dimensions and the shared 72px icon frame. */
@media screen and (max-width: 767px) {
  body.bnr-index-page .bnr-impact .bnr-stat-icon > svg[viewBox="0 0 63 79"] {
    --bro-impact-icon-size: 58px;
  }
  body.bnr-index-page .bnr-impact .bnr-stat-icon > svg[viewBox="0 0 57 52"] {
    --bro-impact-icon-size: 70px;
  }
}

/* 2026-10-05: desktop refinement shared by EN / TC / SC.
   Reserve the entire 72px icon frame in the grid before the text column. */
@media screen and (min-width: 768px) {
  html body.bnr-index-page .bnr-impact .bnr-stat-slider .bnr-stat-viewport .bnr-stat-track .bnr-stat-panel > .bnr-stat-card {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    column-gap: 9px !important;
  }

  body.bnr-index-page .bnr-impact .bnr-stat-icon > svg[viewBox="0 0 63 79"] {
    --bro-impact-icon-size: 58px;
  }
}
