/* Thomas Super Store — compatibility guide, redesign 27 September 2026.
   Loaded only by compatibility.html (the DCC guide keeps using compatibility.css).
   Page styling only: no product, price or stock data. */

.cg-page {
  --cg-ink: #13233a;
  --cg-ink-2: #3a4c62;
  --cg-muted: #5c6d81;
  --cg-line: #e3e9f0;
  --cg-blue: #0057b8;
  --cg-sky: #e8f3ff;
  --cg-red: #e20b2c;
  --cg-yellow: #ffcd00;
  --cg-cream: #fbf6ec;
  --cg-green: #12844c;
  --cg-green-bg: #e3f5ea;
  --cg-amber: #a95400;
  --cg-amber-2: #f0a000;
  --cg-amber-bg: #fff2d9;
  --cg-no: #c8102e;
  --cg-no-bg: #fde8eb;
  --cg-grey-bg: #eef2f6;
  --cg-shadow: 0 1px 2px rgba(15, 35, 60, .06), 0 10px 28px rgba(15, 35, 60, .08);
  --cg-shadow-lg: 0 2px 6px rgba(15, 35, 60, .06), 0 26px 60px rgba(15, 35, 60, .14);
  color: var(--cg-ink);
  background: #fff;
}

/* ---- Header / footer parity with the shared guide styles ---- */
.cg-page .header { z-index: 80; }
.cg-page .nav a.active { color: var(--thomas-red); }
.compat-logo-image {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--cg-blue);
  flex: 0 0 auto;
  box-shadow: 0 2px 8px rgba(0, 87, 184, .2);
}
.compat-logo-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.compat-logo-image--footer { border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.compat-logo-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; color: var(--cg-ink); font-size: 1.1rem; line-height: 1; }
.compat-logo-copy > span { color: var(--cg-blue); }
.compat-logo-copy small { flex-basis: 100%; margin-top: 4px; color: #999; font-size: .52rem; font-weight: 600; letter-spacing: 2.3px; text-transform: uppercase; }
.footer .compat-logo-copy { color: #fff; }
.footer .compat-logo-copy > span { color: var(--cg-yellow); }
.footer .compat-logo-copy small { color: rgba(255, 255, 255, .42); }

/* ---- Foundations ---- */
.cg-main { overflow: hidden; }
.cg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cg-ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cg-page main a:focus-visible,
.cg-page main button:focus-visible,
.cg-page main summary:focus-visible,
.cg-page main select:focus-visible {
  outline: 3px solid var(--cg-yellow);
  outline-offset: 3px;
}

.cg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.cg-btn:hover { transform: translateY(-2px); }
.cg-btn--primary { color: #fff; background: var(--cg-red); box-shadow: 0 10px 24px rgba(226, 11, 44, .28); }
.cg-btn--primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(226, 11, 44, .36); }
.cg-btn--ghost { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .34); }
.cg-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.cg-btn--yellow { color: var(--cg-ink); background: var(--cg-yellow); box-shadow: 0 10px 24px rgba(255, 205, 0, .25); }
.cg-btn--yellow:hover { color: var(--cg-ink); }
.cg-btn--outline { color: var(--cg-blue); background: #fff; border-color: currentColor; }
.cg-btn--small { min-height: 46px; padding: 0 20px; font-size: .95rem; }

.cg-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--cg-red);
  font-weight: 850;
  text-decoration: none;
}
.cg-link .cg-ic { transition: transform .2s ease; }
.cg-link:hover { color: var(--cg-red); }
.cg-link:hover .cg-ic { transform: translateX(4px); }
.cg-link--muted { color: var(--cg-muted); font-size: .92rem; font-weight: 700; }
.cg-link--muted:hover { color: var(--cg-ink); }

.cg-section { position: relative; padding: clamp(56px, 6.6vw, 96px) 0; scroll-margin-top: 16px; }
.cg-head { max-width: 780px; margin: 0 0 clamp(30px, 4vw, 52px); }
.cg-head--center { margin-right: auto; margin-left: auto; text-align: center; }
.cg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cg-red);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cg-kicker::before,
.cg-head--center .cg-kicker::after { content: ''; width: 22px; height: 3px; border-radius: 2px; background: currentColor; }
.cg-kicker--yellow { color: var(--cg-yellow); }
.cg-head h2 {
  margin: 12px 0 0;
  color: var(--cg-ink);
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.cg-head p { margin: 16px 0 0; color: var(--cg-muted); font-size: clamp(1rem, 1.2vw, 1.13rem); line-height: 1.65; }
.cg-head--light h2 { color: #fff; }
.cg-head--light p { color: rgba(255, 255, 255, .78); }

/* Rounded "sheet" sections give the page a calm, layered rhythm while scrolling. */
.cg-sheet { margin-right: clamp(0px, 1.4vw, 22px); margin-left: clamp(0px, 1.4vw, 22px); border-radius: clamp(28px, 3vw, 48px); overflow: hidden; }

/* ---- Hero ---- */
.cg-hero {
  position: relative;
  padding: clamp(40px, 5vw, 64px) 0 124px;
  color: #fff;
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(88, 196, 255, .3), transparent 62%),
    radial-gradient(700px 480px at 0% 100%, rgba(255, 205, 0, .15), transparent 62%),
    linear-gradient(125deg, #041a33 0%, #073b72 52%, #0a6fc0 100%);
  isolation: isolate;
}
.cg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .3;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.cg-hero-rail {
  position: absolute;
  right: 0;
  bottom: 64px;
  left: 0;
  z-index: -1;
  height: 26px;
  opacity: .32;
  background:
    linear-gradient(#dfe7f0, #dfe7f0) 0 5px / 100% 3px no-repeat,
    linear-gradient(#dfe7f0, #dfe7f0) 0 18px / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, #b07b45 0 12px, transparent 12px 38px) 0 0 / 100% 26px no-repeat;
}
.cg-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cg-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; color: rgba(255, 255, 255, .66); font-size: .86rem; }
.cg-breadcrumb a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.cg-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.cg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cg-eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cg-yellow); box-shadow: 0 0 0 4px rgba(255, 205, 0, .22); }
.cg-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.cg-hero h1 em { color: var(--cg-yellow); font-style: normal; }
.cg-hero-lead { max-width: 34rem; margin: 22px 0 0; color: rgba(255, 255, 255, .84); font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; }
.cg-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cg-hero-sources { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.cg-hero-sources li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
}
.cg-hero-sources strong { font-size: .92rem; }
.cg-hero-sources small { color: rgba(255, 255, 255, .64); font-size: .76rem; }

.cg-hero-visual { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1.12; margin-left: auto; }
.cg-hero-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 10, 30, .45);
}
.cg-hero-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cg-hero-card--set { top: 3%; right: 0; width: 74%; aspect-ratio: 1; padding: 3.5%; rotate: 2deg; animation: cg-float 8s ease-in-out infinite; }
.cg-hero-card--engine { bottom: 5%; left: 0; width: 50%; aspect-ratio: 800 / 415; padding: 2.2%; rotate: -4deg; animation: cg-float 7s ease-in-out -2.5s infinite; }
.cg-hero-note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  gap: 10px;
  max-width: 44%;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  color: #fff;
  background: rgba(8, 30, 60, .92);
  box-shadow: 0 18px 40px rgba(0, 10, 30, .4);
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.4;
}
.cg-hero-note .cg-ic { margin-top: 1px; color: var(--cg-yellow); stroke-width: 2.8; }
.cg-hero-badge {
  position: absolute;
  top: 1%;
  right: 5%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  border-radius: 14px;
  color: var(--cg-ink);
  background: var(--cg-yellow);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .25);
  line-height: 1.05;
  rotate: 6deg;
}
.cg-hero-badge span { font-size: .66rem; font-weight: 900; letter-spacing: .1em; }
.cg-hero-badge strong { font-size: 1.15rem; font-weight: 900; }
.cg-hero-magnet {
  position: absolute;
  top: 4%;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: #0b2344;
  box-shadow: 0 18px 40px rgba(0, 10, 30, .4);
  rotate: -3deg;
}
.cg-pole { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--cg-red); font-weight: 900; }
.cg-pole--s { background: #2f7fe0; }
.cg-hero-magnet > i { width: 24px; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--cg-yellow) 0 6px, transparent 6px 10px); }
.cg-hero-magnet small { max-width: 8.5rem; margin-left: 8px; color: rgba(255, 255, 255, .88); font-size: .78rem; font-weight: 700; line-height: 1.25; }

/* ---- Jump navigation ---- */
.cg-jump { position: relative; z-index: 3; margin-top: -40px; }
.cg-jump-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cg-jump a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 18px 8px 9px;
  border: 1px solid var(--cg-line);
  border-radius: 999px;
  color: var(--cg-ink);
  background: #fff;
  box-shadow: var(--cg-shadow);
  font-size: .93rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cg-jump a:hover { color: var(--cg-ink); transform: translateY(-2px); box-shadow: var(--cg-shadow-lg); }
.cg-jump-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--cg-blue); background: var(--cg-sky); }
.cg-jump-ic .cg-ic { width: 18px; height: 18px; }

/* ---- Checker ---- */
.cg-section--checker { padding-top: clamp(72px, 8vw, 104px); background: linear-gradient(180deg, #fff 0%, #f5f8fc 100%); }
.cg-checker {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--cg-line);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--cg-shadow-lg);
}
.cg-checker-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; }
.cg-slot { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 16px; border-radius: 24px; background: var(--cg-sky); cursor: pointer; }
.cg-slot--add { background: #fff5d4; }
.cg-slot-label { display: flex; align-items: center; gap: 10px; color: var(--cg-ink-2); font-size: .82rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cg-slot-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--cg-blue); font-size: .85rem; letter-spacing: 0; }
.cg-slot--add .cg-slot-num { color: var(--cg-ink); background: var(--cg-yellow); }
.cg-slot-photo { position: relative; display: grid; place-items: center; height: clamp(150px, 15vw, 190px); overflow: hidden; border-radius: 18px; background: #fff; }
.cg-slot-photo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 14px; object-fit: contain; animation: cg-fade .35s ease; }
.cg-slot-photo img[hidden] { display: none; }
.cg-slot-fallback { display: none; width: 64px; height: 64px; color: #8a5a2b; }
.cg-slot:not(.has-photo) .cg-slot-photo { background: linear-gradient(135deg, #f7ead8, #ecd2ad); }
.cg-slot:not(.has-photo) .cg-slot-fallback { display: block; }
.cg-select { position: relative; display: block; }
.cg-select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--cg-blue);
  border-bottom: 2.5px solid var(--cg-blue);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.cg-select select {
  width: 100%;
  min-height: 56px;
  padding: 0 46px 0 16px;
  border: 2px solid transparent;
  border-radius: 16px;
  color: var(--cg-ink);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 35, 60, .08);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-overflow: ellipsis;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.cg-select select:hover { border-color: rgba(0, 87, 184, .35); }
.cg-select select:focus-visible { border-color: var(--cg-blue); outline: none; box-shadow: 0 0 0 4px rgba(0, 87, 184, .2); }
.cg-checker-swap {
  display: grid;
  place-items: center;
  align-self: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--cg-ink);
  box-shadow: var(--cg-shadow);
  cursor: pointer;
  transition: transform .35s ease, background-color .2s ease;
}
.cg-checker-swap:hover { background: var(--cg-blue); transform: rotate(180deg); }
.cg-checker-swap .cg-ic { width: 24px; height: 24px; }

.cg-result { margin-top: 16px; overflow: hidden; border: 1px solid var(--cg-line); border-radius: 24px; }
.cg-verdict { display: flex; align-items: center; gap: 18px; padding: 22px 26px; color: #fff; background: linear-gradient(120deg, #a65000, #df8600); transition: background .3s ease; }
.cg-verdict[data-state="yes"] { background: linear-gradient(120deg, #0d7440, #19a05e); }
.cg-verdict[data-state="no"] { background: linear-gradient(120deg, #ab0f28, #e2334e); }
.cg-verdict-icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.cg-verdict-icon .cg-ic { width: 30px; height: 30px; stroke-width: 2.6; }
.cg-verdict-copy small { display: block; opacity: .88; font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.cg-verdict-copy strong { display: block; margin-top: 2px; font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 850; line-height: 1.2; }
.cg-result-parts { display: grid; grid-template-columns: 1fr 1fr; }
.cg-part { display: flex; gap: 18px; padding: 24px 26px; background: #fff; --state: var(--cg-muted); --state-bg: var(--cg-grey-bg); }
.cg-part + .cg-part { border-left: 1px solid var(--cg-line); }
.cg-part[data-state="yes"] { --state: var(--cg-green); --state-bg: var(--cg-green-bg); }
.cg-part[data-state="partial"],
.cg-part[data-state="check"] { --state: var(--cg-amber); --state-bg: var(--cg-amber-bg); }
.cg-part[data-state="no"] { --state: var(--cg-no); --state-bg: var(--cg-no-bg); }
.cg-part-icon { position: relative; display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 18px; color: var(--state); background: var(--state-bg); }
.cg-part-icon > .cg-ic { width: 30px; height: 30px; }
.cg-part-state { position: absolute; right: -7px; bottom: -7px; display: grid; place-items: center; width: 28px; height: 28px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--state); }
.cg-part-state .cg-ic { width: 14px; height: 14px; stroke-width: 3.2; }
.cg-part small { color: var(--cg-muted); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cg-part strong { display: block; margin-top: 4px; color: var(--state); font-size: 1.24rem; font-weight: 850; line-height: 1.25; }
.cg-part p { margin: 6px 0 0; color: var(--cg-ink-2); font-size: .96rem; line-height: 1.55; }
.cg-result-note { display: flex; gap: 12px; margin: 0; padding: 18px 26px; border-top: 1px solid var(--cg-line); color: var(--cg-ink); background: #f6f9fd; font-size: 1.02rem; line-height: 1.6; }
.cg-result-note .cg-ic { margin-top: 3px; color: var(--cg-blue); }
.cg-result-disclaimer { max-width: 760px; margin: 14px auto 2px; color: var(--cg-muted); font-size: .84rem; line-height: 1.55; text-align: center; }

/* ---- 2026 change ---- */
.cg-section--2026 {
  color: #fff;
  background:
    radial-gradient(900px 600px at 92% 0%, rgba(90, 200, 255, .3), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(255, 205, 0, .12), transparent 62%),
    linear-gradient(150deg, #06305e 0%, #0057b8 70%, #0a6fd0 100%);
}
.cg-2026-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.cg-2026-photo { margin: 0; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 30px 70px rgba(0, 15, 40, .35); }
.cg-2026-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 720; object-fit: cover; }
.cg-2026-photo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 14px 18px; color: var(--cg-ink-2); font-size: .9rem; line-height: 1.45; }
.cg-2026-photo figcaption a { color: var(--cg-red); font-weight: 800; text-decoration: none; white-space: nowrap; }
.cg-answers h3 { margin: 0 0 16px; color: #fff; font-size: 1.4rem; font-weight: 850; }
.cg-answer-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cg-answer { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; background: rgba(255, 255, 255, .1); }
.cg-answer-icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%; color: #fff; background: #17a35d; }
.cg-answer[data-state="partial"] .cg-answer-icon { color: var(--cg-ink); background: var(--cg-yellow); }
.cg-answer[data-state="no"] .cg-answer-icon { background: var(--cg-red); }
.cg-answer-icon .cg-ic { width: 24px; height: 24px; stroke-width: 2.8; }
.cg-answer-copy { display: flex; flex-direction: column; gap: 3px; }
.cg-answer-q { color: rgba(255, 255, 255, .8); font-size: .98rem; line-height: 1.4; }
.cg-answer-a { color: #fff; font-size: 1.3rem; font-weight: 850; line-height: 1.2; }
.cg-magnets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.cg-magnet-demo { margin: 0; padding: 14px 14px 12px; border-radius: 20px; color: var(--cg-ink); background: #fff; }
.cg-magnet-demo svg { display: block; width: 100%; height: auto; overflow: visible; }
.cg-car--blue { fill: #2b7fdc; }
.cg-car--red { fill: #d8283f; }
.cg-car--grey { fill: #8e9aab; }
.cg-wheel { fill: #13233a; }
.cg-pole-n { fill: var(--cg-red); stroke: #fff; stroke-width: 2; }
.cg-pole-s { fill: #173d70; stroke: #fff; stroke-width: 2; }
.cg-magnet-demo text { fill: #fff; font: 900 12px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; }
.cg-hook { fill: none; stroke: #5f6c7d; stroke-width: 5; stroke-linecap: round; }
.cg-cross { fill: none; stroke: var(--cg-red); stroke-width: 4; stroke-linecap: round; }
.cg-magnet-demo[data-state="yes"] .cg-move { animation: cg-couple 3.8s ease-in-out infinite; }
.cg-magnet-demo figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin-top: 8px; font-size: .9rem; font-weight: 750; line-height: 1.3; }
.cg-magnet-demo figcaption b { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; color: var(--cg-green); background: var(--cg-green-bg); font-size: .8rem; white-space: nowrap; }
.cg-magnet-demo[data-state="no"] figcaption b { color: var(--cg-no); background: var(--cg-no-bg); }
.cg-magnet-demo figcaption b .cg-ic { width: 15px; height: 15px; stroke-width: 3; }
.cg-source-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cg-source-links a { padding: 11px 17px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .1); font-size: .92rem; font-weight: 750; text-decoration: none; transition: background-color .2s ease; }
.cg-source-links a:hover { color: #fff; background: rgba(255, 255, 255, .2); }

/* ---- Identify ---- */
.cg-section--identify { background: var(--cg-cream); }
.cg-finder-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 1080px; margin: 0 auto 20px; }
.cg-finder-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 10px 14px;
  border: 2px solid transparent;
  border-radius: 20px;
  color: var(--cg-ink);
  background: #fff;
  box-shadow: var(--cg-shadow);
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cg-finder-tabs button:hover { transform: translateY(-3px); }
.cg-finder-tabs button[aria-selected="true"] { border-color: var(--cg-blue); color: var(--cg-blue); box-shadow: 0 0 0 4px rgba(0, 87, 184, .14), var(--cg-shadow-lg); }
.cg-tab-photo { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: #fff; }
.cg-tab-photo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.cg-finder-panels { max-width: 1080px; margin: 0 auto; }
.cg-finder-panel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); overflow: hidden; border-radius: 28px; background: #fff; box-shadow: var(--cg-shadow-lg); }
.cg-finder-panel[hidden] { display: none; }
.cg-finder-panel.is-active { animation: cg-fade .35s ease; }
.cg-finder-photo { position: relative; min-height: 400px; padding: 0; border-right: 1px solid var(--cg-line); background: #fff; }
.cg-finder-photo img { position: absolute; top: 24px; left: 24px; width: calc(100% - 48px); height: calc(100% - 48px); border-radius: 16px; object-fit: contain; }
.cg-finder-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3.4vw, 44px); }
.cg-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; color: var(--cg-blue); background: var(--cg-sky); font-size: .8rem; font-weight: 900; letter-spacing: .04em; }
.cg-finder-copy h3 { margin: 14px 0 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 850; line-height: 1.15; }
.cg-finder-copy > p { margin: 12px 0 0; color: var(--cg-ink-2); font-size: 1.02rem; line-height: 1.65; }
.cg-clues { display: grid; gap: 10px; width: 100%; margin: 20px 0 0; padding: 0; list-style: none; }
.cg-clues li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #f4f7fb; font-size: .98rem; font-weight: 650; line-height: 1.5; }
.cg-clues .cg-ic { margin-top: 1px; color: var(--cg-green); stroke-width: 2.6; }

/* ---- Families ---- */
.cg-families { display: grid; gap: 14px; }
.cg-family {
  --tone: var(--cg-red);
  --tone-bg: #fdecef;
  overflow: hidden;
  border: 1px solid var(--cg-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--cg-shadow);
  transition: box-shadow .25s ease;
}
.cg-family:hover { box-shadow: var(--cg-shadow-lg); }
.cg-family[data-tone="blue"] { --tone: var(--cg-blue); --tone-bg: #e6f0fb; }
.cg-family[data-tone="teal"] { --tone: #0d8386; --tone-bg: #e1f4f4; }
.cg-family[data-tone="yellow"] { --tone: #b07800; --tone-bg: #fff3d2; }
.cg-family[data-tone="wood"] { --tone: #8a5a2b; --tone-bg: #f6ebdd; }
.cg-family > summary {
  position: relative;
  display: grid;
  grid-template-columns: auto 104px minmax(0, 1fr) auto;
  grid-template-areas: 'num thumb name toggle' 'num thumb chips toggle';
  align-items: center;
  gap: 8px 20px;
  padding: 16px 20px 16px 22px;
  list-style: none;
  cursor: pointer;
}
.cg-family > summary::-webkit-details-marker { display: none; }
.cg-family > summary::marker { content: ''; }
.cg-family > summary::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 6px; background: var(--tone); }
.cg-family-num { grid-area: num; min-width: 2.2ch; color: var(--tone); font-size: 2.3rem; font-weight: 900; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.cg-family-thumb { position: relative; grid-area: thumb; display: grid; place-items: center; width: 104px; height: 78px; overflow: hidden; border: 2px solid var(--tone-bg); border-radius: 14px; background: #fff; }
.cg-family-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.cg-family-name { grid-area: name; align-self: end; min-width: 0; }
.cg-family-name small { display: block; color: var(--tone); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cg-family-name h3 { margin: 4px 0 0; color: var(--cg-ink); font-size: clamp(1.08rem, 1.6vw, 1.32rem); font-weight: 850; line-height: 1.25; }
.cg-family-chips { grid-area: chips; align-self: start; display: flex; flex-wrap: wrap; gap: 8px; }
.cg-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; color: var(--cg-ink); background: var(--tone-bg); font-size: .84rem; font-weight: 750; white-space: nowrap; }
.cg-chip .cg-ic { width: 18px; height: 18px; color: var(--tone); }
.cg-family-toggle { grid-area: toggle; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--cg-ink); background: var(--cg-grey-bg); transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.cg-family-toggle .cg-ic { width: 20px; height: 20px; stroke-width: 2.4; }
.cg-family > summary:hover .cg-family-toggle { background: var(--tone-bg); }
.cg-family[open] .cg-family-toggle { color: #fff; background: var(--tone); transform: rotate(45deg); }
.cg-family > summary:focus-visible { outline-offset: -4px; }
.cg-family-body { padding: clamp(18px, 2.6vw, 30px); border-top: 1px solid var(--cg-line); background: linear-gradient(180deg, var(--tone-bg) 0%, #fff 70%); }
.cg-family[open] .cg-family-body { animation: cg-fade .35s ease; }
.compat-family-body.cg-family-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.cg-family-photo { padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--cg-shadow); }
.cg-family-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.cg-credit { display: inline-block; margin-top: 8px; color: var(--cg-muted); font-size: .82rem; text-decoration: none; }
.cg-credit:hover { color: var(--cg-ink); text-decoration: underline; }
.cg-family-copy > p { margin: 0; color: var(--cg-ink); font-size: 1.05rem; line-height: 1.65; }
.cg-facts { display: grid; gap: 10px; margin: 18px 0 0; }
.cg-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px 14px; border: 1px solid var(--cg-line); border-radius: 14px; background: #fff; }
.cg-facts dt { padding-top: 2px; color: var(--tone); font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.cg-facts dd { margin: 0; font-size: .97rem; line-height: 1.55; }
.cg-family-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.cg-legacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 230px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.cg-mini-card { padding: 14px 14px 18px; border-radius: 20px; background: #fff; box-shadow: var(--cg-shadow); }
.cg-mini-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: #f4f6f9; }
.cg-mini-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cg-mini-card h4 { margin: 14px 4px 0; font-size: 1.1rem; font-weight: 850; }
.cg-mini-card p { margin: 6px 4px 0; color: var(--cg-ink-2); font-size: .95rem; line-height: 1.55; }
.cg-adapter-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; border-radius: 20px; color: #fff; background: var(--cg-ink); text-align: center; }
.cg-adapter-card img { width: 140px; height: 140px; border-radius: 16px; background: #fff; object-fit: cover; }
.cg-adapter-card span { color: var(--cg-yellow); font-size: .76rem; font-weight: 900; letter-spacing: .12em; }
.cg-adapter-card strong { font-size: 1.15rem; line-height: 1.25; }
.cg-adapter-card .cg-credit { color: rgba(255, 255, 255, .62); }
.cg-adapter-card .cg-credit:hover { color: #fff; }
.cg-family-tip { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px 18px; border: 1.5px dashed var(--tone); border-radius: 18px; background: #fff; }
.cg-family-tip > .cg-ic { width: 28px; height: 28px; color: var(--tone); }
.cg-family-tip p { flex: 1; margin: 0; font-size: .98rem; line-height: 1.55; }

.cg-era-line { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr) 70px minmax(0, 1fr) 70px minmax(0, 1fr); gap: 8px; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.cg-era { padding: 12px 12px 16px; border-radius: 20px; background: #fff; box-shadow: var(--cg-shadow); text-align: center; }
.cg-era-photo { position: relative; display: grid; place-items: center; height: 130px; overflow: hidden; border-radius: 14px; background: #fff; }
.cg-era-photo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.cg-era-years { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 999px; color: #7a5300; background: var(--tone-bg); font-size: .82rem; font-weight: 900; }
.cg-era h4 { margin: 8px 0 0; font-size: 1.08rem; font-weight: 850; }
.cg-era p { margin: 6px 0 0; color: var(--cg-ink-2); font-size: .9rem; line-height: 1.5; }
.cg-era-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.cg-era-link > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--cg-green); }
.cg-era-link[data-state="partial"] > span { color: var(--cg-ink); background: var(--cg-yellow); }
.cg-era-link[data-state="no"] > span { background: var(--cg-red); }
.cg-era-link .cg-ic { width: 20px; height: 20px; stroke-width: 2.8; }
.cg-era-link small { color: var(--cg-ink-2); font-size: .76rem; font-weight: 800; line-height: 1.25; }
.cg-image-credit { margin: 14px 0 0; color: var(--cg-muted); font-size: .85rem; }
.cg-image-credit a { color: inherit; }

.cg-wood-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cg-wood-grid article { display: flex; flex-direction: column; padding: 20px; border-radius: 20px; background: #fff; box-shadow: var(--cg-shadow); }
.cg-wood-years { color: var(--tone); font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.cg-wood-grid h4 { margin: 6px 0 0; font-size: 1.1rem; font-weight: 850; }
.cg-wood-grid p { flex: 1; margin: 8px 0 14px; color: var(--cg-ink-2); font-size: .95rem; line-height: 1.55; }
.cg-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; color: var(--cg-green); background: var(--cg-green-bg); font-size: .86rem; font-weight: 800; }
.cg-pill[data-state="partial"] { color: var(--cg-amber); background: var(--cg-amber-bg); }
.cg-pill .cg-ic { width: 16px; height: 16px; stroke-width: 2.8; }
.cg-safety { display: flex; gap: 16px; margin-top: 16px; padding: 18px 20px; border: 1px solid #f1cd86; border-radius: 20px; background: #fff5e1; }
.cg-safety-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: var(--cg-amber-2); }
.cg-safety-icon .cg-ic { width: 26px; height: 26px; }
.cg-safety strong { font-size: 1.1rem; }
.cg-safety p { margin: 4px 0 8px; font-size: .97rem; line-height: 1.55; }
.cg-safety a { color: var(--cg-red); font-weight: 800; text-decoration: none; }

/* ---- Model railway ---- */
.cg-section--model {
  color: #fff;
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(0, 120, 255, .26), transparent 62%),
    linear-gradient(160deg, #081a33 0%, #0b2547 60%, #0d2f5a 100%);
}
.cg-gauges { display: grid; gap: 14px; margin: 0 0 22px; padding: clamp(18px, 2.6vw, 30px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 28px; background: rgba(255, 255, 255, .05); }
.cg-gauge { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; align-items: center; }
.cg-gauge-label b { display: block; color: var(--cg-yellow); font-size: 2rem; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.cg-gauge-label span { display: block; margin-top: 6px; color: rgba(255, 255, 255, .76); font-size: .95rem; font-weight: 700; }
.cg-gauge-track {
  --k: 2.1px;
  --gap: calc(var(--mm) * var(--k));
  position: relative;
  height: calc(var(--gap) + 28px);
  background:
    linear-gradient(180deg, #e9eef4, #9aabbe) 0 10px / 100% 4px no-repeat,
    linear-gradient(180deg, #e9eef4, #9aabbe) 0 calc(14px + var(--gap)) / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, #8c5d33 0 14px, transparent 14px 40px) 0 0 / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.cg-gauge-track > i { position: absolute; top: 14px; left: 56px; height: var(--gap); border-left: 2px solid var(--cg-yellow); }
.cg-gauge-track > i::before,
.cg-gauge-track > i::after { content: ''; position: absolute; left: -7px; width: 12px; height: 2px; background: var(--cg-yellow); }
.cg-gauge-track > i::before { top: 0; }
.cg-gauge-track > i::after { bottom: 0; }
.cg-gauges figcaption { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); font-size: .9rem; font-weight: 700; }
.cg-gauges figcaption .cg-ic { color: var(--cg-yellow); }
.cg-model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cg-model-card { --scale: #38b6ff; display: flex; flex-direction: column; overflow: hidden; border-top: 5px solid var(--scale); border-radius: 24px; color: var(--cg-ink); background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.cg-model-card[data-scale="n"] { --scale: #57d18a; }
.cg-model-card[data-scale="oo9"] { --scale: #ffb03a; }
.cg-model-card[data-scale="g"] { --scale: #ff6b6b; }
.cg-model-photo { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--cg-line); background: #fff; }
.cg-model-photo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 12px; object-fit: contain; }
.cg-model-card[data-scale="oo"] .cg-model-photo img { padding: 0; object-fit: cover; }
.cg-model-mm { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; color: var(--cg-yellow); background: var(--cg-ink); font-size: .95rem; font-weight: 900; }
.cg-model-body { display: flex; flex: 1; flex-direction: column; padding: 18px 18px 20px; }
.cg-model-body h3 { margin: 0; font-size: 1.4rem; font-weight: 900; }
.cg-model-scale { display: block; margin-top: 2px; color: var(--cg-muted); font-size: .88rem; font-weight: 700; }
.cg-model-body dl { display: grid; flex: 1; align-content: start; gap: 12px; margin: 14px 0 0; }
.cg-model-body dt { color: var(--cg-blue); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cg-model-body dd { margin: 3px 0 0; color: var(--cg-ink-2); font-size: .93rem; line-height: 1.5; }
.cg-model-body .cg-link { margin-top: 16px; }
.cg-model-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.cg-model-notes article { padding: 20px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; background: rgba(255, 255, 255, .06); }
.cg-model-notes strong { display: block; color: var(--cg-yellow); font-size: 1.25rem; font-weight: 900; }
.cg-model-notes p { margin: 8px 0 0; color: rgba(255, 255, 255, .8); font-size: .95rem; line-height: 1.6; }
.compat-dcc-guide-link { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-top: 18px; padding: 18px 22px; border-radius: 22px; color: var(--cg-ink); background: linear-gradient(120deg, #ffcd00, #ffde55); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.compat-dcc-guide-link:hover { color: var(--cg-ink); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.cg-dcc-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; color: var(--cg-yellow); background: var(--cg-ink); font-size: 1.5rem; font-weight: 900; }
.cg-dcc-copy small { display: block; font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cg-dcc-copy strong { display: block; font-size: 1.25rem; font-weight: 900; }
.cg-dcc-copy em { display: block; opacity: .82; font-size: .95rem; font-style: normal; }
.compat-dcc-guide-link > b { padding: 13px 18px; border-radius: 999px; color: #fff; background: var(--cg-ink); font-size: .95rem; white-space: nowrap; }
.cg-official { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 20px 0 0; color: rgba(255, 255, 255, .72); font-size: .92rem; }
.cg-official a { color: var(--cg-yellow); font-weight: 800; text-decoration: none; }

/* ---- Shop by system ---- */
.cg-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cg-product { --tone: var(--cg-red); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--cg-line); border-radius: 24px; background: #fff; box-shadow: var(--cg-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.cg-product:hover { transform: translateY(-4px); box-shadow: var(--cg-shadow-lg); }
.cg-product[data-tone="legacy"] { --tone: #5d6d80; }
.cg-product[data-tone="blue"] { --tone: var(--cg-blue); }
.cg-product[data-tone="model"] { --tone: #0c2b52; }
.cg-product-photo { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: #fff; }
.cg-product-photo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 20px; object-fit: contain; transition: transform .35s ease; }
.cg-product:hover .cg-product-photo img { transform: scale(1.04); }
.cg-product-badge { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; color: #fff; background: var(--tone); font-size: .8rem; font-weight: 900; }
.cg-product-body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; border-top: 1px solid var(--cg-line); }
.cg-product-body small { color: var(--cg-muted); font-size: .8rem; font-weight: 800; letter-spacing: .02em; }
.cg-product-body h3 { margin: 6px 0 0; font-size: 1.2rem; font-weight: 850; line-height: 1.25; }
.cg-product-body p { flex: 1; margin: 8px 0 0; color: var(--cg-ink-2); font-size: .95rem; line-height: 1.55; }
.cg-product-body .cg-link { margin-top: 14px; }

.cg-checklist {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 2fr);
  gap: 28px;
  align-items: center;
  margin-top: 40px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(0, 120, 255, .35), transparent 62%),
    linear-gradient(135deg, #0b2547, #06305e);
}
.cg-checklist-head > span { color: var(--cg-yellow); font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.cg-checklist-head h3 { margin: 8px 0 20px; color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 900; line-height: 1.15; }
.cg-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.cg-steps li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; background: rgba(255, 255, 255, .07); }
.cg-step-num { color: var(--cg-yellow); font-size: 2.7rem; font-weight: 900; line-height: .9; letter-spacing: -.04em; }
.cg-step-ic { position: absolute; top: 14px; right: 14px; color: rgba(255, 255, 255, .4); }
.cg-step-ic .cg-ic { width: 22px; height: 22px; }
.cg-steps p { margin: 2px 0 0; padding-right: 26px; color: rgba(255, 255, 255, .86); font-size: .98rem; line-height: 1.5; }
.cg-steps b { color: #fff; }

/* ---- FAQ ---- */
.cg-section--faq { background: var(--cg-cream); }
.cg-faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cg-faq-layout .cg-head { margin-bottom: 0; }
.cg-faq-list { display: grid; gap: 10px; }
.cg-faq-list details { overflow: hidden; border: 1px solid var(--cg-line); border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(15, 35, 60, .05); transition: box-shadow .2s ease; }
.cg-faq-list details[open] { box-shadow: var(--cg-shadow); }
.cg-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 1.04rem; font-weight: 800; line-height: 1.4; list-style: none; cursor: pointer; }
.cg-faq-list summary::-webkit-details-marker { display: none; }
.cg-faq-list summary::marker { content: ''; }
.cg-faq-list summary::after {
  content: '';
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef2f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313233a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s ease, background-color .3s ease;
}
.cg-faq-list details[open] summary::after {
  background-color: var(--cg-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transform: rotate(45deg);
}
.cg-faq-list details p { margin: 0; padding: 0 20px 20px; color: var(--cg-ink-2); font-size: 1rem; line-height: 1.65; }
.cg-faq-list details[open] p { animation: cg-fade .3s ease; }

/* ---- Sources ---- */
.cg-sources { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--cg-line); background: #f3f6fa; }
.cg-sources-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; }
.cg-sources-head h2 { margin: 8px 0 0; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 900; }
.cg-sources-head p { max-width: 480px; margin: 0; color: var(--cg-muted); font-size: .96rem; line-height: 1.6; }
.cg-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.cg-source-grid > div { padding: 22px 24px; border: 1px solid var(--cg-line); border-radius: 22px; background: #fff; }
.cg-source-grid h3 { margin: 0 0 8px; color: var(--cg-blue); font-size: .88rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cg-source-grid ul { display: grid; margin: 0; padding: 0; list-style: none; }
.cg-source-grid li + li { border-top: 1px solid var(--cg-line); }
.cg-source-grid a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: var(--cg-ink); font-size: .98rem; font-weight: 650; text-decoration: none; }
.cg-source-grid a::after { content: '↗'; color: var(--cg-blue); }
.cg-source-grid a:hover { color: var(--cg-blue); }
.cg-source-disclaimer { max-width: 980px; margin: 22px 0 0; color: var(--cg-muted); font-size: .88rem; line-height: 1.65; }

/* ---- Motion ---- */
@keyframes cg-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cg-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes cg-couple { 0%, 18% { transform: translateX(18px); } 42%, 78% { transform: translateX(0); } 100% { transform: translateX(18px); } }
.cg-reveal-pending { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .85s cubic-bezier(.2, .75, .2, 1); }
.cg-reveal-pending.is-in { opacity: 1; transform: none; }
.cg-products > .cg-reveal-pending:nth-child(3n + 2),
.cg-model-grid > .cg-reveal-pending:nth-child(4n + 2),
.cg-model-notes > .cg-reveal-pending:nth-child(2) { transition-delay: .08s; }
.cg-products > .cg-reveal-pending:nth-child(3n + 3),
.cg-model-grid > .cg-reveal-pending:nth-child(4n + 3),
.cg-model-notes > .cg-reveal-pending:nth-child(3) { transition-delay: .16s; }
.cg-model-grid > .cg-reveal-pending:nth-child(4n + 4) { transition-delay: .24s; }

/* ---- Responsive ---- */
@media (max-width: 1180px) {
  .cg-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .cg-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-finder-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cg-checklist { grid-template-columns: 1fr; }
  .cg-era-line { grid-template-columns: 1fr; gap: 10px; }
  .cg-era { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 18px; align-items: center; text-align: left; }
  .cg-era-photo { grid-row: span 3; height: 110px; }
  .cg-era-years { justify-self: start; margin-top: 0; }
  .cg-era-link { flex-direction: row; justify-content: flex-start; padding-left: 54px; }
  .cg-era-link > span { width: 36px; height: 36px; }
  .cg-era-link .cg-ic { transform: rotate(0deg); }
}

@media (max-width: 820px) {
  .cg-page .header-search { display: none; }
  .cg-hero { padding-bottom: 112px; }
  .cg-hero-grid { grid-template-columns: 1fr; }
  .cg-hero-visual { max-width: 560px; margin: 8px auto 0; }
  .cg-jump { margin-top: -34px; }
  .cg-jump-inner { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 4px 18px 10px; margin: 0 -18px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 18px; }
  .cg-jump-inner::-webkit-scrollbar { display: none; }
  .cg-jump a { flex: none; scroll-snap-align: start; }
  .cg-checker-pick { grid-template-columns: 1fr; }
  .cg-checker-swap { justify-self: center; width: 50px; height: 50px; margin: -4px 0; rotate: 90deg; }
  .cg-result-parts { grid-template-columns: 1fr; }
  .cg-part + .cg-part { border-top: 1px solid var(--cg-line); border-left: 0; }
  .cg-2026-grid { grid-template-columns: 1fr; }
  .cg-finder-panel { grid-template-columns: 1fr; }
  .cg-finder-photo { min-height: 0; height: 280px; border-right: 0; border-bottom: 1px solid var(--cg-line); }
  .compat-family-body.cg-family-body { grid-template-columns: 1fr; }
  .cg-legacy-grid { grid-template-columns: 1fr; }
  .cg-adapter-card { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; }
  .cg-adapter-card img { width: 96px; height: 96px; }
  .cg-wood-grid { grid-template-columns: 1fr; }
  .cg-model-notes { grid-template-columns: 1fr; }
  .cg-gauge { grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
  .cg-gauge-label b { font-size: 1.6rem; }
  .cg-faq-layout { grid-template-columns: 1fr; }
  .cg-source-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .cg-page .container { padding-right: 18px; padding-left: 18px; }
  .cg-page .lang-switcher { display: none; }
  .cg-hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); letter-spacing: -.03em; }
  .cg-breadcrumb { margin-bottom: 18px; }
  .cg-hero-actions { flex-direction: column; }
  .cg-hero-actions .cg-btn { width: 100%; }
  .cg-hero-sources { display: none; }
  .cg-eyebrow { padding: 7px 12px; font-size: .68rem; letter-spacing: .05em; }
  .cg-hero-card { border-radius: 20px; }
  .cg-hero-note { max-width: 50%; padding: 9px 11px; font-size: .74rem; }
  .cg-hero-card--engine { bottom: 8%; width: 48%; }
  .cg-hero-magnet { top: 8%; padding: 9px 11px; }
  .cg-hero-magnet small { display: none; }
  .cg-pole { width: 28px; height: 28px; font-size: .8rem; }
  .cg-hero-badge { padding: 8px 12px; }
  .cg-hero-badge strong { font-size: 1rem; }
  .cg-sheet { margin-right: 0; margin-left: 0; border-radius: 28px; }
  .cg-head h2 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .cg-checker { padding: 10px; border-radius: 26px; }
  .cg-slot { padding: 12px; border-radius: 20px; }
  .cg-slot-photo { height: 132px; }
  .cg-verdict { gap: 14px; padding: 18px; }
  .cg-verdict-icon { width: 48px; height: 48px; }
  .cg-part { gap: 14px; padding: 20px 18px; }
  .cg-part-icon { width: 50px; height: 50px; }
  .cg-result-note { padding: 16px 18px; font-size: .98rem; }
  .cg-answer { gap: 14px; padding: 16px; }
  .cg-answer-icon { width: 44px; height: 44px; }
  .cg-answer-a { font-size: 1.15rem; }
  .cg-magnets { grid-template-columns: 1fr; }
  .cg-magnet-demo { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; }
  .cg-magnet-demo figcaption { flex-direction: column; align-items: flex-start; margin-top: 0; }
  .cg-2026-photo figcaption { flex-direction: column; }
  .cg-finder-tabs { gap: 8px; }
  .cg-finder-tabs button { padding: 8px 6px 10px; border-radius: 16px; font-size: .8rem; }
  .cg-finder-photo { height: 230px; }
  .cg-finder-copy { padding: 22px 18px 24px; }
  .cg-family > summary { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: 'thumb name toggle' 'chips chips chips'; gap: 12px 14px; padding: 14px 14px 16px 18px; }
  .cg-family-num { display: none; }
  .cg-family-thumb { width: 64px; height: 52px; border-radius: 12px; }
  .cg-family-name h3 { font-size: 1.02rem; }
  .cg-family-toggle { width: 38px; height: 38px; }
  .cg-chip { padding: 6px 10px; font-size: .8rem; white-space: normal; }
  .cg-family-body { padding: 16px; }
  .cg-facts > div { grid-template-columns: 1fr; gap: 3px; }
  .cg-family-tip { flex-direction: column; align-items: flex-start; }
  .cg-era { grid-template-columns: 110px minmax(0, 1fr); column-gap: 14px; }
  .cg-era-photo { height: 96px; }
  .cg-era-link { padding-left: 36px; }
  .cg-gauges { padding: 16px; }
  .cg-gauge { grid-template-columns: 1fr; gap: 8px; }
  .cg-gauge-track { --k: 1.9px; }
  .cg-gauge-track > i { left: 40px; }
  .cg-model-grid,
  .cg-products,
  .cg-model-notes {
    display: flex;
    gap: 12px;
    margin-right: -18px;
    margin-left: -18px;
    padding: 4px 18px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cg-model-grid::-webkit-scrollbar,
  .cg-products::-webkit-scrollbar,
  .cg-model-notes::-webkit-scrollbar { display: none; }
  .cg-model-grid > *,
  .cg-products > * { flex: 0 0 84%; scroll-snap-align: start; }
  .cg-model-notes > * { flex: 0 0 78%; scroll-snap-align: start; }
  .cg-model-grid > .cg-reveal-pending,
  .cg-products > .cg-reveal-pending,
  .cg-model-notes > .cg-reveal-pending { opacity: 1; transform: none; }
  .cg-product:hover { transform: none; }
  .compat-dcc-guide-link { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .cg-dcc-icon { width: 52px; height: 52px; font-size: 1.25rem; }
  .compat-dcc-guide-link > b { grid-column: 1 / -1; justify-self: start; }
  .cg-steps { grid-template-columns: 1fr; }
  .cg-checklist-head .cg-btn { width: 100%; }
  .cg-faq-list summary { padding: 16px; font-size: 1rem; }
  .cg-faq-list details p { padding: 0 16px 18px; }
  .cg-source-grid > div { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .cg-page *,
  .cg-page *::before,
  .cg-page *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .cg-reveal-pending { opacity: 1; transform: none; }
}

/* ==========================================================================
   Real product photos instead of drawn icons — 4 October 2026
   Tom: "zulke lelijke iconen nooit gebruiken, gebruik echte productfoto's".
   Every illustration or pictogram that stood for a product (couplings, rails,
   magnets, boxes) is now a real catalogue photo. A .cg-photo-crop frame shows
   one detail of an untouched photo: the image is only positioned and scaled
   (--cw = width, --cx/--cy = offset, all relative to the frame), never edited.
   Status marks (tick, alert, cross), arrows and plus signs stay as UI marks.
   ========================================================================== */
.cg-photo-crop {
  position: relative;
  display: block;
  flex: none;
  overflow: hidden;
  background: #fff;
}
.cg-photo-crop > img {
  position: absolute;
  left: var(--cx, 0%);
  top: var(--cy, 0%);
  display: block;
  width: var(--cw, 100%);
  max-width: none;
  height: auto;
}
/* JLL45-4: the black magnetic coupler between the 2026 truck and Thomas (square). */
.cg-photo-crop--magnet { aspect-ratio: 1; --cw: 500%; --cx: -187.5%; --cy: -53.13%; }
/* JGF93-2: the plastic hook of the 2014–2025 Thomas and its brown wagon (square). */
.cg-photo-crop--hook { aspect-ratio: 1; --cw: 615.38%; --cx: -215.38%; --cy: -96.15%; }
/* JLL40-2: 2026 Thomas on Easy Connect rails (square). */
.cg-photo-crop--rails { aspect-ratio: 1; --cw: 166.67%; --cx: -5%; --cy: -66.67%; }
/* JLL45-4 without the size labels: wagon, magnets and engine coupled. */
.cg-photo-crop--pair { aspect-ratio: 742 / 256; --cw: 107.82%; --cx: -7.82%; --cy: 0%; }
/* JGF93-2 brown hook wagon and JLL45-4 magnetic engine, cut to the same real-world height. */
.cg-photo-crop--oldwagon { aspect-ratio: 325 / 234; --cw: 246.15%; --cx: -16.92%; --cy: -9.4%; }
.cg-photo-crop--newengine { aspect-ratio: 455 / 256; --cw: 175.82%; --cx: -75.82%; --cy: 0%; }

/* ---- Hero: a close-up of the real magnet instead of drawn N/S poles ---- */
.cg-hero-magnet { gap: 12px; padding: 9px 16px 9px 9px; }
.cg-hero-magnet .cg-photo-crop { width: 52px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
.cg-hero-magnet small { margin-left: 0; }

/* ---- Jump navigation: round product photos ---- */
.cg-jump-ic { position: relative; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--cg-line); }
.cg-jump-ic > img { position: absolute; left: var(--cx, 0%); top: var(--cy, 0%); width: var(--cw, 100%); max-width: none; height: auto; }
.cg-jump-ic--face { --cw: 192.44%; --cx: -46.22%; --cy: -24.42%; }
.cg-jump-ic--rails { --cw: 200%; --cx: -4%; --cy: -90%; }
.cg-jump-ic--blue { --cw: 312.5%; --cx: -46.88%; --cy: -37.5%; }
.cg-jump-ic--classic { --cw: 363.64%; --cx: 0%; --cy: -68.18%; }
.cg-jump-ic--model { --cw: 333.33%; --cx: -40%; --cy: -78.33%; }
.cg-jump-ic--box { --cw: 100%; --cx: 0%; --cy: -11.28%; }

/* ---- Checker result: rails and coupler photos with the status badge ---- */
.cg-part-icon--photo { background: #fff; box-shadow: inset 0 0 0 2px var(--state-bg), 0 6px 16px rgba(15, 35, 60, .1); }
.cg-part-icon--photo > .cg-photo-crop { width: 100%; height: 100%; border-radius: 16px; }
.cg-part-icon--photo > .cg-photo-crop::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--state-bg); pointer-events: none; }
.cg-part-icon--photo .cg-part-state { z-index: 1; }

/* ---- 2026 short answers: a product photo per answer, status mark on it ---- */
.cg-answer-media { position: relative; flex: none; width: 66px; height: 66px; }
.cg-answer-photo { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(0, 15, 40, .25); }
.cg-answer-photo > img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.cg-answer-photo > .cg-photo-crop { width: 100%; height: 100%; }
.cg-answer-media .cg-answer-icon { position: absolute; right: -8px; bottom: -8px; width: 30px; height: 30px; border: 3px solid #0a4f9f; }
.cg-answer-media .cg-answer-icon .cg-ic { width: 14px; height: 14px; stroke-width: 3.2; }

/* ---- Coupling cards: real photos instead of drawings ---- */
.cg-couple { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
.cg-couple-media { display: grid; align-items: center; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--cg-line); }
.cg-couple-media > .cg-photo-crop { width: 100%; }
.cg-couple-media--split { grid-template-columns: minmax(0, 1.389fr) 26px minmax(0, 1.777fr); }
.cg-couple-x { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--cg-red); box-shadow: 0 4px 10px rgba(200, 16, 46, .35); }
.cg-couple-x .cg-ic { width: 14px; height: 14px; stroke-width: 3.4; }
.cg-couple figcaption { margin-top: 0; }

/* ---- Family chips: text with a small colour dot, no pictograms ---- */
.cg-chip::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }

/* ---- Second-hand tip: a real rear coupler ---- */
.cg-family-tip > .cg-photo-crop { width: 64px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--cg-line), 0 6px 14px rgba(15, 35, 60, .1); }

/* ---- 30-second check: a real photo for each step ---- */
.cg-step-photo { top: 14px; right: 14px; width: 58px; height: 58px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px rgba(0, 10, 30, .3); }
.cg-step-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.cg-step-photo > .cg-photo-crop { width: 100%; height: 100%; }
.cg-steps li:nth-child(3) .cg-step-photo > img { inset: auto; left: -40%; top: -78.33%; width: 333.33%; max-width: none; height: auto; padding: 0; object-fit: fill; }
.cg-steps li:nth-child(4) .cg-step-photo > img { padding: 0; object-fit: cover; }
.cg-steps p { padding-right: 70px; }

@media (max-width: 620px) {
  .cg-hero-magnet { padding: 7px; }
  .cg-hero-magnet .cg-photo-crop { width: 44px; }
  .cg-answer-media { width: 56px; height: 56px; }
  .cg-answer-media .cg-answer-icon { width: 26px; height: 26px; right: -7px; bottom: -7px; }
  .cg-couple { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .cg-couple figcaption { flex-direction: row; align-items: center; }
  .cg-family-tip > .cg-photo-crop { width: 56px; }
  .cg-step-photo { width: 50px; height: 50px; }
  .cg-steps p { padding-right: 60px; }
}

/* ==========================================================================
   2026 metal engines on wooden track — 4 October 2026
   Tom: the small 2026 metal engines run on BRIO-style wooden track; only the
   larger engines with a tender can find some tight curves harder. Real
   catalogue photos only (loose 2026 Metal Collection engines) plus the wooden
   track photo already used on this page. Mattel's official position (wood not
   listed) stays in the note under the cards.
   ========================================================================== */
.cg-section--wood {
  background:
    radial-gradient(760px 460px at 100% 0%, rgba(255, 205, 0, .16), transparent 62%),
    radial-gradient(620px 420px at 0% 100%, rgba(196, 140, 74, .14), transparent 62%),
    linear-gradient(180deg, #fff 0%, #fbf2e3 100%);
}
.cg-wood-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.cg-wood-intro .cg-head { margin-bottom: 0; }
.cg-wood-track { position: relative; margin: 0; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: var(--cg-shadow-lg); }
.cg-wood-track img { display: block; width: calc(100% + 10px); max-width: none; height: auto; margin-left: -5px; aspect-ratio: 720 / 500; object-fit: cover; object-position: center 55%; }
.cg-wood-track figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 12px 16px 14px; color: var(--cg-ink-2); font-size: .9rem; line-height: 1.45; }
.cg-wood-track figcaption a { color: var(--cg-red); font-weight: 800; text-decoration: none; white-space: nowrap; }

.cg-wood-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(26px, 3.4vw, 40px); }
.cg-wood-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--cg-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--cg-shadow);
  --tone: var(--cg-green);
  --tone-bg: var(--cg-green-bg);
}
.cg-wood-card[data-state="partial"] { --tone: var(--cg-amber); --tone-bg: var(--cg-amber-bg); }
.cg-wood-photos { display: grid; align-items: center; gap: 8px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--cg-line), inset 0 -4px 0 rgba(196, 140, 74, .28); }
.cg-wood-photos--small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cg-wood-photos--tender { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cg-wood-photos img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
/* Long engines with a tender: a wider frame trims only the white space above and below. */
.cg-wood-photos--tender img { aspect-ratio: 16 / 11; object-fit: cover; }
.cg-wood-card-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.cg-wood-card-copy h3 { margin: 0; font-size: 1.15rem; font-weight: 850; line-height: 1.25; }
.cg-wood-verdict { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; color: var(--tone); background: var(--tone-bg); font-size: .88rem; font-weight: 800; line-height: 1.2; }
.cg-wood-verdict .cg-ic { flex: none; width: 16px; height: 16px; stroke-width: 3; }

.cg-wood-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 18px; }
.cg-wood-foot p { max-width: 720px; margin: 0; color: var(--cg-muted); font-size: .92rem; line-height: 1.55; }

/* Coupling photo cards: no frame line, so nothing shows in the gap around the cross. */
.cg-couple-media { box-shadow: none; }

@media (max-width: 820px) {
  .cg-wood-intro { grid-template-columns: 1fr; }
  .cg-wood-cards { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cg-wood-card { gap: 12px; padding: 12px; border-radius: 20px; }
  .cg-wood-photos { gap: 4px; padding: 6px; }
  .cg-wood-card-copy h3 { font-size: 1.05rem; }
  .cg-wood-foot .cg-btn { width: 100%; justify-content: center; }
}
