/* /blog/getstarted/ only. Every rule is under .gsg so nothing leaks to other pages.
   Colours, radius and button height follow the S22-C space pages (src/styles/page-space.css). */
.gsg {
  --ink: #252323;
  --sub: #655442;
  --line: #e8ddd0;
  --soft: #f5f1ed;
  --tint: #faf7f3;
  --accent: #a94026;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}
.gsg *, .gsg *::before, .gsg *::after { box-sizing: border-box; }
.gsg [id] { scroll-margin-top: 88px; }
.gsg p { margin: 0 0 1em; }
.gsg a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.gsg strong { font-weight: 700; }

/* headings: anchors stay below the 72px sticky header */
.gsg h2 {
  font-size: 21px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--ink);
  margin: 48px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  scroll-margin-top: 88px;
}
.gsg h3 { font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--ink); margin: 28px 0 8px; scroll-margin-top: 88px; }
.gsg h2 + h3 { margin-top: 8px; }
.gsg .gs-sec-lead { color: var(--sub); }

/* lists */
.gsg ul, .gsg ol { margin: 0 0 1em; padding-left: 1.4em; }
.gsg li { margin: 0 0 6px; }
.gsg ul > li { list-style: disc; }
.gsg ol > li { list-style: decimal; }

/* intro */
.gsg .gs-lead { font-size: 17px; margin-bottom: 4px; }
.gsg .gs-updated { color: var(--sub); font-size: 14px; margin-bottom: 24px; }

/* summary card */
.gsg .gs-summary { background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; margin: 0 0 20px; }
.gsg .gs-summary h2 { margin-top: 0; }
.gsg .gs-summary ol { list-style: none; padding: 0; margin: 0 0 16px; counter-reset: gs-sum; }
.gsg .gs-summary ol > li { list-style: none; counter-increment: gs-sum; position: relative; padding-left: 40px; margin: 0 0 14px; }
.gsg .gs-summary ol > li::before {
  content: counter(gs-sum);
  position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 700; line-height: 28px; text-align: center;
}
.gsg .gs-summary ol > li strong { display: block; }
.gsg .gs-summary .gs-small { font-size: 16px; color: var(--sub); margin: 12px 0 0; }

/* buttons: one filled button per screen, the rest outlined */
.gsg .gs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.gsg a.gs-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 10px;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
  font-size: 16px; font-weight: 500; text-decoration: none; line-height: 1.3; text-align: center;
}
.gsg a.gs-btn:hover, .gsg a.gs-btn:focus-visible { background: #8f351f; border-color: #8f351f; color: #fff; }
.gsg a.gs-btn--ghost { background: #fff; color: var(--accent); }
.gsg a.gs-btn--ghost:hover, .gsg a.gs-btn--ghost:focus-visible { background: var(--soft); color: var(--accent); border-color: var(--accent); }
.gsg a.gs-btn:focus-visible, .gsg .gs-toc a:focus-visible, .gsg summary:focus-visible { outline: 3px solid #1159af; outline-offset: 2px; }

/* jump bar */
.gsg .gs-toc { margin: 0 0 8px; }
.gsg .gs-toc p { font-size: 15px; color: var(--sub); margin: 0 0 8px; }
.gsg .gs-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gsg .gs-toc li { list-style: none; margin: 0; }
.gsg .gs-toc a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--ink); font-size: 16px; text-decoration: none;
}
.gsg .gs-toc a:hover { border-color: var(--accent); color: var(--accent); }
.gsg .gs-toc a.gs-toc-help { border-color: var(--accent); color: var(--accent); font-weight: 700; }

/* numbered steps */
.gsg ol.gs-steps { list-style: none; padding: 0; margin: 0 0 1em; counter-reset: gs-step; }
.gsg ol.gs-steps > li { list-style: none; counter-increment: gs-step; position: relative; padding: 0 0 20px 48px; margin: 0; }
.gsg ol.gs-steps > li::before {
  content: counter(gs-step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent); background: #fff;
  font-weight: 700; line-height: 28px; text-align: center;
}
.gsg ol.gs-steps > li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--line); }
.gsg ol.gs-steps > li:last-child::after { display: none; }
.gsg .gs-step-title { display: block; font-size: 17px; font-weight: 700; margin: 2px 0 4px; }

/* checklists (before you go / before you leave) */
.gsg .gs-checklist { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 6px; margin: 0 0 20px; background: #fff; }
.gsg .gs-checklist-title { font-weight: 700; margin: 0 0 8px; }
.gsg ul.gs-check { list-style: none; padding: 0; margin: 0 0 8px; }
.gsg ul.gs-check > li { list-style: none; position: relative; padding-left: 32px; margin: 0 0 10px; }
.gsg ul.gs-check > li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 20px; height: 20px; border: 2px solid var(--accent); border-radius: 5px; background: #fff;
}

/* callouts: two kinds only */
.gsg .gs-callout { border-radius: 10px; padding: 14px 16px; margin: 0 0 20px; border-left: 4px solid; }
.gsg .gs-callout p:last-child { margin-bottom: 0; }
.gsg .gs-callout-label { display: block; font-weight: 700; margin-bottom: 2px; }
.gsg .gs-tip { background: var(--tint); border-color: #a99985; }
.gsg .gs-warn { background: #fdf1ec; border-color: var(--accent); }

/* photos */
.gsg figure { margin: 8px 0 20px; }
.gsg figure img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--soft); margin: 0; }
.gsg figcaption { font-size: 14px; color: var(--sub); margin-top: 6px; line-height: 1.6; }

/* trouble: native details, no JS */
.gsg .gs-help-cta { background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0 0 16px; }
.gsg .gs-help-cta p { margin: 0 0 4px; }
.gsg details.gs-qa { border-bottom: 1px solid var(--line); }
.gsg details.gs-qa:first-of-type { border-top: 1px solid var(--line); }
.gsg details.gs-qa > summary {
  list-style: none; cursor: pointer; position: relative;
  min-height: 48px; padding: 12px 40px 12px 0;
  font-weight: 700; line-height: 1.5;
}
.gsg details.gs-qa > summary::-webkit-details-marker { display: none; }
.gsg details.gs-qa > summary::after { content: "＋"; position: absolute; right: 8px; top: 12px; color: var(--accent); font-weight: 700; }
.gsg details.gs-qa[open] > summary::after { content: "－"; }
.gsg details.gs-qa > div { padding: 0 0 14px; }
.gsg details.gs-qa > div p:last-child { margin-bottom: 0; }

/* what's on site */
.gsg .gs-two { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 16px; }
.gsg .gs-box { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 6px; background: #fff; }
.gsg .gs-box h3 { margin-top: 0; }

/* branch cards */
.gsg .gs-branches { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 16px; }
.gsg .gs-branch { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 12px; background: #fff; }
.gsg .gs-branch h3 { margin: 0; font-size: 18px; }
.gsg .gs-branch h3 a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.gsg .gs-branch h3 a:hover { color: var(--accent); text-decoration: underline; }
.gsg .gs-branch-city { display: inline-block; font-size: 13px; color: var(--sub); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; margin: 0 0 6px; }
.gsg .gs-branch p { margin: 0 0 4px; font-size: 16px; line-height: 1.7; }
.gsg .gs-branch .gs-branch-mrt { color: var(--sub); }
.gsg .gs-branch details > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--accent); font-size: 16px; font-weight: 500; }
.gsg .gs-branch details p { color: var(--ink); }

/* end */
.gsg .gs-end { background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; margin: 32px 0 0; }
.gsg .gs-end h2 { margin-top: 0; }

/* photo slots: <object> shows the photo once the file exists in photos/, otherwise the dashed placeholder.
   Draft only: before going live, slots with a photo become <img> and empty slots are removed. */
.gsg figure.gs-slot { margin: 8px 0 20px; }
.gsg .gs-slot object { display: block; width: 100%; height: auto; border-radius: 10px; }
.gsg .gs-slot--portrait { max-width: 360px; }
.gsg .gs-ph {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-height: 160px; padding: 16px; border: 2px dashed #b88a00; border-radius: 10px;
  background: #fffbea; color: var(--ink); font-size: 15px; line-height: 1.6;
}
.gsg .gs-ph strong { color: #8a5a00; }

/* branch card: lock instructions line (shown only when the decision maker supplies it) */
.gsg .gs-branch-lock { font-weight: 500; }

/* booking guide: fit / not-a-fit side by side, stacked on phones */
.gsg .gs-fit { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 16px; }
.gsg .gs-fit > div { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 6px; background: #fff; }
.gsg .gs-fit h3 { margin-top: 0; }
.gsg .gs-fit .gs-fit-no { background: var(--tint); }
@media (min-width: 768px) { .gsg .gs-fit { grid-template-columns: 1fr 1fr; } }

/* booking guide: screenshots of the booking site, shown at phone width */
.gsg figure.gs-shot { max-width: 360px; margin: 8px 0 20px; }
.gsg figure.gs-shot img { border: 1px solid var(--line); background: #fff; }
.gsg figure.gs-shot.gs-slot object { border: 1px solid var(--line); }

/* draft only: unverified facts are marked like this and must be gone before going live */
.gsg .gs-tbd { background: #fff3c4; border-bottom: 2px dashed #b88a00; padding: 0 2px; }

@media (max-width: 600px) {
  .gsg h2 { font-size: 20px; margin-top: 40px; }
  .gsg a.gs-btn { width: 100%; }
}
@media (min-width: 768px) {
  .gsg .gs-two, .gsg .gs-branches { grid-template-columns: 1fr 1fr; }
  .gsg .gs-summary { padding: 24px 28px; }
}
