/* ==========================================================================
   Service page design: Sidebar
   Reads like a good product page. On wide screens the words sit in one comfortable
   column on the left, and a panel on the right keeps the photo, the credentials,
   "What we can help with" and the one "Contact us" button in view while reading.
   On phones and tablets the panel follows the intro, photo first.
   Every rule is scoped to body.design-sidebar, so nothing else on the site changes.
   ========================================================================== */

body.design-sidebar {
  /* the gap under the header on wide screens, the same on load and while reading. At 1080p even the
     fullest card (eight things it helps with, and a credential) ends 79px above the slim footer, and a
     project page's compact "More of our work" fits under its panel: see .sb-more */
  --sb-under: 41px;
  --sb-top: calc(var(--header-h) + var(--sb-under));   /* where the panel stays, just under the header */
  --sb-main: 38rem;                               /* the reading column: about 65 to 70 characters a line */
  --sb-gap: clamp(40px, 5vw, 80px);               /* at least this much between the column and the panel */
  --sb-text: 1.125rem;                            /* body text: 18px on phones, 19px from tablets up */
  --sb-lead: 1.1875rem;
  --sb-space: clamp(48px, 6vw, 72px);             /* between the parts of the page */
  /* how far the safety tint reaches past the column: up to 28px, always leaving 12px of the page margin */
  --sb-bleed: min(28px, max(var(--gutter), (100vw - var(--container)) / 2) - 12px);
}
@media (min-width: 640px) {
  body.design-sidebar { --sb-text: 1.1875rem; --sb-lead: 1.25rem; }
}

/* ---------- Layout: phones first, one column in reading order ---------- */
body.design-sidebar .sb { padding-block: clamp(28px, 4vw, 56px) clamp(64px, 9vw, 112px); }
body.design-sidebar .sb-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
body.design-sidebar .sb-layout > * { min-width: 0; }
body.design-sidebar .sb-head,
body.design-sidebar .sb-side,
body.design-sidebar .sb-body { max-width: var(--sb-main); }
body.design-sidebar .sb-side { margin-top: 28px; }

/* Wide screens: the words on the left; the panel spans the whole page height on the right,
   so it can stay in view all the way down. As the window narrows the panel gives way first
   (440px down to 300px), so the words keep their full measure. */
@media (min-width: 1000px) {
  body.design-sidebar .sb-layout {
    grid-template-columns: minmax(0, 1fr) clamp(300px, 100% - var(--sb-main) - var(--sb-gap), 440px);
    grid-template-rows: auto 1fr;
    grid-template-areas: "head side" "body side";
    column-gap: var(--sb-gap);
  }
  body.design-sidebar .sb-head { grid-area: head; }
  body.design-sidebar .sb-body { grid-area: body; }
  body.design-sidebar .sb-side { grid-area: side; max-width: none; margin-top: 0; }
  /* The page opens with the heading and the panel the same gap under the header that the panel keeps
     while reading, so the panel never shifts as the page starts to scroll. The space before the footer
     sits inside the grid, so the panel stays put until the footer comes into view and only then moves up. */
  body.design-sidebar .sb { padding-block: var(--sb-under) 0; }
  body.design-sidebar .sb-body { padding-bottom: clamp(64px, 9vw, 112px); }
  /* the heading's capitals start level with the top of the photo (or of the card, with no photo yet) */
  body.design-sidebar .sb-title { text-box: trim-start cap alphabetic; }
  @supports not (text-box: trim-start cap alphabetic) {
    /* the same where text-box is missing: the capitals of the heading font (1-2-1 Landscapes: Crimson Pro 700,
       ascent 0.896, descent 0.215, capitals 0.578) start 0.28em below the top of its 1.04 line (worked out
       17 Nov 2026); measure again if the heading font changes */
    body.design-sidebar .sb-title { margin-top: -0.28em; }
  }
}

/* ---------- Heading and intro ---------- */
body.design-sidebar .sb-title {
  font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
body.design-sidebar .sb-intro {
  margin-top: 18px;
  font-size: var(--sb-lead);
  line-height: 1.65;
}
/* the whole intro is one lead, at one size */
body.design-sidebar .sb-intro + .sb-intro { margin-top: 12px; }

/* ---------- The panel: photo, then a card with the credentials, the list and the button ---------- */
/* 4:3 on phones and tablets, the shape of the site's photos, so the owner's own photo is shown whole
   (beside the text on wide screens it is 3:2, so the whole panel fits on screen: see below) */
body.design-sidebar .sb-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--mist);
}
body.design-sidebar .sb-card {
  margin-top: 12px;
  padding: clamp(20px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
body.design-sidebar .sb-layout--no-photo .sb-card { margin-top: 0; }
/* 1-2-1 Landscapes: the logo's split red bars along the top of the card, on white as on the logo */
body.design-sidebar .sb-card:has(.sb-creds, .sb-includes, .sb-card__lead) { position: relative; overflow: hidden; padding-top: calc(clamp(20px, 2vw, 24px) + 6px); }
body.design-sidebar .sb-card:has(.sb-creds, .sb-includes, .sb-card__lead)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--bars); }
/* nothing to show but the button (no credentials, no list, no lead line): just the button, no card around it */
body.design-sidebar .sb-card:not(:has(.sb-creds, .sb-includes, .sb-card__lead)) { padding: 0; border: 0; background: none; box-shadow: none; }

body.design-sidebar .sb-creds {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
}
body.design-sidebar .sb-creds li { display: flex; align-items: center; gap: 10px; }
body.design-sidebar .sb-creds .icon { width: 22px; height: 22px; color: var(--accent-lo); }
body.design-sidebar .sb-creds a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
body.design-sidebar .sb-creds a:hover { color: var(--accent-lo); }
body.design-sidebar .sb-creds .sb-creds__out { width: 15px; height: 15px; color: var(--muted); }

body.design-sidebar .sb-includes__title {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  scroll-margin-top: 24px;
}
body.design-sidebar .sb-checks { display: grid; gap: 4px; margin-top: 12px; }
body.design-sidebar .sb-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.0625rem;
  line-height: 1.6;
}
body.design-sidebar .sb-checks .icon {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  padding: 4px;
  border-radius: 2px;
  background: var(--accent-tint);
  color: var(--accent-lo);
}
/* project pages: the photos fill the panel's photo box, so every display mode has the same shape */
body.design-sidebar .sb-photo--display { overflow: hidden; }
body.design-sidebar .sb-photo--display > .pd { height: 100%; aspect-ratio: auto; }
body.design-sidebar .sb--project .job-meta { margin-top: 16px; }
/* the card under the photos: a line, then the one button */
body.design-sidebar .sb-card__lead { margin-bottom: 14px; font-size: 1.0625rem; font-weight: 700; line-height: 1.4; }
/* the story's parts (what was done, how it was left), closer together than a service page's */
body.design-sidebar .sb-story .sb-story__part { margin-top: 36px; }
body.design-sidebar .sb-story__part .sb-h2 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); }
body.design-sidebar .sb-story__part > p { font-size: var(--sb-text); line-height: 1.7; }
/* the job's photos in words (1-2-1 Landscapes, 25 Nov 2026): a numbered list, each number in the logo's red */
body.design-sidebar .sb-steps__list { counter-reset: step; display: grid; gap: 10px; }
body.design-sidebar .sb-steps__list li {
  counter-increment: step; position: relative; padding-left: 2.4rem;
  font-size: var(--sb-text); line-height: 1.6;
}
body.design-sidebar .sb-steps__list li::before {
  content: counter(step); position: absolute; left: 0; top: 0.15em;
  display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 2px;
  background: var(--accent-tint); color: var(--accent-lo); font-size: 0.875rem; font-weight: 700; line-height: 1;
}
/* project pages: a job's heading names the town too, so it is set a size smaller than a service's */
body.design-sidebar .sb--project .sb-title { font-size: clamp(2rem, 1.35rem + 2vw, 3rem); }
body.design-sidebar .sb--project .sb-story > :first-child { margin-top: 0; }
@media (max-width: 999.98px) {
  body.design-sidebar .sb--project .sb-story { margin-top: 32px; }
}
@media (min-width: 1000px) {
  body.design-sidebar .sb--project .sb-story { margin-top: 18px; }
}
body.design-sidebar .sb-card__lead + .sb-cta { margin-top: 0; }
body.design-sidebar .sb-cta { width: 100%; margin-top: 24px; }
body.design-sidebar .sb-cta:first-child,
body.design-sidebar .sb-creds + .sb-cta { margin-top: 0; }

/* Wide screens: the button moves up under the credentials, the way a product page puts its
   main button under the price, so it is on the first screen and stays in view while reading.
   The list follows. Phones keep the list first, then the button. Only the look changes: the
   list has nothing to Tab to, so the Tab order (credential, then Contact us) is the same.
   The card is set a little tighter here and the photo a little wider (3:2), so that on a 1080p screen
   (1920 x 950 inside the browser) the whole panel fits between the header and the footer, with the
   same space above and below it, and never has to move, not even when the footer comes into view. */
@media (min-width: 1000px) {
  body.design-sidebar .sb-card { display: flex; flex-direction: column; padding: 20px; }
  body.design-sidebar .sb-card:has(.sb-creds, .sb-includes, .sb-card__lead) { padding-top: 26px; }
  body.design-sidebar .sb-cta { order: 1; margin-top: 0; }
  body.design-sidebar .sb-includes { order: 2; margin-top: 18px; }
  body.design-sidebar .sb-photo { aspect-ratio: 3 / 2; }
  body.design-sidebar .sb-creds { padding-bottom: 12px; margin-bottom: 16px; font-size: 1rem; line-height: 1.5; }
  body.design-sidebar .sb-includes__title { font-size: 1.125rem; }
  body.design-sidebar .sb-checks { gap: 2px; margin-top: 10px; }
  body.design-sidebar .sb-checks li { font-size: 1rem; line-height: 1.45; }
  body.design-sidebar .sb-checks .icon { width: 18px; height: 18px; margin-top: 3px; padding: 3px; }
}

/* Wide screens: the panel stays in view under the header while the words scroll past.
   Without design.js the window's height decides: a shorter window keeps just the card in view
   and lets the photo scroll away. The button sits near the top of the card, so it stays in view. */
@media (min-width: 1000px) {
  body.design-sidebar .sb-panel,
  body.design-sidebar .sb-card { top: var(--sb-top); }
  body.design-sidebar .sb-panel { display: contents; }
  body.design-sidebar .sb-card { position: sticky; }
}
@media (min-width: 1000px) and (min-height: 860px) {
  body.design-sidebar .sb-panel { display: block; position: sticky; }
  body.design-sidebar .sb-card { position: static; }
}
/* design.js measures the real panel and says what fits the window ("all", or just the "card") */
@media (min-width: 1000px) {
  body.design-sidebar .sb-side[data-fit="all"] .sb-panel { display: block; position: sticky; }
  body.design-sidebar .sb-side[data-fit="all"] .sb-card { position: static; }
  body.design-sidebar .sb-side[data-fit="card"] .sb-panel { display: contents; }
  body.design-sidebar .sb-side[data-fit="card"] .sb-card { position: sticky; }
}

/* Tablets: one column, so the photo can be wide and the list can sit in two columns */
@media (min-width: 640px) and (max-width: 999.98px) {
  body.design-sidebar .sb-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

/* ---------- The owner's sections ---------- */
body.design-sidebar .sb-section { margin-top: var(--sb-space); }
body.design-sidebar .sb-h2 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  line-height: 1.15;
  scroll-margin-top: 24px;
}
/* the accent rule under each heading: 1-2-1 Landscapes' split red bars, sitting on the heading's line */
body.design-sidebar .sb-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 6px;
  background: var(--bars);
}
body.design-sidebar .sb-section > p { font-size: var(--sb-text); line-height: 1.7; }
body.design-sidebar .sb-section > p + p { margin-top: 1em; }
body.design-sidebar .sb-points { display: grid; gap: 10px; margin-top: 18px; }
body.design-sidebar .sb-h2 + .sb-points { margin-top: 0; }
body.design-sidebar .sb-points li {
  position: relative;
  padding-left: 26px;
  font-size: var(--sb-text);
  line-height: 1.6;
}
body.design-sidebar .sb-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.8em - 4px);
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--red);
}

/* Safety advice (gas, carbon monoxide): set apart on the accent tint, and kept together.
   Phones: a padded box. Wider: the tint reaches out past the column instead, so the words
   inside keep the same measure and the same left edge as the rest of the page. */
body.design-sidebar .sb-section--safety {
  position: relative;
  isolation: isolate;
  padding: 20px;
}
body.design-sidebar .sb-section--safety::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: var(--r-lg);
  background: var(--accent-tint);
}
body.design-sidebar .sb-section--safety .sb-h2 { border-bottom-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
body.design-sidebar .sb-section--safety .sb-points li::before { background: var(--accent-lo); }
body.design-sidebar .sb-section--safety + .sb-section--safety { margin-top: 16px; }
@media (min-width: 640px) {
  body.design-sidebar .sb-section--safety { padding: 0; margin-top: calc(var(--sb-space) + var(--sb-bleed)); }
  body.design-sidebar .sb-section--safety::before { inset: calc(-1 * var(--sb-bleed)); }
  body.design-sidebar .sb-section--safety .sb-h2 { scroll-margin-top: calc(24px + var(--sb-bleed)); }
  body.design-sidebar .sb-section--safety + .sb-section { margin-top: calc(var(--sb-space) + var(--sb-bleed)); }
  body.design-sidebar .sb-section--safety + .sb-section--safety { margin-top: calc(2 * var(--sb-bleed) + 16px); }
}

/* ---------- Project pages: more of the work, the full width of the page once the story ends ----------
   The arrows sit in the heading row and the cards are compact (about four in view), so that on a 1080p
   screen (1920 x 950 inside the browser), scrolled to the very bottom, the section and the footer fit
   under the panel and the panel never leaves its place under the header. The space after the story sits
   inside the grid, so the panel stays put until the story ends. Only the cards' shape changes: the
   service is left off their line (town and month), since this page names it at the top. */
body.design-sidebar .sb-more { margin-top: var(--sb-space); }
@media (min-width: 1000px) {
  body.design-sidebar .sb:has(> .sb-more) .sb-body { padding-bottom: 40px; }
  /* 1-2-1 Landscapes (24 Nov 2026, Adam: the van "clashes with text on some pages"): the footer's van (56px tall)
     drives just above the footer, so the cards' names and towns end 58px above it, clear of the van (was 24px). The
     gap above the section drops from 32px to 16px to pay for it, so at 1920 x 950, scrolled to the very bottom, the
     panel still stops just under the header (measured: 2px clear) */
  body.design-sidebar .sb-more { margin-top: 16px; padding-bottom: 58px; }
}
/* the heading row carries the heading's rule and accent, under the arrows too */
body.design-sidebar .sb-rule {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
body.design-sidebar .sb-rule::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 6px;
  background: var(--bars);
}
body.design-sidebar .sb-rule > .sb-h2 {
  padding: 0;
  margin: 0;
  border: 0;
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
}
body.design-sidebar .sb-rule > .sb-h2::after { content: none; }
/* compact cards: a 16:10 photo and a tight caption; the track keeps just enough room for a focus ring */
body.design-sidebar .sb-more .carousel { --per-view: 4; }
body.design-sidebar .sb-more .carousel__track { padding-bottom: 10px; margin-bottom: -10px; }
body.design-sidebar .sb-more .project__media { aspect-ratio: 16 / 10; border-radius: var(--r); }
body.design-sidebar .sb-more .project__body { padding: 8px 2px 0; }
body.design-sidebar .sb-more .project h3 { font-size: 1.0625rem; line-height: 1.3; }
body.design-sidebar .sb-more .project__meta { margin-top: 2px; font-size: 0.875rem; line-height: 1.4; }
body.design-sidebar .sb-more .project__sample { left: 10px; top: 10px; }
@media (max-width: 1180px) { body.design-sidebar .sb-more .carousel { --per-view: 3; } }
@media (max-width: 760px) { body.design-sidebar .sb-more .carousel { --per-view: 2; } }
@media (max-width: 520px) { body.design-sidebar .sb-more .carousel { --per-view: 1.4; } }

/* ---------- Service pages: the other services, at the foot of the left column ----------
   The same carousel as "More of our work", two cards in view, one step at a time. */
body.design-sidebar .sb-others .carousel { --per-view: 2; }
body.design-sidebar .sb-others .service-card__media { aspect-ratio: 16 / 10; }
body.design-sidebar .sb-others .service-card__body { padding: 14px 16px 16px; }
body.design-sidebar .sb-others .service-card h3 { font-size: 1.125rem; line-height: 1.3; }
body.design-sidebar .sb-others .service-card__body p { margin-top: 6px; font-size: 0.9375rem; line-height: 1.5; }
body.design-sidebar .sb-others .service-card__placeholder .icon { width: 58px; height: 58px; padding: 15px; }
@media (max-width: 520px) { body.design-sidebar .sb-others .carousel { --per-view: 1.2; } }

/* ---------- Recent jobs as carousels (1-2-1 Landscapes, 25 Nov 2026, Adam: "'recent jobs' on the services page need
   adjusting - on desktop they could fit in a carousel under the 'contact us' card, and they need minimising on mobile,
   there's just way too many on some sites ... the best one should be selected first") ----------
   Wide screens at least 860px tall (a 1080p screen): a compact carousel under the card, one job at a time, its
   arrows in its heading row; the card and the jobs stay in view together (.sb-stick, design.js "card"), or scroll with
   the page in the rare case even they don't fit ("none"). Shorter laptop screens (1366 x 768), tablets and phones: the
   same jobs as a compact carousel after the questions (two in view, one and a bit on phones), in place of the long
   list, so on a laptop the card alone still stays in view with its Contact us button, as before. */
body.design-sidebar .sb-jobs-side { display: none; }
body.design-sidebar .sb-jobs .carousel { --per-view: 2; }
body.design-sidebar .sb-jobs .carousel__track { padding-bottom: 10px; margin-bottom: -10px; }
body.design-sidebar .sb-jobs .project__media,
body.design-sidebar .sb-jobs-side .project__media { aspect-ratio: 16 / 10; border-radius: var(--r); }
body.design-sidebar .sb-jobs .project__body,
body.design-sidebar .sb-jobs-side .project__body { padding: 8px 2px 0; }
body.design-sidebar .sb-jobs .project h3,
body.design-sidebar .sb-jobs-side .project h3 { font-size: 1.0625rem; line-height: 1.3; }
body.design-sidebar .sb-jobs .project__meta,
body.design-sidebar .sb-jobs-side .project__meta { margin-top: 2px; font-size: 0.875rem; line-height: 1.4; }
body.design-sidebar .sb-jobs .project__text,
body.design-sidebar .sb-jobs-side .project__text { display: none; }
@media (max-width: 520px) { body.design-sidebar .sb-jobs .carousel { --per-view: 1.2; } }
@media (min-width: 1000px) and (min-height: 860px) {
  body.design-sidebar .sb-jobs { display: none; }
  body.design-sidebar .sb-jobs-side {
    display: block; margin-top: 12px; padding: 14px 16px 16px;
    border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--shadow-sm);
  }
  body.design-sidebar .sb-jobs-side .carousel { --per-view: 1; --gap: 12px; }
  body.design-sidebar .sb-jobs-side .carousel__head { min-height: 36px; margin-bottom: 10px; }
  body.design-sidebar .sb-jobs-side__title { font-size: 1.125rem; line-height: 1.25; letter-spacing: -0.015em; }
  body.design-sidebar .sb-jobs-side .carousel__progress { width: 56px; }
  body.design-sidebar .sb-jobs-side .carousel__track { padding-bottom: 6px; margin-bottom: -6px; }
}
@media (min-width: 1000px) {
  /* the card and the jobs stay together: the wrapper is what stays in view, never the card on its own (without the
     jobs beside it, on a shorter screen, the wrapper is just the card) */
  body.design-sidebar .sb-stick > .sb-card { position: static; }
  body.design-sidebar .sb-side[data-fit] .sb-stick > .sb-card { position: static; }
  body.design-sidebar .sb-side[data-fit="card"] .sb-stick { position: sticky; top: var(--sb-top); }
  body.design-sidebar .sb-side[data-fit="none"] .sb-panel { display: block; position: static; }
  body.design-sidebar .sb-side[data-fit="none"] .sb-card,
  body.design-sidebar .sb-side[data-fit="none"] .sb-stick { position: static; }
}

/* ---------- Recent jobs: one per row, the photo beside its caption (on phones, above it) ---------- */
body.design-sidebar .sb-joblist { display: grid; gap: 24px; }
body.design-sidebar .sb-joblist .project {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
}
body.design-sidebar .sb-joblist .project__media { border-radius: var(--r); }
body.design-sidebar .sb-joblist .project__body { padding: 0; }
body.design-sidebar .sb-joblist .project h3 { font-size: 1.25rem; line-height: 1.25; }
body.design-sidebar .sb-joblist .project__meta { font-size: 1.0625rem; }
body.design-sidebar .sb-joblist .project__text { margin-top: 6px; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 639.98px) {
  body.design-sidebar .sb-joblist .project { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.design-sidebar .sb-joblist .project h3 { font-size: 1.125rem; }
  body.design-sidebar .sb-joblist .project__zoom { right: 8px; bottom: 8px; padding: 0.35rem 0.45rem; }
}

/* ---------- Questions: a neat accordion, the answers always in the page ---------- */
/* a little room under the heading, so a question's focus ring never covers its rule */
body.design-sidebar .sb-faqs .sb-h2 { margin-bottom: 8px; }
body.design-sidebar .sb-faq { border-bottom: 1px solid var(--line); }
body.design-sidebar .sb-faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--sb-text);
  font-weight: 700;
  line-height: 1.6;
  transition: color 0.2s;
}
body.design-sidebar .sb-faq summary::-webkit-details-marker { display: none; }
body.design-sidebar .sb-faq summary:hover { color: var(--accent-lo); }
/* plus when closed, minus when open */
body.design-sidebar .sb-faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  margin-top: -1px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background:
    linear-gradient(var(--accent-lo), var(--accent-lo)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent-lo), var(--accent-lo)) center / 2px 12px no-repeat;
  transition: background-color 0.2s, border-color 0.2s;
}
body.design-sidebar .sb-faq[open] summary::after {
  border-color: transparent;
  background:
    linear-gradient(var(--accent-lo), var(--accent-lo)) center / 12px 2px no-repeat,
    var(--accent-tint);
}
body.design-sidebar .sb-faq p { padding-bottom: 22px; font-size: var(--sb-text); line-height: 1.7; }

@media (prefers-reduced-motion: reduce) {
  body.design-sidebar .sb-faq summary,
  body.design-sidebar .sb-faq summary::after { transition: none; }
}
