/* Keep Sakura feature cards structurally consistent between day and night. */
.top-feature-row .top-feature-v2,
.top-feature-row .top-feature-v2 .the-feature.square {
  min-width: 0 !important;
}

.top-feature-row .top-feature-v2 .the-feature.square {
  margin: 0 !important;
}

body.dark .top-feature-row .top-feature-v2 .the-feature.square a {
  display: block !important;
  height: 100% !important;
}

body.dark .top-feature-row .top-feature-v2 .the-feature.square .info {
  inset: 0 !important;
  height: auto !important;
  padding: 0 !important;
  background: rgba(2, 6, 23, 0.68) !important;
}

body.dark .top-feature-row .top-feature-v2 .the-feature.square .info h3,
body.dark .top-feature-row .top-feature-v2 .the-feature.square .info p {
  top: auto !important;
}

body.dark .top-feature-row .top-feature-v2 .the-feature.square .info h3 {
  margin: 30px 0 0 !important;
  padding: 10px !important;
  background: rgba(2, 6, 23, 0.82) !important;
}

body.dark .top-feature-row .top-feature-v2 .the-feature.square .info p {
  padding: 20px !important;
}

@media (max-width: 720px) {
  .top-feature-row .top-feature-v2,
  .top-feature-row .top-feature-v2 .the-feature.square,
  .top-feature-row .top-feature-v2 .the-feature.square a {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .top-feature-row .top-feature-v2 .the-feature.square,
  body.dark .top-feature-row .top-feature-v2 .the-feature.square {
    height: auto !important;
  }

  .top-feature-row .top-feature-v2 .the-feature.square a,
  body.dark .top-feature-row .top-feature-v2 .the-feature.square a {
    display: block !important;
    height: auto !important;
  }

  .top-feature-row .top-feature-v2 .the-feature.square .img {
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
  }

  .top-feature-row .top-feature-v2 .the-feature.square .img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .top-feature-row .top-feature-v2 .the-feature.square .info,
  body.dark .top-feature-row .top-feature-v2 .the-feature.square .info {
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: auto !important;
    min-height: 46px !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.46), transparent) !important;
  }

  body.dark .top-feature-row .top-feature-v2 .the-feature.square .info {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.64), transparent) !important;
  }

  .top-feature-row .top-feature-v2 .the-feature.square .info h3,
  body.dark .top-feature-row .top-feature-v2 .the-feature.square .info h3 {
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 14px !important;
    background: transparent !important;
    color: #f9fafb !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72) !important;
  }

  .top-feature-row .top-feature-v2 .the-feature.square .info p {
    display: none !important;
  }
}
