:root {
  color-scheme: light;
  --ink: #173129;
  --muted: #587066;
  --paper: #fffdf7;
  --surface: #f3f7ee;
  --line: #d7e1d5;
  --green: #23684f;
  --green-dark: #174a39;
  --blue: #2f6f85;
  --accent: #f0b84b;
  --warning: #825f08;
  --danger: #9f2f24;
  --shadow: 0 18px 45px rgba(23, 49, 41, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(240, 184, 75, 0.2), transparent 28rem),
    linear-gradient(180deg, #f8fbf4 0, var(--paper) 32rem);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--green); }
a:hover { color: var(--green-dark); }
button, input, textarea { font: inherit; }

.site-header {
  border-bottom: 1px solid rgba(35, 104, 79, 0.16);
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header__inner {
  width: min(1120px, calc(100% - 2rem));
  min-height: 5.25rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand--site-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1;
  white-space: nowrap;
}
.brand--site-title .brand__mark {
  width: 3.4rem;
  height: auto;
}
.brand--site-title .brand__words {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
}
.brand--site-title .brand__place,
.brand--site-title .brand__school {
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.brand--site-title .brand__place { color: var(--blue); }
.brand--site-title .brand__program {
  color: var(--green-dark);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.brand--site-title .brand__ampersand { color: var(--blue); }
.brand--site-title .brand__school { color: var(--muted); }
.site-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(35, 104, 79, 0.18);
  border-radius: 999px;
  background: #f6cf77;
  box-shadow: 0 5px 14px rgba(23, 49, 41, 0.1);
  color: var(--green-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}
.site-nav-link__icon { font-size: 0.68rem; }
.site-nav-link__copy { display: flex; flex-direction: column; gap: 0.12rem; }
.site-nav-link__label { font-size: 0.8rem; font-weight: 850; line-height: 1; }
.site-nav-link__detail { display: block; color: rgba(23, 74, 57, 0.78); font-size: 0.61rem; font-weight: 800; line-height: 1; }
.site-nav-link:hover { background: var(--accent); box-shadow: 0 7px 18px rgba(23, 49, 41, 0.16); color: var(--ink); transform: translateY(-1px); }
.preview-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.preview-label::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  background: var(--accent);
  border-radius: 999px;
}
.preview-label--support::before { display: none; }
.preview-label__icon {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  opacity: 0.78;
}
.preview-label--site {
  gap: 0.7rem;
  padding: 0.45rem 0.7rem 0.45rem 0.5rem;
  border: 1px solid rgba(35, 104, 79, 0.18);
  border-radius: 0.9rem;
  background: rgba(243, 247, 238, 0.86);
  letter-spacing: 0;
  line-height: 1.05;
  text-decoration: none;
  text-transform: none;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.preview-label--site:hover {
  border-color: rgba(35, 104, 79, 0.45);
  background: #fffef9;
  box-shadow: 0 7px 18px rgba(23, 49, 41, 0.12);
  color: var(--green-dark);
  transform: translateY(-1px);
}
.preview-label--site:focus-visible {
  outline: 3px solid rgba(47, 111, 133, 0.2);
  outline-offset: 2px;
}
.preview-label--site .preview-label__icon {
  width: 2.35rem;
  height: 2.35rem;
  opacity: 1;
}
.preview-label__copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.preview-label__kicker {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preview-label__name {
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
}
.preview-label__external {
  align-self: flex-start;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
}
.workspace-link {
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}
.notice {
  margin: 0 0 2rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e3c46e;
  border-radius: 0.85rem;
  background: #fff8dc;
  color: #65501c;
  font-size: 0.92rem;
}
.hero { max-width: 800px; margin: 0 0 3rem; }
.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.hero p:last-child {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}
.hero--audiences { max-width: 740px; }
.home-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.home-resource-grid--single { grid-template-columns: 1fr; }
.home-resource-grid--single .home-resource-card { min-height: 0; }
.home-resource-card {
  min-height: 16rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 9px 26px rgba(23, 49, 41, 0.06);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.home-resource-card:hover {
  border-color: var(--green);
  box-shadow: 0 14px 30px rgba(23, 49, 41, 0.11);
  color: var(--ink);
  transform: translateY(-2px);
}
.home-resource-card__prompt,
.audience-resource__type {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.home-resource-card h2 {
  margin: 0.55rem 0 0.65rem;
  font-size: 1.55rem;
  line-height: 1.15;
}
.home-resource-card p { margin: 0; color: var(--muted); }
.home-resource-card__action {
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--green);
  font-weight: 800;
}

.audience-shell {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.25rem 0 5rem;
}
.audience-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}
.audience-heading h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.audience-heading > p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}
.audience-section { margin-top: 2.4rem; }
.audience-section > h2 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
}
.audience-resource-list { display: grid; gap: 0.75rem; }
.audience-resource {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
}
.audience-resource--planned { background: var(--surface); }
.audience-resource h3 {
  margin: 0.25rem 0 0.3rem;
  font-size: 1.15rem;
  line-height: 1.2;
}
.audience-resource p { margin: 0; color: var(--muted); }
.button-link {
  flex: 0 0 auto;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}
.button-link:hover { background: var(--green-dark); color: white; }

.home-flyer {
  margin-top: 2rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 1.25rem;
  background:
    linear-gradient(115deg, rgba(23, 74, 57, 0.92), rgba(35, 104, 79, 0.88)),
    url("/assets/walking-to-school-together.webp") center 14% / cover;
  box-shadow: var(--shadow);
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}
.home-flyer .eyebrow { color: #f6cf77; }
.home-flyer h2 { margin: 0; font-size: clamp(1.7rem, 3.5vw, 2.5rem); line-height: 1.08; letter-spacing: -0.035em; }
.home-flyer__copy > p:last-child { max-width: 44rem; margin: 0.75rem 0 0; color: rgba(255, 255, 255, 0.84); }
.home-flyer__actions { max-width: 30rem; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.55rem; }
.home-flyer .button-link { background: #fffdf7; color: var(--green-dark); }
.home-flyer .button-link:hover { background: #f6cf77; color: var(--ink); }
.home-flyer .button-link--light { border: 1px solid rgba(255, 255, 255, 0.7); background: transparent; color: white; }

.media-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.25rem 0 5rem;
}
.media-section + .media-section { margin-top: 4.5rem; }
.media-section__heading { margin-bottom: 1.25rem; }
.media-section__heading h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.65rem); line-height: 1.08; letter-spacing: -0.04em; }
.media-reel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.media-reel-grid .instagram-media { width: 100% !important; min-width: 0 !important; margin: 0 !important; }
.media-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 26px rgba(23, 49, 41, 0.06);
}
.media-embed { width: 100%; border: 0; background: #edf1eb; display: block; }
.media-embed--landscape { aspect-ratio: 16 / 9; }
.media-card__copy { padding: 1.15rem 1.2rem 1.3rem; }
.media-card__type { margin: 0; color: var(--blue); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.media-card h3 { margin: 0.35rem 0 0.55rem; font-size: 1.3rem; line-height: 1.18; letter-spacing: -0.025em; }
.media-card__copy > p:not(.media-card__type) { margin: 0; color: var(--muted); }
.media-card__copy > a { display: inline-block; margin-top: 0.9rem; font-size: 0.88rem; font-weight: 800; }
.media-next-step {
  margin-top: 4.5rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border-radius: 1.25rem;
  background: var(--green-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.media-next-step .eyebrow { color: #f6cf77; }
.media-next-step h2 { margin: 0; font-size: clamp(1.65rem, 4vw, 2.4rem); line-height: 1.08; letter-spacing: -0.035em; }
.media-next-step p:last-child { max-width: 44rem; margin: 0.7rem 0 0; color: rgba(255, 255, 255, 0.82); }
.media-next-step .button-link { background: white; color: var(--green-dark); }
.media-next-step .button-link:hover { background: #f6cf77; color: var(--ink); }

.flyer-preview-shell {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.25rem 0 5rem;
}
.flyer-preview-heading { max-width: 700px; margin: 2.1rem auto 2rem; text-align: center; }
.flyer-preview-heading h1 { margin: 0; font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.03; letter-spacing: -0.05em; }
.flyer-preview-heading > p:last-of-type { margin: 1rem auto 0; color: var(--muted); font-size: 1.08rem; }
.flyer-preview-actions { margin-top: 1.25rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; }
.flyer-preview-stage {
  width: min-content;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 1.15rem;
  background: #e7ece3;
  box-shadow: inset 0 0 0 1px rgba(23, 49, 41, 0.08);
}

.parent-organizer-flyer {
  width: 4.25in;
  height: 5.5in;
  overflow: hidden;
  border: 1px solid #b9c9bc;
  background: #fffdf7;
  box-shadow: 0 12px 28px rgba(23, 49, 41, 0.16);
  color: #173129;
  font-size: 8.1pt;
  line-height: 1.26;
  display: flex;
  flex-direction: column;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.parent-organizer-flyer__photos {
  flex: 0 0 1.34in;
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 0.025in;
  background: var(--green-dark);
}
.parent-organizer-flyer__photos img { width: 100%; height: 1.34in; object-fit: cover; display: block; }
.parent-organizer-flyer__photos img:first-child { object-position: center 42%; }
.parent-organizer-flyer__photos img:last-child { object-position: center 72%; }
.parent-organizer-flyer__body { flex: 1; padding: 0.15in 0.18in 0.16in; display: flex; flex-direction: column; }
.parent-organizer-flyer__heading { display: flex; justify-content: space-between; gap: 0.1in; align-items: flex-start; }
.parent-organizer-flyer__brand { margin: 0; font-size: 7.2pt; font-weight: 850; letter-spacing: -0.01em; }
.parent-organizer-flyer__brand span { color: var(--green); }
.parent-organizer-flyer__eyebrow { margin: 0.025in 0 0; color: var(--blue); font-size: 6.35pt; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.parent-organizer-flyer__mark { width: 0.49in; height: auto; margin-top: -0.035in; }
.parent-organizer-flyer h1 { margin: 0.055in 0 0; font-size: 14pt; line-height: 0.99; letter-spacing: -0.045em; white-space: nowrap; }
html[lang="es"] .parent-organizer-flyer h1 { font-size: 11.15pt; }
.parent-organizer-flyer__introduction { margin: 0.07in 0 0; font-size: 7.8pt; line-height: 1.29; color: #3d584e; }
.parent-organizer-flyer__steps-label { margin: 0.075in 0 0.02in; color: var(--blue); font-size: 6.2pt; font-weight: 900; letter-spacing: 0.075em; text-transform: uppercase; }
.parent-organizer-flyer__steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.parent-organizer-flyer__steps li { min-width: 0; padding: 0.035in 0; border-top: 1px solid #e1e7de; font-size: 7.15pt; line-height: 1.18; font-weight: 760; display: grid; grid-template-columns: 0.21in 1fr; gap: 0.055in; align-items: center; }
.parent-organizer-flyer__steps span { width: 0.19in; height: 0.19in; border-radius: 99px; background: var(--green); color: white; font-size: 6.5pt; font-weight: 900; line-height: 0.19in; text-align: center; }
.parent-organizer-flyer__benefits { width: 75%; margin-top: 0.075in; padding: 0.065in 0.08in 0.07in; border-radius: 0.06in; background: #eaf2ed; }
.parent-organizer-flyer__benefits > p { margin: 0; color: var(--blue); font-size: 6.2pt; font-weight: 900; letter-spacing: 0.075em; text-transform: uppercase; }
.parent-organizer-flyer__benefits ul { margin: 0.045in 0 0; padding: 0; list-style: none; display: grid; gap: 0.02in; }
.parent-organizer-flyer__benefits li { min-width: 0; font-size: 6.15pt; line-height: 1.2; font-weight: 760; display: grid; grid-template-columns: 0.055in minmax(0, 1fr); gap: 0.035in; align-items: start; }
.parent-organizer-flyer__benefits li::before { content: ""; width: 0.055in; height: 0.055in; margin-top: 0.025in; border-radius: 99px; background: var(--green); }
.parent-organizer-flyer__footer { margin-top: auto; padding-top: 0.085in; border-top: 1px solid #d8e1d5; display: grid; grid-template-columns: minmax(0, 1fr) 1.66in; gap: 0.08in; align-items: center; }
.parent-organizer-flyer__support p { margin: 0; font-size: 6.25pt; line-height: 1.24; color: #4a6359; }
.parent-organizer-flyer__support p:first-child { margin-bottom: 0.025in; color: var(--ink); font-size: 7.2pt; }
.parent-organizer-flyer__cta { min-width: 0; color: var(--ink); text-decoration: none; display: grid; grid-template-columns: 0.85in minmax(0, 1fr); gap: 0.055in; align-items: center; }
.parent-organizer-flyer__cta img { width: 0.85in; height: 0.85in; display: block; }
.parent-organizer-flyer__cta span { min-width: 0; display: block; }
.parent-organizer-flyer__cta strong { display: block; color: var(--green-dark); font-size: 6.8pt; line-height: 1.08; }

body.flyer-single-document,
body.flyer-four-up-document { margin: 0; background: white; line-height: 1; }
.flyer-single-sheet { width: 4.25in; height: 5.5in; }
.flyer-four-up-sheet { position: relative; width: 8.5in; height: 11in; display: grid; grid-template-columns: repeat(2, 4.25in); grid-template-rows: repeat(2, 5.5in); }
.flyer-single-document .parent-organizer-flyer,
.flyer-four-up-document .parent-organizer-flyer { box-shadow: none; }

.contact-shell {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.25rem 0 5rem;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(22rem, 1.12fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-introduction { padding-top: 1rem; }
.contact-introduction h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
}
.contact-introduction > p:last-of-type {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}
.contact-follow-up {
  display: flex;
  gap: 0.85rem;
  margin-top: 2rem;
  padding: 1.15rem;
  border: 1px solid rgba(35, 104, 79, 0.25);
  border-radius: 1rem;
  background: linear-gradient(145deg, #f4f9ef, #edf6f4);
}
.contact-follow-up > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 900;
}
.contact-follow-up h2 { margin: 0; font-size: 1rem; }
.contact-follow-up p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.94rem; }
.contact-form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 800;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #b9c9bf;
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: #fffefb;
  color: var(--ink);
}
.contact-form textarea { min-height: 10rem; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(35, 104, 79, 0.14);
}
.field-help {
  margin: -0.2rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.contact-submit {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  background: var(--green);
  color: white;
  font-weight: 850;
  cursor: pointer;
}
.contact-submit:hover { background: var(--green-dark); }
.contact-submit:disabled { cursor: wait; opacity: 0.7; }
.contact-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  margin: -0.55rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.form-status {
  min-height: 1.5em;
  margin: -0.5rem 0 0;
  font-size: 0.9rem;
  font-weight: 750;
}
.form-status:empty { display: none; }
.form-status--success { color: var(--green-dark); }
.form-status--error { color: #9b2c1f; }
.status-label {
  flex: 0 0 auto;
  max-width: 12rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  text-align: right;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.resource-card {
  position: relative;
  min-height: 17rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 7px 22px rgba(23, 49, 41, 0.05);
}
.resource-card__audience {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.resource-card h2 { margin: 0.65rem 0 0.55rem; font-size: 1.35rem; line-height: 1.15; }
.resource-card > p { margin: 0; color: var(--muted); }
.resource-card__formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.2rem;
}
.resource-card__formats div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.6rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface);
  font-size: 0.86rem;
}
.resource-card__formats strong { grid-column: 1 / -1; }

.article-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 5rem;
}
.guide-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.3rem;
}
.guide-topbar .back-link { margin: 0; }
.back-link { display: inline-flex; margin: 0 0 1.3rem; font-weight: 750; text-decoration: none; }
.language-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}
.language-toggle:hover { background: var(--green-dark); color: white; }
.format-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.format-links a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}
.format-links a[aria-current="page"] { background: var(--green); color: white; }
.format-links .edit-link { margin-left: auto; border: 1px solid var(--green); }
.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 15rem);
  align-items: start;
  gap: 1.25rem;
}
.other-formats {
  position: sticky;
  top: 6rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(47, 111, 133, 0.28);
  border-radius: 1rem;
  background: linear-gradient(145deg, #f8fbf4, #eef6f5);
  box-shadow: 0 10px 28px rgba(23, 49, 41, 0.08);
}
.other-formats__eyebrow {
  margin: 0 0 0.2rem;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.other-formats h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}
.other-formats ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}
.other-formats li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15rem 0.4rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(47, 111, 133, 0.18);
  font-weight: 750;
}
html[lang="en"] .other-formats li > a { white-space: nowrap; }
.other-formats__language {
  display: inline-flex;
  gap: 0.28rem;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}
.other-formats li:first-child { padding-top: 0; border-top: 0; }
.other-formats__section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(47, 111, 133, 0.28);
}
.other-formats__section h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}
.other-formats__section ul { margin-top: 0.7rem; }
.other-formats small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.other-formats > p:last-child {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.resource-article {
  padding: clamp(1.15rem, 3.5vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}
.resource-article h1,
.resource-article h2,
.resource-article h3 { line-height: 1.15; letter-spacing: -0.025em; }
.resource-article h1 { margin-top: 0; font-size: clamp(1.8rem, 5vw, 3.1rem); }
.resource-article h2 { margin-top: 1.65rem; padding-top: 0.15rem; font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
.resource-article h3 { margin-top: 1.1rem; color: var(--blue); font-size: 1.04rem; }
.resource-article p, .resource-article li { font-size: 1rem; }
.resource-article strong { color: var(--green-dark); }
.resource-article ul, .resource-article ol { padding-left: 1.35rem; }
.resource-article li { margin: 0.25rem 0; }

/* Shared audience-resource treatment for matching web and print layouts. */
.resource-article:not(.visual-sample) { overflow: hidden; }
.resource-article:not(.visual-sample)[data-format="web"] { padding: 0 0 1.4rem; }
.resource-article:not(.visual-sample)[data-format="web"] > section {
  margin: 0;
  padding-inline: clamp(1.15rem, 3.5vw, 2.6rem);
}
.resource-article:not(.visual-sample)[data-format="web"] > section:first-child {
  position: relative;
  margin-bottom: 0.25rem;
  padding-left: clamp(0.95rem, 2.2vw, 1.5rem);
  padding-right: clamp(7rem, 20%, 10rem);
  padding-block: clamp(0.85rem, 2vw, 1.3rem);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white;
}
.program-mark {
  position: absolute;
  top: 50%;
  right: clamp(1rem, 3vw, 2rem);
  width: min(15.5%, 7.5rem);
  height: auto;
  padding: 0.3rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0.65rem;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 10px 24px rgba(11, 35, 27, 0.18);
  transform: translateY(-50%);
}
.resource-article:not(.visual-sample)[data-format="web"] > section:first-child h1 {
  max-width: 16ch;
  margin-bottom: 0.4rem;
  color: white;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.06;
}
.resource-article:not(.visual-sample)[data-format="web"] > section:first-child h1 + p,
.print-sheet:not(.visual-sample) > section:first-child h1 + p {
  font-weight: 800;
}
.resource-article[data-resource-id="parent-organizer"] > section:first-child h1 {
  max-width: none;
  white-space: nowrap;
}
html[lang="es"] .resource-article[data-resource-id="parent-organizer"] > section:first-child h1 {
  white-space: normal;
}
.resource-article:not(.visual-sample)[data-format="web"] > section:first-child p {
  margin: 0;
  font-size: 0.9rem;
}
.resource-article:not(.visual-sample)[data-format="web"] > section:first-child strong { color: #f7d78c; }
.guide-editorial-section {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(13rem, 1fr);
  column-gap: clamp(1.2rem, 3vw, 2rem);
  align-items: stretch;
}
.guide-editorial-media {
  grid-column: 2;
  align-self: stretch;
}
.guide-editorial-media__images {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0.65rem;
}
.guide-editorial-media--edge-distributed .guide-editorial-media__images {
  justify-content: space-between;
}
.guide-editorial-copy {
  grid-column: 1;
  min-width: 0;
}
.guide-editorial-copy > :first-child { margin-top: 0; }
.guide-editorial-copy > :last-child { margin-bottom: 0; }
.guide-editorial-media__item,
.overview-walking-gallery__item {
  margin: 0;
  break-inside: avoid;
}
.guide-editorial-media img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  border-radius: 0.8rem;
  object-fit: cover;
  object-position: center;
}
.guide-editorial-media img[data-media-crop="lower"] {
  object-position: center 72%;
}
.guide-editorial-media figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
.resource-article:not(.visual-sample)[data-format="web"] > section:has(> h2),
.resource-article:not(.visual-sample)[data-format="web"] > section.guide-editorial-section {
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.resource-article:not(.visual-sample)[data-format="web"] > section:has(> h2) h2,
.resource-article:not(.visual-sample)[data-format="web"] > section.guide-editorial-section h2 { margin-top: 0; }
.resource-article:not(.visual-sample)[data-format="web"] > section:last-child {
  margin-top: 1.5rem;
  padding-block: 1.15rem;
  border-top: 0;
  background: var(--ink);
  color: white;
}
.resource-article:not(.visual-sample)[data-format="web"] > section:last-child h2,
.resource-article:not(.visual-sample)[data-format="web"] > section:last-child h3 { color: white; }
.resource-article:not(.visual-sample)[data-format="web"] > section:last-child strong { color: #f7d78c; }
.resource-article:not(.visual-sample)[data-format="web"] > section:last-child a,
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="take-the-next-step"] a {
  color: #f7d78c;
  font-weight: 750;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
}
.resource-article:not(.visual-sample)[data-format="web"] > section:last-child a:hover,
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="take-the-next-step"] a:hover {
  color: white;
}

/* Phase 2B overview treatment. */
.visual-sample[data-resource-id="overview"] {
  --sample-green-wash: #eaf3e8;
  --sample-blue-wash: #eaf3f6;
  overflow: hidden;
}
.visual-sample[data-resource-id="overview"][data-format="web"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: clamp(0.8rem, 2vw, 1.4rem);
  background: #fffdf8;
}
.visual-sample[data-resource-id="overview"][data-format="web"] > section {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: white;
}
.visual-sample[data-resource-id="overview"][data-format="web"] h2,
.visual-sample[data-resource-id="overview"][data-format="web"] h3 { margin-top: 0; }
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="provo-walk-roll-to-school"] {
  position: relative;
  grid-column: 1 / -1;
  min-height: 9.5rem;
  padding: clamp(1rem, 2.5vw, 1.6rem);
  padding-right: clamp(7.5rem, 21%, 10rem);
  border: 0;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="provo-walk-roll-to-school"] h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 2.6rem);
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="provo-walk-roll-to-school"] h1 + p {
  margin: 0.45rem 0 0;
  color: #f7d78c;
  font-size: 0.9rem;
  font-weight: 800;
}
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="provo-walk-roll-to-school"] h1 + p strong,
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="provo-walk-roll-to-school"] h1 + p strong {
  color: inherit;
}
.visual-sample[data-resource-id="overview"][data-format="web"] .program-mark {
  width: min(16%, 8rem);
}
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="a-simpler-way-for-children-to-travel-to-school-togethe"],
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="why-walk-or-bike-together"],
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="parents-make-it-happen"],
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="bikewalk-provo-will-help-you-begin"],
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="take-the-next-step"] { grid-column: 1 / -1; }
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="a-simpler-way-for-children-to-travel-to-school-togethe"] {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(13rem, 1fr);
  column-gap: clamp(1.2rem, 3vw, 2rem);
  align-items: stretch;
  padding: clamp(1.15rem, 3vw, 1.8rem);
  border-left: 0.45rem solid var(--accent);
}
.overview-walking-gallery {
  grid-column: 2;
  align-self: stretch;
}
.overview-walking-gallery__images {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0.65rem;
}
.overview-walking-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  border-radius: 0.8rem;
  object-fit: cover;
}
.overview-walking-gallery figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="why-walk-or-bike-together"] {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(13rem, 1fr);
  column-gap: clamp(1.2rem, 3vw, 2rem);
  align-items: stretch;
  background: var(--sample-blue-wash);
}
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="why-walk-or-bike-together"] ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.325rem clamp(2.5rem, 5vw, 3.75rem);
}
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="why-walk-or-bike-together"] li {
  font-size: 0.825rem;
  font-weight: 700;
}
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="parents-make-it-happen"] {
  background: var(--sample-green-wash);
}
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="bikewalk-provo-will-help-you-begin"] {
  border: 2px solid var(--green);
  background: var(--sample-green-wash);
}
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="take-the-next-step"] {
  padding: clamp(1.15rem, 3vw, 1.7rem);
  border: 0;
  background: var(--ink);
  color: white;
}
.visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="take-the-next-step"] strong { color: #f7d78c; }

.visual-sample[data-resource-id="overview"][data-format="print"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 6pt;
  padding: 0.4in 0.56in 0.15in;
  background: white;
  font-size: 11.5pt;
  line-height: 1.4;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.visual-sample[data-resource-id="overview"][data-format="print"] p,
.visual-sample[data-resource-id="overview"][data-format="print"] li {
  font-size: 10.8pt;
  line-height: 1.3;
}
.visual-sample[data-resource-id="overview"][data-format="print"] h2 {
  margin-block: 7pt 3pt;
  font-size: 14pt;
}
.visual-sample[data-resource-id="overview"][data-format="print"] > section { margin: 0; }
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="provo-walk-roll-to-school"] {
  grid-column: 1 / -1;
  margin: -0.4in -0.56in 2pt;
  padding: 0.34in 0.56in 0.27in;
  background: var(--green-dark);
  color: white;
}
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="provo-walk-roll-to-school"] h1 {
  margin: 0;
  color: white;
  font-size: 25pt;
}
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="provo-walk-roll-to-school"] h1 + p {
  margin: 6pt 0 0;
  color: #f7d78c;
  font-size: 10pt;
  font-weight: 800;
}
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="children-traveling-to-school-together"] { grid-column: 1 / -1; }
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="why-families-do-it"],
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="parents-lead-the-community-supports"],
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="bikewalk-provo-can-help"],
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="ready-to-learn-more"] {
  padding: 8pt 11pt;
  border-radius: 9pt;
  background: var(--sample-green-wash);
}
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="parents-lead-the-community-supports"] { background: var(--sample-blue-wash); }
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="ready-to-learn-more"] {
  background: var(--ink);
  color: white;
}
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="ready-to-learn-more"] h2,
.visual-sample[data-resource-id="overview"][data-format="print"] [data-block-id="ready-to-learn-more"] strong { color: #f7d78c; }
.content-block:first-child > :first-child,
.editable-local:first-child > :first-child { margin-top: 0; }
.print-sheet {
  width: min(8.5in, 100%);
  min-height: 11in;
  margin: 0 auto;
  padding: 0.42in 0.48in;
  border-radius: 0;
  box-shadow: 0 12px 40px rgba(23, 49, 41, 0.14);
  font-size: 11.5pt;
  line-height: 1.4;
}
.print-sheet h1,
.print-sheet h2,
.print-sheet h3 { letter-spacing: -0.012em; }
.print-sheet h1 { margin: 0 0 7pt; font-size: 24pt; line-height: 1.06; }
.print-sheet h2 { margin: 10pt 0 4pt; padding: 0; color: var(--green-dark); font-size: 15pt; line-height: 1.12; }
.print-sheet h3 { margin: 7pt 0 2pt; font-size: 11.5pt; line-height: 1.12; }
.print-sheet p,
.print-sheet li { font-size: 11.5pt; line-height: 1.4; }
.print-sheet p { margin: 4pt 0; }
.print-sheet ul,
.print-sheet ol { margin: 4pt 0; padding-left: 18pt; }
.print-sheet li { margin: 1.5pt 0; }
.print-sheet--dense {
  padding: 0.34in 0.44in;
  font-size: 9.45pt;
  line-height: 1.2;
}
.print-sheet--dense h1 { margin-bottom: 3.5pt; font-size: 19pt; line-height: 1.04; }
.print-sheet--dense h2 { margin: 4.5pt 0 1.75pt; font-size: 11.2pt; line-height: 1.08; }
.print-sheet--dense h3 { margin: 3.25pt 0 0.75pt; font-size: 9.45pt; line-height: 1.08; }
.print-sheet--dense h3:has(+ p) { display: inline; }
.print-sheet--dense h3:has(+ p)::after { content: " "; }
.print-sheet--dense h3 + p { display: inline; }
.print-sheet--dense h3 + p::after { content: ""; display: block; margin-bottom: 2pt; }
.print-sheet--dense p,
.print-sheet--dense li { font-size: 9.45pt; line-height: 1.2; }
.print-sheet--dense p { margin: 1.8pt 0; }
.print-sheet--dense li { margin: 0; }
.print-sheet:not(.visual-sample) { padding: 0 0 0.28in; }
.print-sheet:not(.visual-sample) > section {
  margin: 0;
  padding-inline: 0.56in;
}
.print-sheet:not(.visual-sample) > section:first-child {
  margin-bottom: 4pt;
  padding-block: 0.42in 0.34in;
  background: var(--green-dark);
  color: white;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.print-sheet:not(.visual-sample) > section:first-child h1 { color: white; }
.print-sheet:not(.visual-sample) > section:first-child p { margin-bottom: 0; }
.print-sheet:not(.visual-sample) > section:first-child strong { color: #f7d78c; }
.print-sheet:not(.visual-sample) > section:has(> h2) {
  margin-top: 8pt;
  padding-top: 8pt;
  border-top: 0.6pt solid var(--line);
}
.print-sheet:not(.visual-sample) > section:has(> h2) h2 { margin-top: 0; }
.print-sheet:not(.visual-sample) > section:last-child {
  margin-top: 12pt;
  padding-block: 12pt;
  border-top: 0;
  background: var(--ink);
  color: white;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.print-sheet:not(.visual-sample) > section:last-child h2,
.print-sheet:not(.visual-sample) > section:last-child h3 { color: #f7d78c; }
.print-sheet:not(.visual-sample) > section:last-child strong { color: #f7d78c; }
.print-sheet--dense:not(.visual-sample) > section { padding-inline: 0.44in; }
.print-sheet--dense:not(.visual-sample) > section:first-child {
  margin-bottom: 2pt;
  padding-block: 0.28in 0.22in;
}
.print-sheet--dense:not(.visual-sample) > section:has(> h2) {
  margin-top: 4pt;
  padding-top: 4pt;
}
.print-sheet--dense:not(.visual-sample) > section:last-child {
  margin-top: 6pt;
  padding-block: 6pt;
}
.print-sheet[data-resource-id="parent-organizer"] > section:first-child h1 {
  white-space: nowrap;
}

.print-sheet[data-resource-id="administrator"] p,
.print-sheet[data-resource-id="administrator"] li { font-size: 11.2pt; line-height: 1.34; }
.print-sheet[data-resource-id="administrator"] h2 { font-size: 14.5pt; }
.print-sheet[data-resource-id="administrator"] > section:first-child { padding-block: 0.36in 0.28in; }
.print-sheet[data-resource-id="administrator"] > section:has(> h2) {
  margin-top: 6pt;
  padding-top: 6pt;
}
.print-sheet[data-resource-id="administrator"] > section:last-child {
  margin-top: 8pt;
  padding-block: 8pt;
}

.print-sheet[data-resource-id="pta"] p,
.print-sheet[data-resource-id="pta"] li { font-size: 11.35pt; line-height: 1.37; }
.print-sheet[data-resource-id="pta"] h2 { font-size: 14.6pt; }
.print-sheet[data-resource-id="pta"] > section:first-child { padding-block: 0.4in 0.32in; }
.print-sheet[data-resource-id="pta"] > section:has(> h2) {
  margin-top: 7pt;
  padding-top: 7pt;
}
.print-sheet[data-resource-id="pta"] > section:last-child {
  margin-top: 10pt;
  padding-block: 10pt;
}

.print-sheet[data-resource-id="bike-bus"] p,
.print-sheet[data-resource-id="bike-bus"] li { font-size: 9.3pt; line-height: 1.18; }
.print-sheet[data-resource-id="bike-bus"] h2 { font-size: 11pt; }
.print-sheet[data-resource-id="bike-bus"] > section:has(> h2) {
  margin-top: 3.5pt;
  padding-top: 3.5pt;
}
.print-sheet[data-resource-id="bike-bus"] > section:last-child {
  margin-top: 4pt;
  padding-block: 5pt;
}
.print-sheet section { break-inside: auto; }
.print-sheet h1,
.print-sheet h2,
.print-sheet h3 { break-after: avoid; }
.print-sheet p,
.print-sheet li { orphans: 2; widows: 2; }

.editor-mode { overflow: hidden; }
.editor-shell {
  height: calc(100vh - 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
}
.editor-canvas { overflow-y: auto; padding: 1.5rem clamp(1rem, 4vw, 3.5rem) 5rem; }
.editor-canvas > * { max-width: 900px; margin-left: auto; margin-right: auto; }
.editor-toolbar { max-width: 900px; display: flex; align-items: center; gap: 1rem; }
.editor-toolbar .back-link { margin: 0 auto 0 0; }
.editor-toolbar .format-links { margin: 0; }
.editor-toolbar .edit-link { display: none; }
.editor-drawer {
  overflow-y: auto;
  padding: 1.5rem;
  border-left: 1px solid var(--line);
  background: #fffdf8;
  box-shadow: -16px 0 40px rgba(23, 49, 41, 0.08);
}
.drawer-empty { margin: 18vh auto 0; max-width: 320px; }
.drawer-empty h2 { margin: 0 0 0.6rem; font-size: 1.8rem; line-height: 1.1; }
.drawer-empty p:last-child { color: var(--muted); }
.drawer-heading, .review-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.drawer-heading h2, .review-heading h2 { margin: 0; line-height: 1.15; }
.content-kind {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.drawer-guidance { color: var(--muted); font-size: 0.92rem; }
.icon-button {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
}
.field-label { display: block; margin: 1.25rem 0 0.45rem; font-weight: 800; }
[data-markdown-editor] {
  width: 100%;
  min-height: 15rem;
  resize: vertical;
  padding: 0.85rem;
  border: 1px solid #afc0b6;
  border-radius: 0.75rem;
  background: white;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.55;
}
[data-markdown-editor]:focus { outline: 3px solid rgba(47, 111, 133, 0.18); border-color: var(--blue); }
.editor-stats { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.45rem; color: var(--muted); font-size: 0.82rem; }
.agent-panel { margin-top: 1.2rem; padding: 1rem; border: 1px solid #bed3dc; border-radius: 0.85rem; background: #f3f9fb; }
.agent-panel__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.agent-panel__heading h3 { margin: 0.15rem 0 0; font-size: 1.05rem; }
.model-label { padding: 0.2rem 0.45rem; border-radius: 999px; background: white; color: var(--blue); font-size: 0.7rem; font-weight: 800; white-space: nowrap; }
[data-agent-instruction] { width: 100%; resize: vertical; padding: 0.7rem; border: 1px solid #a9c3ce; border-radius: 0.65rem; color: var(--ink); background: white; font-size: 0.88rem; }
.agent-actions { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 0.7rem; }
.agent-result { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid #bed3dc; font-size: 0.86rem; }
.agent-result p { margin: 0.3rem 0; }
.agent-result ul { margin: 0.35rem 0; padding-left: 1.1rem; }
.agent-proposal { margin-top: 0.8rem; }
.agent-proposal pre { max-height: 16rem; overflow: auto; margin: 0.35rem 0 0; padding: 0.7rem; border: 1px solid var(--line); border-radius: 0.55rem; background: white; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.76rem; }
.agent-status { color: var(--muted); }
.impact-panel, .validation-panel { margin-top: 1rem; padding: 0.85rem; border-radius: 0.75rem; background: var(--surface); }
.impact-panel h3, .validation-panel h3 { margin: 0 0 0.45rem; font-size: 0.95rem; }
.impact-panel ul, .validation-panel ul { margin: 0; padding-left: 1.1rem; font-size: 0.84rem; }
.impact-panel a { font-weight: 700; }
.validation-panel:empty { display: none; }
.validation-panel.has-errors { border: 1px solid #efb2a5; background: #fff5f2; color: var(--danger); }
.validation-panel.has-warnings { border: 1px solid #e3c46e; background: #fff8dc; color: var(--warning); }
.drawer-actions, .review-actions { display: flex; justify-content: flex-end; gap: 0.7rem; margin-top: 1.2rem; }
.button {
  border: 1px solid var(--green);
  border-radius: 0.65rem;
  padding: 0.65rem 0.95rem;
  background: var(--green);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.button--secondary { background: white; color: var(--green); }
.button:disabled { cursor: not-allowed; opacity: 0.45; }
.editable-local {
  position: relative;
  margin: 0 -0.75rem;
  padding: 0.2rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  cursor: pointer;
}
.editable-local:hover, .editable-local:focus-visible, .editable-local.is-selected {
  border-color: rgba(47, 111, 133, 0.55);
  background: rgba(47, 111, 133, 0.055);
  outline: 0;
}
.editable-shared {
  padding: 0.08rem 0.18rem;
  border-radius: 0.25rem;
  background: rgba(240, 184, 75, 0.18);
  box-shadow: inset 0 -2px 0 rgba(164, 113, 13, 0.4);
  cursor: pointer;
}
.editable-shared:hover, .editable-shared:focus-visible, .editable-shared.is-selected {
  background: rgba(240, 184, 75, 0.36);
  outline: 2px solid rgba(164, 113, 13, 0.35);
}
.review-dialog {
  width: min(980px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(23, 49, 41, 0.28);
}
.review-dialog::backdrop { background: rgba(12, 28, 23, 0.58); }
.review-dialog form { margin: 0; }
.review-diff { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.2rem; }
.diff-column { min-width: 0; }
.diff-column h3 { margin: 0 0 0.4rem; font-size: 0.9rem; }
.diff-column pre {
  min-height: 11rem;
  max-height: 32vh;
  overflow: auto;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: white;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
}
.family-review { margin-top: 1rem; padding: 1rem; border: 1px solid #e3c46e; border-radius: 0.75rem; background: #fff8dc; }
.family-review h3 { margin: 0 0 0.4rem; }
.family-review label { display: block; margin-top: 0.55rem; font-size: 0.88rem; }
.review-validation { margin-top: 1rem; }
.error { max-width: 650px; margin: 5rem auto; padding: 2rem; border: 1px solid #efb2a5; border-radius: 1rem; background: #fff5f2; }

@media (max-width: 900px) {
  .home-flyer { grid-template-columns: 1fr; }
  .home-flyer__actions { justify-content: flex-start; }
  .media-next-step { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .media-reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-introduction h1 { max-width: 13ch; }
  .guide-layout { grid-template-columns: 1fr; }
  .other-formats { position: static; grid-row: 1; }
  .editor-mode { overflow: auto; }
  .editor-shell { height: auto; display: block; }
  .editor-canvas { overflow: visible; }
  .editor-drawer { position: fixed; inset: auto 0 0; z-index: 30; max-height: 76vh; border: 1px solid var(--line); border-radius: 1rem 1rem 0 0; }
  .drawer-empty { display: none; }
  .drawer-content[hidden] { display: none; }
}

@media (max-width: 640px) {
  .site-header__inner { min-height: 5.5rem; gap: 0.5rem; }
  .brand--site-title { gap: 0.4rem; }
  .brand--site-title .brand__mark { width: 2.75rem; }
  .brand--site-title .brand__words { gap: 0.06rem; }
  .brand--site-title .brand__place,
  .brand--site-title .brand__school { font-size: 0.6rem; }
  .brand--site-title .brand__program { font-size: 1.16rem; }
  .preview-label { display: none; }
  .preview-label--site {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.35rem 0.55rem 0.35rem 0.4rem;
  }
  .preview-label--site .preview-label__icon {
    width: 2.25rem;
    height: 2.25rem;
  }
  .preview-label--site .preview-label__name { font-size: 0.82rem; }
  .site-actions { gap: 0.5rem; }
  .site-nav-link { padding: 0.44rem 0.62rem; }
  .site-nav-link__label { font-size: 0.75rem; }
  .site-nav-link__detail { font-size: 0.58rem; }
  .workspace-link { font-size: 0.74rem; }
  .shell { padding-top: 2.5rem; }
  .home-resource-grid { grid-template-columns: 1fr; }
  .home-resource-card { min-height: 14rem; }
  .media-reel-grid, .media-video-grid { grid-template-columns: 1fr; }
  .flyer-preview-stage { width: 100%; overflow-x: auto; }
  .audience-resource { align-items: flex-start; flex-direction: column; gap: 0.9rem; }
  .status-label { max-width: none; text-align: left; }
  .resource-card__formats { grid-template-columns: 1fr; }
  .article-meta { display: grid; }
  .format-links { flex-wrap: wrap; }
  .format-links .edit-link { margin-left: 0; }
  .resource-article { border-radius: 1rem; padding: 1rem; }
  .resource-article:not(.visual-sample)[data-format="web"] { padding: 0 0 1rem; }
  .guide-editorial-section,
  .visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="a-simpler-way-for-children-to-travel-to-school-togethe"],
  .visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="why-walk-or-bike-together"] {
    display: flex;
    flex-direction: column;
  }
  .guide-editorial-media,
  .overview-walking-gallery {
    order: 2;
    width: 100%;
    margin: 0.85rem 0 0;
  }
  .guide-editorial-media__images,
  .guide-editorial-media--edge-distributed .guide-editorial-media__images,
  .overview-walking-gallery__images {
    height: auto;
    justify-content: flex-start;
  }
  .resource-article:not(.visual-sample)[data-format="web"] > section:first-child,
  .visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="provo-walk-roll-to-school"] {
    padding-right: 1.15rem;
  }
  .program-mark,
  .visual-sample[data-resource-id="overview"][data-format="web"] .program-mark {
    position: static;
    display: block;
    width: min(50%, 10rem);
    margin: 0 0 1rem auto;
    transform: none;
  }
  .resource-article[data-resource-id="parent-organizer"][data-format="web"] > section:first-child h1 {
    font-size: clamp(1rem, 5vw, 1.35rem);
    letter-spacing: -0.04em;
  }
  .review-diff { grid-template-columns: 1fr; }
  .visual-sample[data-resource-id="overview"][data-format="web"] { grid-template-columns: 1fr; }
  .visual-sample[data-resource-id="overview"][data-format="web"] > section { grid-column: 1; }
  .visual-sample[data-resource-id="overview"][data-format="web"] [data-block-id="why-walk-or-bike-together"] ul { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .site-header__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 0;
  }
  .brand--site-title,
  .site-actions {
    width: 100%;
    justify-content: center;
  }
}

@media print {
  @page { size: Letter portrait; margin: 0; }
  .site-header, .notice, .guide-topbar, .back-link, .format-links, .article-meta, .other-formats { display: none !important; }
  html, body { width: 8.5in; margin: 0; background: white; }
  .article-shell { width: 100%; padding: 0; }
  .resource-article.print-sheet {
    width: 8.5in;
    min-height: 11in;
    margin: 0;
    border: 0;
    box-shadow: none;
  }
  .editable-shared {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
  }
  body.full-pdf-mode {
    width: 8.5in;
    background: var(--page);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  body.full-pdf-mode .article-shell {
    box-sizing: border-box;
    width: 8.5in;
    padding: 0.18in;
  }
  body.full-pdf-mode .guide-layout { display: block; }
  body.full-pdf-mode .resource-article {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }
  body.full-pdf-mode .visual-sample[data-resource-id="overview"][data-format="web"] {
    display: flex;
    flex-direction: column;
  }
  body.full-pdf-mode .visual-sample[data-resource-id="overview"][data-format="web"] > section {
    flex: none;
    break-inside: avoid;
  }
  html.flyer-single-document-root,
  body.flyer-single-document { width: 4.25in; height: 5.5in; }
  html.flyer-four-up-document-root,
  body.flyer-four-up-document { width: 8.5in; height: 11in; }
  .flyer-single-document .parent-organizer-flyer,
  .flyer-four-up-document .parent-organizer-flyer { border-color: #aebeb1; }
}

@page flyer-single { size: 4.25in 5.5in; margin: 0; }
@page flyer-four-up { size: Letter portrait; margin: 0; }
body.flyer-single-document { page: flyer-single; }
body.flyer-four-up-document { page: flyer-four-up; }
