/* ==========================================================================
   Content pages — supplemental styles (retrofit guide, press release)
   Loaded after styles.css. Kept minimal; reuses the v2 design system.
   ========================================================================== */

/* Anchor jumps shouldn't hide under the fixed site header. */
main section[id] {
  scroll-margin-top: 96px;
}

/* On-this-page pill navigation */
.anchor-strip {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.anchor-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.anchor-strip .small-label {
  margin-right: 4px;
  color: var(--stone-500);
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.anchor-nav a {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.anchor-nav a:hover,
.anchor-nav a:focus-visible {
  border-color: var(--wood);
  color: var(--wood);
}

/* Note-style callout inside article bodies */
.article-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--stone-100);
  border-left: 3px solid var(--wood);
}

.article-callout p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--stone-900);
}

.article-note {
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone-700);
}

/* Long URLs (e.g. lionwindowsanddoors.com) don't always have break
   opportunities; at 320px they can push the article column past the
   viewport, so allow mid-string wraps in article text only. */
.article-body p,
.article-body li,
.article-body a {
  overflow-wrap: anywhere;
}

/* Small footnote inside expectation cards */
.card-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--stone-700);
}

/* Full-width final card inside a two-column grid */
.two-grid .span-both {
  grid-column: 1 / -1;
}

#retrofit-vs-new .spec-table {
  min-width: 680px;
  color: var(--ink);
}

#retrofit-vs-new .spec-table caption {
  padding-bottom: 16px;
  text-align: left;
  font-weight: 700;
}

#retrofit-vs-new .spec-table th,
#retrofit-vs-new .spec-table td {
  padding: 18px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}

/* Bulleted lists inside cards (the site reset removes list markers) */
.card-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.card-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 2px;
  background: var(--wood);
}

/* Prep checklist with boxed ticks */
.check-list {
  display: grid;
  gap: 16px;
}

.check-list li {
  position: relative;
  padding-left: 40px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--stone-900);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--wood);
  color: var(--wood);
  font-size: 14px;
  font-weight: 700;
}
