/* Homepage (draft-homepage) styles. Loaded by the page itself, so nothing here touches other pages.
   Brand: ink #000014, darkest #042935, deep #07495F, teal #00677F, green-teal #0CAB9B, sun #FFE2A1, sky #EEF4F9,
   wash #F0F0EE, rule #D9D9D6, chart slate #5B8794. No decorative icons. The trip tool is never restyled here (the build checks). */

.nt-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- bento ("Harbour v2"): the trip tool, the wayfinding tiles and the 2025 stats in one grid ----------
   The column's wrapper is the grid. Its two raw-HTML blocks are "display: contents", so the tool (a text block)
   and each tile are grid items, placed automatically in page order: order on screen = reading order.
   Pills are labels; rectangles are actions. Tiles that go somewhere have a chevron and one stretched link;
   stat tiles have a pill heading, no chevron and no hover. Charts are real data, zero-based, with every number
   in text. */
.ntb { --ntb-gap: 12px; --ntb-r: 16px; --plot: 88px; }
.ntb > .vc_column-inner > .wpb_wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ntb-gap); align-items: stretch; }
.ntb .ntb-raw, .ntb .ntb-raw > .wpb_wrapper { display: contents; }
.ntb .ntb-tool { grid-column: 1 / -1; align-self: start; min-width: 0; margin: 0 !important; padding: 0 !important; }
.ntb .ntb-tool > .wpb_wrapper > p:empty { display: none; }
.ntb .ntb-quad { margin: 0 !important; }
.ntb-quad { grid-column: 1 / -1; align-self: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ntb-gap); }
.ntb-quad .ntb-fares, .ntb-quad .ntb-plus,
.ntb-areas, .ntb-new, .ntb-more, .ntb-shead, .ntb-rides, .ntb-ontime { grid-column: 1 / -1; }

/* ---- tile anatomy ---- */
.ntb-tile { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 7.5rem;
  margin: 0 !important; padding: 16px 16px 18px; border-radius: var(--ntb-r); background: var(--bg, #F0F0EE);
  color: var(--fg, #000014); border: var(--bd, 0); box-sizing: border-box; }
.ntb .ntb-tile p { margin: 0 !important; padding: 0 !important; }
.ntb .ntb-tile p.ntb-line, .ntb .ntb-tile p.ntb-big { margin-top: auto !important; }
.ntb .ntb-tile .ntb-big + p.ntb-line, .ntb .ntb-stat p.ntb-line { margin-top: 0 !important; }
.ntb .ntb-tile p.ntb-fact { margin-top: 6px !important; padding: .2em .75em !important; }
.ntb .ntb-line, .ntb .ntb-lede, .ntb .ntb-chart__note, .ntb .ntb-sub { text-wrap: pretty; }
.ntb-fact, .ntb .ntb-h--pill { text-wrap: balance; }
.ntb .ntb-h { margin: 0 !important; padding: 0 26px 0 0 !important; font-family: roobert-semibold, Inter, sans-serif;
  font-size: 1.125rem !important; line-height: 1.25 !important; letter-spacing: normal; color: var(--fg, #000014) !important; }
.ntb .ntb-hl { font-size: 1.5rem !important; line-height: 1.1 !important; letter-spacing: -0.01em; }
.ntb .ntb-areas .ntb-h, .ntb .ntb-more .ntb-h, .ntb .ntb-stat .ntb-h { padding-right: 0 !important; }
.ntb-title { color: inherit !important; text-decoration: none !important; outline: none; }
/* One real link per tile, stretched over the tile: one big target, one tab stop. */
.ntb-title::after, .ntb-cta::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: var(--ntb-r); }
.ntb-title:focus-visible::after, .ntb-cta:focus-visible::after { outline: 3px solid #000014; outline-offset: 3px; }
html body .ntb .ntb-title:focus-visible, html body .ntb .ntb-cta:focus-visible { outline: none !important;
  box-shadow: none !important; }
/* A plain chevron on tiles that go somewhere; stat tiles and the stats heading have none. */
.ntb-tile:not(.ntb-areas):not(.ntb-more):not(.ntb-stat):not(.ntb-shead) .ntb-h::after { content: ""; position: absolute;
  top: 22px; right: 20px; width: 9px; height: 9px; border-right: 2px solid var(--chev, currentColor);
  border-top: 2px solid var(--chev, currentColor); transform: rotate(45deg); pointer-events: none; }
.ntb-line { margin-top: auto; font-size: .9375rem; line-height: 1.4; color: var(--muted, #3d3d46); }
.ntb-big + .ntb-line { margin-top: 0; }
.ntb-big { display: block; margin: auto 0 0; font-family: roobert-semibold, Inter, sans-serif;
  font-size: clamp(3rem, 14vw, 3.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--big, var(--fg, #000014)); }
.ntb-sub { font-size: .875rem; line-height: 1.4; color: var(--muted, #3d3d46); }
.ntb-tel { position: relative; z-index: 1; align-self: flex-start; display: inline-block; padding: 12px 0;
  margin: -6px 0 -12px; font-weight: 600; line-height: 1.3; color: var(--link, var(--fg)) !important;
  text-decoration: underline !important; text-underline-offset: 3px; }
.ntb-nowrap { white-space: nowrap; }
html body .ntb .ntb-tel:focus-visible { outline: 3px solid #FFFFFF !important; outline-offset: 2px !important;
  box-shadow: none !important; border-radius: 2px; }

/* ---- pills: labels only, never actions; they wrap line by line like the reference blobs ---- */
.ntb-pill { display: inline; padding: .3em .75em; border-radius: 999px; color: #000014;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ntb-pill--white { background: #FFFFFF; }
.ntb-pill--sun { background: #FFE2A1; }
.ntb .ntb-h--pill { font-family: Inter, sans-serif; font-weight: 600; font-size: .875rem !important; line-height: 2.15 !important;
  color: #000014 !important; }
.ntb-fact { display: block; align-self: flex-start; margin-top: 6px; font-weight: 600; font-size: .875rem; line-height: 1.5;
  padding: .2em .75em; }

@media (hover: hover) {
  .ntb-tile:hover .ntb-title, .ntb-tel:hover { text-decoration: underline !important; text-decoration-thickness: 2px !important;
    text-underline-offset: 3px; }
}

/* ---- Routes by area: a panel of eight white chips ---- */
.ntb .ntb-area-list, .ntb .ntb-more-list, .ntb .ntb-cols, .ntb .ntb-cmp { list-style: none !important; margin: 0 !important;
  padding: 0 !important; }
.ntb .ntb-area-list li, .ntb .ntb-more-list li, .ntb .ntb-cols li, .ntb .ntb-cmp li { list-style: none !important;
  margin: 0 !important; padding: 0 !important; }
.ntb .ntb-area-list { margin-top: auto !important; padding-top: 14px !important; }
.ntb-area-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.ntb-area-list li { display: flex; }
.ntb-area-list a { display: flex; flex-direction: column; justify-content: center; gap: 2px; width: 100%; min-height: 3.75rem;
  padding: 8px 12px; border-radius: 12px; background: #FFFFFF; color: #000014 !important; text-decoration: none !important;
  box-sizing: border-box; }
.ntb-area { font-family: roobert-semibold, Inter, sans-serif; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.ntb-hint { font-size: .875rem; line-height: 1.3; color: #3d3d46; }
html body .ntb .ntb-area-list a:focus-visible, html body .ntb .ntb-more-list a:focus-visible {
  outline: 3px solid #000014 !important; outline-offset: 2px !important; box-shadow: none !important; }

/* ---- More for riders: a short list of plain links ---- */
.ntb-more { min-height: 0; }
.ntb .ntb-more-list { margin-top: 10px !important; }
.ntb-more-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.ntb-more-list li { border-top: 1px solid #D9D9D6; }
.ntb-more-list a { display: flex; align-items: center; min-height: 48px; padding: 6px 0; font-weight: 600; line-height: 1.3;
  color: #07495F !important; }
@media (hover: hover) {
  .ntb-area-list a:hover { background: #FFE2A1; }
  .ntb-area-list a:hover .ntb-area { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
  .ntb-more-list a:hover { text-decoration: underline !important; }
}

/* ---- the 2025 stats: a headline tile, then four fact tiles ---- */
.ntb-shead { gap: 10px; }
.ntb .ntb-h2 { margin: 0 !important; padding: 0 !important; font-family: roobert-semibold, Inter, sans-serif;
  font-size: 1.875rem !important; line-height: 1.08 !important; letter-spacing: -0.02em; color: #FFFFFF !important; }
.ntb .ntb-h2 .ntb-pill { padding: .02em .3em; }
.ntb .ntb-lede { font-size: .9375rem; line-height: 1.4; color: #E6F2F5; }
.ntb .ntb-cta-wrap { margin-top: auto !important; padding-top: 10px !important; }
.ntb-cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 6px; background: #FFFFFF;
  color: #07495F !important; font-weight: 600; font-size: 1rem; line-height: 1.25; text-decoration: none !important; outline: none; }
@media (hover: hover) {
  .ntb-shead:hover .ntb-cta { background: #EEF4F9; text-decoration: underline !important; }
}

.ntb-stat { min-height: 0; gap: 8px; cursor: default; }
.ntb-stat__lead { display: flex; flex-direction: column; gap: 4px; }
.ntb-ran .ntb-stat__lead, .ntb-plusstat .ntb-stat__lead { margin-top: 10px; }
.ntb-plusstat .ntb-stat__lead { padding-top: calc(.9375rem * 1.3 + .25rem); }   /* room for the missing "Over" */
@media (max-width: 689px), (min-width: 1000px) and (max-width: 1399px) {
  .ntb-ran .ntb-h--pill, .ntb-plusstat .ntb-h--pill { min-height: 4.3em; }
}
.ntb .ntb-num { font-family: roobert-semibold, Inter, sans-serif; line-height: 1; letter-spacing: -0.03em; white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums; color: var(--num, #042935); }
.ntb-num--xl { font-size: clamp(3rem, 14vw, 3.5rem); }
.ntb-num--l { font-size: 3.25rem; }
.ntb-num--m { font-size: clamp(2rem, 10.5vw, 2.5rem); }
.ntb-num__pre { display: block; margin-bottom: .25rem; font-size: .9375rem; line-height: 1.3; letter-spacing: normal;
  white-space: normal; }
.ntb-num__unit { font-size: .4em; letter-spacing: -0.01em; }
.ntb-stat .ntb-line { margin-top: 0; }

.ntb .ntb-inset { margin: 0 !important; padding: 14px 16px; border-radius: 12px; background: #FFFFFF; color: #000014; }
.ntb-rides .ntb-inset, .ntb-ontime .ntb-inset { margin-top: auto !important; }
.ntb-chart__cap { margin: 0 0 8px; font-family: Inter, sans-serif; font-weight: 600; font-size: .875rem; line-height: 1.3;
  color: #000014; }
.ntb-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; column-gap: 0; }
.ntb-cols li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.ntb-cols__val { margin-bottom: 4px; font-weight: 600; font-size: .8125rem; line-height: 1.2; font-variant-numeric: tabular-nums;
  color: #000014; }
.ntb-cols__bar { display: block; width: 62%; max-width: 48px; height: calc(var(--p) * var(--plot)); background: #5B8794;
  border-radius: 6px 6px 0 0; }
.ntb-cols li:last-child .ntb-cols__bar { background: #042935; }
.ntb-cols__yr { align-self: stretch; padding-top: 4px; border-top: 1px solid #3d3d46; text-align: center; font-size: .8125rem;
  line-height: 1.3; color: #3d3d46; }
.ntb-cols__yr.is-now { font-weight: 700; color: #000014; }
.ntb .ntb-tile .ntb-chart__note { margin-top: 10px !important; font-size: .8125rem; line-height: 1.4; color: #3d3d46; }
.ntb-cmp { display: grid; gap: 12px; }
.ntb-cmp__row { display: flex; justify-content: space-between; gap: 8px; font-size: .875rem; line-height: 1.3; color: #000014; }
.ntb-cmp__val { font-weight: 700; font-variant-numeric: tabular-nums; }
.ntb-cmp__track { display: block; height: 14px; margin-top: 6px; background: #FFFFFF; border: 1px solid #5B8794;
  border-radius: 999px; overflow: hidden; box-sizing: border-box; }
.ntb-cmp__bar { display: block; height: 100%; width: calc(var(--p) * 100%); background: #5B8794; border-radius: 999px; }
.ntb-cmp li:first-child .ntb-cmp__bar { background: #042935; }

/* ---- colours (Harbour) ---- */
.ntb-fares { --bg: #FFE2A1; --big: #042935; --chev: #042935; }
.ntb-map { --bg: #042935; --fg: #FFFFFF; --muted: #D3E3E8; --chev: #FFE2A1; }
.ntb-alerts { --bg: #EEF4F9; --chev: #07495F; }
.ntb-plus { --bg: #00677F; --fg: #FFFFFF; --muted: #E6F2F5; --link: #FFFFFF; --chev: #FFFFFF; }
.ntb-areas { --bg: #F0F0EE; }
.ntb-new { --bg: #0CAB9B; --muted: #042935; --chev: #042935; }
.ntb-hol { --bg: #EEF4F9; --chev: #07495F; }
.ntb-lost { --bg: #F0F0EE; --chev: #07495F; }
.ntb-more { --bg: #FFFFFF; --bd: 1px solid #D9D9D6; }
.ntb-shead { --bg: #07495F; --fg: #FFFFFF; }
.ntb-rides { --bg: #0CAB9B; --num: #000014; --muted: #042935; }
.ntb-rides .ntb-num__pre { color: #042935; }
.ntb-ontime { --bg: #FFE2A1; --num: #042935; }
.ntb-ran { --bg: #EEF4F9; --num: #042935; }
.ntb-plusstat { --bg: #042935; --fg: #FFFFFF; --num: #FFE2A1; --muted: #D3E3E8; }

/* ---- phones: half tiles; very narrow phones stack the two short stats ---- */
.ntb-new { min-height: 6rem; }
@media (max-width: 359px) { .ntb-ran, .ntb-plusstat { grid-column: 1 / -1; } }

/* ---- tablet ---- */
@media (min-width: 690px) {
  .ntb { --ntb-gap: 16px; --plot: 104px; }
  .ntb > .vc_column-inner > .wpb_wrapper { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ntb-quad .ntb-fares, .ntb-quad .ntb-plus { grid-column: auto; }
  .ntb-new, .ntb-hol, .ntb-lost { grid-column: span 2; }
  .ntb-ran, .ntb-plusstat { grid-column: span 3; }
  .ntb-tile { min-height: 9rem; padding: 20px 22px 22px; }
  .ntb-stat { min-height: 0; }
  .ntb .ntb-hl { font-size: 1.75rem !important; }
  .ntb .ntb-h2 { font-size: 2.25rem !important; }
  .ntb .ntb-h--pill { font-size: .9375rem !important; }
  .ntb .ntb-lede { font-size: 1rem; }
  .ntb-big { font-size: 4rem; }
  .ntb-num--xl { font-size: 4rem; }
  .ntb-num--l { font-size: 3.5rem; }
  .ntb-num--m { font-size: 3rem; }
  .ntb-area-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ntb-more-list { grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); column-gap: 24px; }
  .ntb-shead { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; column-gap: 24px; }
  .ntb-shead .ntb-h2, .ntb-shead .ntb-lede { flex: 1 1 100%; }
  .ntb-shead .ntb-lede { flex: 1 1 auto; }
  .ntb .ntb-shead .ntb-cta-wrap { margin-top: 0 !important; }
  .ntb-rides, .ntb-ontime { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 20px;
    row-gap: 8px; align-content: start; }
  .ntb-rides > .ntb-h, .ntb-ontime > .ntb-h { grid-column: 1 / -1; }
  .ntb-rides .ntb-stat__lead, .ntb-ontime .ntb-stat__lead { align-self: start; }
  .ntb .ntb-rides .ntb-inset, .ntb .ntb-ontime .ntb-inset { align-self: end; margin-top: 0 !important; }
}

/* ---- desktop ---- */
@media (min-width: 1000px) {
  .ntb { --ntb-r: 20px; --plot: 120px; }
  .ntb > .vc_column-inner > .wpb_wrapper { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .ntb .ntb-tool, .ntb-quad { grid-column: span 6; }
  .ntb .ntb-tool { margin-top: -12px !important; }   /* the widget's own 12px top margin; the widget is untouched */
  .ntb-quad { align-self: stretch; }
  .ntb-areas { grid-column: span 8; grid-row: span 2; }
  .ntb-new, .ntb-hol, .ntb-lost { grid-column: span 4; }
  .ntb-more, .ntb-rides { grid-column: span 8; }
  .ntb-shead { grid-column: span 4; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; }
  .ntb-shead .ntb-h2, .ntb-shead .ntb-lede { flex: none; }
  .ntb .ntb-shead .ntb-cta-wrap { margin-top: auto !important; }
  .ntb-shead .ntb-cta { align-self: flex-start; }
  .ntb-ontime { grid-column: span 6; }
  .ntb-ran, .ntb-plusstat { grid-column: span 3; }
  .ntb-tile { min-height: 9.5rem; padding: 24px 26px 26px; }
  .ntb-stat { min-height: 0; }
  .ntb .ntb-h { font-size: 1.25rem !important; }
  .ntb .ntb-hl { font-size: 2rem !important; }
  .ntb .ntb-h--pill { font-size: 1rem !important; }
  .ntb .ntb-h2 { font-size: clamp(2.25rem, 3vw, 3rem) !important; }
  .ntb-tile:not(.ntb-areas):not(.ntb-more):not(.ntb-stat):not(.ntb-shead) .ntb-h::after { top: 30px; right: 26px; }
  .ntb-line { font-size: 1rem; }
  .ntb-big { font-size: clamp(3rem, 4.4vw, 4.25rem); }
  .ntb-num--xl { font-size: clamp(3.25rem, 5vw, 5rem); }
  .ntb-num--l { font-size: clamp(3rem, 4.5vw, 4.5rem); }
  .ntb-num--m { font-size: clamp(2.5rem, 3.6vw, 3.25rem); }
  .ntb .ntb-inset { padding: 16px 18px; }
  /* The tall Routes by area tile: the chips fill the space under the heading. */
  .ntb .ntb-area-list { flex: 1 0 auto; grid-auto-rows: 1fr; }
  .ntb-area-list a { min-height: 4.25rem; }
  /* Buses on time stacks where its 6 columns are narrow, and splits again from 1200px. */
  .ntb-ontime { display: flex; }
  .ntb .ntb-ontime .ntb-inset { margin-top: auto !important; align-self: stretch; }
  .ntb-more-list { grid-template-columns: repeat(auto-fill, minmax(9.25rem, 1fr)); column-gap: 20px; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .ntb .ntb-tool { grid-column: span 5; }
  .ntb-quad { grid-column: span 7; }
  .ntb-quad .ntb-tile { padding: 18px 18px 20px; }
  .ntb .ntb-quad .ntb-h { font-size: 1.125rem !important; }
  .ntb .ntb-quad .ntb-hl { font-size: 1.75rem !important; }
}
@media (min-width: 1200px) {
  .ntb-ontime { display: grid; }
  .ntb .ntb-ontime .ntb-inset { margin-top: 0 !important; align-self: end; }
}
@media (min-width: 1500px) {
  .ntb .ntb-tool { grid-column: span 5; }
  .ntb-quad { grid-column: span 7; }
}

/* ---------- Route Quiz promo: a quarter-width card beside the news ---------- */
.nt-promo { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #D9D9D6;
  border-radius: 12px; overflow: hidden; }
.nt-promo:hover { border-color: #07495F; }
.nt-promo__media { background: #034659; }
.nt-promo__media img { display: block; width: 100%; height: auto; aspect-ratio: 2.2 / 1; object-fit: cover; }
.nt-promo__body { display: flex; flex-direction: column; flex: 1; padding: 14px 18px 18px; }
.nt-promo__kicker { margin: 0 0 .25rem !important; padding: 0 !important; font-size: .875rem; font-weight: 700; color: #07495F; }
.nt-promo__title { margin: 0 0 .25rem !important; color: #000014 !important; font-size: 1.125rem !important; line-height: 1.3 !important; }
.nt-promo__dek { margin: 0 0 .75rem !important; padding: 0 !important; font-size: .9375rem; line-height: 1.45; color: #3d3d46; }
.nt-promo__cta { margin: auto 0 0 !important; padding: 0 !important; }
.nt-promo__button { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1rem; border-radius: 6px;
  background: #00677F; color: #fff !important; font-size: 1rem; font-weight: 600; line-height: 1.25;
  text-decoration: none !important; }
/* One real link, stretched over the whole card, so tapping the picture or the text opens the quiz too. */
.nt-promo__button::after { content: ""; position: absolute; inset: 0; }
.nt-promo:hover .nt-promo__button { background: #07495F; text-decoration: underline !important; }
.nt-promo__button:focus-visible { outline: 3px solid #000014; outline-offset: 2px; }
/* Tablets: the promo comes after the news, picture beside the pitch so it stays small. Phones: stacked. */
@media (max-width: 999px) {
  .nt-promo-col { margin-top: 16px; }
  .nt-promo { flex-direction: row; height: auto; }
  .nt-promo__media { position: relative; flex: 0 0 38%; }
  .nt-promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .nt-promo__body { padding: 14px 16px 16px; }
  .nt-promo__title { font-size: 1.0625rem !important; }
  .nt-promo__dek { display: none; }
  .nt-promo__button { min-height: 44px; }
}

@media (max-width: 689px) {
  .nt-promo { flex-direction: column; }
  .nt-promo__media { position: static; flex: none; }
  .nt-promo__media img { position: static; height: auto; aspect-ratio: 2.2 / 1; }
}

/* ---------- Instagram: reserve the space so a late widget doesn't push anything ---------- */
.nt-home-insta { min-height: 22rem; }
@media (max-width: 690px) { .nt-home-insta { min-height: 26rem; } }

/* ---------- section header with a "see all" link on the right ---------- */
.nt-home-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; }
.nt-home-head a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: #07495F; }

/* ---------- service-alerts dock: a sun-yellow pill at the bottom right; its panel is a native modal dialog ---------- */
.nt-dock { position: fixed; z-index: 9000; right: 16px; bottom: 16px; font-family: Inter, sans-serif;
  transition: opacity .15s ease; }
.nt-dock.is-tucked { opacity: 0; pointer-events: none; }
.nt-dock__pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; max-width: calc(100vw - 32px);
  padding: 0 16px 0 20px; margin: 0; background: #FFE2A1; color: #000014 !important; border: 1px solid #042935;
  border-radius: 999px; box-shadow: 0 4px 16px rgba(0, 0, 20, .18); font: inherit; font-size: 1rem; font-weight: 600;
  line-height: 1.25; text-align: left; text-decoration: none !important; cursor: pointer; white-space: normal; }
.nt-dock__pill[hidden] { display: none !important; }
.nt-dock__pill:hover { background: #FFD47A; }
.nt-dock__pill:hover .nt-dock__label { text-decoration: underline; }
.nt-dock__pill:focus-visible { outline: 3px solid #000014; outline-offset: 2px; }
.nt-dock__arrow { color: #042935; }
.nt-dock__now { font-weight: 400; color: #3d3d46; }
.nt-dock__pill.is-critical { background: #B42318; border-color: #B42318; color: #fff !important; }
.nt-dock__pill.is-critical .nt-dock__now { color: #fff; }
.nt-dock__pill.is-critical .nt-dock__chevron { border-color: #fff; }
.nt-dock__chevron { width: 10px; height: 10px; margin-top: 4px; border-left: 2px solid #042935; border-top: 2px solid #042935;
  transform: rotate(45deg); flex: none; }

.nt-dock__dialog { padding: 0; border: 0; background: transparent; color: #000014; font-family: Inter, sans-serif;
  width: 100%; max-width: 100%; margin: auto 0 0; inset-block-end: 0; max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px); overflow: visible; }
.nt-dock__dialog::backdrop { background: rgba(0, 0, 20, .32); }
.nt-dock__sheet { display: flex; flex-direction: column; max-height: inherit; background: #fff; border-radius: 16px 16px 0 0;
  box-shadow: 0 -6px 24px rgba(0, 0, 20, .14); overflow: hidden; }
.nt-dock__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; min-height: 56px;
  padding: 16px 16px 12px 20px; border-bottom: 1px solid #D9D9D6; }
.nt-dock__title { margin: 0 !important; font-family: roobert-semibold, Inter, sans-serif; font-size: 1.25rem !important;
  line-height: 1.3 !important; color: #000014 !important; outline: none; }
.nt-dock__updated { margin: .15rem 0 0 !important; font-size: .875rem; color: #3d3d46; }
.nt-dock__close { flex: none; min-height: 48px; padding: 0 16px; border: 1px solid #07495F; border-radius: 6px;
  background: #fff; color: #07495F; font: inherit; font-weight: 600; cursor: pointer; }
.nt-dock__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 4px; }
.nt-dock__section { margin: 0 0 1rem; }
.nt-dock__section-title { margin: .75rem 0 .25rem !important; font-size: 1.05rem !important; line-height: 1.3 !important;
  color: #000014 !important; }
.nt-dock__lines, .nt-dock__chips { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.nt-dock__lines li, .nt-dock__chips li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.nt-dock__lines li { border-bottom: 1px solid #D9D9D6; }
.nt-dock__lines li.is-critical { border-left: 4px solid #B42318; padding-left: 8px !important; }
.nt-dock__line { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; color: #000014 !important;
  text-decoration: none !important; }
a.nt-dock__line:hover .nt-dock__line-name { text-decoration: underline; }
.nt-dock__line-text { display: flex; flex-direction: column; min-width: 0; }
.nt-dock__line-name { font-size: 1rem; line-height: 1.35; }
.nt-dock__line-meta { font-size: .875rem; line-height: 1.35; color: #3d3d46; }
.nt-dock__chip { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 44px; min-height: 32px;
  padding: 0 8px; border-radius: 4px; background: #00677F; color: #fff; font-size: .9375rem; font-weight: 700;
  text-decoration: none !important; }
.nt-dock__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .5rem !important; }
.nt-dock__chip--link { min-height: 36px; }
.nt-dock__chip--more { background: #fff !important; color: #07495F !important; border: 1px solid #07495F; }
.nt-dock__more a { display: flex; align-items: center; min-height: 48px; color: #07495F; font-weight: 600; }
.nt-dock__intro, .nt-dock__empty { margin: .25rem 0 .5rem !important; color: #3d3d46; }
.nt-dock__note { margin: .5rem 0 1rem !important; font-size: .875rem; color: #3d3d46; }
.nt-dock__foot { padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #D9D9D6; }
.nt-dock__all { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 6px;
  background: #00677F; color: #fff !important; font-weight: 600; text-decoration: none !important; }
.nt-dock__all:hover { background: #07495F; text-decoration: underline !important; }
.nt-dock__close:focus-visible, .nt-dock__line:focus-visible, .nt-dock__chip:focus-visible, .nt-dock__all:focus-visible,
.nt-dock__more a:focus-visible, .nt-dock__intro a:focus-visible { outline: 3px solid #000014; outline-offset: 2px; }
html.nt-dock-open { overflow: hidden; }
/* Room for the pill: focused or anchored things scroll clear of it (needs no JS). The pill fades over the footer. */
html:has(.nt-dock) { scroll-padding-bottom: 96px; }
/* Salient's back-to-top button shares the pill's corner and animates its own position, so it goes on this page. */
html:has(.nt-dock) #to-top { display: none !important; }
@media (min-width: 1000px) {
  .nt-dock { right: 24px; bottom: 24px; }
  .nt-dock__pill { min-height: 52px; font-size: 1.0625rem; }
  .nt-dock__dialog { position: fixed; inset: auto 24px 24px auto; margin: 0; width: 400px;
    max-height: min(640px, calc(100vh - 96px)); }
  .nt-dock__dialog::backdrop { background: rgba(0, 0, 20, .16); }
  .nt-dock__sheet { border-radius: 12px; box-shadow: 0 4px 16px rgba(0, 0, 20, .14); }
}
/* Very short or zoomed windows: nothing floats; the pill sits in its place in the page. */
@media (max-height: 440px) {
  .nt-dock { position: static; margin: 0 0 16px; }
  html:has(.nt-dock) { scroll-padding-bottom: 0; }
}
@media (forced-colors: active) {
  .nt-dock__pill { border: 1px solid ButtonText; }
  .nt-dock__chip { border: 1px solid ButtonText; }
  .ntb-tile { border: 1px solid CanvasText; }
  .ntb-pill, .ntb .ntb-inset { border: 1px solid CanvasText; }
  .ntb-cols__bar, .ntb-cmp__bar { forced-color-adjust: none; background: CanvasText !important; }
  .ntb-cmp__track { forced-color-adjust: none; background: Canvas; border: 1px solid CanvasText; }
  .ntb-area-list a { border: 1px solid LinkText; }
  .ntb-cta { border: 1px solid ButtonText; }
}
@media print { .nt-dock { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .nt-dock { transition: none !important; }
  #ajax-content-wrap *, #ajax-content-wrap *::before, #ajax-content-wrap *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- bento, Salient-native (v5): tiles are builder columns ("ntt" classes) ----------
   Colours, padding, radius, heights and links are column settings in the builder; this adds only what the
   builder has no setting for. */
.ntt h1, .ntt h2, .ntt h3, .ntt p, .ntt li { color: inherit !important; }
.ntt h2, .ntt h3 { margin: 0 !important; padding: 0 26px 0 0 !important; }
.ntt p { margin: 0 !important; padding: 0 !important; }
.ntt .wpb_text_column, .ntt .nectar-responsive-text, .ntt .wpb_raw_code { margin: 0 !important; width: 100%; }
.ntt .ntt-line { font-size: 1rem; line-height: 1.4; opacity: .92; text-wrap: pretty; }
.ntt-num { font-family: roobert-semibold, Inter, sans-serif; letter-spacing: -0.03em; white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums; }
.ntt-unit { font-size: .4em; letter-spacing: -0.01em; }
.ntt .ntt-pre { font-family: roobert-semibold, Inter, sans-serif; font-size: .9375rem; margin-bottom: -4px !important; }
.ntt-pill-h { font-family: Inter, sans-serif !important; font-weight: 600; font-size: .9375rem !important;
  line-height: 2.15 !important; padding-right: 0 !important; text-wrap: balance; }
.ntt-fares .ntt-num { color: #042935; }
.ntt-plusstat .ntt-num { color: #FFE2A1; }
.ntt-ontime .ntt-num, .ntt-ran .ntt-num { color: #042935; }
.ntt-bordered > .vc_column-inner { box-shadow: inset 0 0 0 1px #D9D9D6; }
/* Tiles that go somewhere: a plain chevron, and the heading underlines on hover. The whole tile is the
   builder's Column Link. */
.ntt-go > .vc_column-inner::after { content: ""; position: absolute; top: 30px; right: 26px; width: 9px; height: 9px;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); pointer-events: none; }
@media (hover: hover) {
  .ntt-go:hover h3, .ntt-go:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
}
.ntt-go > .vc_column-inner > a.column-link:focus-visible { outline: 3px solid #000014 !important; outline-offset: 3px !important;
  box-shadow: none !important; border-radius: 20px; }
/* The phone link sits above the tile's Column Link. */
.ntt .ntt-tel { position: relative; z-index: 20; display: inline-block; padding: 12px 0; margin: -6px 0 -12px;
  font-weight: 600; color: #FFFFFF !important; text-decoration: underline; text-underline-offset: 3px; }
html body .ntt .ntt-tel:focus-visible { outline: 3px solid #FFFFFF !important; box-shadow: none !important; }
/* Chips and More links */
.ntt ul.ntb-area-list, .ntt ul.ntb-more-list { list-style: none !important; margin: 14px 0 0 !important; padding: 0 !important; }
.ntt .ntb-area-list li, .ntt .ntb-more-list li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ntt .ntb-area-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.ntt .ntb-area-list a { display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; min-height: 3.75rem;
  padding: 8px 12px; border-radius: 12px; background: #FFFFFF; color: #000014 !important; text-decoration: none !important;
  box-sizing: border-box; }
.ntt .ntb-area { font-family: roobert-semibold, Inter, sans-serif; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.ntt .ntb-hint { font-size: .875rem; line-height: 1.3; color: #3d3d46; }
.ntt .ntb-more-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); column-gap: 20px; }
.ntt .ntb-more-list li { border-top: 1px solid #D9D9D6; }
.ntt .ntb-more-list a { display: flex; align-items: center; min-height: 48px; padding: 6px 0; font-weight: 600; line-height: 1.3;
  color: #07495F !important; }
html body .ntt .ntb-area-list a:focus-visible, html body .ntt .ntb-more-list a:focus-visible {
  outline: 3px solid #000014 !important; outline-offset: 2px !important; box-shadow: none !important; }
@media (hover: hover) {
  .ntt .ntb-area-list a:hover { background: #FFE2A1; }
  .ntt .ntb-area-list a:hover .ntb-area, .ntt .ntb-more-list a:hover { text-decoration: underline; }
}
@media (min-width: 690px) { .ntt .ntb-area-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Charts (raw HTML inside the stat tiles) */
.ntt .ntb-inset { margin: 6px 0 0 !important; padding: 14px 16px; border-radius: 12px; background: #FFFFFF; color: #000014; }
.ntt .ntb-chart__cap { margin: 0 0 8px; font-weight: 600; font-size: .875rem; color: #000014; }
.ntt .ntb-cols, .ntt .ntb-cmp { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ntt .ntb-cols li, .ntt .ntb-cmp li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ntt .ntb-cols { --plot: 96px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
.ntt .ntb-cols li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.ntt .ntb-cols__val { margin-bottom: 4px; font-weight: 600; font-size: .8125rem; color: #000014; }
.ntt .ntb-cols__bar { display: block; width: 62%; max-width: 48px; height: calc(var(--p) * var(--plot)); background: #5B8794;
  border-radius: 6px 6px 0 0; }
.ntt .ntb-cols li:last-child .ntb-cols__bar { background: #042935; }
.ntt .ntb-cols__yr { align-self: stretch; padding-top: 4px; border-top: 1px solid #3d3d46; text-align: center; font-size: .8125rem;
  color: #3d3d46; }
.ntt .ntb-cols__yr.is-now { font-weight: 700; color: #000014; }
.ntt .ntb-chart__note { margin-top: 10px !important; font-size: .8125rem; line-height: 1.4; color: #3d3d46 !important; }
.ntt .ntb-cmp { display: grid; gap: 12px; }
.ntt .ntb-cmp__row { display: flex; justify-content: space-between; gap: 8px; font-size: .875rem; color: #000014; }
.ntt .ntb-cmp__val { font-weight: 700; }
.ntt .ntb-cmp__track { display: block; height: 14px; margin-top: 6px; background: #FFFFFF; border: 1px solid #5B8794;
  border-radius: 999px; overflow: hidden; box-sizing: border-box; }
.ntt .ntb-cmp__bar { display: block; height: 100%; width: calc(var(--p) * 100%); background: #5B8794; border-radius: 999px; }
.ntt .ntb-cmp li:first-child .ntb-cmp__bar { background: #042935; }
@media (min-width: 1000px) { .ntt .ntb-cols { --plot: 120px; } }
/* Phones: the builder stacks every column; keep the gaps even and the tiles short. */
@media (max-width: 999px) {
  .nt-home-bento2 .wpb_column { margin-bottom: 20px !important; }
  .nt-home-bento2 .vc_row-fluid .wpb_column:last-child { margin-bottom: 0 !important; }
}
@media (forced-colors: active) {
  .ntt > .vc_column-inner { border: 1px solid CanvasText; }
  .ntt .ntb-cols__bar, .ntt .ntb-cmp__bar { forced-color-adjust: none; background: CanvasText !important; }
  .ntt .ntb-cmp__track { forced-color-adjust: none; background: Canvas; border: 1px solid CanvasText; }
}
.ntt .ntb-pill { color: #000014 !important; }
.ntt p .ntb-pill { font-size: .875rem; font-weight: 600; line-height: 2.15; }
.ntt h2 .ntb-pill { padding: .02em .3em; }
.ntt .ntt-num .ntt-unit { font-size: .4em !important; }

/* ---------- bento v6 ("ntg" rows): each tile is a builder column; the row is a 12-column grid ----------
   Colours, text, links, pictures and icons are set in the builder. This places the tiles and gives them their shape.
   Page order = reading order = phone order: tool, fares, map, detours, Niagara Transit Plus, photo, holidays,
   lost and found, routes by area, customer service, more for riders. */
.ntg { --g: 16px; }
.ntg > .row_col_wrap_12 { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g);
  width: 100% !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.ntg > .row_col_wrap_12::before, .ntg > .row_col_wrap_12::after { display: none !important; }
.ntg > .row_col_wrap_12 > .wpb_column { grid-column: span 2; width: auto !important; min-width: 0; margin: 0 !important;
  padding: 0 !important; float: none !important; }
.ntg > .row_col_wrap_12 > .wpb_column.ntt-ico { grid-column: span 1; }
.ntg > .row_col_wrap_12 > .wpb_column > .vc_column-inner { position: relative; height: 100%; margin: 0 !important;
  border-radius: 5px !important; overflow: hidden; box-sizing: border-box; }
.ntg .wpb_column > .vc_column-inner > .column-bg-overlay-wrap, .ntg .column-link { border-radius: 5px !important; }
.ntg .ntt > .vc_column-inner { display: flex; flex-direction: column; padding: 18px !important; }
.ntg .ntt > .vc_column-inner > .wpb_wrapper { position: relative; flex: 1 1 auto; display: flex; flex-direction: column;
  justify-content: flex-start; gap: 6px; min-height: 0; width: 100%; }
.ntg .ntt > .vc_column-inner > .wpb_wrapper > * { margin-bottom: 0 !important; }
.ntg .ntt-toolcol > .vc_column-inner { padding: 10px !important; }
.ntg .ntt-toolcol .wpb_raw_code { margin: 0 !important; }
.ntg .ntt-toolcol .ntb-tool2 { margin: 0 !important; }
/* The trip tool fills its tile (the widget's own 620px cap is for use inside page text). */
.ntg .ntt-toolcol .nt-widget-shell { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
/* The trip tool tile: deep teal like the fares tile, with the white form on it. The form fills the tile, and both
   tabs open at the same height (the taller of the two forms). Dark mode keeps its own panel and tab colours. */
.ntg .ntt-toolcol .column-bg-overlay { background-color: #07495F !important; }
.ntg .ntt-toolcol > .vc_column-inner, .ntg .ntt-toolcol > .vc_column-inner > .wpb_wrapper,
.ntg .ntt-toolcol .ntb-tool2, .ntg .ntt-toolcol .nt-widget-shell { display: flex; flex-direction: column; }
.ntg .ntt-toolcol > .vc_column-inner > .wpb_wrapper, .ntg .ntt-toolcol .ntb-tool2,
.ntg .ntt-toolcol .nt-widget-shell, .ntg .ntt-toolcol .widget-panels { flex: 1 1 auto; }
.ntg .ntt-toolcol .wpb_raw_code { flex: 0 0 auto; }
.ntg .ntt-toolcol .nt-widget-shell { background: transparent !important; padding: 0 !important; border-radius: 0 !important; }
.ntg .ntt-toolcol .widget-panels { min-height: 358px; border-radius: 0 5px 5px 5px !important; }
.ntg .ntt-toolcol .widget-tabs { gap: 4px; }
.ntg .ntt-toolcol .widget-tab { color: #FFFFFF !important; background: transparent !important; border-radius: 5px 5px 0 0 !important;
  font-size: 1.0625rem; }
.ntg .ntt-toolcol .widget-tab--active, .ntg .ntt-toolcol .widget-tab--active:hover { background: #FFFFFF !important; color: #000014 !important; }
.ntg .ntt-toolcol .widget-tab:focus-visible { outline: 3px solid #FFE2A1 !important; outline-offset: 2px !important; }
@media (hover: hover) { .ntg .ntt-toolcol .widget-tab:not(.widget-tab--active):hover { background: rgba(255, 255, 255, .14) !important; } }
@media (forced-colors: active) { .ntg .ntt-toolcol .widget-tab--active { border: 1px solid CanvasText; } }

/* The chevron sits on the heading's line, wherever the heading is in the tile. */
.ntg .ntt-go > .vc_column-inner::after { display: none; }
.ntg .ntt-go h3 { position: relative; padding-right: 28px !important; }
.ntg .ntt-go h3::after { content: ""; position: absolute; top: .42em; right: 3px; width: 9px; height: 9px;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg);
  transition: transform .15s ease; pointer-events: none; }
@media (hover: hover) { .ntg .ntt-go:hover h3::after { transform: translateX(4px) rotate(45deg); } }
.ntg .ntt-go > .vc_column-inner > a.column-link:focus-visible { outline-offset: -5px !important; border-radius: 5px; }

/* Picture-on-top tiles (fares, system map, customer service): the picture fills the top, edge to edge. */
.ntg .ntt-pt .img-with-aniamtion-wrap { position: relative; flex: 1 1 0; min-height: 150px; margin: -18px -18px 8px !important;
  width: auto !important; max-width: none !important; overflow: hidden; }
.ntg .ntt-pt .img-with-aniamtion-wrap .inner, .ntg .ntt-pt .img-with-aniamtion-wrap .hover-wrap,
.ntg .ntt-pt .img-with-aniamtion-wrap .hover-wrap-inner { position: static !important; height: auto; }
.ntg .ntt-pt .img-with-aniamtion-wrap img { position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  max-width: none !important; object-fit: cover; object-position: center 30%; border-radius: 0 !important; box-shadow: none !important;
  margin: 0 !important; }
.ntg .ntt-map .img-with-aniamtion-wrap img { object-position: center; }

/* Icon-on-top tiles (detours, Niagara Transit Plus, holidays, lost and found): the icon stays at the top,
   the title and its line sit at the bottom. */
.ntg .ntt-ico .nectar_icon_wrap, .ntg .ntt-ico .img-with-aniamtion-wrap { margin: 0 0 auto !important; padding-bottom: 14px; line-height: 1; }
.ntg .ntt-ico .nectar_icon { display: block; margin: 0 !important; }
.ntg .ntt-ico .nectar_icon i { color: inherit !important; }
.ntg .ntt-plus .img-with-aniamtion-wrap img { border-radius: 10px !important; }
/* The Plus logo takes the same 44px box as the other tiles' icons, so its title sits level with theirs. */
.ntg .ntt-plus .img-with-aniamtion-wrap { height: 58px; box-sizing: border-box; }
.ntg .ntt-plus .img-with-aniamtion-wrap img { width: 44px !important; height: 44px !important; }

/* The photo tile: one photo from a set, picked at random on each visit (home.js). Only that photo is downloaded. */
.ntg .ntt-photo > .vc_column-inner { padding: 0 !important; background: #042935; }
.ntg .ntt-photo .wpb_wrapper, .ntg .ntt-photo .wpb_raw_code, .ntg .ntt-photo .nt-rand { height: 100%; margin: 0 !important; }
.ntg .ntt-photo .nt-rand { position: relative; aspect-ratio: 1 / 1; }
.ntg .ntt-photo .nt-rand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 0 !important; }
.ntg .ntt-photo .nt-rand img:not([src]) { visibility: hidden; }

/* Routes by area: a directory. Place names lead; route numbers sit quietly on the right. */
.ntg .ntt-areas > .vc_column-inner > .wpb_wrapper > .wpb_text_column { margin-top: auto !important; padding-top: 12px; }
.ntg .ntt ul.ntb-area-list { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 0 36px; margin: 0 !important; }
.ntg .ntt .ntb-area-list li { border-top: 1px solid #B9B9B4; }
.ntg .ntt .ntb-area-list a { display: grid; grid-template-columns: 1fr auto 10px; align-items: center; gap: 14px; height: auto;
  min-height: 56px; padding: 6px 2px 6px 0; border-radius: 0; background: transparent; }
.ntg .ntt .ntb-area { font-size: 1.1875rem; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: break-word; }
.ntg .ntt .ntb-hint { text-align: right; }
.ntg .ntt .ntb-area-list a::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #07495F; border-top: 2px solid #07495F;
  transform: rotate(45deg); transition: transform .15s ease; }
@media (hover: hover) {
  .ntg .ntt .ntb-area-list a:hover { background: transparent; }
  .ntg .ntt .ntb-area-list a:hover .ntb-area { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
  .ntg .ntt .ntb-area-list a:hover::after { transform: translateX(4px) rotate(45deg); }
}
/* More for riders: a fixed grid, so the eight links always sit in even rows (4 x 2, 2 x 4, or one column). */
.ntg .ntt .ntb-more-list { grid-template-columns: 1fr; column-gap: 24px; margin-top: 10px !important; }
@media (min-width: 480px) { .ntg .ntt .ntb-more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ntg .ntt .ntb-more-list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; } }

@media (max-width: 999px) {
  .nt-home-bento2.ntg .wpb_column { margin-bottom: 0 !important; }
  /* The photo tile is desktop only; home.js does not download a photo below 1000px. */
  .ntg > .row_col_wrap_12 > .ntt-photo { display: none !important; }
  .ntg { --g: 12px; }
}
@media (min-width: 1000px) {
  .ntg > .row_col_wrap_12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .ntg > .row_col_wrap_12 > .wpb_column, .ntg > .row_col_wrap_12 > .wpb_column.ntt-ico { grid-column: span 4; }
  .ntg .ntt > .vc_column-inner { padding: 24px 26px !important; }
  .ntg .ntt-toolcol > .vc_column-inner { padding: 12px !important; }
  .ntg .ntt-pt .img-with-aniamtion-wrap { margin: -24px -26px 10px !important; }
  /* Row 1: the trip tool, two thirds wide, with the square photo beside it. When the tool shows results it
     grows; the photo stays a square at the top. */
  .ntg-a > .row_col_wrap_12:has(> .ntt-photo) > .ntt-toolcol { grid-column: span 8; }
  .ntg-a > .row_col_wrap_12 > .ntt-photo { align-self: start; }
  /* Row 2: fares, system map and customer service, three equal squares. The fares tile sets the height. */
  .ntg-p > .row_col_wrap_12 > .ntt-fares { display: grid; }
  .ntg-p > .row_col_wrap_12 > .ntt-fares::before { content: ""; grid-area: 1 / 1; padding-top: 100%; }
  .ntg-p > .row_col_wrap_12 > .ntt-fares > .vc_column-inner { grid-area: 1 / 1; }
  /* The map's and customer service's two lines get the same text area as the fares tile's three (44px more at
     every type size), shared above and below. */
  .ntg-p .ntt-map > .vc_column-inner > .wpb_wrapper > .nectar-responsive-text,
  .ntg-p .ntt-cs > .vc_column-inner > .wpb_wrapper > .nectar-responsive-text { margin-top: 22px !important; }
  .ntg-p .ntt-map > .vc_column-inner > .wpb_wrapper > .wpb_text_column,
  .ntg-p .ntt-cs > .vc_column-inner > .wpb_wrapper > .wpb_text_column { margin-bottom: 22px !important; }
  /* The chevrons sit at the vertical centre of the coloured text band (about 145px tall under the picture). */
  .ntg-p .ntt-fares h3::after { top: 58px; }
  .ntg-p .ntt-map h3::after, .ntg-p .ntt-cs h3::after { top: 36px; }
  /* Row 3: the four small tiles. Row 4: the directory, with more for riders as one column beside it. */
  .ntg-b > .row_col_wrap_12 > .wpb_column.ntt-ico { grid-column: span 3; }
  .ntg-c > .row_col_wrap_12 > .ntt-areas { grid-column: span 8; }
  .ntg-c .ntt .ntb-more-list { grid-template-columns: 1fr; }
  .ntg-c .ntt .ntb-more-list a { min-height: 40px; }
  /* The directory's four rows share the tile's height, so it ends level with the list beside it. */
  .ntg-c .ntt-areas > .vc_column-inner > .wpb_wrapper > .wpb_text_column,
  .ntg-c .ntt-areas .wpb_text_column > .wpb_wrapper { flex: 1 1 auto; display: flex; flex-direction: column; }
  .ntg-c .ntt-areas ul.ntb-area-list { flex: 1 1 auto; grid-template-rows: repeat(4, 1fr); }
  .ntg-c .ntt-areas .ntb-area-list li { display: flex; }
  .ntg-c .ntt-areas .ntb-area-list a { flex: 1 1 auto; }
  /* Until the host's page cache has dropped every copy of the earlier layout (photo in the small-tile row,
     more for riders in its own row), keep that markup laid out as it was. Safe to delete after November 2026. */
  .ntg-a > .row_col_wrap_12 > .ntt-fares { display: grid; }
  .ntg-a > .row_col_wrap_12 > .ntt-fares::before { content: ""; grid-area: 1 / 1; padding-top: 100%; }
  .ntg-a > .row_col_wrap_12 > .ntt-fares > .vc_column-inner { grid-area: 1 / 1; }
  .ntg-b > .row_col_wrap_12:has(> .ntt-photo) { grid-template-rows: repeat(2, 1fr); }
  .ntg-b > .row_col_wrap_12:has(> .ntt-photo) > .ntt-alerts { grid-column: 1 / span 4; grid-row: 1; }
  .ntg-b > .row_col_wrap_12:has(> .ntt-photo) > .ntt-plus { grid-column: 1 / span 4; grid-row: 2; }
  .ntg-b > .row_col_wrap_12 > .ntt-photo { grid-column: 5 / span 4; grid-row: 1 / span 2; }
  .ntg-b > .row_col_wrap_12:has(> .ntt-photo) > .ntt-hol { grid-column: 9 / span 4; grid-row: 1; }
  .ntg-b > .row_col_wrap_12:has(> .ntt-photo) > .ntt-lost { grid-column: 9 / span 4; grid-row: 2; }
  .ntg-d > .row_col_wrap_12 > .wpb_column { grid-column: span 12; }
  .ntg .ntt ul.ntb-area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; }
  .ntg .ntt .ntb-area { font-size: 1.3125rem; }
}
/* Narrower desktops: keep the small tiles short so the square photo sets the row height. */
@media (min-width: 1000px) and (max-width: 1279px) {
  .ntg .ntt-ico > .vc_column-inner { padding: 14px 16px !important; }
  .ntg .ntt-ico .ntt-line { display: none; }
  .ntg .ntt-ico .nectar_icon_wrap, .ntg .ntt-ico .img-with-aniamtion-wrap { padding-bottom: 6px; }
  .ntg .ntt-ico .nectar_icon i { font-size: 32px !important; line-height: 32px !important; height: 32px !important; width: 32px !important; }
  .ntg .ntt-plus .img-with-aniamtion-wrap { height: 38px; }
  .ntg .ntt-plus .img-with-aniamtion-wrap img { width: 32px !important; height: 32px !important; }
  .ntg .ntt-toolcol > .vc_column-inner { padding: 6px !important; }
  .ntg .ntt .ntb-area { font-size: 1.0625rem; }
  .ntg .ntt .ntb-area-list a { gap: 10px; }
}

/* ---------- 2025 stats: plain headings, and bars that grow once when the tile scrolls into view ---------- */
.ntt .ntt-stat-h { font-size: 1.25rem !important; line-height: 1.25 !important; padding: 0 0 12px !important; margin-bottom: 4px !important;
  border-bottom: 1px solid rgba(0, 0, 20, .3); }
.ntt-plusstat .ntt-stat-h { border-bottom-color: rgba(255, 255, 255, .3); }
.ntt .ntb-meter { display: block; height: 14px; margin-top: 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px #5B8794; overflow: hidden; }
.ntt .ntb-meter > span { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: 999px; background: #042935; }
.ntt .ntb-meter--sun { box-shadow: inset 0 0 0 1px #D3E3E8; }
.ntt .ntb-meter--sun > span { background: #FFE2A1; }
.ntt .ntb-cols__bar { transform-origin: bottom; }
.ntt .ntb-cmp__bar, .ntt .ntb-meter > span { transform-origin: left; }
/* Numbers never animate. home.js adds "nt-bars" to <html> first, so without it the bars are simply there. */
@media (prefers-reduced-motion: no-preference) {
  html.nt-bars .ntt-stat .ntb-cols__bar { transform: scaleY(0); transition: transform 1.5s cubic-bezier(.2, .7, .2, 1); }
  html.nt-bars .ntt-stat .ntb-cmp__bar, html.nt-bars .ntt-stat .ntb-meter > span { transform: scaleX(0);
    transition: transform 1.8s cubic-bezier(.2, .7, .2, 1); }
  html.nt-bars .ntt-stat .ntb-cols li:nth-child(2) .ntb-cols__bar { transition-delay: .18s; }
  html.nt-bars .ntt-stat .ntb-cols li:nth-child(3) .ntb-cols__bar { transition-delay: .36s; }
  html.nt-bars .ntt-stat .ntb-cols li:nth-child(4) .ntb-cols__bar { transition-delay: .54s; }
  html.nt-bars .ntt-stat .ntb-cmp li:nth-child(2) .ntb-cmp__bar { transition-delay: .25s; }
  html.nt-bars .ntt-stat.is-in .ntb-cols__bar, html.nt-bars .ntt-stat.is-in .ntb-cmp__bar,
  html.nt-bars .ntt-stat.is-in .ntb-meter > span { transform: none; }
}
@media (forced-colors: active) {
  .ntt .ntb-meter { border: 1px solid CanvasText; box-shadow: none; }
  .ntt .ntb-meter > span { forced-color-adjust: none; background: CanvasText; }
}

/* Dark mode: the tiles that turn dark need lighter rules, chevrons and bars. */
html[data-nt-theme="dark"] .ntg .ntt .ntb-area-list li { border-top-color: rgba(255, 255, 255, .25); }
html[data-nt-theme="dark"] .ntg .ntt .ntb-area-list a::after { border-color: #7CC7D9; }
/* The site-wide dark sheet gives these links a near-black fill; the directory rows stay flat like in light mode. */
html[data-nt-theme="dark"] body .ntg .ntt .ntb-area-list a,
html[data-nt-theme="dark"] body .ntg .ntt .ntb-area-list a:hover { background: transparent !important; }
html[data-nt-theme="dark"] .ntt-ran .ntt-stat-h { border-bottom-color: rgba(255, 255, 255, .3); }
html[data-nt-theme="dark"] .ntt-ran .ntb-meter { box-shadow: inset 0 0 0 1px #A7B4B9; }
html[data-nt-theme="dark"] .ntt-ran .ntb-meter > span { background: #7CC7D9; }
