/* Photo treatments for Encharge's existing page layouts. */
.exp-hero.ee-photo-hero {
  min-height: clamp(28rem, 67svh, 43rem);
  background: #101e25;
}
.ee-photo-hero > .ee-hero-image {
  object-position: var(--ee-focus, center 50%);
}
.ee-photo-hero::before {
  background:
    linear-gradient(180deg, #0b181fd6 0%, #0b181f25 29%, transparent 70%),
    linear-gradient(90deg, #0b181ff5 0%, #0b181fe0 33%, #0b181f72 62%, #0b181f15 100%);
}
.ee-photo-hero .wrap {
  position: relative;
  z-index: 1;
}
.ee-photo-hero h1 {
  text-wrap: balance;
}
.ee-photo-hero p:not(.eyebrow) {
  max-width: 43rem;
  line-height: 1.55;
  font-size: clamp(1.125rem, 1.8vw, 1.3rem);
  color: #fff;
}
.ee-photo-hero.ee-photo-detail::before {
  background: linear-gradient(180deg, #101e25b8, transparent 27%);
}
.ee-photo-hero.ee-photo-detail > img {
  left: 53%;
  top: 7rem;
  width: min(39%, 38rem);
  height: calc(100% - 9rem);
  border-radius: .8rem;
  object-fit: cover;
  box-shadow: 0 16px 44px #08151b60;
}
.ee-photo-hero.ee-photo-detail .wrap > * {
  max-width: 48%;
}
.ee-photo-hero.ee-photo-detail .button {
  max-width: 100%;
}
.ee-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3.5rem);
  margin: clamp(1.8rem, 4.8vw, 3.6rem) 0;
}
.ee-editorial > div { min-width: 0; }
.ee-editorial figure { margin: 0; }
.ee-editorial figure img {
  display: block;
  width: 100%;
  max-height: 34rem;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: .8rem;
  background: #e6edf0;
}
.ee-editorial figcaption {
  margin-top: .55rem;
  font-size: 1rem;
  color: #394b54;
}
.ee-editorial p, .exp-page .exp-content > .exp-row p, .ee-partners > p {
  font-size: 1.125rem;
  line-height: 1.65;
}
.exp-page .exp-content a:focus-visible, .exp-page .exp-content button:focus-visible {
  outline: 3px solid #075f85;
  outline-offset: 3px;
}
.exp-page .exp-faq summary { font-size: 1.15rem; }
.exp-page .exp-filters button { min-height: 44px; font-size: 1rem; }
.ee-showcase .exp-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ee-showcase .exp-gallery figure > a { border-radius: .65rem; }
.ee-showcase .exp-gallery figcaption { line-height: 1.4; font-size: 1rem; }
.ee-partners {
  background: #f0f5f5;
  color: #102832;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid #d5e2e4;
  border-radius: .9rem;
}
.home-page .ee-partners { margin: 0 7% clamp(2rem,6vw,5rem); }
.ee-partners h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.ee-partners ul, .ee-specs {
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem),1fr));
  gap: .85rem;
}
.ee-partners li, .ee-specs div {
  list-style: none;
  background: #fff;
  border: 1px solid #d7e3e5;
  border-radius: .65rem;
  padding: .85rem 1.15rem;
}
.ee-partners li { min-height: 5rem; display: flex; gap: .65rem; align-items: center; flex-wrap: wrap; font-weight: 750; font-size: 1.05rem; }
.ee-partners li img { width: auto; height: auto; max-height: 2.2rem; max-width: min(100%, 10rem); object-fit: contain; }
.ee-partners li img.ee-icon { height: 1.5rem; }
.ee-specs dt { font-size: 1rem; font-weight: 700; color: #17485d; }
.ee-specs dd { margin: .16rem 0 0; font-weight: 750; font-size: 1.22rem; }
.ee-battery-model { padding: 1.2rem 0; }
.ee-battery-model + .ee-battery-model { border-top: 1px solid #cfdae0; }
.ee-survey-photo {
  width: min(96%, 48rem);
  margin: .5rem auto 1rem;
  overflow: hidden;
  border-radius: .75rem;
}
.ee-survey-photo img {
  display: block;
  width: 100%;
  height: clamp(6.5rem, 19vw, 11rem);
  object-fit: cover;
  object-position: center 60%;
}
@media (max-width: 810px) {
  .ee-editorial { grid-template-columns: minmax(0,1fr); }
  .ee-photo-hero.exp-hero { min-height: 27rem; padding-bottom: 2rem; }
  .ee-photo-hero.ee-photo-detail { flex-direction: column; align-items: stretch; gap: 1.1rem; }
  .ee-photo-hero.ee-photo-detail > img {
    position: relative; inset: auto; order: 1; width: 88%; height: min(48vw, 17rem); margin: 0 auto;
  }
  .ee-photo-hero.ee-photo-detail .wrap > * { max-width: 100%; }
  .ee-photo-hero::before {
    background: linear-gradient(180deg,#0b181fd9 0%,#0b181fbb 65%,#0b181f78 100%);
  }
  .ee-showcase .exp-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 470px) {
  .ee-showcase .exp-gallery { grid-template-columns: 1fr; }
}

.ee-sms-photo {
  overflow: hidden;
  border-radius: .55rem;
  margin: 0 0 1.25rem;
}
.ee-sms-photo img {
  display: block;
  width: 100%;
  height: clamp(6.5rem, 18vw, 10rem);
  object-fit: cover;
  object-position: center 62%;
}
.ee-editorial img[src$="enphase-iq-battery-10c-manufacturer.webp"] {
  object-fit: contain;
}
.ee-partner-note {
  display: block;
  color: #28604f;
  font-weight: 650;
  font-size: .92rem;
}
