/* GROWTH-03E: approved Concept C, scoped to the shared Guides article. */
body.tgl-guides {
  --guide-bg: #18162f;
  --guide-surface: #24243e;
  --guide-raised: #30334b;
  --guide-ink: #f4f7f9;
  --guide-muted: #c5cedb;
  --guide-line: #4f546f;
  --guide-teal: #203f47;
  --guide-blue: #252f4d;
  --guide-pink: #E6007E;
  --guide-shadow: 0 12px 32px #08091926;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--guide-ink);
}
html[data-tgl-theme="light"] body.tgl-guides {
  --guide-bg: #f4f6f9;
  --guide-surface: #fff;
  --guide-raised: #e9edf4;
  --guide-ink: #17263c;
  --guide-muted: #44576a;
  --guide-line: #bbc7d4;
  --guide-teal: #dfefeb;
  --guide-blue: #e7edf7;
  --guide-shadow: 0 8px 25px #17263c0a;
}
html[data-tgl-design] body.tgl-guides {
  background: radial-gradient(ellipse at 90% 0%, #24455450, transparent 35%), var(--guide-bg) !important;
}
html[data-tgl-design][data-tgl-theme="light"] body.tgl-guides {
  background: radial-gradient(ellipse at 90% 0%, #c8e4e966, transparent 35%), var(--guide-bg) !important;
}
html[data-tgl-shell] body.tgl-guides > main#main-content {
  box-sizing: border-box;
  width: 100%;
  max-width: 1140px !important;
  padding: 30px 32px 44px;
  margin-inline: auto;
  background: transparent !important;
}
.tgl-guides #main-content article {
  min-width: 0;
  color: var(--guide-ink);
}
.tgl-guides #main-content :is(h1, h2, h3, strong, a, th, td) { color: var(--guide-ink); }
.tgl-guides #main-content :is(p, li, figcaption) {
  color: var(--guide-muted);
  line-height: 1.6;
}
.tgl-guides #main-content a { text-underline-offset: 4px; }
.tgl-guides #main-content .guide-breadcrumb {
  font-size: 13px;
  margin: 0 0 24px;
}
.tgl-guides #main-content .guide-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.guide-category::before {
  content: "";
  width: 20px;
  height: 3px;
  background: var(--guide-pink);
  border-radius: 2px;
}
.guide-hero {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 14px 36px;
  align-items: center;
  padding-bottom: 0;
  margin-bottom: 18px;
}
.guide-hero-copy { min-width: 0; }
.guide-hero:not(:has(.guide-hero-art, .guide-hero-photo)) .guide-hero-copy { grid-column: 1 / -1; max-width: 88ch; }
.tgl-guides #main-content h1 {
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.055em;
  max-width: 21ch;
  margin: 0;
}
.tgl-guides #main-content .guide-intro {
  font-size: 21px;
  line-height: 1.5;
  color: var(--guide-ink);
  margin: 20px 0;
}
.guide-opening {
  grid-column: 1 / -1;
  max-width: 88ch;
}
.tgl-guides #main-content .guide-opening p { margin: 0 0 14px; }
.guide-hero-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border: 1px solid var(--guide-line);
  border-radius: 24px;
  padding: 28px 18px;
  background: var(--guide-blue);
  box-shadow: var(--guide-shadow);
}
.guide-hero-art::before {
  content: "";
  position: absolute;
  inset: 25px;
  border-radius: 50%;
  border: 1px solid var(--guide-line);
  opacity: .5;
  transform: rotate(-20deg) scale(1.3, .8);
}
.guide-hero-art--gearing::before {
  inset: 30px;
  border: 3px double var(--guide-line);
  transform: none;
}
.guide-hero-art--track::before {
  inset: 30px 12px;
  border: 4px double var(--guide-line);
  transform: rotate(-18deg);
}
.guide-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 10px;
  text-align: center;
}
.tgl-guides #main-content .guide-figure-value {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.06em;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--guide-pink);
}
.guide-hero-art--weather .guide-figure-value { font-size: 94px !important; }
.guide-hero-art--track .guide-figure-value { font-size: 52px !important; }
.guide-figure-label { font-size: 13px; color: var(--guide-muted); }
.guide-weather-symbols {
  display: flex;
  position: relative;
  align-items: center;
  gap: 28px;
  font-size: 43px;
  line-height: 1;
  color: var(--guide-muted);
}
.guide-weather-symbols i { position: relative; width: 32px; height: 32px; }
.guide-weather-symbols i::before {
  content: "";
  position: absolute;
  width: 23px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 12px;
  left: 3px;
  top: 4px;
}
.guide-weather-symbols i::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 10px;
  left: 5px;
  top: 20px;
  background: repeating-linear-gradient(110deg, transparent 0 4px, currentColor 4px 6px, transparent 6px 9px);
}
.guide-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.guide-section { grid-column: 1 / -1; min-width: 0; }
.tgl-guides #main-content h2 {
  font-size: 29px;
  letter-spacing: -.035em;
  line-height: 1.18;
  margin: 0 0 15px;
}
.tgl-guides #main-content p { margin: 14px 0; }
.tgl-guides #main-content ul { padding-left: 22px; margin: 12px 0; }
.tgl-guides #main-content li { margin: 9px 0; padding-left: 4px; }
.guide-section--plain { padding: 10px 8px; }
.guide-section--quick-answer,
.guide-section--comparison,
.guide-section--half,
.guide-section--feature,
.guide-section--tip,
.guide-section--worked-example,
.guide-section--action {
  padding: 26px 30px;
  border: 1px solid var(--guide-line);
  border-radius: 20px;
  box-shadow: var(--guide-shadow);
}
.guide-section--quick-answer { background: var(--guide-teal); border-top: 3px solid var(--guide-pink); }
.tgl-guides #main-content .guide-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.guide-section--quick-answer ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 !important;
  list-style: none;
}
.tgl-guides #main-content .guide-section--quick-answer li {
  margin: 0;
  padding: 14px;
  background: var(--guide-surface);
  border: 1px solid var(--guide-line);
  border-radius: 12px;
}
.guide-section--half {
  grid-column: auto;
  padding: 24px;
  background: var(--guide-surface);
  border-top: 3px solid #749aa7;
}
.guide-section--half:nth-child(odd) { border-top-color: #8799be; }
.guide-section--comparison { background: var(--guide-surface); }
.tgl-guides #main-content .guide-section--comparison h2 { font-size: 34px; }
.guide-section--feature { background: var(--guide-blue); border-left: 4px solid var(--guide-pink); }
.guide-section--worked-example { background: var(--guide-surface); }
.guide-section--tip,
.guide-tip { background: var(--guide-blue); border-left: 4px solid var(--guide-pink); }
.guide-tip {
  padding: 18px 20px;
  border-radius: 12px;
  margin-top: 18px;
}
.tgl-guides #main-content .guide-tip p { margin: 0; }
.tgl-guides #main-content .guide-tip .guide-label { display: block; margin: 0 0 10px; }
.guide-figure-note,
.guide-worked-example,
.guide-formula {
  margin: 16px 0;
  padding: 16px 20px;
  border: 1px solid var(--guide-line);
  border-left: 3px solid var(--guide-pink);
  border-radius: 12px;
  background: var(--guide-blue);
}
.guide-formula { font-size: 18px; font-weight: 700; }
.tgl-guides #main-content :is(.guide-figure-note, .guide-worked-example, .guide-formula) p { margin: 0; }
.guide-table {
  max-width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--guide-line);
  border-radius: 14px;
}
.tgl-guides #main-content table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.tgl-guides #main-content caption {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--guide-muted);
  background: var(--guide-surface);
  border-bottom: 1px solid var(--guide-line);
}
.tgl-guides #main-content :is(th, td) { padding: 13px 16px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.tgl-guides #main-content thead { background: var(--guide-raised); }
.tgl-guides #main-content thead th:first-child { width: 25%; }
.tgl-guides #main-content tbody th { font-size: 13px; font-weight: 600; color: var(--guide-muted); }
.tgl-guides #main-content tbody tr:not(:last-child) { border-bottom: 1px solid var(--guide-line); }
.guide-section--comparison thead th:nth-child(2),
.guide-section--comparison td:nth-child(2) { background: color-mix(in srgb, var(--guide-teal) 65%, transparent); }
.guide-section--comparison thead th:nth-child(3),
.guide-section--comparison td:nth-child(3) { background: color-mix(in srgb, var(--guide-blue) 65%, transparent); }
.guide-section--comparison tbody tr:first-child { border-left: 3px solid var(--guide-pink); }
.tgl-guides #main-content .guide-comparison-table td:last-child { font-size: 22px; font-weight: 700; }
.guide-splits tbody tr:last-child { background: var(--guide-blue); border-left: 3px solid var(--guide-pink); font-weight: 700; }
.guide-section--action {
  background: var(--guide-teal);
  border-top: 3px solid var(--guide-pink);
}
.tgl-guides #main-content .guide-tool-action { margin: 20px 0 0; }
.tgl-guides #main-content a.guide-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #E6007E;
  color: #fff !important;
  font: 700 15px/1.5 Arial, Helvetica, sans-serif;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px #e6007e14;
}
.tgl-guides #main-content a.guide-action:hover { background: #c9006e; }
.tgl-guides #main-content a.guide-action:focus-visible,
.tgl-guides #main-content .guide-table:focus-visible {
  outline: 3px solid var(--guide-ink) !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--guide-pink) !important;
}
.guide-action span { margin-left: 20px; font-size: 21px; line-height: 1; }
.guide-references,
.guide-related,
.guide-evidence { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--guide-line); }
.tgl-guides #main-content .guide-references h2,
.tgl-guides #main-content .guide-related h2 { font-size: 23px; }
.guide-evidence summary { min-height: 44px; cursor: pointer; }
.tgl-guides #main-content .guide-evidence p,
.tgl-guides #main-content .guide-updated { font-size: 13px; }
.guide-related ul { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.tgl-guides #main-content figure { margin: 20px 0; }
.tgl-guides #main-content img { max-width: 100%; height: auto; border-radius: 14px; }
.tgl-guides #main-content figcaption { font-size: 13px; margin-top: 8px; }
.guide-photo-credit { display: block; margin-top: 4px; }
.tgl-guides #main-content .guide-directory-list { list-style: none; padding: 0; }
.guide-directory-list li { padding: 20px; border: 1px solid var(--guide-line); border-radius: 16px; background: var(--guide-surface); }
@media (max-width: 680px) {
  html[data-tgl-shell] body.tgl-guides > main#main-content { padding: 22px 20px 30px; }
  .guide-hero { display: block; padding-bottom: 0; }
  .tgl-guides #main-content h1 { font-size: 38px; max-width: 21ch; }
  .tgl-guides #main-content .guide-intro { font-size: 19px; }
  .guide-hero-art {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 0;
    gap: 20px;
    padding: 20px;
    margin: 20px 0;
    border-radius: 16px;
    align-items: center;
  }
  .guide-hero-art::before { display: none; }
  .tgl-guides #main-content .guide-figure-value { font-size: 45px; }
  .guide-hero-art--weather .guide-figure-value { font-size: 58px !important; }
  .guide-hero-art--track .guide-figure-value { font-size: 34px !important; }
  .guide-figure-label { font-size: 12px; }
  .guide-weather-symbols { font-size: 32px; gap: 20px; }
  .guide-sections { display: block; }
  .guide-section { margin: 20px 0; }
  .guide-section--plain { padding: 8px 0; }
  .guide-section--quick-answer,
  .guide-section--comparison,
  .guide-section--half,
  .guide-section--feature,
  .guide-section--tip,
  .guide-section--worked-example,
  .guide-section--action { padding: 20px; }
  .tgl-guides #main-content h2,
  .tgl-guides #main-content .guide-section--comparison h2 { font-size: 26px; }
  .guide-section--quick-answer ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tgl-guides #main-content .guide-section--quick-answer li { font-size: 14px; padding: 10px; }
  .tgl-guides #main-content :is(th, td) { padding: 11px 9px; font-size: 13px; }
  .tgl-guides #main-content thead th:first-child { width: 34%; }
  .tgl-guides #main-content tbody th { font-size: 12px; padding-inline: 6px; }
  .tgl-guides #main-content .guide-comparison-table td:last-child { font-size: 18px; }
  .tgl-guides #main-content .guide-splits :is(th, td) { padding: 9px 5px; font-size: 12px; }
  .tgl-guides #main-content .guide-splits thead th:first-child { width: 16%; }
  .tgl-guides #main-content .guide-splits tbody th { padding-inline: 3px; font-size: 11px; }
  .tgl-guides #main-content a.guide-action { width: 100%; }
}
@media (max-width: 360px) {
  .tgl-guides #main-content thead th:first-child { width: 36%; }
  .tgl-guides #main-content tbody th { font-size: 11px; }
  .guide-section--comparison:has(.guide-splits) { padding-inline: 12px; }
  .tgl-guides #main-content .guide-splits :is(th, td) { font-size: 11px; padding-inline: 3px; }
  .tgl-guides #main-content .guide-splits thead th:first-child { width: 20%; }
}

.tgl-guides #main-content .guide-figure-table tbody tr:first-child td {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}
@media (max-width: 680px) {
  .tgl-guides #main-content .guide-figure-table tbody tr:first-child td { font-size: 24px; }
}

/* Original editorial photographs and restrained existing section accents. */
.tgl-guides .guide-hero-photo { grid-column: 2; grid-row: 1 / span 2; position: relative; min-width: 0; overflow: hidden; border-radius: 24px; align-self: center; height: clamp(260px, 25vw, 340px); }
.tgl-guides .guide-hero-photo figure { margin: 0; height: 100%; }
.tgl-guides .guide-hero-photo img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.tgl-guides .guide-hero-photo--track img { object-position: 33% 34%; }
.tgl-guides .guide-hero-photo--gearing img { object-position: 53% 34%; }
.tgl-guides .guide-hero-photo figcaption:empty { display: none; }
.tgl-guides .guide-photo-overlay { position: absolute; left: 18px; bottom: 18px; display: grid; gap: 5px; padding: 14px 18px; border-radius: 14px; background: rgba(7,16,32,.88); color: #fff; }
.tgl-guides .guide-photo-overlay strong { font-size: clamp(2.5rem,5vw,4rem); line-height: 1.1; }
.tgl-guides .guide-photo-label { font-size: 1rem; font-weight: 800; letter-spacing: .08em; }
.tgl-guides .guide-section--quick-answer { border-top-color: #7eaaa5; }
.tgl-guides .guide-tip { border-inline-start: 3px solid #aaa0c6; }
.tgl-guides .guide-tip .guide-label { color: #c7bfe1; }
html[data-tgl-theme="light"] .tgl-guides .guide-tip .guide-label { color: #62547d; }
@media (max-width: 680px) {
  .tgl-guides .guide-hero-photo { grid-column: 1; grid-row: auto; height: 240px; }
  .tgl-guides .guide-hero-photo img { min-height: 0; }
  .tgl-guides .guide-photo-overlay { left: 12px; bottom: 12px; padding: 10px 14px; }
}

.tgl-guides #main-content .guide-photo-overlay strong { color: #fff; }
html[data-tgl-theme="light"] .tgl-guides .guide-tip { border-inline-start-color: #8b7ca8; }

/* Supporting tool discovery stays lighter than the article cards. */
.tgl-guides .guide-tool-prompt {
  --prompt-accent: #dfbf89;
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0 6px 12px;
  border-inline-start: 2px solid var(--prompt-accent);
}
.tgl-guides .guide-tool-prompt-icon { color: var(--prompt-accent); font-size: 20px; line-height: 1.3; }
.tgl-guides #main-content .guide-tool-prompt h2 { font-size: 16px; line-height: 1.35; letter-spacing: normal; margin: 0 0 4px; }
.tgl-guides #main-content .guide-tool-prompt p { font-size: 14px; line-height: 1.45; margin: 0 0 4px; }
.tgl-guides #main-content .guide-tool-prompt p:last-child { margin: 0; }
.tgl-guides #main-content .guide-tool-prompt a { color: var(--prompt-accent); font-weight: 700; }
.tgl-guides #main-content .guide-section--quick-answer > .guide-label {
  display: flex; align-items: center; gap: 8px; color: #a4e9c2;
}
.tgl-guides .guide-section--quick-answer > .guide-label::before {
  content: ""; width: 22px; height: 3px; flex-shrink: 0; border-radius: 2px; background: currentColor;
}
html[data-tgl-theme="light"] .tgl-guides .guide-tool-prompt { --prompt-accent: #854a08; }
html[data-tgl-theme="light"] .tgl-guides #main-content .guide-section--quick-answer > .guide-label { color: #11663c; }

/* DESIGN-05 Package A: approved magazine hub, independent of article styling. */
.tgl-guides #main-content:has(.guide-library){max-width:1200px!important;padding:0 clamp(16px,4.4vw,64px) 44px}
.tgl-guides:has(.guide-library){--guide-bg:#101525;--guide-surface:#192136;--guide-raised:#202a40;--guide-ink:#f2f3f8;--guide-muted:#bac6d7;--guide-line:#39455d;background:var(--guide-bg)!important}
html[data-tgl-theme=light] .tgl-guides:has(.guide-library){--guide-bg:#f6f6f3;--guide-surface:#fff;--guide-raised:#edf0f3;--guide-ink:#172238;--guide-muted:#45566b;--guide-line:#cad1d7;background:var(--guide-bg)!important}
.tgl-guides #main-content .guide-library{--topic:#ff82be;--focus:#ffb3d9;color:var(--guide-ink);font:16px/1.5 Arial,sans-serif}
.tgl-guides #main-content .guide-library .tone0{--topic:#ff82be}.tgl-guides #main-content .guide-library .tone1{--topic:#f4c95d}.tgl-guides #main-content .guide-library .tone2{--topic:#86dfaa}.tgl-guides #main-content .guide-library .tone3{--topic:#a6ccf1}
html[data-tgl-theme=light] .tgl-guides #main-content .guide-library{--topic:#97004f;--focus:#97004f}
html[data-tgl-theme=light] .tgl-guides #main-content .guide-library .tone0{--topic:#97004f}html[data-tgl-theme=light] .tgl-guides #main-content .guide-library .tone1{--topic:#805600}html[data-tgl-theme=light] .tgl-guides #main-content .guide-library .tone2{--topic:#176b42}html[data-tgl-theme=light] .tgl-guides #main-content .guide-library .tone3{--topic:#355f86}
.tgl-guides #main-content .guide-library *{box-sizing:border-box}
.tgl-guides #main-content .guide-library :is(h1,h2,h3,p,figure){margin:0}
.tgl-guides #main-content .guide-library :is(h1,h2,h3){line-height:1.08;text-wrap:balance}
.tgl-guides #main-content .guide-library h1{font-size:clamp(41px,6vw,90px);letter-spacing:-.068em;max-width:none}
.tgl-guides #main-content .guide-library a{color:var(--guide-ink);text-decoration:none;touch-action:manipulation}
.tgl-guides #main-content .guide-library a:focus-visible{outline:3px solid var(--focus);outline-offset:3px;box-shadow:none!important}
.tgl-guides #main-content .guide-library .mast{padding:26px 0;display:grid;grid-template-columns:1.4fr 1fr;gap:16px;align-items:center}
.tgl-guides #main-content .guide-library .mast:not(:has(.intro)){grid-template-columns:minmax(0,1fr)}
.tgl-guides #main-content .guide-library .intro{color:var(--guide-muted);font-size:clamp(15px,1.5vw,19px);line-height:1.5;max-width:32ch;margin:0 0 6px auto}
.tgl-guides #main-content .guide-library .topicbar{padding:9px 0 18px;border-top:1px solid var(--guide-line)}
.tgl-guides #main-content .guide-library .chips{display:flex;flex-wrap:wrap;gap:6px}
.tgl-guides #main-content .guide-library .chips a{display:inline-flex;align-items:center;min-height:44px;padding:8px 15px;border:1px solid var(--guide-line);background:var(--guide-surface);border-radius:24px;font-size:13px;box-shadow:inset 0 -2px var(--topic)}
.tgl-guides #main-content .guide-library .chips a:first-child{box-shadow:none}
.tgl-guides #main-content .guide-library .chips a[aria-current=page]{background:var(--guide-ink);color:var(--guide-bg)}
.tgl-guides #main-content .guide-library .chips a:hover{border-color:var(--guide-muted)}
.tgl-guides #main-content .guide-library .featuregrid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:18px}
.tgl-guides #main-content .guide-library .featuregrid:not(:has(.sidefeatures)){grid-template-columns:1fr}
.tgl-guides #main-content .guide-library .maglead{display:flex;flex-direction:column;background:var(--guide-surface);border:1px solid var(--guide-line);border-radius:16px;overflow:hidden}
.tgl-guides #main-content .guide-library .photo{position:relative;overflow:hidden;background:var(--guide-raised);min-width:0}
.tgl-guides #main-content .guide-library .photo figure{height:100%;width:100%}
.tgl-guides #main-content .guide-library .photo img{display:block;object-fit:cover;object-position:41% 25%;width:100%;height:100%;border:0;border-radius:0}
.tgl-guides #main-content .guide-library .photo figcaption{display:none}
.tgl-guides #main-content .guide-library .maglead>.photo{height:clamp(195px,21vw,300px)}
.tgl-guides #main-content .guide-library .leadtext{padding:20px 24px}
.tgl-guides #main-content .guide-library .leadtext h2{font-size:clamp(27px,3.3vw,46px);letter-spacing:-.044em;margin:6px 0 0}
.tgl-guides #main-content .guide-library .leadtext p{font-size:15px;line-height:1.5;margin:8px 0;color:var(--guide-muted)}
.tgl-guides #main-content .guide-library .meta{font-size:12px;line-height:1.5;color:var(--guide-muted)}
.tgl-guides #main-content .guide-library .cat{font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--topic)}
.tgl-guides #main-content .guide-library time{display:block;margin-top:9px}
.tgl-guides #main-content .guide-library .sidefeatures{display:grid;grid-template-rows:1fr 1fr;gap:14px}
.tgl-guides #main-content .guide-library .sidecard{background:var(--guide-surface);border:1px solid var(--guide-line);border-radius:13px;display:grid;grid-template-columns:37% minmax(0,1fr);overflow:hidden}
.tgl-guides #main-content .guide-library .sidecard .copy{align-self:center;padding:14px 16px}
.tgl-guides #main-content .guide-library .sidecard h3{margin:7px 0;font-size:clamp(19px,2vw,27px);letter-spacing:-.032em}
.tgl-guides #main-content .guide-library .weatherplate{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#163431;color:#97e1cf;gap:0;font-size:12px}
.tgl-guides #main-content .guide-library .weatherplate strong{font-size:clamp(35px,4.7vw,62px);font-weight:500;letter-spacing:-.08em;color:inherit}
.tgl-guides #main-content .guide-library .weatherplate>span:first-child{font-size:34px}
html[data-tgl-theme=light] .tgl-guides #main-content .guide-library .weatherplate{background:#e3f1ed;color:#21665b}
.tgl-guides #main-content .guide-library .sectionbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:30px 0 16px}
.tgl-guides #main-content .guide-library .sectionbar h2{font-size:clamp(23px,2.4vw,34px);letter-spacing:-.044em}
.tgl-guides #main-content .guide-library :is(.categoryshelf,.archiveblock) h2{display:flex;align-items:center;gap:10px}
.tgl-guides #main-content .guide-library :is(.categoryshelf,.archiveblock) h2::before{content:"";width:4px;height:.85em;border-radius:4px;background:var(--topic);flex:none}
.tgl-guides #main-content .guide-library .rrows{border-top:1px solid var(--guide-line)}
.tgl-guides #main-content .guide-library .rrow{display:grid;grid-template-columns:minmax(0,1fr) 26px;gap:16px;align-items:center;padding:14px 18px;border-radius:10px;border-bottom:1px solid var(--guide-line);width:100%;transition:background-color .15s}
.tgl-guides #main-content .guide-library .rowcopy{display:flex;flex-direction:column;min-width:0;gap:5px}
.tgl-guides #main-content .guide-library .rrow .title{font-size:20px;line-height:1.3;letter-spacing:-.018em}
.tgl-guides #main-content .guide-library .arrow{font-weight:400;flex:none}
.tgl-guides #main-content .guide-library .rrow .arrow{color:var(--topic);font-size:23px;width:26px;text-align:right}
.tgl-guides #main-content .guide-library .rowsummary{color:var(--guide-muted);font-size:14px;line-height:1.45;max-width:78ch}
.tgl-guides #main-content .guide-library .rrow:is(:hover,:focus-visible){background:var(--guide-raised)}
.tgl-guides #main-content .guide-library a:hover .title,.tgl-guides #main-content .guide-library a.title:hover{text-decoration:underline;text-decoration-color:var(--topic);text-underline-offset:4px;text-decoration-thickness:2px}
.tgl-guides #main-content .guide-library .viewcategory{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;gap:14px;margin-top:8px;font-size:14px;font-weight:700;color:var(--topic);text-decoration:underline;text-underline-offset:4px}
.tgl-guides #main-content .guide-library .viewcategory:hover{background:var(--guide-raised);text-decoration-thickness:2px}
.tgl-guides #main-content .guide-library .browsediscover{margin:28px 0 8px;padding:18px 0;border-block:1px solid var(--guide-line);display:grid;grid-template-columns:1fr auto;gap:12px 20px;align-items:center}
.tgl-guides #main-content .guide-library .browsediscover h2{font-size:25px;margin-bottom:5px;letter-spacing:-.035em}
.tgl-guides #main-content .guide-library .browsediscover h2::before{content:"";display:inline-block;width:18px;height:3px;background:#e6007e;vertical-align:middle;margin-right:10px}
.tgl-guides #main-content .guide-library .browseaction{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;border:1px solid var(--topic);border-radius:8px;padding:8px 14px;font-size:14px;font-weight:700;background:var(--guide-surface)}
.tgl-guides #main-content .guide-library .browseaction:hover{background:var(--guide-raised);text-decoration:underline;text-decoration-color:var(--topic)}
.tgl-guides #main-content .guide-library .discoverchips{grid-column:1/-1}
.tgl-guides #main-content .guide-library .toolstrip{margin:26px 0;padding:20px 0;border-top:1px solid var(--guide-line);font-size:14px}
.tgl-guides #main-content .guide-library .toolstrip>div{display:flex;flex-wrap:wrap;gap:8px 22px}
.tgl-guides #main-content .guide-library .toolstrip a,.tgl-guides #main-content .guide-library .backlink{display:inline-flex;align-items:center;gap:9px;min-height:44px;font-weight:700;font-size:14px}
.tgl-guides #main-content .guide-library .pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0;font-size:14px}
.tgl-guides #main-content .guide-library .pager a{display:inline-flex;align-items:center;min-height:44px;padding:8px 15px;border:1px solid var(--guide-line);border-radius:24px;background:var(--guide-surface)}
@media(max-width:800px){.tgl-guides #main-content .guide-library .featuregrid{grid-template-columns:1fr}.tgl-guides #main-content .guide-library .sidefeatures{grid-template-columns:1fr 1fr;grid-template-rows:auto}.tgl-guides #main-content .guide-library .sidecard{grid-template-columns:1fr}.tgl-guides #main-content .guide-library .sidecard .photo{height:130px}}
@media(max-width:640px){.tgl-guides #main-content .guide-library .mast{display:block;padding-top:23px}.tgl-guides #main-content .guide-library .intro{max-width:45ch;margin:12px 0 0}.tgl-guides #main-content .guide-library .sidefeatures{grid-template-columns:1fr}.tgl-guides #main-content .guide-library .sidecard{grid-template-columns:32% minmax(0,1fr)}.tgl-guides #main-content .guide-library .sidecard .photo{height:100%;min-height:140px}.tgl-guides #main-content .guide-library .leadtext{padding:17px}.tgl-guides #main-content .guide-library .rrow .title{font-size:18px}.tgl-guides #main-content .guide-library .rrow{gap:12px;padding:12px 14px}.tgl-guides #main-content .guide-library .browsediscover{grid-template-columns:1fr;padding:15px 0;gap:10px}.tgl-guides #main-content .guide-library .browseaction{justify-self:start}.tgl-guides #main-content .guide-library .browsediscover h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.tgl-guides #main-content .guide-library .rrow{transition:none}}

.tgl-guides #main-content .guide-library .weather-icon{width:36px;height:36px;flex:none}
/* Keep topic/focus colours when the existing shared link enhancement is present. */
.tgl-guides #main-content .guide-library a:focus-visible{outline:3px solid var(--focus)!important}
.tgl-guides #main-content .guide-library a:hover{text-decoration-color:var(--topic)!important}
.tgl-guides #main-content .guide-library :is(.rrow,.sidecard):hover{text-decoration:none!important}

/* GUIDES #2 editorial pattern. Opt-in only; accepted articles and library stay unchanged. */
html[data-tgl-design] body.tgl-guides:has(.guide-editorial) {
  --guide-bg:#101525; --guide-surface:#192136; --guide-raised:#202a40;
  --guide-ink:#f2f3f8; --guide-muted:#bac6d7; --guide-line:#39455d;
  --guide-teal:#163431; --guide-blue:#1b2c41;
  background:var(--guide-bg)!important;
}
html[data-tgl-design][data-tgl-theme=light] body.tgl-guides:has(.guide-editorial) {
  --guide-bg:#f6f6f3; --guide-surface:#fff; --guide-raised:#edf0f3;
  --guide-ink:#172238; --guide-muted:#45566b; --guide-line:#cad1d7;
  --guide-teal:#e3f1ed; --guide-blue:#e8eff6;
}
.tgl-guides #main-content .guide-editorial {
  --editorial-green:#86dfaa; --editorial-amber:#f4c95d; --editorial-blue:#a6ccf1;
  --editorial-link:#ff82be; --editorial-caution:#30291b; --editorial-topic:var(--editorial-green);
  font:17px/1.65 Arial,Helvetica,sans-serif;
}
html[data-tgl-theme=light] .tgl-guides #main-content .guide-editorial {
  --editorial-green:#176b42; --editorial-amber:#805600; --editorial-blue:#355f86;
  --editorial-link:#97004f; --editorial-caution:#fbf0da;
}
.tgl-guides #main-content .guide-editorial[data-category=weather-clothing] { --editorial-topic:var(--editorial-amber); }
.guide-editorial * { box-sizing:border-box; }
.tgl-guides #main-content .guide-editorial :is(h1,h2,h3) { text-wrap:balance; }
.tgl-guides #main-content .guide-editorial h1 { max-width:24ch; font-size:clamp(36px,4.5vw,58px); }
.guide-editorial .guide-category::before { background:var(--editorial-topic); }
.tgl-guides #main-content .guide-editorial .guide-category { color:var(--editorial-topic); }
.guide-editorial .guide-hero { gap:12px 32px; margin-bottom:26px; }
.guide-editorial .guide-opening { max-width:77ch; }
.tgl-guides #main-content .guide-editorial .guide-intro { max-width:68ch; margin:18px 0 4px; font-size:21px; }
.tgl-guides #main-content .guide-editorial :is(p,li) { line-height:1.65; }
.tgl-guides #main-content .guide-editorial p { margin:0 0 16px; }
.tgl-guides #main-content .guide-editorial :is(.guide-section-body,.guide-caution) > :last-child { margin-bottom:0; }
.guide-editorial .guide-sections { gap:26px 22px; }
.guide-editorial .guide-section { margin:0; }
.guide-editorial .guide-section-body { min-width:0; }
.guide-editorial .guide-section--plain { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,2fr); gap:12px 38px; padding:12px 0; }
.guide-editorial .guide-section--plain:not(:has(.guide-section-body > *)) { display:block; padding-bottom:0; }
.tgl-guides #main-content .guide-editorial h2 { font-size:27px; line-height:1.2; margin:0 0 16px; }
.tgl-guides #main-content .guide-editorial .guide-section--plain h2 { font-size:25px; }
.tgl-guides #main-content .guide-editorial h3 { font-size:23px; line-height:1.25; letter-spacing:-.025em; margin:0 0 14px; }
.guide-editorial :is(.guide-section--quick-answer,.guide-section--worked-example,.guide-section--half,.guide-section--action) { box-shadow:none; border-radius:18px; }
.guide-editorial .guide-section--quick-answer { padding:26px 30px; background:var(--guide-teal); border:1px solid var(--guide-line); border-top:3px solid var(--editorial-green); }
.tgl-guides #main-content .guide-editorial .guide-section--quick-answer > .guide-label { color:var(--editorial-green); margin-bottom:12px; }
.tgl-guides #main-content .guide-editorial ul { padding-left:22px; margin:14px 0 18px; list-style:disc; }
.tgl-guides #main-content .guide-editorial li { margin:10px 0; padding-left:6px; }
.guide-editorial li::marker { color:var(--editorial-topic); font-weight:700; }
.tgl-guides #main-content .guide-editorial .guide-section--quick-answer ul { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 30px; padding-left:22px!important; }
.tgl-guides #main-content .guide-editorial .guide-section--quick-answer li { background:none; border:0; border-radius:0; font-size:17px; margin:0; padding:0 0 0 4px; }
.guide-editorial .guide-section--quick-answer li::marker { color:var(--editorial-green); }
.tgl-guides #main-content .guide-editorial li strong { font-weight:700; }
.tgl-guides #main-content .guide-editorial .guide-steps { padding-left:29px; margin:8px 0 20px; }
.tgl-guides #main-content .guide-editorial .guide-steps li { margin:0 0 18px; padding-left:10px; }
.guide-editorial .guide-steps li::marker { font-size:20px; }
.guide-editorial .guide-caution { margin:20px 0; padding:16px 20px; background:var(--editorial-caution); border-inline-start:3px solid var(--editorial-amber); border-radius:0 12px 12px 0; }
.tgl-guides #main-content .guide-editorial .guide-caution p { color:var(--guide-ink); font-size:16px; }
.guide-editorial .guide-section--worked-example { grid-column:auto; background:var(--guide-teal); padding:24px; border:1px solid var(--guide-line); border-top:3px solid var(--editorial-green); }
.guide-editorial .guide-section--worked-example[data-example="2"] { background:var(--guide-blue); border-top-color:var(--editorial-blue); }
.guide-editorial .guide-section--worked-example[data-example="3"] { grid-column:1 / -1; background:var(--guide-surface); border-top-color:var(--editorial-topic); }
.tgl-guides #main-content .guide-editorial .guide-example-number { display:block; margin-bottom:7px; color:var(--editorial-green); font-size:12px; line-height:1.5; letter-spacing:.08em; text-transform:uppercase; }
.tgl-guides #main-content .guide-editorial [data-example="2"] .guide-example-number { color:var(--editorial-blue); }
.guide-editorial .guide-section--half { padding:18px 22px; background:var(--guide-surface); border:1px solid var(--guide-line); border-inline-start:3px solid var(--editorial-topic); }
.guide-editorial .guide-section--half:has(+.guide-section--plain) { grid-column:1 / -1; }
.guide-editorial .guide-table { margin:20px 0; background:var(--guide-surface); border-radius:12px; scrollbar-color:var(--guide-muted) var(--guide-raised); }
.tgl-guides #main-content .guide-editorial table { table-layout:auto; font-size:16px; line-height:1.5; }
.tgl-guides #main-content .guide-editorial :is(th,td),
.tgl-guides #main-content .guide-editorial .guide-comparison-table td:last-child { font-size:16px; font-weight:400; padding:13px 16px; color:var(--guide-ink); }
.tgl-guides #main-content .guide-editorial :is(thead th,tbody th) { font-weight:700; }
.tgl-guides #main-content .guide-editorial thead th:first-child { width:24%; }
.tgl-guides #main-content .guide-editorial table:has(th:nth-child(3)) { table-layout:fixed; min-width:440px; }
.tgl-guides #main-content .guide-editorial table:has(th:nth-child(3)) thead th:first-child { width:34%; }
.tgl-guides #main-content .guide-editorial table:not(.guide-editorial-table):has(th:nth-child(3)) :is(th,td):not(:first-child) { text-align:center; }
.tgl-guides #main-content .guide-editorial tbody tr:nth-child(even) { background:var(--guide-raised); }
.tgl-guides #main-content .guide-editorial caption { font-size:13px; padding:12px 16px; }
.guide-editorial .guide-formula { border:0; border-inline-start:3px solid var(--editorial-green); border-radius:0 12px 12px 0; background:var(--guide-surface); padding:16px 20px; overflow-wrap:anywhere; }
.tgl-guides #main-content .guide-editorial .guide-formula p { color:var(--guide-ink); font-size:18px; }
.guide-editorial .guide-section--action { padding:26px 30px; background:var(--editorial-caution); border:1px solid var(--guide-line); border-top:3px solid var(--editorial-amber); }
.tgl-guides #main-content .guide-editorial .guide-section--action h2 { max-width:none; }
.tgl-guides #main-content .guide-editorial a:not(.guide-action) { color:var(--editorial-link); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; overflow-wrap:anywhere; }
.tgl-guides #main-content .guide-editorial a:not(.guide-action):hover { text-decoration-thickness:2px!important; text-decoration-color:currentColor!important; }
.tgl-guides #main-content .guide-editorial a:focus-visible,
.tgl-guides #main-content .guide-editorial .guide-table:focus-visible { outline:3px solid var(--editorial-link)!important; outline-offset:4px; box-shadow:none!important; }
.tgl-guides #main-content .guide-editorial a.guide-action { min-height:48px; margin-top:20px; }
.tgl-guides #main-content .guide-editorial .guide-tool-action { margin:0; }
.tgl-guides #main-content .guide-editorial .guide-references ul { margin:8px 0 0; }
.tgl-guides #main-content .guide-editorial :is(.guide-references,.guide-related) a { display:inline-block; padding:9px 0; }
.tgl-guides #main-content .guide-editorial :is(.guide-references,.guide-related) li { margin:0; }
.guide-editorial .guide-new-tab { display:inline-block; }
.guide-editorial .guide-sr-only { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:800px) {
  .guide-editorial .guide-section--plain { grid-template-columns:minmax(0,1fr); gap:0; }
  .guide-editorial .guide-hero { grid-template-columns:minmax(0,1fr); }
  .guide-editorial .guide-hero-photo { grid-column:1; grid-row:auto; }
}
@media(max-width:680px) {
  .guide-editorial .guide-sections { display:grid; grid-template-columns:minmax(0,1fr); gap:22px; }
  .guide-editorial .guide-section--worked-example,.guide-editorial .guide-section--half { grid-column:1; }
  .guide-editorial .guide-section--plain { padding:6px 0; }
  .guide-editorial :is(.guide-section--quick-answer,.guide-section--worked-example,.guide-section--action) { padding:20px; }
  .tgl-guides #main-content .guide-editorial { font-size:16px; }
  .tgl-guides #main-content .guide-editorial h2,
  .tgl-guides #main-content .guide-editorial .guide-section--plain h2 { font-size:25px; }
  .tgl-guides #main-content .guide-editorial h3 { font-size:22px; }
  .tgl-guides #main-content .guide-editorial .guide-intro { font-size:19px; }
  .tgl-guides #main-content .guide-editorial .guide-section--quick-answer ul { display:block; }
  .tgl-guides #main-content .guide-editorial .guide-section--quick-answer li { font-size:16px; margin:12px 0; }
  .tgl-guides #main-content .guide-editorial :is(th,td),
  .tgl-guides #main-content .guide-editorial .guide-comparison-table td:last-child { padding:12px 10px; font-size:15px; }
  .tgl-guides #main-content .guide-editorial .guide-formula p { font-size:16px; }
  .guide-editorial .guide-caution { padding:14px 16px; }
}

/* Shared, contextual follow card; matches the site's existing social panels. */
.tgl-guides .guide-instagram {
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  align-items:start;
  gap:14px;
  margin:30px 0;
  padding:22px 24px;
  border:1px solid var(--guide-line);
  border-inline-start:3px solid var(--guide-pink);
  border-radius:16px;
  background:var(--guide-surface);
}
.tgl-guides .guide-instagram svg { width:26px; height:26px; color:var(--guide-ink); }
.tgl-guides #main-content .guide-instagram h2 { margin:0; font-size:20px; line-height:1.35; }
.tgl-guides #main-content .guide-instagram p { margin:8px 0 4px; color:var(--guide-muted); font-size:16px; line-height:1.6; }
.tgl-guides #main-content .guide-instagram a { display:inline-flex; align-items:center; min-height:44px; color:var(--guide-ink); font-size:15px; font-weight:700; text-decoration:underline; text-decoration-color:var(--guide-pink); text-underline-offset:4px; }
.tgl-guides .guide-instagram a:focus-visible { outline:2px solid var(--guide-pink); outline-offset:5px; border-radius:2px; }
.tgl-guides .guide-sr-only { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
/* Keep related links as a reading list, rather than an inline row. */
.tgl-guides #main-content .guide-related ul { display:block; list-style:disc; padding-left:22px; }
/* Five new training/racing Guides: clearer editorial section boundaries. */
.guide-editorial[data-category=training-racing] .guide-section--plain { border-top:1px solid var(--guide-line); padding-top:26px; }
.guide-editorial[data-category=training-racing] .guide-section--plain h2 { max-width:20ch; }
/* Captions remain available to assistive technology; section headings supply the visible title. */
.guide-editorial caption.guide-caption-redundant { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; padding:0!important; }
/* Original crops remain completely visible at both sizes. No tint or colour filter. */
.tgl-guides .guide-editorial .guide-hero-photo--editorial { height:auto; grid-row:1; align-self:start; }
.tgl-guides .guide-editorial .guide-hero-photo--editorial img { height:auto; min-height:0; object-fit:contain; }
.tgl-guides .guide-editorial .guide-hero-photo--editorial figcaption { background:var(--guide-surface); padding:12px 16px; }
/* Reuse the established descriptive tool card and pink action. */
.tgl-guides .guide-tool-recommendation { margin:28px 0; padding:24px 28px; border:1px solid var(--guide-line); border-inline-start:3px solid var(--editorial-green); border-radius:18px; background:var(--guide-teal); }
.tgl-guides #main-content .guide-tool-recommendation h2 { margin:0 0 10px; font-size:25px; }
.tgl-guides #main-content .guide-tool-recommendation p { max-width:65ch; }
@media(max-width:800px) {
  .tgl-guides .guide-editorial .guide-hero-photo--editorial { grid-row:auto; max-width:560px; width:100%; }
}
@media(max-width:600px) {
  .tgl-guides .guide-instagram { grid-template-columns:26px minmax(0,1fr); gap:10px; padding:18px; margin:24px 0; }
  .guide-editorial[data-category=training-racing] .guide-section--plain { padding-top:20px; }
  .tgl-guides .guide-tool-recommendation { padding:20px; }
}

/* Shared table headers: stronger hierarchy, with the existing cycling palette. */
.tgl-guides #main-content thead th,
.tgl-guides #main-content .guide-editorial thead th {
  background:#23483f;
  color:#f1fff8;
  font-weight:800;
  font-size:15px;
  line-height:1.4;
  padding:14px 16px;
  border-bottom:2px solid #86dfaa;
}
html[data-tgl-theme=light] .tgl-guides #main-content thead th {
  background:#d6e9df;
  color:#153e2c;
  border-bottom-color:#397d57;
}
@media(max-width:680px) {
  .tgl-guides #main-content thead th { padding:12px 10px; font-size:15px; }
}

/* GUIDES-05: reuse local scrolling rather than compressing the pursuit figures. */
.tgl-guides #main-content .guide-splits table { min-width:520px; }
.tgl-guides #main-content .guide-splits table :is(th,td) {
  font-size:15px; line-height:1.5; padding:12px 10px; font-variant-numeric:tabular-nums;
}
/* Shared source typography; existing labels retain their verified attribution. */
.tgl-guides #main-content .guide-references :is(li,a) { font-size:15px; line-height:1.6; }
.tgl-guides #main-content :is(.guide-references,.guide-related) a {
  display:inline-block; padding:10px 0; overflow-wrap:anywhere;
}
.tgl-guides #main-content :is(.guide-references,.guide-related) li { margin:0; }
/* Reuse the accepted major-section treatment on the text-led equipment Guides. */
.guide-editorial[data-category=bike-setup] .guide-section--plain {
  border-top:1px solid var(--guide-line); padding-top:26px;
}
@media(max-width:680px) {
  .guide-editorial[data-category=bike-setup] .guide-section--plain { padding-top:20px; }
}

/* GUIDES-06: approved editorial opening; existing text flows beside the lead. */
html[data-tgl-shell] body.tgl-guides > main#main-content:has(.guide-hero-photo) { max-width:1180px !important; padding:38px 32px 54px; }
.tgl-guides #main-content .guide-hero:has(.guide-hero-photo) {
  display:flow-root; text-align:left;
}
.tgl-guides #main-content .guide-hero:has(.guide-hero-photo) > .guide-hero-copy {
  float:left; width:calc((100% - 44px) * .6);
}
.tgl-guides #main-content .guide-hero:not(:has(.guide-hero-art,.guide-hero-photo)) {
  display:block; text-align:left;
}
.tgl-guides #main-content .guide-hero:not(:has(.guide-hero-art,.guide-hero-photo)) > .guide-hero-copy {
  max-width:82ch; width:100%;
}
.tgl-guides #main-content .guide-hero:has(.guide-hero-photo) > .guide-opening {
  clear:left; padding-top:0;
}
.tgl-guides #main-content .guide-hero-copy { min-width:0; }
.tgl-guides #main-content .guide-hero .guide-breadcrumb { margin:0 0 20px; font-size:13px; }
.tgl-guides #main-content .guide-hero:has(.guide-hero-photo) .guide-category { margin:0 0 16px; }
.tgl-guides #main-content .guide-hero:has(.guide-hero-photo) h1 {
  font-size:clamp(36px,4.5vw,58px); line-height:1.08; letter-spacing:-.035em;
  max-width:none; margin:0 0 23px; text-wrap:balance;
}
.tgl-guides #main-content .guide-hero:has(.guide-hero-photo) .guide-intro {
  font-size:20px; line-height:1.6; margin:0 0 24px; max-width:none;
}
.tgl-guides #main-content .guide-hero .guide-opening { max-width:none; margin:0; }
.tgl-guides #main-content .guide-hero .guide-opening .guide-copy { font-size:17px; line-height:1.7; max-width:none; }
.tgl-guides #main-content .guide-hero .guide-opening > :last-child { margin-bottom:0; }
.tgl-guides #main-content .guide-hero > .guide-hero-photo {
  float:right; width:calc((100% - 44px) * .4);
  max-width:none; height:auto; margin:72px 0 20px 44px;
}
.tgl-guides #main-content .guide-hero > .guide-hero-photo figure { display:grid; justify-items:center; height:auto; margin:0; }
.tgl-guides #main-content .guide-hero > .guide-hero-photo img {
  display:block; width:auto; height:auto; min-height:0;
  max-width:100%; max-height:450px; object-fit:contain; object-position:center; border-radius:18px;
}
.tgl-guides #main-content .guide-hero:has(.guide-hero-photo) + .guide-sections { margin-top:36px; }
@media(max-width:800px) {
  html[data-tgl-shell] body.tgl-guides > main#main-content:has(.guide-hero-photo) { padding:24px 16px 40px; }
  .tgl-guides #main-content .guide-hero:has(.guide-hero-photo) { display:flex; flex-direction:column; gap:0; }
  .tgl-guides #main-content .guide-hero:has(.guide-hero-photo) > .guide-hero-copy { float:none; width:100%; order:0; }
  .tgl-guides #main-content .guide-hero:has(.guide-hero-photo) > .guide-opening { clear:none; order:1; }
  .tgl-guides #main-content .guide-hero > .guide-hero-photo { float:none; width:100%; order:2; margin:20px 0 0; }
  .tgl-guides #main-content .guide-hero > .guide-hero-photo img { max-height:380px; }
  .tgl-guides #main-content .guide-hero:has(.guide-hero-photo) .guide-intro { font-size:19px; margin-bottom:20px; }
  .tgl-guides #main-content .guide-hero:has(.guide-hero-photo) + .guide-sections { margin-top:26px; }
}

/* GUIDES-07: retain the approved compact support metrics inside editorial articles. */
.tgl-guides #main-content .guide-editorial .guide-tool-prompt h2 { font-size:16px; line-height:1.35; letter-spacing:normal; margin:0 0 4px; }
.tgl-guides #main-content .guide-editorial .guide-tool-prompt p { font-size:14px; line-height:1.45; margin:0 0 4px; }
.tgl-guides #main-content .guide-editorial .guide-tool-prompt p:last-child { margin:0; }
.tgl-guides #main-content .guide-editorial .guide-tool-prompt a { color:var(--prompt-accent); }

/* GUIDES-07D: shared prose tables; pursuit splits and figure tables keep their own rules. */
.tgl-guides #main-content .guide-editorial table.guide-editorial-table {
  table-layout:auto; min-width:0; width:100%;
}
.tgl-guides #main-content .guide-editorial table.guide-editorial-table :is(th,td) {
  text-align:left; vertical-align:top; line-height:1.5; padding:13px 16px;
}
.tgl-guides #main-content .guide-editorial table.guide-editorial-table thead th:first-child {
  width:auto; min-width:10ch;
}
.tgl-guides #main-content .guide-editorial table.guide-editorial-table:has(thead th:nth-child(3)) {
  min-width:440px;
}
.tgl-guides #main-content .guide-editorial caption:not(.guide-caption-redundant) {
  font-size:15px; font-weight:600; line-height:1.5; text-align:left; padding:12px 16px;
}
.tgl-guides #main-content .guide-editorial .guide-section--plain > h2.guide-section-heading {
  text-transform:uppercase; overflow-wrap:break-word;
}
@media(max-width:680px) {
  .tgl-guides #main-content .guide-editorial table.guide-editorial-table :is(th,td) { padding:12px 10px; font-size:15px; }
}
