/*
 * WMRN MUSEUM REDESIGN — Editorial Interior, second design pass.
 * Distinct structural changes from legacy, all scoped to non-home pages.
 * No WordPress queries, recording logic, Tainacan result grids or forms changed.
 */
@media (min-width:901px) {
  html body:not(.home) #content .page-hero:not(.page-hero-plain) {
    display:grid !important;
    grid-template-columns:54% 46%;
    align-items:stretch !important;
    min-height:380px !important;
    padding:0 !important;
    background:#061431 !important;
  }
  html body:not(.home) #content .page-hero .page-hero-content {
    grid-column:1;
    display:flex !important;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    width:100% !important;
    min-height:380px;
    margin:0 !important;
    padding:52px 45px 52px max(55px,calc((100vw - 1280px) / 2)) !important;
    background:linear-gradient(118deg,#061431 0%,#0B2050 100%) !important;
    border-right:1px solid rgba(216,168,70,.34);
  }
  html body:not(.home) #content .page-hero .page-hero-bg {
    inset:0 0 0 auto !important;
    left:auto !important;
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:46% !important;
    height:100% !important;
    max-width:none !important;
    object-fit:cover !important;
    object-position:center !important;
    opacity:.94 !important;
    filter:grayscale(.7) sepia(.18) contrast(1.12) !important;
  }
  html body:not(.home) #content .page-hero .page-hero-overlay {
    inset:0 0 0 auto !important;
    width:46% !important;
    background:linear-gradient(90deg,rgba(6,20,49,.42),rgba(6,20,49,.15) 80%) !important;
  }

  html body:not(.home) #content .page-hero:not(:has(.page-hero-bg)):before {
    content:"1490";
    position:absolute;
    top:0;
    right:0;
    width:46%;
    height:100%;
    display:grid;
    place-items:center;
    color:rgba(248,217,143,.16);
    font:600 clamp(100px,12vw,190px)/1 "EB Garamond",Georgia,serif;
    background:repeating-linear-gradient(0deg,transparent,transparent 24px,rgba(216,168,70,.075) 25px);
  }
}
html body:not(.home) #content .page-hero-title {
  font-size:clamp(3.1rem,5.55vw,5.4rem) !important;
  line-height:.97 !important;
  letter-spacing:-.045em !important;
  max-width:730px;
}
html body:not(.home) #content .page-hero-eyebrow,
html body:not(.home) #content .hero-eyebrow {
  position:relative;
  padding-left:35px !important;
  color:#F8D98F !important;
}
html body:not(.home) #content :is(.page-hero-eyebrow,.hero-eyebrow):before {
  content:"";
  position:absolute;
  top:50%;
  left:0;
  width:23px;
  height:2px;
  background:#D8A846;
}
html body:not(.home) #content .page-hero-subtitle {
  max-width:680px;
  font-size:clamp(19px,1.6vw,23px) !important;
  line-height:1.42 !important;
  margin-top:20px !important;
}

/* A compact table-of-contents display, built from headings already on the page. */
html body:not(.home) #content .wmrn-museum-wayfinder {
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:16px 29px;
  flex-wrap:wrap;
  padding:18px max(22px,calc((100vw - 1280px)/2));
  background:#0D2B63;
  color:#FFFDF8;
  border-bottom:2px solid #D8A846;
  box-shadow:0 5px 13px rgba(6,20,49,.1);
}
html body:not(.home) #content .wmrn-museum-wayfinder__heading {
  display:flex;
  align-items:center;
  gap:8px;
  font:800 11px/1.3 system-ui,sans-serif;
  letter-spacing:.13em;
  white-space:nowrap;
  text-transform:uppercase;
  color:#F8D98F;
}
html body:not(.home) #content .wmrn-museum-wayfinder__links {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  align-items:center;
  min-width:0;
}
html body:not(.home) #content .wmrn-museum-wayfinder__links a {
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:37px;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:3px;
  background:rgba(255,255,255,.045);
  color:#FFFDF8;
  font:600 13px/1.3 system-ui,sans-serif;
  text-decoration:none;
}
html body:not(.home) #content .wmrn-museum-wayfinder__links a:hover {
  background:#D8A846;
  border-color:#D8A846;
  color:#061431;
}
html body:not(.home) #content .wmrn-museum-wayfinder__number {
  color:#F8D98F;
  font:800 11px/1 system-ui,sans-serif;
  letter-spacing:.06em;
}
html body:not(.home) #content .wmrn-museum-wayfinder__links a:hover .wmrn-museum-wayfinder__number {
  color:#061431;
}
html body:not(.home) #content .wmrn-museum-wayfinder + section {
  border-top:0 !important;
}

/* Actual exhibits change from legacy full-width stacking to editorial cards. */
html body:not(.home) #content .wmrn-exhibit-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:24px !important;
  align-items:stretch;
}
html body:not(.home) #content .wmrn-exhibit-card {
  position:relative;
  display:grid !important;
  grid-template-rows:clamp(220px,22vw,290px) minmax(160px,auto);
  grid-template-columns:minmax(0,1fr);
  overflow:hidden;
  min-width:0;
  margin:0 !important;
  padding:0 !important;
  border-radius:4px !important;
  background:#FFFDF8;
  text-align:left !important;
  text-decoration:none;
}
html body:not(.home) #content .wmrn-exhibit-card .archive-card-image,
html body:not(.home) #content .wmrn-exhibit-card__placeholder {
  display:block;
  height:100% !important;
  max-height:none !important;
  min-height:0;
  width:100%;
  overflow:hidden;
  background:#0D2B63;
}
html body:not(.home) #content .wmrn-exhibit-card .archive-card-image img {
  display:block;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:cover;
}
html body:not(.home) #content .wmrn-exhibit-card__body {
  min-height:0;
  padding:26px 30px 28px !important;
  background:#FFFDF8;
}
html body:not(.home) #content .wmrn-exhibit-card__body :is(h2,h3) {
  font:700 clamp(28px,2.7vw,38px)/1.07 "EB Garamond",Georgia,serif !important;
  color:#0A1D47 !important;
}
html body:not(.home) #content .wmrn-exhibit-card:before {
  content:"COLLECTION  /  " counter(wmrn-exhibit,decimal-leading-zero);
  counter-increment:wmrn-exhibit;
  position:absolute;
  z-index:1;
  top:0;
  left:0;
  padding:12px 15px;
  color:#FFFDF8;
  background:rgba(6,20,49,.91);
  border-bottom:2px solid #D8A846;
  font:800 11px/1 system-ui,sans-serif;
  letter-spacing:.1em;
}
html body:not(.home) #content .wmrn-exhibit-grid {
  counter-reset:wmrn-exhibit;
}
/* Featured exhibit / Collection 01: show its complete original artwork
   across the card, followed by the title. Never crop text in the graphic. */
html body:not(.home) #content .wmrn-exhibit-grid > .wmrn-exhibit-card:first-child {
  grid-column:1 / -1;
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-rows:max-content max-content !important;
  grid-auto-rows:max-content;
  height:auto !important;
  align-content:start;
}
html body:not(.home) #content .wmrn-exhibit-grid > .wmrn-exhibit-card:first-child .archive-card-image {
  /* Flatten the legacy 4:3 media box. Its fixed aspect ratio was leaving
     large navy bands above and below this wide editorial image. */
  display:contents !important;
  aspect-ratio:auto !important;
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
}
html body:not(.home) #content .wmrn-exhibit-grid > .wmrn-exhibit-card:first-child .archive-card-image img {
  display:block !important;
  grid-column:1;
  grid-row:1;
  align-self:start;
  justify-self:stretch;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  /* The artwork's 768×403 source ratio overrides the lazy-image
     3000×1500 contain-intrinsic-size placeholder used by WordPress. */
  aspect-ratio:768 / 403 !important;
  contain-intrinsic-size:none !important;
  content-visibility:visible !important;
  object-fit:contain !important;
  object-position:center !important;
  transform:none !important;
}
html body:not(.home) #content .wmrn-exhibit-grid > .wmrn-exhibit-card:first-child .wmrn-exhibit-card__body {
  display:block;
  grid-column:1;
  grid-row:2;
  height:auto !important;
  min-height:0 !important;
  padding:clamp(25px,3.5vw,44px) !important;
}
html body:not(.home) #content .wmrn-exhibit-grid > .wmrn-exhibit-card:first-child .wmrn-exhibit-card__body :is(h2,h3) {
  max-width:900px;
  font-size:clamp(31px,3.4vw,45px) !important;
  line-height:1.09 !important;
}
html body:not(.home) #content .wmrn-exhibit-grid > .wmrn-exhibit-card:first-child .wmrn-exhibit-card__body > p:not(.wmrn-section-kicker) {
  max-width:850px;
}
@media(max-width:700px) {
  html body:not(.home) #content .wmrn-exhibit-grid > .wmrn-exhibit-card:first-child .wmrn-exhibit-card__body {
    padding:24px 21px 27px !important;
  }
}

/* Album gallery index: true multi-column museum wall, not enormous stacked photos. */
html body:not(.home) #content .wmrnrha-album-grid {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:24px !important;
}
html body:not(.home) #content .wmrnrha-album-card {
  min-width:0;
  max-width:100%;
  margin:0 !important;
  border:1px solid rgba(13,43,99,.16);
  background:#FFFDF8;
  border-radius:4px;
  overflow:hidden;
  box-shadow:0 7px 19px rgba(6,20,49,.09);
}
html body:not(.home) #content .wmrnrha-album-card__cover {
  overflow:hidden;
  background:#0D2B63;
}
html body:not(.home) #content .wmrnrha-album-card__cover img {
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  transition:transform .35s ease;
}
html body:not(.home) #content .wmrnrha-album-card:hover .wmrnrha-album-card__cover img {
  transform:scale(1.045);
}
/* People directory: photographic/initials wall, with tangible card boundaries. */
html body:not(.home) #content .wmrn-personnel-grid {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:14px !important;
}
html body:not(.home) #content .wmrn-personnel-card {
  display:flex !important;
  flex-direction:column;
  min-width:0;
  height:100%;
  margin:0 !important;
  padding:0 !important;
  background:#FFFDF8;
  border:1px solid rgba(13,43,99,.16);
  border-radius:4px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(6,20,49,.055);
}
html body:not(.home) #content .wmrn-personnel-card:hover {
  border-color:#B88A38;
  box-shadow:0 9px 22px rgba(6,20,49,.13);
}
html body:not(.home) #content .wmrn-personnel-card-media {
  border-bottom:2px solid #D8A846;
}
html body:not(.home) #content .wmrn-personnel-card-body {
  flex:1;
  padding:14px 16px 16px;
}
html body:not(.home) #content .wmrn-personnel-card-body :is(h2,h3,strong) {
  color:#0A1D47;
}

/* True chapter rhythm for long-form historical and policy pages. */
html body:not(.home) #content > section.section-py:not(.wmrn-exhibits-index):not(.wmrn-photo-gallery) {
  border-bottom:1px solid rgba(13,43,99,.14);
}
html body:not(.home) #content > section.section-py .wmrn-container-prose {
  position:relative;
  max-width:1040px;
  padding-left:clamp(20px,5vw,85px);
  padding-right:clamp(20px,3vw,65px);
  border-left:4px solid rgba(184,138,56,.7);
}
html body:not(.home) #content > section.section-py:nth-of-type(even) {
  background:#EAE6DF;
}
html body:not(.home) #content > section.section-py:nth-of-type(odd) {
  background:#FFFDF8;
}
html body:not(.home) #content .wmrn-index-intro,
html body:not(.home) #content .recording-featured h2 {
  text-wrap:balance;
}
html body:not(.home) #content .timeline-section-item {
  border-left:3px solid #D8A846;
  padding:clamp(20px,2.1vw,32px);
  margin-bottom:16px;
  background:#FFFDF8;
  border-radius:0 4px 4px 0;
  box-shadow:0 5px 18px rgba(6,20,49,.07);
}
html body:not(.home) #content .timeline-era-label {
  color:#986921 !important;
  font:800 12px/1.3 system-ui,sans-serif;
  letter-spacing:.12em;
}
html body:not(.home) #content .timeline-section-title {
  color:#0A1D47 !important;
  font:700 clamp(27px,2.5vw,37px)/1.1 "EB Garamond",Georgia,serif;
}

/* Small screens: museum opening is a proper text-first panel, followed by image. */
@media(max-width:1100px) {
  html body:not(.home) #content .wmrn-personnel-grid {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  html body:not(.home) #content .wmrnrha-album-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:900px) {
  html body:not(.home) #content .page-hero:not(.page-hero-plain) {
    display:flex !important;
    flex-direction:column;
    padding:0 !important;
    min-height:0 !important;
    overflow:hidden;
  }
  html body:not(.home) #content .page-hero .page-hero-content {
    display:flex !important;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    width:100% !important;
    min-height:270px;
    padding:40px 22px 42px !important;
    margin:0 !important;
    background:linear-gradient(115deg,#061431,#0D2B63) !important;
  }
  html body:not(.home) #content .page-hero .page-hero-bg {
    position:relative !important;
    z-index:1 !important;
    inset:auto !important;
    order:2;
    display:block;
    width:100% !important;
    height:clamp(160px,30vw,240px) !important;
    max-height:none !important;
    opacity:.98 !important;
    object-fit:cover;
  }
  html body:not(.home) #content .page-hero .page-hero-overlay {
    display:none !important;
  }


  html body:not(.home) #content .wmrn-museum-wayfinder {
    padding:15px 18px;
    gap:10px;
  }
}
@media(max-width:700px) {
  html body:not(.home) #content .wmrn-exhibit-grid,
  html body:not(.home) #content .wmrnrha-album-grid,
  html body:not(.home) #content .wmrn-personnel-grid {
    grid-template-columns:minmax(0,1fr) !important;
  }
  html body:not(.home) #content .wmrn-exhibit-card {
    grid-template-rows:220px auto;
  }
  html body:not(.home) #content .wmrn-exhibit-card__body {
    padding:22px !important;
  }
  html body:not(.home) #content .wmrn-personnel-card {
    flex-direction:row !important;
    align-items:center;
  }
  html body:not(.home) #content .wmrn-personnel-card-media {
    width:100px;
    min-width:100px;
    border-bottom:0;
    border-right:2px solid #D8A846;
  }
  html body:not(.home) #content .wmrn-museum-wayfinder__links {
    overflow-x:auto;
    flex-wrap:nowrap;
    max-width:100%;
    padding-bottom:3px;
  }
  html body:not(.home) #content .wmrn-museum-wayfinder__links a {
    flex-shrink:0;
    white-space:nowrap;
  }
  html body:not(.home) #content > section.section-py .wmrn-container-prose {
    padding-left:17px;
    padding-right:12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html body:not(.home) #content .wmrnrha-album-card__cover img {transition:none}
  html body:not(.home) #content .wmrnrha-album-card:hover .wmrnrha-album-card__cover img {transform:none}
}


/* Photo archive search: real editorial filter bar with intact GET semantics. */
html body:not(.home) #content .wmrnrha-photo-archive .wmrnrha-album-tools {
  padding:clamp(22px,3vw,38px);
  border:1px solid rgba(13,43,99,.15);
  background:#FFFDF8;
  border-radius:4px;
  box-shadow:0 6px 20px rgba(6,20,49,.065);
}
html body:not(.home) #content .wmrnrha-album-tools .wmrnrha-section-heading {
  margin:0 0 23px;
}
html body:not(.home) #content .wmrnrha-album-filter {
  display:grid !important;
  grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));
  align-items:end;
  gap:13px 17px;
  width:100%;
}
html body:not(.home) #content .wmrnrha-filter-field {
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:8px;
}
html body:not(.home) #content .wmrnrha-filter-field label {
  color:#0A1D47;
  font:800 12px/1.3 system-ui,sans-serif;
}
html body:not(.home) #content .wmrnrha-filter-field :is(input,select) {
  display:block;
  width:100% !important;
  min-width:0;
  height:46px !important;
  padding:9px 13px !important;
  color:#243A55 !important;
  background:#F5F1E9 !important;
  border:1px solid rgba(13,43,99,.27) !important;
  border-radius:3px !important;
  font:500 14px/1.2 system-ui,sans-serif;
}
html body:not(.home) #content .wmrnrha-filter-field :is(input,select):focus-visible {
  outline:3px solid #D8A846;
  outline-offset:2px;
}
html body:not(.home) #content .wmrnrha-filter-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 22px;
  grid-column:1/-1;
  padding-top:3px;
}
html body:not(.home) #content .wmrnrha-filter-actions .wmrnrha-button {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:11px 20px;
  color:#061431;
  background:#D8A846;
  border:1px solid #D8A846;
  border-radius:3px;
  font:800 13px/1.2 system-ui,sans-serif;
}
html body:not(.home) #content .wmrnrha-filter-actions .wmrnrha-reset-link {
  color:#0D2B63;
  font:700 13px/1.3 system-ui,sans-serif;
  text-decoration:underline;
}
html body:not(.home) #content .wmrnrha-filter-note {
  margin-top:12px;
  color:#465775;
  font:400 13px/1.5 system-ui,sans-serif;
}
html body:not(.home) #content .wmrnrha-album-section {
  margin-top:45px;
}
html body:not(.home) #content .wmrnrha-album-card__title {
  color:#0A1D47;
  font:700 clamp(27px,2vw,32px)/1.12 "EB Garamond",Georgia,serif;
}
html body:not(.home) #content .wmrnrha-album-card__body {
  padding:20px 24px 24px;
}
html body:not(.home) #content .wmrnrha-photo-hero .page-hero-content .page-hero-eyebrow {
  transform:none !important;
  margin-top:0 !important;
}
@media(max-width:1100px) {
  html body:not(.home) #content .wmrnrha-album-filter {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:600px) {
  html body:not(.home) #content .wmrnrha-album-filter {
    grid-template-columns:minmax(0,1fr);
  }
  html body:not(.home) #content .wmrnrha-album-tools {
    padding:20px !important;
  }
  html body:not(.home) #content .wmrnrha-album-card__body {
    padding:20px !important;
  }
}

/* Shared dark editorial bands: preserve light heading contrast on the navy.
   Only the band's immediate title is targeted, never headings inside light cards. */
html body:not(.home) #content section.dark-band > .wmrn-container-prose > h2,
html body:not(.home) #content section.dark-band > .wmrn-container > h2 {
  color:#FFFDF8 !important;
}

/* Personnel research snapshot: maintain readable credit and correction text. */
html body:not(.home) #content .rn-footer {
  color:#405269 !important;
}

/* Preserve readable archival headings in dark content-managed sections. */
html body:not(.home) #content #contact-title,
html body:not(.home) #content #wmrn-oh-about-title {
  color:#FFFDF8 !important;
}
/* Accessible labels on pale museum-paper panels. */
html body:not(.home) #content .wmrn-exhibit-eyebrow {
  color:#345C80 !important;
}
html body:not(.home) #content .wmrn-tools-kicker {
  color:#795018 !important;
}

/* WMRN Contact: original contact-card treatment for every profile, and
   targeted spacing/contrast corrections. No other interior pages are affected. */
html body:not(.home) #content > .ornament-divider:has(+ .wmrn-contact-main) {
  margin:12px 0 !important;
  padding:9px 0;
}
html body:not(.home) #content > section.wmrn-contact-main {
  padding:clamp(38px,4vw,58px) 0 clamp(42px,4.5vw,62px) !important;
}
html body:not(.home) #content .wmrn-contact-main .wmrn-container-prose {
  max-width:1050px;
}
html body:not(.home) #content .wmrn-contact-main #contact-intro {
  max-width:74ch;
  margin:0 0 22px !important;
  color:#243A55 !important;
  font-size:17px !important;
  line-height:1.65 !important;
}
html body:not(.home) #content .wmrn-contact-main .contact-cards {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
  margin:0 0 27px;
}
html body:not(.home) #content .wmrn-contact-main .contact-card {
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  min-height:86px;
  padding:16px 20px;
  border:1px solid rgba(13,43,99,.17);
  border-radius:5px;
  background:#FFFDF8;
  box-shadow:0 4px 15px rgba(6,20,49,.075);
  text-decoration:none;
  transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease;
}
html body:not(.home) #content .wmrn-contact-main .contact-card:hover {
  border-color:#B88A38;
  box-shadow:0 7px 22px rgba(6,20,49,.12);
  transform:translateY(-2px);
}
html body:not(.home) #content .wmrn-contact-main .contact-card svg {
  width:25px;
  height:25px;
  flex:0 0 25px;
  color:#C7472E;
}
html body:not(.home) #content .wmrn-contact-main .contact-card > div {
  min-width:0;
}
html body:not(.home) #content .wmrn-contact-main .contact-card-label {
  color:#0A1D47;
  font:700 15px/1.35 system-ui,sans-serif;
}
html body:not(.home) #content .wmrn-contact-main .contact-card-value {
  margin-top:3px;
  color:#405269;
  font:400 14px/1.45 system-ui,sans-serif;
  overflow-wrap:anywhere;
}
html body:not(.home) #content .wmrn-contact-main .wmrn-contact-section-heading {
  margin:8px 0 5px !important;
  color:#0D2B63 !important;
  font:700 clamp(28px,2.5vw,34px)/1.1 "EB Garamond",Georgia,serif !important;
}
html body:not(.home) #content .wmrn-contact-main .wmrn-contact-social-intro {
  margin:0 0 17px !important;
  color:#243A55;
  font-size:16px !important;
  line-height:1.55 !important;
}
html body:not(.home) #content .wmrn-contact-main .wmrn-contact-social-cards {
  margin-bottom:30px;
}
html body:not(.home) #content .wmrn-contact-main #contact-submissions-title {
  margin:20px 0 15px !important;
  color:#0A1D47 !important;
  font:700 clamp(27px,2.3vw,32px)/1.16 "EB Garamond",Georgia,serif !important;
}
html body:not(.home) #content .wmrn-contact-main #contact-submissions-title ~ p {
  color:#243A55 !important;
  font-size:16px !important;
  line-height:1.68 !important;
  margin-bottom:16px !important;
}
html body:not(.home) #content section.wmrn-contact-cta {
  background:#0D2B63 !important;
  padding:clamp(37px,4.5vw,57px) 18px !important;
  text-align:center;
}
html body:not(.home) #content section.wmrn-contact-cta h2.dark-band-title-lg {
  color:#FFFDF8 !important;
  font:700 clamp(29px,3vw,39px)/1.12 "EB Garamond",Georgia,serif !important;
  margin:0 0 13px !important;
}
html body:not(.home) #content section.wmrn-contact-cta p.text-light {
  color:#F5F1E9 !important;
  font-size:16px !important;
  line-height:1.55 !important;
  margin:0 auto 21px !important;
  max-width:56ch;
}
@media (max-width:640px) {
  html body:not(.home) #content .wmrn-contact-main .contact-cards {
    grid-template-columns:minmax(0,1fr);
  }
  html body:not(.home) #content .wmrn-contact-main .contact-card {
    min-height:78px;
    padding:14px 16px;
  }
  html body:not(.home) #content .wmrn-contact-main #contact-intro {
    font-size:16px !important;
  }
}

/* Station Timeline only: display the original 2016 studio photograph in
   authentic full color. Override shared archival grayscale, opacity and
   desktop navy overlay without changing other interior hero photographs. */
html body:not(.home) #content .page-hero.wmrn-timeline-color-hero #history-hero-bg {
  filter:none !important;
  opacity:1 !important;
  mix-blend-mode:normal !important;
}
html body:not(.home) #content .page-hero.wmrn-timeline-color-hero .page-hero-overlay {
  display:none !important;
  background:none !important;
  opacity:0 !important;
}

/* Facilities & Equipment: genuine WMRN studio exterior replaces the
   decorative stock radio hero. Preserve the entire 2020 photo and its
   original colors, including both satellite dishes, on every device. */
html body:not(.home) #content .page-hero.wmrn-facilities-studio-hero #facilities-hero-bg {
  filter:none !important;
  opacity:1 !important;
  mix-blend-mode:normal !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:transparent;
}
html body:not(.home) #content .page-hero.wmrn-facilities-studio-hero .page-hero-overlay {
  display:none !important;
  background:none !important;
  opacity:0 !important;
}
@media(max-width:900px) {
  html body:not(.home) #content .page-hero.wmrn-facilities-studio-hero #facilities-hero-bg {
    height:auto !important;
    aspect-ratio:1536/780;
    max-height:none !important;
  }
}
/* 701-900px: the shared layout still displays a right-side hero column.
   Fill that column to eliminate an uncovered navy strip below the photo. */
@media(min-width:701px) and (max-width:900px) {
  html body:not(.home) #content .page-hero.wmrn-facilities-studio-hero #facilities-hero-bg {
    height:100% !important;
    aspect-ratio:auto !important;
  }
}

/* Dated studio exterior photographs in the refreshed Station Timeline and
   Facilities & Equipment pages. Preserve original image colors and proportions. */
html body:not(.home) #content .wmrn-studio-photo-caption--hero {
  margin:0;
  padding:9px clamp(18px,4vw,54px) 11px;
  background:#F5F1E9;
  color:#344961;
  border-bottom:1px solid rgba(13,43,99,.14);
  font:500 12px/1.5 system-ui,sans-serif;
  text-align:right;
}
html body:not(.home) #content figure.wmrn-studio-feature-image {
  box-sizing:border-box;
  max-width:1120px;
  padding:0 clamp(16px,3vw,26px);
  margin:4px auto clamp(28px,4vw,50px);
}
html body:not(.home) #content figure.wmrn-studio-feature-image img {
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  border:1px solid rgba(13,43,99,.16);
  border-radius:4px;
  box-shadow:0 8px 22px rgba(6,20,49,.10);
}
html body:not(.home) #content figure.wmrn-studio-feature-image figcaption {
  padding:11px 2px 0;
  color:#405269;
  font:500 13px/1.55 system-ui,sans-serif;
}
@media (max-width:640px) {
  html body:not(.home) #content .wmrn-studio-photo-caption--hero {
    padding:10px 18px;
    text-align:left;
    font-size:12px;
  }
  html body:not(.home) #content figure.wmrn-studio-feature-image {
    margin:2px auto 30px;
    padding:0 16px;
  }
}

/* Buckeye Chuck exhibit: use the verified October 2026 photograph of
   Chuck in his enclosure, replacing the missing March image. On desktop,
   give the exhibit photo the right half and reserve navy for the title;
   on mobile, show the full photograph below the title. */
html body:not(.home) #content .page-hero.wmrn-buckeye-hero {
  background:#061431 !important;
}
html body:not(.home) #content .page-hero.wmrn-buckeye-hero .page-hero-bg {
  position:absolute !important;
  z-index:-2 !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  left:auto !important;
  display:block !important;
  width:50% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center 80% !important;
  opacity:1 !important;
  filter:brightness(1.12) contrast(1.03) !important;
  -webkit-mask-image:none !important;
  mask-image:none !important;
}
html body:not(.home) #content .page-hero.wmrn-buckeye-hero .page-hero-overlay {
  display:block !important;
  background:transparent !important;
}
@media (max-width:900px) {
  html body:not(.home) #content .page-hero.wmrn-buckeye-hero .page-hero-bg {
    position:relative !important;
    z-index:1 !important;
    inset:auto !important;
    order:2;
    width:100% !important;
    height:auto !important;
    aspect-ratio:1125/898;
    object-fit:contain !important;
    object-position:center !important;
    -webkit-mask-image:none !important;
    mask-image:none !important;
    background:#4D7EAA;
  }
  html body:not(.home) #content .page-hero.wmrn-buckeye-hero .page-hero-overlay {
    display:none !important;
  }
}

/* Contrast corrections validated in the working redesign. */
html body:not(.home) #content #wmrn-oh-final-title {color:#FFFDF8 !important;}
html body:not(.home) #content .wmrn-exhibit-facts > div > span {color:#345C80 !important;}

/* 20261107-contact-contrast: preserve legibility on pale contact cards. */
html body:not(.home) #content [data-setting="wmrn_contact_email"],
html body:not(.home) #content [data-setting="wmrn_facebook_label"],
html body:not(.home) #content .contact-card.aged-card .contact-card-value {
  color: #0D2B63 !important;
  text-shadow: none !important;
}

/* WMRN Marion Public Library exhibition hero parity, 2026-11-07.
   The interior hero's image pseudo-element already has correct responsive bounds;
   a translateX(-50%) displaced half the photograph off-screen on mobile and
   into the text column on desktop. Restrict to this exhibit page only. */
html body.page-id-2661:not(.home) #content .page-hero-plain::after {
    transform: none !important;
}
