/* Editorial pages use the same measured scale as the product pages. */
.guide-hero .breadcrumb {
  min-height: 32px;
  padding-block: 4px;
  margin-block: 0 16px;
}
.guide-hero h1 {
  max-width: 24ch;
  font-size: var(--page-title-size);
  line-height: 1.1;
  text-wrap: balance;
}
.guide-hero .lede {
  max-width: 65ch;
}
.guide-hero > .container > .muted {
  max-width: 80ch;
}
.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}
.guide-card h3 {
  font: 400 clamp(1.625rem, 2.15vw, 1.75rem)/1.2 var(--display);
  letter-spacing: -0.025em;
  margin-block: 16px;
}
.guide-card-title {
  display: block;
  color: inherit;
}
.guide-card-title:hover {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.guide-card > .tiny-label {
  font-size: 11px;
  line-height: 1.6;
}
.guide-card > p:not(.tiny-label) {
  line-height: 1.7;
  margin-bottom: 24px;
}
.guide-card > .text-link:last-child {
  margin-top: auto;
  padding-top: 16px;
}
.guide-card-points {
  width: 100%;
  margin-top: auto;
  border-top: 1px solid var(--border);
}
.guide-card-points summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding-block: 12px;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.guide-card-points summary::-webkit-details-marker {
  display: none;
}
.guide-card-points summary::after {
  content: "+";
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
}
.guide-card-points[open] summary::after {
  content: "−";
}
.guide-card-points .check-list {
  margin-block: 4px 16px;
}
.guide-card-points + .text-link:last-child {
  margin-top: 0;
}
.guide-article {
  max-width: 880px;
  margin-inline: auto;
  padding: var(--section-gap);
  border: 0;
  background: var(--canvas);
  box-shadow: none;
}
.guide-article > header > h2 {
  max-width: 30ch;
  font-size: var(--section-title-size);
  text-wrap: balance;
}
.guide-article .report-section h2 {
  font-size: clamp(1.625rem, 2.5vw, 2rem);
  line-height: 1.2;
}
.guide-article .report-section > p,
.guide-article .report-section > .check-list {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.75;
}
.guide-article .report-section > .check-list li {
  font-size: inherit;
  line-height: inherit;
}
.guide-sources > .container > p {
  max-width: 75ch;
}

/* A guide's topics, printed so the keywords in its markup are ones a reader
   can see. The site's own .tag chip, laid out as a wrapping list. */
.guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.guide-tags .tag {
  font-size: 12px;
  background: transparent;
  border-radius: 0;
  padding-inline: 0 12px;
}

.guide-region-nav { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; }
.guide-region-nav a { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--border); font-size: 15px; }
.guide-region-nav a:hover { color: var(--violet); border-color: currentColor; }
.guide-more-links { list-style: none; padding: 0; margin: 0 0 24px; }
.guide-more-links a { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 52px; padding-block: 12px; border-top: 1px solid var(--border); }
.guide-more-links a:hover { color: var(--violet); }
.guide-more-links span { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* City artwork identifies the reading collection. Analysis stays in its own
   labelled, inspectable product frame. */
.guide-city { margin: 0; min-width: 0; }
.guide-city img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}
.guide-city figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.guide-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
}
.guide-hero-layout .guide-city img { aspect-ratio: 4 / 3; }
.guide-hero-layout .button-row { gap: 16px 24px; }
.guide-library-layout,
.guide-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
}
.guide-library-intro .section-heading,
.guide-reading-intro .section-heading { font-size: clamp(30px, 3vw, 40px); }
.guide-library-intro .guide-city,
.guide-reading-intro .guide-city { margin-block: 24px; }
.guide-library-intro .section-intro,
.guide-reading-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.guide-library-layout .guide-grid { grid-template-columns: minmax(0, 1fr); }
.guide-library-layout .guide-card:first-child { padding-top: 20px; }
.guide-library-layout .guide-card h3 { margin-block: 10px 12px; }
.guide-library-layout .guide-card > p:not(.tiny-label) { margin-bottom: 16px; }
.guide-library-layout .guide-card-points { border: 0; }
.guide-library-layout .guide-card-points summary { padding-block: 8px; }
.guide-library-layout .guide-card > .text-link:last-child { padding-top: 0; }
.guide-reading-item { border-top: 1px solid var(--border); padding-block: 20px; }
.guide-reading-item:last-child { border-bottom: 1px solid var(--border); }
.guide-reading-item .tiny-label { font-size: 11px; line-height: 1.5; color: var(--muted); }
.guide-reading-item h3 { margin: 6px 0 8px; font: 400 clamp(24px, 2.2vw, 28px)/1.2 var(--display); letter-spacing: -0.025em; }
.guide-reading-item h3 a { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; }
.guide-reading-item h3 a:hover { color: var(--violet); }
.guide-reading-item .icon { flex-shrink: 0; width: 20px; height: 20px; }
.guide-reading-item > p:last-child { max-width: 64ch; font-size: 15px; line-height: 1.6; color: var(--muted); }
.guide-evidence { min-width: 0; }
.guide-example-context { margin-bottom: 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.guide-evidence .reference-details { margin-top: 24px; }
.guide-evidence .browser-screen { box-shadow: none; }
@media (max-width: 1000px) {
  .guide-library-layout,
  .guide-reading-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; }
  .guide-hero-layout { gap: 32px; }
}
@media (max-width: 600px) {
  .guide-region-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  .guide-region-nav a { justify-content: space-between; gap: 12px; font-size: 14px; }
  .guide-more-links a { display: block; }
  .guide-more-links span { display: block; margin-top: 8px; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-hero-layout,
  .guide-library-layout,
  .guide-reading-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .guide-city img,
  .guide-hero-layout .guide-city img { aspect-ratio: 16 / 9; }
  .guide-reading-item h3 a { gap: 16px; }
  .guide-article { padding-inline: 0; }
  .report-sheet .table-wrap { margin-inline: 0; max-width: 100%; }
}

@media print {
  .guide-city { display: none; }
  .guide-hero-layout,
  .guide-library-layout,
  .guide-reading-layout { display: block; }
  .guide-article { padding: 0; }
  .guide-article > header > h2 { font-size: 25pt; }
  .guide-article .report-section h2 { font-size: 19pt; }
  .guide-article .report-section > p,
  .guide-article .report-section > .check-list { font-size: 10pt; }
  .guide-card-points > :not(summary) { display: block; }
  .guide-card-points summary::after { content: none; }
}
