/* Aura Guides: the /guides hub (templates/frontpage/guides.html) and each guide (guide.html).
   Everything is scoped to body.guide-page and uses gd- class names, so frontpage.css, Bootstrap and the feature
   pages can't reach in and these rules can't reach out. Approved look: white page, Montserrat, plain text and
   lists, no chips or boxed cards (Stephen, 2026-11-13 and 2026-11-22). */
.guide-page {
  --gd-ink: #1f2421;
  --gd-muted: #5d635f;
  --gd-line: #e4e1da;
  --gd-gold: #d4b56f;
  --gd-gold-wash: #f6edd6;
  --gd-dark: #1e1e1e;
  background: #fff;
  color: var(--gd-ink);
  font-size: 18px;
  line-height: 1.7;
}
/* Same fix as home.css: frontpage.css sets overflow-x:hidden on html and body, which stops position:sticky (the
   table of contents). clip still stops sideways scrolling without making a scroll container. */
html:has(> body.guide-page), body.guide-page { overflow-x: clip; }
html:has(> body.guide-page) { scroll-behavior: smooth; scroll-padding-top: 90px; }
.guide-page main a { color: inherit; }
.guide-page main img { max-width: 100%; height: auto; display: block; }
.guide-page .gd-more { font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--gd-gold); padding-bottom: 2px; }

/* ---------- Hub ---------- */
.gd-hub { max-width: 1240px; margin: 0 auto; padding: 0 24px 120px; }
.gd-hub h1 { font-weight: 500; font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -.035em; margin: 72px 0 0; }
.gd-hub-lede { font-size: 20px; color: var(--gd-muted); margin: 22px 0 0; max-width: 620px; }
.gd-featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; margin-top: 64px; text-decoration: none; }
.gd-featured img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gd-featured h2 { font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.02em; margin: 14px 0 18px; }
.gd-featured p { color: var(--gd-muted); font-size: 17px; margin: 0 0 28px; }
.gd-cat { font-size: 15px; font-weight: 600; }
.gd-more-h { font-weight: 600; font-size: 28px; letter-spacing: -.015em; margin: 88px 0 28px; padding-top: 56px; border-top: 1px solid var(--gd-line); }
.gd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.gd-card { display: block; text-decoration: none; }
.gd-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gd-card .gd-cat { display: block; margin-top: 18px; font-size: 14px; color: var(--gd-muted); font-weight: 500; }
.gd-card h3 { font-weight: 600; font-size: 20px; line-height: 1.3; margin: 8px 0 14px; }

/* ---------- Guide: top ---------- */
.gd-top { max-width: 1240px; margin: 0 auto; padding: 28px 24px 0; text-align: center; }
.gd-back { float: left; font-size: 15px; text-decoration: none; }
.gd-kicker { clear: both; padding-top: 56px; font-size: 22px; font-weight: 600; }
.gd-top h1 { font-weight: 500; font-size: clamp(40px, 6.6vw, 88px); line-height: 1.08; letter-spacing: -.025em; margin: 28px auto 0; max-width: 1060px; text-wrap: balance; }
.gd-photo { max-width: 1240px; margin: 56px auto 0; padding: 0 24px; }
.gd-photo img { width: 100%; height: auto; aspect-ratio: 2.35 / 1; object-fit: cover; }

/* ---------- Guide: body ---------- */
.gd-wrap { max-width: 1240px; margin: 0 auto; padding: 72px 24px 24px; display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 88px; justify-content: center; }
.gd-toc { position: sticky; top: 90px; align-self: start; font-size: 15px; line-height: 1.45; }
.gd-toc h2 { font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.gd-toc a { display: block; padding: 12px 0; border-bottom: 1px solid var(--gd-line); text-decoration: none; color: var(--gd-muted); }
.gd-toc a.is-current { color: var(--gd-ink); font-weight: 600; }
.gd-toc-m { display: none; }
.gd-article p { margin: 0 0 22px; }
.gd-intro p:first-child { font-size: 21px; line-height: 1.6; }
.gd-article h2 { font-weight: 600; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--gd-line); }
.gd-article h3 { font-weight: 600; font-size: 22px; line-height: 1.3; margin: 36px 0 12px; }
.gd-article section { padding-top: 64px; }
.gd-article ul, .gd-article ol { margin: 0 0 24px; padding-left: 22px; }
.gd-article li { margin: 0 0 12px; }
.gd-article li b { font-weight: 600; }
.gd-article figure { margin: 28px 0; }
.gd-article figure img { width: 100%; height: auto; border: 1px solid var(--gd-line); background: #fff; }

/* Tables: the rule sheet, the rewards cost table, the switching plan */
.gd-table-wrap { overflow-x: auto; margin: 14px 0 22px; }
.gd-table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
.gd-table th { text-align: left; font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--gd-ink); white-space: nowrap; }
.gd-table td { padding: 12px; border-bottom: 1px solid var(--gd-line); vertical-align: top; }
.gd-table.sheet td:first-child { font-weight: 600; width: 42%; }
.gd-table.cost td:last-child { font-weight: 600; }
.gd-table.plan td:first-child { font-weight: 600; width: 24%; white-space: nowrap; }
.gd-note { font-size: 14px; color: var(--gd-muted); }
.gd-print { font: inherit; font-size: 15px; font-weight: 600; background: none; border: 0; padding: 0; border-bottom: 1.5px solid var(--gd-gold); cursor: pointer; color: var(--gd-ink); }

/* The turn guide's morning: one row per technician */
.gd-board { border-top: 1px solid var(--gd-ink); margin: 14px 0; }
.gd-brow { display: grid; grid-template-columns: 84px 1fr 96px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gd-line); }
.gd-bname, .gd-btotal { font-weight: 600; }
.gd-btotal { text-align: right; }
.gd-tiles { display: flex; gap: 8px; }
.gd-tile { flex: 1; max-width: 150px; padding: 9px 12px; border-radius: 4px; font-size: 13px; line-height: 1.35; }
.gd-tile b { display: block; font-size: 14px; font-weight: 600; color: var(--gd-ink); }
.gd-tile.full { background: var(--gd-dark); color: rgba(255, 255, 255, .65); }
.gd-tile.full b { color: #fff; }
.gd-tile.half { background: var(--gd-gold-wash); border: 1px solid var(--gd-gold); color: #7a6230; }
.gd-tile.none { background: #fff; border: 1px solid #d6d2c8; color: var(--gd-muted); }
.gd-tile.brk { background: repeating-linear-gradient(135deg, #efede8 0 6px, #e6e3dc 6px 12px); color: var(--gd-muted); }

/* Legends */
.gd-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--gd-muted); margin: 0 0 30px; }
.gd-sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 8px; }
.gd-sw.full { background: var(--gd-dark); }
.gd-sw.half { background: var(--gd-gold-wash); border: 1px solid var(--gd-gold); }
.gd-sw.none { background: #fff; border: 1px solid #d6d2c8; }
.gd-sw.ns { background: #fff; border: 1.5px dashed #b9b4a8; }
.gd-sw.bk { background: #fff; border: 1.5px solid var(--gd-ink); }
.gd-sw.s-man, .gd-sw.s-gel, .gd-sw.s-ped, .gd-sw.s-full { border-left-width: 4px; border-left-style: solid; }

/* The walk-ins guide's morning: time runs down, one column per technician, 10:00 to 1:15 (195 minutes) */
.gd-day { border-top: 1px solid var(--gd-ink); margin: 14px 0; }
.gd-dhead, .gd-dbody { display: grid; grid-template-columns: 52px repeat(4, minmax(0, 1fr)); gap: 0 8px; }
.gd-dhead { padding: 12px 0 10px; border-bottom: 1px solid var(--gd-line); font-weight: 600; }
.gd-times, .gd-track { position: relative; height: 620px; }
.gd-times { font-size: 12px; color: var(--gd-muted); }
.gd-times span { position: absolute; left: 0; transform: translateY(-50%); }
.gd-times span:first-child { transform: none; }
.gd-track { background: repeating-linear-gradient(180deg, transparent 0 calc(15.385% - 1px), var(--gd-line) calc(15.385% - 1px) 15.385%); }
.gd-blk { position: absolute; left: 0; right: 0; padding: 7px 9px; border-radius: 4px; border-left: 4px solid; font-size: 12px; line-height: 1.3; overflow: hidden; color: var(--gd-muted); }
.gd-blk b { display: block; font-size: 13px; font-weight: 600; color: var(--gd-ink); }
.gd-blk .gd-tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--gd-ink); margin-top: 2px; }
.gd-blk.booked { box-shadow: inset 0 0 0 1.5px var(--gd-ink); }
.gd-blk.ns { background: #fff; border: 1.5px dashed #b9b4a8; }
.gd-blk.ns b { color: var(--gd-muted); }
/* Colour = service */
.s-man { background: #fbe3ec; border-left-color: #d6517d; }
.s-gel { background: #ebe5fb; border-left-color: #7b61c9; }
.s-ped { background: #dcf2e8; border-left-color: #2f9e75; }
.s-full { background: #fde8d2; border-left-color: #e07b28; }

/* The no-shows guide's booking, start to finish */
.gd-life { list-style: none; margin: 14px 0 26px; padding: 0 0 0 22px; border-left: 2px solid var(--gd-line); }
.gd-article .gd-life li { position: relative; margin: 0 0 14px; padding: 12px 16px; border-radius: 4px; border-left: 4px solid; font-size: 16px; line-height: 1.5; }
.gd-life li::before { content: ""; position: absolute; left: -31px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid currentColor; }
.gd-life b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.gd-life .book { background: #fde8d2; border-left-color: #e07b28; color: #9a4f12; }
.gd-life .text { background: #ebe5fb; border-left-color: #7b61c9; color: #4b3a8f; }
.gd-life .warn { background: #fbe3ec; border-left-color: #d6517d; color: #9b2c54; }
.gd-life .hold { background: #fff; border: 1.5px dashed #b9b4a8; border-left: 4px solid #b9b4a8; color: var(--gd-muted); }
.gd-life .free { background: #dcf2e8; border-left-color: #2f9e75; color: #1d6b4f; }

/* FAQ */
.gd-faq details { border-bottom: 1px solid var(--gd-line); }
.gd-faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 19px; position: relative; }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; }
.gd-faq details[open] summary::after { content: "\2013"; }
.gd-article .gd-faq details p { margin: -6px 0 22px; color: var(--gd-muted); }
.gd-article .gd-help { margin-top: 28px; font-size: 16px; color: var(--gd-muted); }

/* End of page */
.gd-cta { background: var(--gd-dark); color: #fff; text-align: center; padding: 96px 24px; margin-top: 96px; }
.gd-cta h2 { font-weight: 500; font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.02em; margin: 0 0 32px; }
.guide-page .gd-cta a { display: inline-block; background: #fff; color: var(--gd-ink); border-radius: 6px; padding: 14px 26px; text-decoration: none; font-weight: 600; font-size: 16px; }
.gd-related { max-width: 1240px; margin: 0 auto; padding: 88px 24px 96px; }
.gd-related h2 { font-weight: 600; font-size: 34px; margin: 0 0 32px; letter-spacing: -.015em; }
.gd-related .gd-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }

@media (max-width: 960px) {
  .gd-featured { grid-template-columns: 1fr; gap: 28px; }
  .gd-grid, .gd-related .gd-grid { grid-template-columns: 1fr 1fr; }
  .gd-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; }
  .gd-toc { display: none; }
  .gd-toc-m { display: block; border-top: 1px solid var(--gd-line); border-bottom: 1px solid var(--gd-line); margin-bottom: 40px; }
  .gd-toc-m summary { list-style: none; padding: 14px 0; font-weight: 600; display: flex; justify-content: space-between; cursor: pointer; }
  .gd-toc-m summary::-webkit-details-marker { display: none; }
  .gd-toc-m summary::after { content: "\2304"; }
  .gd-toc-m a { display: block; padding: 8px 0; text-decoration: none; color: var(--gd-muted); font-size: 16px; }
}
@media (max-width: 640px) {
  .guide-page { font-size: 17px; }
  .gd-hub { padding: 0 16px 72px; }
  .gd-hub h1 { margin-top: 44px; }
  .gd-hub-lede { font-size: 18px; }
  .gd-featured { margin-top: 40px; }
  .gd-featured img { margin: 0 -16px; width: calc(100% + 32px); max-width: none; }
  .gd-more-h { margin-top: 56px; padding-top: 40px; }
  .gd-grid, .gd-related .gd-grid { grid-template-columns: 1fr; gap: 40px; }
  .gd-top { padding: 20px 16px 0; }
  .gd-kicker { padding-top: 36px; font-size: 18px; }
  .gd-top h1 { margin-top: 18px; }
  .gd-photo { margin-top: 36px; padding: 0; }
  .gd-photo img { aspect-ratio: 4 / 3; }
  .gd-wrap { padding: 36px 16px 16px; }
  .gd-intro p:first-child { font-size: 19px; }
  .gd-cta { padding: 72px 16px; }
  .gd-related { padding: 64px 16px 72px; }
  .gd-brow { grid-template-columns: 1fr auto; gap: 10px 12px; }
  .gd-tiles { grid-column: 1 / -1; grid-row: 2; }
  .gd-tile { max-width: none; padding: 8px 10px; }
  .gd-dhead, .gd-dbody { grid-template-columns: 40px repeat(4, minmax(0, 1fr)); gap: 0 4px; }
  .gd-times, .gd-track { height: 720px; }
  .gd-blk { padding: 5px 6px; font-size: 11px; }
  .gd-blk b { font-size: 12px; }
  .gd-table.cost { font-size: 13px; }
  .gd-table.cost th, .gd-table.cost td { padding: 8px 6px; white-space: normal; }
}
/* The rule sheet prints on its own (scripts/frontpage/guide.js adds print-sheet for the one print). */
@media print {
  html.print-sheet body * { visibility: hidden; }
  html.print-sheet .gd-printable, html.print-sheet .gd-printable * { visibility: visible; }
  html.print-sheet .gd-printable { position: absolute; left: 0; top: 0; width: 100%; }
}
