/* Eleanor public visual review, November 30. Local imagery, local fonts and native controls. */
:root {
  --eleanor-ink: #153e46;
  --eleanor-text: #293f41;
  --eleanor-paper: #f7f4ed;
  --eleanor-gilt: #b5924f;
  --eleanor-serif: Georgia, "Times New Roman", serif;
}

/* Homepage header is inherited from the reviewed white-header release. */
.eleanor-opening {
  isolation: isolate;
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(600px, calc(100svh - 96px), 880px);
  background: #466a71;
  color: white;
  overflow: hidden;
}
.eleanor-opening .eleanor-hero-media, .eleanor-opening .visual-hero {
  position: absolute;
  inset: 0;
  min-height: 0;
  aspect-ratio: auto;
  background: none;
}
.eleanor-opening .eleanor-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(18,65,71,.54), rgba(20,58,68,.48) 55%, rgba(20,65,74,.55));
}
.eleanor-opening .visual-hero > span { background-size: cover; background-position: center 52%; }
.eleanor-opening .opening-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(12px, 3vh, 32px);
  padding: 40px 20px 28px;
}
.eleanor-opening .opening-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.eleanor-home .entry-content .opening-actions :is(a,button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: .7rem 1.8rem;
  border: 1px solid #338297;
  border-radius: 0;
  color: #103945;
  background: #86d9e6;
  font: 650 .75rem/1.35 Montserrat, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
}
.eleanor-home .entry-content .opening-actions .award {
  color: #3a290e;
  background: #f5bd69;
  border-color: #936d33;
}
.eleanor-home .entry-content .opening-actions a:is(:hover,:focus-visible) { background: white; color: #153e46; }
.eleanor-home .entry-content .opening-actions a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.eleanor-home .entry-content .opening-actions button:disabled {
  flex-direction: column;
  gap: 2px;
  background: #d2d5d3;
  border-color: #a1aaa9;
  color: #515b59;
  cursor: not-allowed;
  opacity: 1;
}
.opening-actions #closed-applications {
  color: #3a4644;
  font: 500 .75rem/1.3 Montserrat,sans-serif;
  text-transform: none;
  letter-spacing: normal;
}
.eleanor-opening .opening-mark { width: clamp(158px, 19vh, 220px); height: auto; display: block; }
.eleanor-opening .qa-pause { z-index: 2; }
@media (max-width: 650px) {
  .eleanor-opening { min-height: clamp(520px,calc(100svh - 68px),760px); }
  .eleanor-opening .opening-content { padding-block: 24px 40px; }
  .eleanor-opening .opening-mark { width: 155px; }
  .eleanor-opening .opening-actions { gap: 9px; }
}

/* Reading rhythm across retained interior pages. Photo banners keep their light lettering. */
.site-main .entry-content :is(h1,h2,h3).elementor-heading-title,
.site-main .entry-content :is(.mig-content,.leasing-panel) :is(h1,h2,h3),
.site-main .entry-content .tour-card h2,
.site-main .entry-content .neighborhood-feature h2 {
  font-family: var(--eleanor-serif);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.14;
  text-transform: none;
}
.site-main .entry-content :is(.mig-content,.leasing-panel) {
  color: var(--eleanor-text);
  line-height: 1.7;
  padding-block: clamp(38px,5vw,78px);
}
.site-main .entry-content :is(.mig-content,.leasing-panel) > :is(h1,h2),
.site-main .entry-content .neighborhood-feature h2 {
  font-size: clamp(2rem,3.5vw,3.65rem);
  color: var(--eleanor-ink);
}
.site-main .entry-content .leasing-panel h3 { font-size: clamp(1.45rem,2.1vw,2rem); margin-top: 1.2em; }
.site-main .entry-content .leasing-panel .mig-intro { text-align: left; padding: 0; margin: .8em 0; }
.site-main .entry-content .mig-tiles { gap: clamp(18px,2vw,32px); }
.site-main .entry-content :is(.mig-tiles li,.tour-card) { border: 0; background: var(--eleanor-paper); }
.site-main .entry-content .mig-card { padding: 20px 22px 26px; }
.site-main .entry-content :is(.mig-card,.tour-card) h2 { font-size: 1.65rem; }
.site-main .entry-content .eleanor-program {
  padding-block: 1.6rem;
  margin-block: 1.6rem;
  border-block: 1px solid #d4c7ab;
}
.site-main .eleanor-program h2 { font-size: clamp(2.1rem,4vw,3.5rem); color:var(--eleanor-ink); }
.site-main .eleanor-program h3 { font-size: 1.6rem; }
.site-main .employer-groups { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:24px; margin-block:2em; }
.site-main .employer-groups > div { background: var(--eleanor-paper); padding:23px; }
.site-main .employer-groups ul,.site-main .eleanor-program ol { margin: 0; padding-left: 1.25em; }
.site-main .employer-groups li { margin-bottom:.45em; line-height:1.5; }
.site-main .eleanor-program ol li { margin-bottom:.8em; }
.site-main .eleanor-program ol p { margin:0; }
.site-main .entry-content .tour-cards {
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(28px,5vw,70px) clamp(18px,4vw,52px);
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr));
  gap: 24px;
}
.site-main .tour-card > img { display:block; width:100%; aspect-ratio:4/3; object-fit: cover; height:auto; }
.site-main .tour-card > div { padding: 20px; }
.site-main .entry-content .tour-card a { display:block; width:fit-content; padding:9px 0; color:#175560; text-decoration:underline; text-underline-offset:.18em; }
.site-main .entry-content .tour-card .tour-video { font-weight:650; }

.site-main .entry-content .neighborhood-feature {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px,6vw,82px);
  width: min(100%, 1470px);
  margin-inline: auto;
  padding: clamp(42px,6.5vw,96px) clamp(22px,6vw,94px);
}
.site-main .entry-content .neighborhood-feature:nth-of-type(even) { background: var(--eleanor-paper); }
.site-main .entry-content .neighborhood-feature:nth-of-type(odd) .feature-copy { order:2; }
.site-main .entry-content .feature-copy h2 { margin: 0 0 .48em; }
.site-main .entry-content .feature-copy p { font-size:clamp(1rem,1.16vw,1.13rem); line-height:1.72; color:var(--eleanor-text); margin:0 0 .85em; }
.site-main .entry-content .feature-copy p:last-child { margin:0; }
.site-main .entry-content .elementor-top-section:has(.qa-gallery-strip) {
  border: 0;
  background: var(--eleanor-paper);
  padding-block: clamp(36px,5vw,72px);
}
.site-main .entry-content .elementor-top-section:has(.qa-gallery-strip):nth-of-type(odd) { background: #fff; }
.site-main .entry-content .elementor-top-section:has(.qa-gallery-strip) h2[id^="apartment-"] {
  color: var(--eleanor-ink);
  font-size: clamp(2rem,3.6vw,3.2rem);
  margin-bottom: .32em;
}
.site-main .entry-content .elementor-element-40177ae0 { background: var(--eleanor-paper); }
.site-main .entry-content .elementor-element-40177ae0 > .elementor-container { align-items:center; }
.site-main .entry-content .elementor-element-40177ae0 h2.elementor-heading-title {
  color: var(--eleanor-ink);
  font-size: clamp(2rem,4vw,3.4rem);
}
.feature-photos { display:grid; grid-auto-columns:minmax(0,1fr); gap:7px; }
.feature-photos img { width:100%; height:clamp(70px,9vw,130px); object-fit:cover; grid-row:2; }
.feature-photos img:first-child { grid-row:1; grid-column:1 / span 3; height:clamp(185px,23vw,350px); }
.feature-photos:has(img:last-child:nth-child(3)) img:first-child { grid-column:1 / span 2; }
@media(max-width:760px) {
  .site-main .entry-content .neighborhood-feature,.site-main .employer-groups { grid-template-columns:1fr; }
  .site-main .entry-content .neighborhood-feature:nth-of-type(odd) .feature-copy { order:0; }
  .site-main .employer-groups { gap:12px; }
  .feature-photos img { height:85px; }
  .feature-photos img:first-child { height:clamp(180px,55vw,300px); }
}

