/* The guides: pictures, tools and layout (guides.php, _guides.php, _guide_tools.php). Loaded on guide pages only, after site.css. */
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* ── Hub opening: words on white, the film clear beside them ──────────── */
.gh { position:relative; overflow:hidden; background:var(--bg); color:var(--fg); }
.gh-bg { position:relative; height:min(62vw, 26rem); overflow:hidden; background:var(--warm-2); }
.gh-bg picture, .gh-bg img, .gh-film { position:absolute; inset:0; width:100%; height:100%; }
.gh-bg img, .gh-film { object-fit:cover; object-position:50% 60%; }
.gh-film { opacity:0; transition:opacity 1.2s; }
.gh-film.on { opacity:1; }
.gh-in { padding-top:1.1rem; padding-bottom:clamp(2rem, 5vw, 3.5rem); }
.gh .kicker { margin-top:1.75rem; }
.gh h1 { font-size:clamp(2.1rem, 3.9vw, 3.9rem); line-height:1.02; letter-spacing:-.035em; margin:0; }
.gh .lead { max-width:34rem; margin:1.25rem 0 0; color:var(--fg-2); }
.gh .actions { margin-top:1.75rem; }
@media (min-width: 56rem) {
  .gh { min-height:min(38rem, 74vh); display:flex; align-items:center; }
  .gh-bg { position:absolute; inset:0 0 0 48%; height:auto; border-bottom-left-radius:34px; }
  .gh-in { width:100%; padding-top:2.5rem; padding-bottom:2.5rem; } .gh-text { max-width:calc(48vw - max(2rem, (100vw - var(--wide)) / 2 + 2rem) - 3rem); }
}
.gh-count { display:inline-flex; align-items:baseline; gap:.7rem; margin:2rem 0 0; font-family:var(--head); font-weight:700; color:var(--fg); }
.gh-count[hidden], .gh-pause[hidden], .gh-tool[hidden] { display:none; }
.gh-count b { font-size:clamp(1.9rem, 4vw, 2.6rem); font-weight:800; letter-spacing:-.02em; line-height:1; font-variant-numeric:tabular-nums; }
.gh-pause { position:absolute; right:1.25rem; bottom:1.25rem; background:rgba(36,31,30,.7); color:#fff; border:1px solid rgba(255,255,255,.35); border-radius:999px; font:600 .9rem/1 var(--head); padding:.7rem 1rem; min-height:40px; cursor:pointer; }
.gh-pause:hover { background:rgba(36,31,30,.9); }

/* ── Guide page opening ───────────────────────────────────────────────── */
.phead-photo img[src*="/g-howlong"] { object-position:50% 70%; }
.phead-photo img[src*="/g-lplate"] { object-position:70% 60%; }
.phead-photo img[src*="/g-changes"] { object-position:50% 55%; }
.g-progress { position:sticky; top:4.25rem; z-index:29; height:3px; margin-bottom:-3px; background:transparent; pointer-events:none; }
.g-progress i { display:block; height:100%; width:100%; background:var(--red); transform:scaleX(0); transform-origin:left; }

/* ── Cards ────────────────────────────────────────────────────────────── */
.gcs { list-style:none; margin:0; padding:0; display:grid; gap:1.5rem 1.25rem; }
@media (min-width: 40rem) { .gcs { grid-template-columns:repeat(2, 1fr); } }
@media (min-width: 64rem) { .gcs { grid-template-columns:repeat(3, 1fr); } .gcs-all:not(.filtered) > .gc:first-child { grid-column:span 2; } }
.gc { margin:0; }
.gc[hidden] { display:none; }
.gc a { display:flex; flex-direction:column; height:100%; color:var(--fg); text-decoration:none; background:var(--bg); border:1px solid var(--line); border-radius:18px; overflow:hidden; transition:transform .25s, box-shadow .25s, border-color .25s; }
.gc a:hover { transform:translateY(-4px); border-color:transparent; box-shadow:0 30px 50px -30px rgba(36,31,30,.55); }
.gc-pic { display:block; aspect-ratio:16/9; overflow:hidden; background:var(--warm-2); }
.gc-pic img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.gc a:hover .gc-pic img { transform:scale(1.045); }
.gc-body { display:flex; flex-direction:column; flex:1; padding:1.25rem 1.35rem 1.35rem; }
.gc-tags { display:flex; flex-wrap:wrap; gap:.35rem .9rem; margin-bottom:.55rem; font:700 .9rem/1.2 var(--head); color:var(--accent); }
.gc b { font:800 1.22rem/1.22 var(--head); letter-spacing:-.015em; }
.gc-text { display:block; margin:.55rem 0 1.1rem; color:var(--fg-2); line-height:1.5; font-size:1rem; }
.gc-go { display:inline-flex; align-items:center; gap:.45rem; margin-top:auto; font:700 .92rem/1 var(--head); color:var(--accent); }
.gc-go .ic { width:18px; height:18px; stroke-width:2.2; transition:transform .2s; }
.gc a:hover .gc-go .ic { transform:translateX(4px); }
@media (min-width: 64rem) {
  .gcs-all:not(.filtered) > .gc:first-child a { position:relative; justify-content:flex-end; color:#fff; border:0; min-height:27rem; isolation:isolate; }
  .gcs-all:not(.filtered) > .gc:first-child .gc-pic { position:absolute; inset:0; z-index:-2; aspect-ratio:auto; }
  .gcs-all:not(.filtered) > .gc:first-child a::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(36,31,30,0) 15%, rgba(36,31,30,.72) 58%, rgba(36,31,30,.92)); }
  .gcs-all:not(.filtered) > .gc:first-child .gc-body { flex:none; padding:2rem 2.1rem; }
  .gcs-all:not(.filtered) > .gc:first-child b { font-size:2rem; }
  .gcs-all:not(.filtered) > .gc:first-child .gc-text { color:rgba(255,255,255,.88); max-width:38rem; font-size:1.08rem; }
  .gcs-all:not(.filtered) > .gc:first-child :is(.gc-tags, .gc-go) { color:#fff; }
}
#all-guides { padding-top:clamp(1.5rem, 3vw, 2.25rem); }
#all-guides .g-checked { margin:2rem 0 0; }
.g-filter { display:flex; flex-wrap:wrap; gap:.55rem; margin:0 0 1.6rem; }
.g-filter[hidden] { display:none; }
.g-filter button { font:700 .9rem/1 var(--head); color:var(--fg); background:var(--bg); border:1.5px solid var(--line); border-radius:999px; padding:.8rem 1.15rem; min-height:44px; cursor:pointer; transition:background .15s, color .15s, border-color .15s; }
.g-filter button:hover { border-color:var(--fg); }
.g-filter button[aria-pressed="true"] { background:var(--red); border-color:var(--red); color:#fff; }

/* ── The road: learner, restricted, full ──────────────────────────────── */
.g-road-wrap { padding-top:clamp(3rem, 6vw, 5rem); }
.g-road { list-style:none; margin:1.75rem 0 0; padding:0; display:grid; grid-template-columns:minmax(0, 1fr); gap:1.1rem; position:relative; }
.g-road li { margin:0; position:relative; }
.g-road a { position:relative; display:flex; align-items:flex-end; min-height:15rem; color:#fff; text-decoration:none; border-radius:18px; overflow:hidden; isolation:isolate; }
.g-road picture, .g-road img { position:absolute; inset:0; width:100%; height:100%; z-index:-2; }
.g-road img { object-fit:cover; transition:transform .7s cubic-bezier(.2,.7,.2,1); }
.g-road a:hover img { transform:scale(1.05); }
.g-road a::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(36,31,30,.1) 20%, rgba(36,31,30,.86)); }
.g-road-n { position:absolute; left:1.2rem; top:1.2rem; width:2.5rem; height:2.5rem; border-radius:50%; display:grid; place-items:center; background:var(--red); color:#fff; font:800 1.1rem/1 var(--head); }
.g-road-t { display:block; padding:1.35rem 1.4rem 1.4rem; }
.g-road-t b { display:block; font:800 1.7rem/1.1 var(--head); letter-spacing:-.02em; }
.g-road-t > span { display:block; margin:.35rem 0 .8rem; color:rgba(255,255,255,.9); line-height:1.4; }
.g-road-t em { display:inline-flex; align-items:center; gap:.4rem; font:700 .9rem/1 var(--head); }
.g-road-t em .ic { width:18px; height:18px; stroke-width:2.2; }
@media (min-width: 48rem) {
  .g-road { grid-template-columns:repeat(3, minmax(0, 1fr)); gap:1.6rem; padding-top:2.6rem; }
  .g-road::before { content:""; position:absolute; left:0; right:0; top:.85rem; height:6px; border-radius:3px; background:repeating-linear-gradient(90deg, var(--red) 0 2.2rem, transparent 2.2rem 3.2rem); }
  .g-road a { min-height:22rem; }
  .g-road-n { top:1.2rem; }
}

/* ── Guide body ───────────────────────────────────────────────────────── */
.g-glance ul { display:grid; gap:.2rem 2rem; }
.g-fig { margin:2rem 0; }
.g-fig picture, .g-fig img { display:block; width:100%; }
.g-fig img { aspect-ratio:16/8; object-fit:cover; border-radius:18px; }
.g-fig figcaption { margin-top:.6rem; font-size:.95rem; color:var(--muted); }
.g-shift { margin:1.5rem 0 2rem; border-radius:18px; overflow:hidden; background:var(--warm); border:1px solid var(--line); color:var(--fg); }
.g-shift ul { list-style:none; margin:0 !important; padding:0 !important; }
.prose .g-shift li { margin:0; padding:1.15rem clamp(1.1rem, 4vw, 1.8rem) 1.2rem; border-top:1px solid var(--line); }
.g-shift-h { display:grid; grid-template-columns:1fr 1.75rem 1fr; gap:.75rem; margin:0; padding:1.1rem clamp(1.1rem, 4vw, 1.8rem) .9rem; font:700 .82rem/1.3 var(--head); }
.prose .g-shift-h { color:var(--muted); }
.g-shift-h span:last-child { grid-column:3; color:var(--fg); }
.g-shift .fhead { margin:0 0 .45rem; font-size:.95rem; letter-spacing:0; text-transform:none; font-weight:600; }
.prose .g-shift .fhead { color:var(--fg-2); }
.g-shift-v { display:grid; grid-template-columns:1fr 1.75rem 1fr; gap:.75rem; align-items:center; margin:0; font:800 clamp(1.35rem, 4.4vw, 2.1rem)/1.1 var(--head); letter-spacing:-.025em; }
.prose .g-shift-v { color:var(--fg); }
.g-shift-v .b { color:var(--muted); font-weight:600; }
.g-shift-v .ic { width:24px; height:24px; color:var(--red); stroke-width:2.2; }
/* Numbered steps as a track */
.prose > ol { list-style:none; counter-reset:s; padding:0; margin:1.4rem 0; }
.prose > ol > li { counter-increment:s; position:relative; margin:0; padding:.25rem 0 1.35rem 3.6rem; min-height:3.4rem; }
.prose > ol > li::before { content:counter(s); position:absolute; left:0; top:0; width:2.4rem; height:2.4rem; border-radius:50%; display:grid; place-items:center; background:var(--red); color:#fff; font:800 1rem/1 var(--head); }
.prose > ol > li:not(:last-child)::after { content:""; position:absolute; left:1.12rem; top:2.75rem; bottom:.35rem; width:3px; background:repeating-linear-gradient(180deg, var(--red) 0 .5rem, transparent .5rem .85rem); }
.g-table thead th { text-transform:none; letter-spacing:0; font-size:.95rem; }
.g-table-wrap { border-radius:16px; }
.toc a { border-radius:6px; }
.toc a.on { color:var(--fg); font-weight:700; }
.g-steer.has-pic { padding:0; }
.g-steer.has-pic::after { display:none; }
.g-steer-pic, .g-steer-pic img { display:block; width:100%; }
.g-steer-pic img { aspect-ratio:16/7; object-fit:cover; object-position:60% 40%; }
.g-steer-in { padding:clamp(1.6rem, 4vw, 2.4rem); }
.g-next { background:var(--warm); border-top:1px solid var(--line); padding:clamp(2.75rem, 6vw, 4.5rem) 0; }
.g-next h2 { margin-bottom:1.6rem; }
.g-rest { list-style:none; margin:2rem 0 0; padding:0; display:grid; gap:0 2rem; }
@media (min-width: 40rem) { .g-rest { grid-template-columns:repeat(2, 1fr); } }
.g-rest li { margin:0; border-top:1px solid var(--line); }
.g-rest a { display:flex; justify-content:space-between; align-items:center; gap:1rem; min-height:52px; padding:.5rem 0; color:var(--fg); text-decoration:none; font:700 1rem/1.3 var(--head); }
.g-rest a:hover { color:var(--accent); }
.g-rest .ic { width:20px; height:20px; color:var(--red); }

/* ── Tools ────────────────────────────────────────────────────────────── */
.gt { --t-line:rgba(36,31,30,.14); --t-ink:#4b4442; --t-on:#fff; margin:2rem 0; padding:clamp(1.35rem, 4vw, 2.25rem); border-radius:22px; background:var(--warm); color:var(--fg); border:1px solid var(--line); }
.gt[hidden] { display:none; }
.gt .gt-h { font:800 clamp(1.35rem, 3vw, 1.8rem)/1.15 var(--head); letter-spacing:-.02em; margin:0 0 .4rem; color:var(--fg); }
.gt .gt-h::before { display:none; }
.gt p, .prose .gt p { color:var(--fg-2); margin:0 0 1rem; }
.gt p:last-child { margin-bottom:0; }
.gt p.gt-note, .prose .gt p.gt-note { font-size:.92rem; color:var(--muted); margin:1.35rem 0 0; }
.gt a { color:var(--accent); }
.gt fieldset { border:0; margin:0 0 1.1rem; padding:0; min-width:0; }
.gt legend, .gt .gt-l { display:block; padding:0; margin:0 0 .5rem; font:600 .92rem/1.3 var(--head); color:var(--fg-2); }
.gt-seg { display:flex; flex-wrap:wrap; gap:.3rem; padding:.3rem; border-radius:14px; background:var(--t-line); }
.gt .gt-seg label, .gt label { margin:0; }
.gt label.gt-l { margin:0 0 .5rem; }
.gt label.gt-tick { margin:0 0 1rem; }
.gt-check label.gt-tick { margin:0; }
.gt-seg label { flex:1 1 auto; position:relative; cursor:pointer; }
.gt-seg input { position:absolute; inset:0; opacity:0; margin:0; width:100%; height:100%; cursor:pointer; }
.gt-seg span { display:grid; place-items:center; min-height:44px; padding:.5rem .9rem; border-radius:11px; font:700 .95rem/1.2 var(--head); text-align:center; transition:background .15s, color .15s; }
.gt-seg input:checked + span { background:var(--t-ink); color:var(--t-on); }
.gt-seg input:focus-visible + span { outline:3px solid var(--accent); outline-offset:2px; }
.gt-seg label:hover input:not(:checked) + span { background:var(--t-line); }
.gt-tick { display:flex; gap:.8rem; align-items:center; min-height:44px; margin:0 0 1rem; cursor:pointer; font:600 1rem/1.35 var(--head); }
.gt-tick input { width:1.4rem; height:1.4rem; accent-color:var(--red); flex:none; margin:0; }
.gt .gt-big, .prose .gt .gt-big { color:var(--fg); margin:0 0 .6rem; }
.gt-big { font:800 clamp(2.6rem, 8vw, 4.4rem)/1 var(--head); letter-spacing:-.04em; font-variant-numeric:tabular-nums; }
.gt-big small { font-size:.42em; letter-spacing:-.01em; font-weight:700; }
.gt input[type=date] { font:600 1.05rem/1 var(--head); color:#141414; background:#fff; border:1px solid var(--line); border-radius:12px; padding:.8rem 1rem; min-height:50px; width:100%; max-width:17rem; box-sizing:border-box; }
.gt input[type=range] { width:100%; height:44px; margin:0; background:transparent; -webkit-appearance:none; appearance:none; cursor:pointer; }
.gt input[type=range]::-webkit-slider-runnable-track { height:8px; border-radius:4px; background:var(--t-line); }
.gt input[type=range]::-moz-range-track { height:8px; border-radius:4px; background:var(--t-line); }
.gt input[type=range]::-webkit-slider-thumb { -webkit-appearance:none; width:30px; height:30px; margin-top:-11px; border-radius:50%; background:var(--red); border:4px solid var(--bg); box-shadow:0 1px 5px rgba(0,0,0,.35); }
.gt input[type=range]::-moz-range-thumb { width:22px; height:22px; border-radius:50%; background:var(--red); border:4px solid var(--bg); box-shadow:0 1px 5px rgba(0,0,0,.35); }
.gt button:focus-visible, .gt input:focus-visible, .gt a:focus-visible { outline-color:var(--accent); }

/* time */
.gt-band { background:var(--warm); border-bottom:1px solid var(--line); }
.gt-band:not(:has(.gt:not([hidden]))) { display:none; }
.gt-band .gt { margin:0; padding:clamp(2.5rem, 6vw, 4.5rem) 0; border-radius:0; background:transparent; border:0; }
.gt-band .gt-h { font-size:clamp(1.8rem, 4vw, 2.9rem); }
.gt-cols { display:grid; gap:1.75rem; margin-top:1.5rem; }
@media (min-width: 60rem) { .gt-band .gt-cols { grid-template-columns:minmax(0, 24rem) minmax(0, 1fr); gap:4.5rem; align-items:center; } }
.gt-bars { display:grid; gap:1.1rem; margin:1.5rem 0 0; }
.gt-bar-l { display:flex; justify-content:space-between; gap:1rem; font:700 1rem/1.3 var(--head); margin-bottom:.45rem; }
.gt-bar { height:1.15rem; border-radius:6px; background:var(--t-line); overflow:hidden; }
.gt-bar i { display:block; height:100%; border-radius:6px; background:var(--red); width:0; transition:width .6s cubic-bezier(.2,.8,.2,1); }
.gt-bar.alt i { background:var(--t-ink); }
.gt p.gt-save, .prose .gt p.gt-save { margin:0 0 .6rem; font:700 1rem/1.35 var(--head); color:var(--fg); }

/* dates */
.gt-out { margin-top:1.25rem; padding-top:1.25rem; border-top:1px solid var(--t-line); }
.gt-when { list-style:none; margin:0 0 1rem !important; padding:0 !important; display:grid; gap:.9rem; }
.gt .gt-when li, .prose .gt-when li { margin:0; }
.gt-when b { display:block; font:800 clamp(1.25rem, 3.4vw, 1.6rem)/1.2 var(--head); letter-spacing:-.02em; color:var(--fg); }
.gt-when span { color:var(--fg-2); }

/* hours */
.gt-dots { display:grid; grid-template-columns:repeat(20, 1fr); gap:clamp(3px, .8vw, 7px); margin:1.25rem 0; }
.gt-dots i { aspect-ratio:1; border-radius:4px; background:var(--t-line); transition:background .25s; }
.gt-dots i.w0 { background:var(--red); } .gt-dots i.w1 { background:var(--t-ink); }

/* clock */
.gt-dial { display:grid; gap:1.5rem; align-items:center; margin-top:1.2rem; }
@media (min-width: 40rem) { .gt-dial { grid-template-columns:15rem 1fr; gap:2.25rem; } }
.gt-dial > svg { width:100%; max-width:15rem; margin:0 auto; display:block; }
.gt-dial text { fill:var(--fg); font-family:var(--head); font-weight:700; }
.gt-v { display:flex; gap:.75rem; align-items:flex-start; font:800 1.3rem/1.25 var(--head); letter-spacing:-.015em; color:var(--fg); margin:0 0 .5rem !important; }
.prose .gt .gt-v { color:var(--fg); }

/* quiz */
.gt-q { margin:1.35rem 0 0; }
.gt-q .q { font:800 clamp(1.3rem, 3.6vw, 1.75rem)/1.2 var(--head); letter-spacing:-.02em; color:var(--fg); min-height:2.4em; margin:0 0 1.1rem; }
.prose .gt-q .q { color:var(--fg); }
.gt-btns { display:flex; flex-wrap:wrap; gap:.7rem; }
.gt-btns button, .gt-b { font:700 1rem/1 var(--head); border-radius:999px; border:2px solid var(--fg); background:transparent; color:var(--fg); padding:.95rem 1.6rem; min-height:50px; cursor:pointer; transition:background .15s, border-color .15s; }
.gt-btns button:hover, .gt-b:hover { border-color:var(--fg); background:var(--warm-2); }
.gt-b.solid { background:var(--red); border-color:var(--red); color:#fff; }
.gt-b.solid:hover { background:var(--red-d); border-color:var(--red-d); }
.gt-a { margin:1.1rem 0 0; }
.gt-a strong { color:var(--fg); font-family:var(--head); }
.gt-steps { display:flex; gap:.4rem; margin:1.1rem 0 0; }
.gt-steps i { flex:1; height:5px; border-radius:3px; background:var(--t-line); }
.gt-steps i.y { background:var(--ok); } .gt-steps i.n { background:var(--red); } .gt-steps i.c { background:var(--fg); }

/* check list */
.gt-check ul { list-style:none; margin:1.1rem 0 0 !important; padding:0 !important; display:grid; gap:0; }
.gt-check li, .prose .gt-check li { margin:0; border-top:1px solid var(--t-line); }
.gt-check .gt-tick { margin:0; padding:.7rem 0; font-weight:500; font-family:var(--body); font-size:1.08rem; }
.gt-check .gt-tick input:checked + span { color:var(--muted); text-decoration:line-through; }
.gt-check .gt-bar { margin-top:1rem; }

/* hazard */
.gt-hazard { padding:0; overflow:hidden; }
.gt-hazard picture { display:block; }
.gt-hazard img { display:block; width:100%; height:auto; }
.gt-stage { position:relative; }
.gt-in { padding:clamp(1.35rem, 4vw, 2rem); }
.gt-spot { position:absolute; width:13%; aspect-ratio:1; min-width:36px; transform:translate(-50%, -50%); border:0; background:transparent; border-radius:50%; cursor:crosshair; padding:0; }
.gt-spot.on { border:3px solid #fff; background:rgba(212,43,34,.22); box-shadow:0 0 0 3px var(--red); cursor:default; animation:gtpop .35s cubic-bezier(.2,1.4,.4,1); }
.gt-spot.on::after { content:attr(data-n); position:absolute; right:-.35rem; top:-.35rem; width:1.7rem; height:1.7rem; border-radius:50%; display:grid; place-items:center; background:var(--red); color:#fff; font:800 .9rem/1 var(--head); }
@keyframes gtpop { from { transform:translate(-50%, -50%) scale(.6); opacity:0; } }
.gt-found { list-style:none; margin:1rem 0 0 !important; padding:0 !important; display:grid; gap:.75rem; }
.gt .gt-found li, .prose .gt-found li { margin:0; padding-left:2.4rem; position:relative; color:var(--fg-2); line-height:1.5; }
.gt-found li::before { content:attr(data-n); position:absolute; left:0; top:.05rem; width:1.65rem; height:1.65rem; border-radius:50%; display:grid; place-items:center; background:var(--red); color:#fff; font:800 .85rem/1 var(--head); }
.gt-found b { color:var(--fg); font-family:var(--head); }

/* ── Motion ───────────────────────────────────────────────────────────── */
.js .rv { opacity:0; transform:translateY(18px); transition:opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity:1; transform:none; } .gt-spot.on { animation:none; } .gc a:hover, .gc a:hover img, .g-road a:hover img { transform:none; } }
@media print { .gt, .g-progress, .gh-film { display:none !important; } .js .rv { opacity:1; transform:none; } }
@media (max-width: 40rem) { .gt-spot.on::after { width:1.15rem; height:1.15rem; font-size:.7rem; right:-.5rem; top:-.5rem; } }
@media (prefers-color-scheme: dark) { .gt { --t-line:rgba(255,255,255,.16); --t-ink:#f3f0f3; --t-on:#141414; } }
.gt-mark { flex:none; width:.8rem; height:.8rem; border-radius:50%; margin-top:.4rem; } .gt-mark.y { background:var(--ok); } .gt-mark.n { background:var(--red); }
.town-map svg { display:block; width:100%; max-width:20rem; height:auto; margin:1rem 0; }
/* hazard: the instruction sits on the picture until the first one is found */
.gt-tip { position:absolute; left:50%; bottom:1rem; transform:translateX(-50%); margin:0 !important; background:var(--lplate); color:#141414 !important; font:800 1.05rem/1 var(--head); padding:.8rem 1.2rem; border-radius:6px; pointer-events:none; white-space:nowrap; box-shadow:0 10px 26px -10px rgba(36,31,30,.6); }
@media (max-width: 40rem) { .gt-tip { font-size:.85rem; padding:.55rem .8rem; bottom:.6rem; } }
/* A phone held sideways */
@media (max-height: 32rem) and (orientation: landscape) { .g-progress { top:0; } }
@media (min-width: 40rem) and (max-width: 55.99rem) and (max-height: 32rem) {
  .gh { min-height:17rem; display:flex; align-items:center; } .gh-bg { position:absolute; inset:0 0 0 52%; height:auto; border-bottom-left-radius:34px; }
  .gh-in { width:100%; padding-bottom:1.5rem; } .gh-text { max-width:calc(52vw - 3.5rem); } .gh h1 { font-size:1.9rem; }
}
/* The way in to the practice test */
.g-theory { margin:2rem 0; padding:clamp(1.35rem, 4vw, 2rem); background:var(--warm); border:1px solid var(--line); border-radius:18px; }
.g-theory h3, .prose .g-theory h3 { margin:0 0 .4rem; font-size:1.35rem; } .g-theory p { margin:0 0 1rem; color:var(--fg-2); } .g-theory p:last-child { margin:0; }
.g-theory-band { padding-bottom:0; } .g-theory-band .g-theory { margin:0; }
@media (min-width: 48rem) { .g-theory-band .g-theory { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:.25rem 2rem; align-items:center; } .g-theory-band .g-theory h3, .g-theory-band .g-theory p:not(:last-child) { grid-column:1; margin:0; } .g-theory-band .g-theory p:last-child { grid-column:2; grid-row:1 / span 2; } }
.town-sites { list-style:none; margin:1.1rem 0; padding:0 !important; display:grid; gap:0 2rem; } @media (min-width: 40rem) { .town-sites { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
.prose .town-sites li, .town-sites li { margin:0; padding:.8rem 0; border-top:1px solid var(--line); } .town-sites li::before { display:none; } .town-sites b { display:block; font:800 1rem/1.35 var(--head); color:var(--fg); } .town-sites span { color:var(--fg-2); }
.g-steer-towns a { display:inline-block; padding:.3rem 0; }
