/* ==========================================================================
   Content pages (Object UI): language pages, guides, /courier/*, /community, /te-ao-maori, /careers, /accessibility,
   /sitemap. Loaded after site.css and area-pages.css (src/routes/content.js), so the .pg-* layout, bands and type are
   the same as the information pages. This file adds what those lack: long titles, article reading measure, sequence
   lists, notes, and the fonts for scripts Familjen Grotesk does not cover.
   Breakpoints 1180 / 960 / 640. Numbers inside a sentence use .tnum, never .mono.
   ========================================================================== */

/* Page head: these titles are longer than "Help", so a smaller top size and a wider measure than .pg-title */
.ct-head { margin-bottom: clamp(40px, 5vw, 72px); }
.ct-title { margin: 0; font-size: clamp(2.375rem, 5.2vw, 4.5rem); line-height: 1; font-weight: 600; letter-spacing: -.04em; max-width: 17ch; text-wrap: balance; }
.ct-title--wide { max-width: 22ch; }
.ct-head .lede { margin-top: 20px; max-width: 38em; }
.ct-head .pg-dl { max-width: 52em; }

/* Plain statement beside an action: "booking is in English", "no counter here" */
.ct-note { margin: 24px 0 0; max-width: 40em; padding: 14px 18px; border-radius: var(--r); background: var(--lichen); line-height: 1.5; }
.ct-note--slip { background: var(--inset); }
.ct-note strong { font-weight: 600; }

/* Sequences: a slip per step, the number in plain tabular type (no circles, no lines) */
.ct-seq { display: grid; gap: var(--slip-gap, 6px); margin: 0; padding: 0; list-style: none; counter-reset: ctseq; }
.ct-seq > li { counter-increment: ctseq; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 4px 8px; padding: 16px 20px; border-radius: var(--r); background: var(--inset); line-height: 1.5; }
.ct-seq > li::before { content: counter(ctseq); grid-row: 1 / span 2; color: var(--moss); font-size: 1.375rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ct-seq h3, .ct-seq__t { margin: 0; font-size: 1.125rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.ct-seq p { margin: 0; }
.ct-seq p + p { margin-top: 8px; }

/* Three facts in a row on a band (a depot, a cut-off, a price). Rows stay level: the slips stretch. */
.ct-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ct-trio > * { padding: 22px 24px; border-radius: var(--r-l); background: var(--inset); }
.ct-trio h3 { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.ct-trio p { margin: 0; line-height: 1.5; }
.ct-trio p + p { margin-top: 8px; }
.ct-trio__big { display: block; margin-bottom: 8px; font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .ct-trio { grid-template-columns: minmax(0, 1fr); } }

/* Link lists: slips that are links, in columns */
.ct-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--slip-gap, 6px); margin: 0; padding: 0; list-style: none; }
.ct-links .slip { height: 100%; }

/* Article: reading column and a side column that follows it */
.ct-article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(64px, 8vw, 120px); }
.ct-article > * { min-width: 0; }
.ct-side { position: sticky; top: var(--s-5); display: grid; gap: 14px; }
.ct-side__box { padding: 20px 22px; border-radius: var(--r-l); background: var(--oat-deep); --inset: var(--slip); }
.ct-side__t { margin: 0 0 10px; font-size: 1.0625rem; font-weight: 600; }
.ct-side__box ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ct-side__box li a { display: flex; align-items: center; min-height: 32px; padding: 4px 0; line-height: 1.3; font-size: var(--small-size); }
.ct-side__box p { margin: 0; line-height: 1.5; font-size: var(--small-size); }
.ct-side__box p + p { margin-top: 8px; }
.ct-side__box .btn { margin-top: 12px; }
@media (max-width: 1180px) { .ct-article { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (max-width: 960px) {
  .ct-article { grid-template-columns: minmax(0, 1fr); }
  .ct-side { position: static; }
}

/* Prose: an article's own type. Headings sit close to what they introduce. */
.ct-prose { max-width: 40em; }
.ct-prose > h2 { margin: clamp(40px, 5vw, 64px) 0 12px; font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; scroll-margin-top: var(--s-5); }
.ct-prose > h2:first-child { margin-top: 0; }
.ct-prose > h3 { margin: 28px 0 8px; font-size: 1.25rem; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.ct-prose > p, .ct-prose > ul, .ct-prose > ol { margin: 0 0 14px; line-height: 1.6; }
.ct-prose > ul { padding-left: 1.25em; list-style: disc; }
.ct-prose > ol:not(.ct-seq) { padding-left: 1.5em; list-style: decimal; }
.ct-prose > ul li, .ct-prose > ol:not(.ct-seq) li { margin-bottom: 6px; }
.ct-prose > ol.ct-seq { padding: 0; }
.ct-prose > .slips, .ct-prose > .ct-seq, .ct-prose > .docket, .ct-prose > .table-scroll, .ct-prose > .ct-note, .ct-prose > .faq { margin-top: 18px; margin-bottom: 22px; }
.ct-prose .table-scroll { max-width: 100%; }

/* Guides index and site map: groups of links */
.ct-group + .ct-group { margin-top: clamp(40px, 5vw, 64px); }
.ct-group__t { margin: 0 0 16px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; }
.ct-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ct-guide { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 24px; border-radius: var(--r-l); background: var(--inset); color: var(--ink); text-decoration: none; }
.ct-guide:hover { background: var(--lichen); }
.ct-guide__t { font-size: 1.25rem; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.ct-guide__d { color: var(--ink-2); line-height: 1.45; }

/* Language pages: Familjen Grotesk carries the Latin text and the digits; each script falls to the reader's system font,
   chosen by language so that shared Han characters take the right regional forms. Tight tracking and tight leading are
   for Latin display type only: they break Devanagari and Gurmukhi head strokes and crowd Han and Hangul. */
.ct-font-han-sc { --f-sans: "Familjen Grotesk", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif; }
.ct-font-han-tc { --f-sans: "Familjen Grotesk", "PingFang TC", "Hiragino Sans TC", "Noto Sans CJK TC", "Noto Sans TC", "Microsoft JhengHei", ui-sans-serif, system-ui, sans-serif; }
.ct-font-kana { --f-sans: "Familjen Grotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Yu Gothic", Meiryo, ui-sans-serif, system-ui, sans-serif; }
.ct-font-hangul { --f-sans: "Familjen Grotesk", "Apple SD Gothic Neo", "Noto Sans CJK KR", "Noto Sans KR", "Malgun Gothic", ui-sans-serif, system-ui, sans-serif; }
.ct-font-devanagari { --f-sans: "Familjen Grotesk", "Kohinoor Devanagari", "Noto Sans Devanagari", "Nirmala UI", Mangal, ui-sans-serif, system-ui, sans-serif; }
.ct-font-gurmukhi { --f-sans: "Familjen Grotesk", "Gurmukhi MN", "Noto Sans Gurmukhi", "Nirmala UI", Raavi, ui-sans-serif, system-ui, sans-serif; }

:is(.ct-font-han-sc, .ct-font-han-tc, .ct-font-kana, .ct-font-hangul, .ct-font-devanagari, .ct-font-gurmukhi) main { letter-spacing: 0; word-break: normal; overflow-wrap: anywhere; }
:is(.ct-font-han-sc, .ct-font-han-tc, .ct-font-kana, .ct-font-hangul, .ct-font-devanagari, .ct-font-gurmukhi) main :is(h1, h2, h3, .ct-title, .pg-h2, .pg-h3, .faq__q) { letter-spacing: 0; }
:is(.ct-font-han-sc, .ct-font-han-tc, .ct-font-kana) main { line-break: strict; }
:is(.ct-font-han-sc, .ct-font-han-tc, .ct-font-kana, .ct-font-hangul) main .ct-title { line-height: 1.15; }
:is(.ct-font-han-sc, .ct-font-han-tc, .ct-font-kana, .ct-font-hangul) main .pg-h2 { line-height: 1.2; }
:is(.ct-font-devanagari, .ct-font-gurmukhi) main .ct-title { line-height: 1.3; }
:is(.ct-font-devanagari, .ct-font-gurmukhi) main .pg-h2 { line-height: 1.3; }
:is(.ct-font-devanagari, .ct-font-gurmukhi) main :is(p, li, dd) { line-height: 1.75; }
:is(.ct-font-han-sc, .ct-font-han-tc, .ct-font-kana, .ct-font-hangul) main :is(p, li, dd) { line-height: 1.7; }
.ct-lang .ct-title { max-width: 16em; }
.ct-font-hangul main { word-break: keep-all; }

/* Language pages: the depot list reads like a short directory */
.ct-depots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--slip-gap, 6px); margin: 0; padding: 0; list-style: none; }
.ct-depots li { padding: 14px 18px; border-radius: var(--r); background: var(--inset); line-height: 1.45; }
.ct-depots li.ct-depots__hours { background: var(--lichen); }
.ct-depots__hours span { color: var(--ink); }
@media (max-width: 1180px) { .ct-depots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ct-depots { grid-template-columns: minmax(0, 1fr); } }
.ct-depots b { display: block; font-weight: 600; font-size: 1.0625rem; }
.ct-depots .depot-code { font-family: var(--f-mono); font-size: var(--data-s); color: var(--ink-2); margin-left: 6px; }
.ct-depots li span { color: var(--ink-2); }

/* Small helpers */
.ct-rowsub { display: block; margin-top: 2px; color: var(--ink-2); font-size: var(--small-size); font-weight: 400; white-space: normal; }
.ct-mt { margin-top: 28px; }
.ct-dl-top { margin-top: 8px; }

/* Touch */
@media (max-width: 960px), (pointer: coarse) {
  .ct-side__box li a { min-height: 44px; }
}

/* Place pages: depot cities and routes */
.ct-p-mid { align-items: center; }
.ct-p-flat { margin-top: 0; }
.ct-p-b { font-weight: 600; }
.ct-p-card { padding: 24px 26px; border-radius: var(--r-l); background: var(--inset); }
.ct-p-card .pg-h3 { margin-bottom: 10px; }
.ct-p-card p { margin: 0; line-height: 1.5; }
.ct-p-card p + p { margin-top: 10px; }
.ct-p-routes { display: grid; gap: 2px; margin: 20px 0 0; padding: 0; list-style: none; }
.ct-p-routes a { display: inline-flex; align-items: center; min-height: 32px; line-height: 1.3; }
@media (max-width: 960px), (pointer: coarse) { .ct-p-routes a { min-height: 44px; } }

/* Town pages (views/pages/courier/*.ejs) */
.ct-t-docket { align-self: start; width: 100%; max-width: 460px; justify-self: end; }
.ct-t-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--slip-gap, 6px); margin: 0; padding: 0; list-style: none; }
.ct-t-area { padding: 18px 22px 20px; }
.ct-t-area h3 { margin: 0 0 6px; font-size: 1.1875rem; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.ct-t-area p { margin: 0; line-height: 1.5; }
@media (max-width: 960px) { .ct-t-docket { justify-self: start; max-width: none; } }
@media (max-width: 640px) { .ct-t-areas { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Guides (ct-g-): the index cards, label-and-text rows, worked-example dockets, the cubic calculator, the address
   specimen, packing items and the do / don't pair. Each guide uses a few of these, so no two read alike.
   -------------------------------------------------------------------------- */
.ct-g-index { padding-bottom: clamp(64px, 8vw, 120px); }
.ct-g-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 960px) { .ct-g-cards { grid-template-columns: minmax(0, 1fr); } }

/* Label on the left, the words on the right, one slip each */
.ct-g-rows { display: grid; gap: var(--slip-gap, 6px); margin: 0; }
.ct-g-rows > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 20px; padding: 16px 20px; border-radius: var(--r); background: var(--inset); }
.ct-g-rows dt { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.ct-g-rows dd { margin: 0; line-height: 1.5; }
.ct-g-rows dd + dd { grid-column: 2; }
.ct-g-price { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .ct-g-rows > div { grid-template-columns: minmax(0, 1fr); } .ct-g-rows dd + dd { grid-column: 1; } }

/* Worked examples: dockets in a level row */
.ct-g-dockets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ct-g-dockets > .docket { display: flex; flex-direction: column; }
.ct-g-dockets .docket__lines { padding-top: 16px; }
.ct-g-dockets .docket__total { margin-top: auto; }
.ct-g-docket-line { margin: 0; color: var(--ink-2); line-height: 1.5; }
.ct-g-dockets .docket__lines { margin-bottom: 16px; }
.ct-g-dockets .docket__line dt { line-height: 1.35; }
@media (max-width: 960px) { .ct-g-dockets { grid-template-columns: minmax(0, 1fr); } }


/* Language pages (ct-l-): small pieces the language pages use in their own way */
.ct-l-points { display: grid; gap: 6px; margin: 24px 0 0; padding: 0 0 0 1.25em; max-width: 48em; list-style: disc; color: var(--fg-2); }
.ct-l-services .slip { padding: 16px 20px; }
.ct-l-services .slip__title { display: block; margin-bottom: 4px; font-size: 1.125rem; }
.ct-l-services p { margin: 0; line-height: 1.6; }
.ct-l-keep { display: inline-block; }

/* A rate table whose rows come in threes: three cards a row from a 600px container, so no card is left alone */
@container tbl (min-width: 600px) {
  .ct-g-3up tbody { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-g-3up tbody tr.ct-g-wide { grid-column: 1 / -1; }
}

/* /guides/cubic-weight: the calculator, fields beside the result */
.ct-g-tool { padding-block: clamp(40px, 5vw, 64px); }
.ct-g-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ct-g-calc__in > .pg-h3 { margin-bottom: 14px; }
.ct-g-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 18px; }
.ct-g-presets[hidden] { display: none; }
.ct-g-presets .t-small { margin-right: 4px; }
.ct-g-presets .btn { background: var(--slip); }
.ct-g-presets .btn:hover { background: var(--lichen); }
.ct-g-sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.ct-g-sizes .field { margin: 0; }
.ct-g-calc__words { min-height: 3em; margin: 14px 0 14px; line-height: 1.5; }
.ct-g-after { padding-top: clamp(48px, 6vw, 80px); }
@media (max-width: 960px) { .ct-g-calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 340px) { .ct-g-sizes { grid-template-columns: minmax(0, 1fr); } }

.ct-t-price { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ct-t-box { align-self: start; padding: 24px 26px; border-radius: var(--r-l); background: var(--inset); }
.ct-t-box .pg-h3 { margin-bottom: 8px; }
.ct-t-box p { margin: 0; line-height: 1.55; }
.ct-t-box p + p { margin-top: 10px; }
.ct-l-rows { margin-top: 24px; }
.ct-l-rows .slip__row { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; }
.ct-l-docket { align-self: start; }
.ct-l-docket__p { margin: 0 0 14px; line-height: 1.6; }

/* /guides/packing-fragile-items: one slip per kind of item, what to do in plain lines */
.ct-prose > ul.ct-g-items { display: grid; gap: var(--slip-gap, 6px); margin: 18px 0 22px; padding: 0; list-style: none; }
.ct-prose > ul.ct-g-items > li { margin: 0; padding: 18px 22px 20px; border-radius: var(--r-l); background: var(--inset); }
.ct-g-items h3 { margin: 0 0 6px; font-size: 1.1875rem; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.ct-g-items p { margin: 0; line-height: 1.55; }
.ct-g-items p + p { margin-top: 8px; }

/* Japanese title: breaks only at the <wbr> phrase ends, sized so "ニュージーランドの" fits a 320px screen */
.ct-lang .ct-l-phrases { word-break: keep-all; font-size: clamp(1.875rem, 5.2vw, 4.5rem); max-width: 14em; }
.ct-l-phrase { word-break: keep-all; }
/* A rate table with words in it: area-pages keeps .rates a real table on tablets, right-aligned for figures */
.ct-l-textcols.rates td[data-label]:not(.num), .ct-l-textcols.rates thead th:not(.num) { text-align: left; }
.ct-l-textcols.rates td.num { white-space: nowrap; }

/* /guides/rural-delivery: an address written out, each line named beside it */
.ct-g-addr { display: grid; gap: 4px; margin: 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: var(--inset); font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.35; }
.ct-g-addr > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2px 20px; align-items: baseline; padding: 8px 0; }
.ct-g-addr dt { font-weight: 600; }
.ct-g-addr dd { margin: 0; color: var(--ink-2); font-size: var(--small-size); line-height: 1.45; }
@media (max-width: 640px) { .ct-g-addr > div { grid-template-columns: minmax(0, 1fr); } }

/* Vague and useful wording, side by side */
.ct-g-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ct-g-pair > li { padding: 20px 24px; border-radius: var(--r-l); background: var(--inset); line-height: 1.5; }
.ct-g-pair > li.is-good { background: var(--lichen); }
.ct-g-pair h3 { margin: 0 0 8px; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.ct-g-pair ul { margin: 0; padding-left: 1.2em; list-style: disc; }
.ct-g-pair li li { margin-bottom: 4px; }
@media (max-width: 640px) { .ct-g-pair { grid-template-columns: minmax(0, 1fr); } }
.ct-g-mt { margin-top: 14px; }
.ct-t-rows { margin-top: 0; }

/* Language pages (te reo, Sāmoa, Tonga, Tagalog, Español, Français): the small pieces those pages add */
.ct-m-gap { margin-top: 24px; }
.ct-m-tight { margin: 0 0 14px; }
.ct-note.ct-m-next { margin-top: 8px; }
.ct-m-sliphead { margin: 0 0 2px; font-size: 1.0625rem; font-weight: 600; }
.ct-m-sliphead + p { margin: 0; }
.ct-m-rates tbody th[scope="row"] { white-space: normal; }
.ct-m-card { padding: 24px 28px; border-radius: var(--r-l); background: var(--inset); }
.ct-m-card .pg-h3 { margin-bottom: 10px; }
.ct-m-card p { margin: 0; line-height: 1.55; }
.ct-m-isle + .ct-m-isle { margin-top: 28px; }
/* The English words on the booking form, each with its meaning */
.ct-m-gloss { display: grid; gap: var(--slip-gap, 6px); margin: 0; }
.ct-m-gloss > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 16px; padding: 12px 18px; border-radius: var(--r); background: var(--inset); line-height: 1.4; }
.ct-m-gloss dt { font-weight: 600; }
.ct-m-gloss dd { margin: 0; color: var(--ink-2); }
/* A rate table beside its worked example */
.ct-m-pricelayout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: end; }
.ct-m-pricelayout > * { min-width: 0; }
@media (min-width: 961px) { .ct-m-sticky { position: sticky; top: var(--s-5); } }
@media (max-width: 960px) { .ct-m-pricelayout { grid-template-columns: minmax(0, 1fr); align-items: start; } }
@media (max-width: 640px) { .ct-m-gloss > div { grid-template-columns: minmax(0, 1fr); } }
.ct-t-seq { margin-top: 24px; }
.ct-t-block { display: block; }
.ct-t-islands { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); gap: 24px 20px; }
.ct-t-island .depot-tags { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ct-t-island--south .depot-tags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ct-t-island__t { margin: 0 0 14px; color: var(--ink-2); font-size: 1rem; font-weight: 600; }
.ct-t-island__t--ink { color: var(--ink); font-size: 1.125rem; }
.ct-t-serves { margin-top: 10px; font-size: var(--small-size); line-height: 1.4; color: var(--ink-2); }
.depot-tag--hub .ct-t-serves { color: var(--ink); }
.ct-t-towns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.ct-t-town .slip__title { color: var(--ink); text-underline-offset: 3px; }
.ct-t-town .slip__meta { display: block; margin-top: 2px; line-height: 1.4; }
.ct-t-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--slip-gap, 6px); margin: 0; padding: 0; list-style: none; }
.ct-t-route { height: 100%; }
@media (max-width: 1180px) {
  .ct-t-islands { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .ct-t-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ct-t-island .depot-tags, .ct-t-island--south .depot-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-t-towns, .ct-t-routes { grid-template-columns: minmax(0, 1fr); }
}
.ct-g-measure { max-width: 46em; }
.ct-prose > .ct-g-rows { margin: 18px 0 22px; }
/* Two ways of doing one thing, level, side by side */
.ct-l-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ct-l-pair > div { padding: 24px 26px; border-radius: var(--r-l); background: var(--inset); }
.ct-l-pair h3 { margin: 0 0 8px; font-size: 1.375rem; line-height: 1.3; font-weight: 600; }
.ct-l-pair p { margin: 0; }
.ct-l-pair p + p { margin-top: 8px; }
@media (max-width: 640px) { .ct-l-pair { grid-template-columns: minmax(0, 1fr); } .ct-l-pair > div { padding: 20px 18px; } }
/* Depot tags, four a row with the counter hours as the eighth, so no card sits alone */
.ct-l-tags { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ct-l-tags .depot-tag { color: var(--ink); }
.ct-l-tags .ct-l-tag-hours { background: var(--lichen); --ink-2: var(--ink); }
.ct-l-tags .depot-tag__city { font-size: 1.125rem; }
.ct-l-tags a.depot-tag__city { color: var(--ink); }
@media (max-width: 960px) { .ct-l-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ct-l-tags { grid-template-columns: minmax(0, 1fr); } }
.ct-g-nb { white-space: nowrap; }
.ct-m-even { table-layout: fixed; }
.ct-l-gap { margin-top: clamp(32px, 4vw, 48px); }
.ct-l-dl > div { grid-template-columns: 110px minmax(0, 1fr); }
:is(.ct-font-devanagari, .ct-font-gurmukhi) main :is(.ct-trio__big, .ct-l-pair h3, .docket__title) { letter-spacing: 0; line-height: 1.35; }
.ct-t-h { margin: 0 0 6px; font-size: 1.1875rem; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
/* Devanagari and Gurmukhi read smaller than Latin at the same size */
:is(.ct-font-devanagari, .ct-font-gurmukhi) main :is(.pg-body, .ct-seq p, .ct-trio p, .ct-l-pair p, .ct-depots li, .ct-note, .pg-dl dd) { font-size: 1.125rem; }
.ct-t-island { display: flex; flex-direction: column; }
.ct-t-island .depot-tags { flex: 1; }
.ct-t-towns > div { display: flex; flex-direction: column; }
.ct-t-fill { flex: 1; max-width: none; margin-top: var(--slip-gap, 6px); }
@media (max-width: 640px) {
  .ct-t-island--south .depot-tag:last-child { grid-column: 1 / -1; }
}
:is(.ct-font-devanagari, .ct-font-gurmukhi) main .pg-lede { font-size: clamp(1.125rem, 1.4vw, 1.3125rem); }
.ct-lang main .tnum { white-space: nowrap; }

/* Tables with an odd row count stay one card wide on tablets; tables of long sentences put the label above on phones */
@container tbl (min-width: 600px) {
  .ct-g-1up tbody { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ct-g-long td[data-label] { padding-left: 0 !important; }
  .ct-g-long td[data-label]::before { position: static; display: block; width: auto; }
}

/* /te-ao-maori */
.ct-tm-names { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--pg-gap); align-items: start; }
.ct-tm-depots .slip { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 14px 20px; }
.ct-tm-depots .slip span { font-weight: 600; }
.ct-tm-talk { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; align-self: center; }
@media (max-width: 960px) { .ct-tm-names { grid-template-columns: minmax(0, 1fr); } }

/* /community and /careers */
.ct-c-who .slip { padding: 14px 20px; line-height: 1.5; }
.ct-c-who b { font-weight: 600; }
.ct-c-layout { align-items: start; }
.ct-c-form { padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: var(--slip); --field: var(--oat); --inset: var(--oat); }
.ct-c-form__t { margin-bottom: 20px; font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.08; letter-spacing: -.03em; }
.ct-c-group { margin: 0 0 28px; padding: 0; border: 0; }
.ct-c-group legend { margin-bottom: 14px; padding: 0; }
.ct-c-group > .field, .ct-c-group > .form-grid { margin-bottom: 16px; }
.ct-c-aside { display: grid; gap: 16px; position: sticky; top: var(--s-5); }
.ct-c-aside .pg-h3 { margin-bottom: 0; }
.ct-c-aside .ct-seq > li { padding: 14px 18px; }
.ct-c-aside .ct-seq > li::before { grid-row: auto; }
.ct-c-aside .ct-note { margin: 0; }
.ct-c-depots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .ct-c-aside { position: static; } }
@media (max-width: 640px) { .ct-c-depots { grid-template-columns: minmax(0, 1fr); } }

/* /sitemap: plain columns of links */
.ct-map { padding-bottom: clamp(64px, 8vw, 120px); }
.ct-map__list { columns: 3 260px; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.ct-map__list li { break-inside: avoid; padding: 4px 0; line-height: 1.4; }
@media (max-width: 960px), (pointer: coarse) { .ct-map__list a { display: inline-flex; align-items: center; min-height: 44px; } }
