.lifestyle-section .section-h {
  line-height: 1.12;
  text-wrap: balance;
}

.lifestyle-section .section-sub {
  text-wrap: pretty;
}

.lifestyle-picker {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.lifestyle-radio,
.lifestyle-sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lifestyle-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-block-end: 1rem;
}

.lifestyle-options label {
  display: block;
  padding: .55rem 1rem;
  border: 1px solid #526da2;
  border-radius: 999px;
  color: #e0ebff;
  background: #14284e;
  font-size: .875rem;
  font-weight: 650;
  cursor: pointer;
}

.lifestyle-options label:hover {
  background: #223d70;
}

#lifestyle-sports:checked ~ .lifestyle-options [for="lifestyle-sports"],
#lifestyle-family:checked ~ .lifestyle-options [for="lifestyle-family"] {
  color: #0d2044;
  background: #b9d9ff;
  border-color: #b9d9ff;
}

#lifestyle-sports:focus-visible ~ .lifestyle-options [for="lifestyle-sports"],
#lifestyle-family:focus-visible ~ .lifestyle-options [for="lifestyle-family"],
.lifestyle-copy a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

#lifestyle-sports:not(:checked) ~ .lifestyle-panels [data-highlight="sports"],
#lifestyle-family:not(:checked) ~ .lifestyle-panels [data-highlight="family"] {
  display: none;
}

.lifestyle-feature {
  display: grid;
  overflow: hidden;
  border: 1px solid #334974;
  border-radius: 20px;
  background: linear-gradient(140deg, #182d58, #101b35);
  box-shadow: 0 16px 38px rgb(3 10 28 / .27);
}

.lifestyle-feature .lifestyle-photo {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 900 / 490;
}

.lifestyle-copy {
  align-self: center;
  min-inline-size: 0;
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
  text-align: start;
}

.lifestyle-copy .ls-title {
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  text-wrap: balance;
}

.lifestyle-copy .ls-btn {
  display: inline-flex;
}

@media (min-width: 48rem) {
  .lifestyle-feature {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  }

  .lifestyle-feature .lifestyle-photo {
    grid-area: 1 / 2;
    align-self: center;
  }

  .lifestyle-copy {
    grid-area: 1 / 1;
  }
}
