/* Homepage photography and the dedicated setup-and-care section. */
.tv-home .tv-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tv-home .tv-category-card,
.tv-home .tv-category-card:last-child {
  display: flex;
  flex-direction: column;
  grid-column: auto;
}

.tv-home .tv-category-card > img,
.tv-home .tv-category-card:last-child > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 0;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center;
  background: #e9edf3;
}

.tv-home .tv-category-card > div,
.tv-home .tv-category-card:last-child > div {
  padding: 22px;
  justify-content: flex-start;
}

.tv-home .tv-category-card[href="/category/tv-types/"] > img {
  object-position: center top;
}

.tv-home .tv-featured-help .tv-guide-card {
  padding: 0;
  overflow: hidden;
}

.tv-home .tv-home-guide-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center;
  background: #e9edf3;
}

.tv-home .tv-home-guide-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.tv-home .tv-featured-help .tv-guide-card h3 a::after {
  z-index: 1;
}

.tv-home .tv-care-section {
  background: #edf3fb;
  border-top: 1px solid #d7e2f1;
}

.tv-home .tv-care-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 40px;
  padding: clamp(28px, 3.2vw, 46px);
  margin-bottom: 28px;
  border-radius: 16px;
  background: #102544;
  color: #fff;
}

.tv-home .tv-care-copy {
  max-width: 650px;
}

.tv-home .tv-care-kicker {
  display: block;
  margin-bottom: 16px;
  color: #9bd8ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tv-home .tv-care-kicker > span {
  margin-inline: 9px;
  opacity: .6;
}

.tv-home .tv-care-copy h2 {
  max-width: 24ch;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(28px, 2.8vw, 39px);
  line-height: 1.2;
  text-wrap: balance;
}

.tv-home .tv-care-copy p {
  max-width: 59ch;
  margin: 0;
  color: #d5e2f2;
  font-size: 17px;
  line-height: 1.65;
}

.tv-home .tv-care-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 46px;
  margin-top: 22px;
  padding: 11px 18px;
  border: 1px solid #88d2ff;
  border-radius: 7px;
  background: #88d2ff;
  color: #102544;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.tv-home .tv-care-link:hover {
  background: #b1e1ff;
}

.tv-home .tv-care-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

.tv-home .tv-care-image {
  display: block;
  width: 260px;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center 65%;
  border-radius: 10px;
  border: 1px solid #ffffff24;
}

@media (max-width: 900px) {
  .tv-home .tv-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-home .tv-care-intro {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 28px;
  }

  .tv-home .tv-care-image {
    width: 210px;
  }
}

@media (max-width: 720px) {
  .tv-home .tv-care-intro {
    display: block;
  }

  .tv-home .tv-care-image {
    display: none;
  }
}

@media (max-width: 640px) {
  .tv-home .tv-category-card > div,
  .tv-home .tv-category-card:last-child > div {
    padding: 17px;
  }

  .tv-home .tv-home-guide-copy {
    padding: 22px;
  }

  .tv-home .tv-care-intro {
    padding: 27px 23px;
    border-radius: 12px;
    margin-bottom: 22px;
  }

  .tv-home .tv-care-kicker {
    font-size: 11px;
    letter-spacing: .075em;
  }

  .tv-home .tv-care-kicker > span {
    margin-inline: 5px;
  }

  .tv-home .tv-care-copy p {
    font-size: 16px;
  }

  .tv-home .tv-care-link {
    width: 100%;
    gap: 12px;
    padding-inline: 13px;
  }
}

@media (max-width: 380px) {
  .tv-home .tv-category-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
