.site-header .header-inner { flex-wrap: wrap; }
.site-header .site-nav { flex-wrap: wrap; }
.charlotte-hero { background: #0b1f33; color: #fff; padding: clamp(3rem, 8vw, 7rem) 0; }
.charlotte-hero-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.charlotte-hero h1 { color: inherit; font-size: clamp(2.3rem, 6vw, 4.7rem); line-height: 1.04; }
.charlotte-hero p { max-width: 38rem; font-size: 1.2rem; }
.charlotte-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.decision-card { background: #eaf4ed; color: #0b1f33; border-radius: 1rem; padding: clamp(1.25rem, 4vw, 2.5rem); }
.decision-card li + li, .verify-lanes li + li { margin-top: .75rem; }
.charlotte-content { padding-block: 2.5rem 4rem; }
.charlotte-content > section + section, .charlotte-content > div + section { margin-top: 2.5rem; }
.charlotte-content h2 { margin-bottom: .75rem; }
.charlotte-cards, .worksheet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.charlotte-cards article, .worksheet-grid fieldset { background: #f4f7fa; border: 1px solid #ced9e2; border-radius: .75rem; padding: 1.25rem; min-width: 0; }
.verify-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.worksheet-grid label { display: grid; gap: .25rem; margin-bottom: .75rem; font-weight: 600; }
.worksheet-grid input, .worksheet-grid select { width: 100%; min-width: 0; min-height: 2.75rem; padding: .4rem; border: 1px solid #6b7d8e; border-radius: .25rem; color: #0b1f33; background: #fff; }
.worksheet-grid legend { font-weight: 750; padding-inline: .35rem; }
#worksheet-output { width: 100%; min-height: 12rem; }
#worksheet-status { min-height: 1.5em; }
@media (max-width: 767px) {
  .charlotte-hero-grid, .charlotte-cards, .worksheet-grid { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  body:has(#worksheet) #worksheet .charlotte-actions, body:has(#worksheet) #worksheet-status,
  body:has(#worksheet) #worksheet-output, body:has(#worksheet) .site-header, body:has(#worksheet) .site-footer { display: none !important; }
  .worksheet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .worksheet-grid fieldset { break-inside: avoid; }
}
.charlotte-content figure { max-width: 44rem; margin: 0 0 2rem; }
.charlotte-content figure img { display: block; width: 100%; height: auto; border-radius: .75rem; }
.charlotte-content figcaption { margin-top: .5rem; }
#worksheet-printout { display: none; }
@media print {
  body:has(#worksheet-printout:not(:empty)) .worksheet-grid { display: none; }
  #worksheet-printout { display: block; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
}
.charlotte-hero-aside { display: grid; gap: 1rem; min-width: 0; }
.charlotte-hero-aside figure { margin: 0; }
.charlotte-hero-aside img { display: block; width: 100%; height: auto; border-radius: .75rem; }
.charlotte-hero-aside figcaption { margin-top: .375rem; font-size: .875rem; }
.charlotte-hero-aside figcaption a { color: inherit; }
.area-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
@media (max-width: 767px) {
  .area-photos { grid-template-columns: minmax(0, 1fr); }
}
.area-photos:has(> figure:only-child) { grid-template-columns: minmax(0, 1fr); }
.area-photos > figure { width: 100%; max-width: 37rem; }
.area-photos > figure > img { max-height: 32rem; object-fit: contain; object-position: left; }

/* Keep editorial frames intact and give their captions a consistent edge. */
.area-photos > figure {
  margin: 0;
  padding: .75rem;
  border: 1px solid #dce3ea;
  border-radius: .9rem;
  background: #fff;
}
.area-photos > figure > img {
  width: 100%;
  max-height: min(32rem, 68vw);
  object-position: center;
}
.area-photos > figure > figcaption {
  color: #243548;
  font-size: .875rem;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .area-photos:has(> figure:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.photo-locality {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  max-width: 100%;
  margin-bottom: .6rem;
  padding: .3rem .65rem;
  border-radius: .45rem;
  background: #102942;
  color: #fff;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.3;
}
.photo-locality svg { flex: none; }
