.homepage-content {
  width: 100%;
  font-size: 16px;
}

.homepage-hero {
  width: 100%;
  padding: 0;
}

.homepage-hero .slider,
.homepage-hero .slider-item {
  width: 100%;
}

.homepage-hero .slider-item > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.homepage-hero .slider-content {
  max-width: min(900px, calc(100vw - 48px));
}

.homepage-sections {
  width: min(
    calc(100% - (2 * var(--paniso-content-gutter))),
    var(--paniso-content-max)
  );
  margin: clamp(56px, 7vw, 120px) auto;
}

.home-feature {
  display: grid;
  grid-template-columns: minmax(0, 44.5%) minmax(0, 55.5%);
  align-items: stretch;
  padding: 0;
  margin: 0 0 clamp(32px, 5vw, 72px);
  overflow: hidden;
  background: #f3f4f5;
  box-shadow: 0 14px 38px rgba(3, 19, 43, 0.08);
}

.home-feature:last-child {
  margin-bottom: 0;
}

.home-feature--text-first .home-feature__media {
  order: 2;
}

.home-feature--text-first .home-feature__content {
  order: 1;
}

.home-feature__media {
  display: flex;
  min-width: 0;
  min-height: clamp(360px, 32vw, 580px);
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2.2vw, 38px);
  background: #f3f4f5;
}

.home-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 660px;
  object-fit: contain;
}

.home-feature__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.5vw, 58px);
}

.home-feature__content--warm {
  background: #fff5d8;
}

.home-feature__content--cool {
  background: #f3f4f5;
}

/* Keep both halves of each module on one continuous background. */
.home-feature:nth-child(odd),
.home-feature:nth-child(odd) .home-feature__media,
.home-feature:nth-child(odd) .home-feature__content {
  background: #fff5d8;
}

.home-feature:nth-child(even),
.home-feature:nth-child(even) .home-feature__media,
.home-feature:nth-child(even) .home-feature__content {
  background: #f3f4f5;
}

.home-feature__content h2 {
  margin: 0 0 clamp(24px, 2.5vw, 42px);
  line-height: 1.12;
}

.home-feature__content p {
  margin: 0 0 18px;
  color: #252525;
  font-size: 16px;
  line-height: 1.55;
}

.home-feature__statement {
  margin-top: 8px !important;
  color: #03132b !important;
}

.home-feature__link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  margin-top: 8px;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid #f59126;
  color: #03132b;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.home-feature__link:hover,
.home-feature__link:focus-visible {
  color: #d66f00;
}

.home-feature__link:focus-visible {
  outline: 3px solid rgba(245, 145, 38, 0.45);
  outline-offset: 5px;
}

@media (max-width: 991px) {
  .homepage-sections {
    width: calc(100% - (2 * clamp(24px, 6vw, 56px)));
  }

  .home-feature {
    grid-template-columns: 1fr;
  }

  .home-feature--text-first .home-feature__media,
  .home-feature--text-first .home-feature__content {
    order: initial;
  }

  .home-feature__media {
    min-height: clamp(300px, 70vw, 560px);
  }

  .home-feature__content {
    padding: clamp(28px, 6vw, 52px);
  }
}

@media (max-width: 480px) {
  .homepage-hero .slider-content {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%);
    width: calc(100vw - 36px);
    max-width: none;
    margin-left: 0 !important;
  }

  .homepage-hero .slider-content h4 {
    display: block !important;
    margin: 0 0 3px;
    font-size: 12px !important;
    line-height: 1.15;
    letter-spacing: 0.5px;
  }

  .homepage-hero .slider-content h1 {
    margin: 0 !important;
    font-size: clamp(18px, 6.5vw, 24px) !important;
    line-height: 1.08;
    letter-spacing: 0.3px;
  }

  .homepage-sections {
    width: calc(100% - 48px);
    margin-top: 48px;
    margin-bottom: 48px;
  }

  .home-feature__content p,
  .home-feature__link {
    font-size: 16px;
  }

  .home-feature,
  .home-feature__content {
    height: auto;
    min-height: 0;
  }
}
