/* The public reading rooms share the stage, with daylight surfaces for long text and forms. */
html:has(body[data-ppw-family="home"]), body[data-ppw-family="home"] { background: #111923 !important; }
body[data-ppw-family] .public-cover,
body[data-ppw-family].ed-reader .ed-intro,
body[data-ppw-family="atlas"] .km-map .km-copy {
  --stage-art: url('/assets/journey/capacity/matrix.webp');
  --stage-light: #f7f7ef;
  --stage-muted: #d2dadd;
  --stage-accent: #d6f583;
  background: linear-gradient(102deg, #111923 5%, #111923f2 48%, #111923b8 100%), var(--stage-art) center / cover, #111923 !important;
  color: var(--stage-light);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: 'Public Sans', Arial, sans-serif;
}
body[data-ppw-family] .public-cover {
  position: relative;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 80px) clamp(20px, 6vw, 100px);
  text-align: left;
}
body[data-ppw-family] :is(.public-portrait,.public-protocols,.public-explained) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
  align-items: center;
  gap: clamp(24px, 5vw, 90px);
}
body[data-ppw-family] .public-cover > .wrap { width: 100%; min-width: 0; max-width: 56rem; margin: 0; padding: 0; color: inherit; }
body[data-ppw-family] .public-cover h1,
body[data-ppw-family].ed-reader .ed-intro .ed-heading h1 {
  margin: .3em 0;
  max-width: 21ch;
  color: #f7f7ef !important;
  font: 650 clamp(2.2rem, 4.6vw, 4.7rem)/1.03 'Public Sans', Arial, sans-serif !important;
  letter-spacing: -.047em !important;
  text-wrap: balance;
  text-shadow: none;
}
body[data-ppw-family] .public-cover h1 :is(em,span) { background: transparent; color: #f7f7ef !important; }
body[data-ppw-family] .public-cover.cine-hero .rating-row,
body[data-ppw-family] .public-cover.cine-hero .rating-row :is(span,strong) { background: transparent; color: #d2dadd !important; }
body[data-ppw-family] .public-cover :is(.eyebrow,.ppw-kicker,.mono-label,.cap-about-label),
body[data-ppw-family].ed-reader .ed-intro .ed-heading :is(.ppw-kicker,.article-meta) {
  padding: 0; border: 0; background: transparent; color: #d6f583 !important;
  font: 650 .84rem/1.4 'Public Sans', Arial, sans-serif;
}
body[data-ppw-family] .public-cover :is(p,.lead,.hero-sub,.cap-page-intro,.ppw-lede,cite),
body[data-ppw-family].ed-reader .ed-intro :is(.ed-overview p,.article-byline,.ppw-lede,.article-intro) {
  background-color: transparent; color: #d2dadd !important;
  font-family: 'Public Sans', Arial, sans-serif; max-width: 55ch;
}
body[data-ppw-family] .public-cover :is(a,.cap-return,.cap-hand-link),
body[data-ppw-family].ed-reader .ed-intro :is(.ed-overview a,.ed-heading a):not(.ppw-btn) { color: #d6f583; text-underline-offset: .22em; }
body[data-ppw-family] .public-cover .cover-action,
body[data-ppw-family] .public-cover .cover-feature a {
  display: inline-flex; align-items: center; gap: 1em;
  min-height: 44px; color: #f7f7ef; font: 650 1rem/1.25 'Public Sans', Arial, sans-serif;
  text-decoration: underline; text-underline-offset: .22em;
}
body[data-ppw-family] .public-cover .cover-action { margin-top: .7rem; }
body[data-ppw-family] .public-cover .cover-action span,
body[data-ppw-family] .public-cover .cover-feature b { color: #d6f583; }
body[data-ppw-family] .public-cover :focus-visible,
body[data-ppw-family].ed-reader .ed-intro :focus-visible { outline: 3px solid #d6f583; outline-offset: 3px; }
body[data-ppw-family] .public-cover .cover-feature,
body[data-ppw-family] .public-portrait .business-practice-photo { width: 100%; min-width: 0; max-width: 34rem; margin: 0; justify-self: center; }
body[data-ppw-family] .public-cover .cover-feature a { display: block; text-decoration: none; }
body[data-ppw-family] .public-cover .cover-feature img,
body[data-ppw-family] .public-portrait .business-practice-photo img {
  display: block;
  width: 100%; height: auto; object-fit: contain;
  max-height: min(55vh, 440px);
  border-radius: 2px;
}
body[data-ppw-family] .public-cover .cover-feature span {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 44px; padding: 9px 0; border-bottom: 1px solid #66727b;
  color: #f7f7ef;
}
body[data-ppw-family] .public-cover .cover-feature a:hover span { text-decoration: underline; }
body[data-ppw-family] .public-cover .cap-about { border-color: #d6f583; }
body[data-ppw-family] .public-journal { --stage-art: url('/assets/journey/capacity/energy.webp'); }
body[data-ppw-family].ed-reader .ed-intro { padding: clamp(20px, 4vw, 52px); }
body[data-ppw-family].ed-reader .ed-intro .ed-overview { color: #d2dadd; }
body[data-ppw-family].ed-reader .ed-intro .ed-figure { align-self: center; background: #17232f; border: 0; border-radius: 1px; }
body[data-ppw-family].ed-reader .ed-intro figcaption { color: #d2dadd; }
body[data-ppw-family="atlas"] .km-map .km-copy { --stage-art: var(--km-context-art, url('/assets/journey/capacity/matrix.webp')); padding: clamp(18px, 3vw, 38px); }
body[data-ppw-family="atlas"] .km-map .km-copy::before { content: none; }
body[data-ppw-family="atlas"] .km-map .km-copy .km-title { color: #f7f7ef; }
body[data-ppw-family="atlas"] .km-map .km-copy .km-summary { color: #d2dadd; }
body[data-ppw-family="atlas"] .km-map .km-copy :is(.km-crumbs a,.km-kicker) { color: #d6f583; }
body[data-ppw-family="atlas"] .km-map .km-copy .km-crumbs { color: #d2dadd; }

body[data-ppw-family] footer.bs-footer {
  background: #111923 !important;
  border-top: 1px solid #52606a !important;
}
body[data-ppw-family] footer.bs-footer :is(.bs-footer-meta,.bs-footer-group a) { color: #d2dadd !important; }
body[data-ppw-family] footer.bs-footer .bs-footer-group h2 { color: #d6f583 !important; }
body[data-ppw-family] footer.bs-footer .bs-footer-group a:hover { color: #fff !important; text-decoration: underline !important; }
body[data-ppw-family] footer.bs-footer a:focus-visible { outline: 3px solid #d6f583; }
@media (max-width: 720px) {
  body[data-ppw-family] .public-cover,
  body[data-ppw-family].ed-reader .ed-intro { --stage-art: url('/assets/journey/capacity/matrix-phone.webp'); }
  body[data-ppw-family] .public-journal { --stage-art: url('/assets/journey/capacity/energy-phone.webp'); }
  body[data-ppw-family] .public-cover { padding: 28px 20px; }
  body[data-ppw-family] :is(.public-portrait,.public-protocols,.public-explained) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body[data-ppw-family] .public-cover .cover-feature { max-width: 28rem; }
  body[data-ppw-family] .public-portrait .business-practice-photo { grid-column: 1; grid-row: 2; justify-self: start; max-width: 15rem; }
  body[data-ppw-family] .public-portrait .business-practice-photo img { max-height: 250px; object-position: left center; }
}
@media (forced-colors: active) {
  body[data-ppw-family] .public-cover, body[data-ppw-family].ed-reader .ed-intro,
  body[data-ppw-family="atlas"] .km-map .km-copy { background-image: none !important; }
}
