/**
 * LoveWetting — Homepage (intro)
 */

.lw-home-body .hp-splatter {
  display: none;
}

.lw-home-page .wrapper {
  padding-bottom: 36px;
}

.lw-home-section-title {
  margin: 0 0 18px;
  padding: 0;
  text-align: center;
  font-family: var(--lw-font-body, "Inter", system-ui, sans-serif);
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
  color: #9f5087;
}

/* — Hero — */

.lw-home-page section.slider {
  padding-top: 12px;
}

.lw-home-page .lw-hero {
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.lw-home-page .lw-hero__slide img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.lw-home-page .lw-hero__arrow {
  top: 50%;
  margin-top: -25px;
}

.lw-home-hero-cta {
  text-align: center;
  margin: 16px 0 24px;
}

.lw-home-hero-cta .btn {
  padding-left: 28px;
  padding-right: 28px;
  min-height: 44px;
  font-size: 15px;
}

/* — Lead copy — */

.lw-home-page .introtext.lw-home-lead {
  margin: 0 0 32px;
  padding: 22px 28px;
  border-radius: 12px;
  border: 1px solid rgba(190, 102, 164, 0.15);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  font-size: 15px;
  line-height: 1.65;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  text-align: center;
}

.lw-home-page .introtext.lw-home-lead h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.35;
  color: #be66a4;
  text-transform: none;
  font-family: var(--lw-font-body, "Inter", Arial, sans-serif);
  font-weight: 600;
}

.lw-home-page .introtext.lw-home-lead p {
  margin: 0;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

/* — Themes — */

.lw-home-page section.theme.lw-home-themes {
  margin-bottom: 40px;
}

.lw-home-page section.theme .list.lw-home-themes__grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.lw-home-page section.theme .list:before,
.lw-home-page section.theme .list:after {
  display: none !important;
}

.lw-home-page section.theme .list .item.lw-home-theme-card {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
  text-align: left !important;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(190, 102, 164, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.lw-home-page section.theme .list .item.lw-home-theme-card:hover {
  border-color: rgba(190, 102, 164, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.lw-home-page section.theme .lw-home-theme-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.lw-home-page section.theme .lw-home-theme-card__link:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(190, 102, 164, 0.45);
}

.lw-home-page section.theme .lw-home-theme-card__media {
  position: relative;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #1a1a1a;
}

.lw-home-page section.theme .lw-home-theme-card__media img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.lw-home-page section.theme .lw-home-theme-card:hover .lw-home-theme-card__media img {
  transform: scale(1.04);
}

.lw-home-page section.theme .lw-home-theme-card__media i.fa {
  display: none !important;
}

.lw-home-page section.theme .lw-home-theme-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
  padding: 14px 16px 16px !important;
  text-align: left !important;
}

.lw-home-page section.theme .box-info h3.lw-home-theme-card__title {
  margin: 0;
  font-family: var(--lw-font-body, "Inter", system-ui, sans-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #3d3d3d;
  transition: color 0.15s ease;
}

.lw-home-page section.theme .lw-home-theme-card:hover .lw-home-theme-card__title {
  color: #9f5087;
}

.lw-home-page section.theme .lw-home-theme-card__cta {
  margin-top: auto;
  font-family: var(--lw-font-body, "Inter", system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #777;
  transition: color 0.15s ease;
}

.lw-home-page section.theme .lw-home-theme-card:hover .lw-home-theme-card__cta {
  color: #ffae26;
}

.lw-home-page section.theme .lw-home-theme-card__cta::after {
  content: " →";
  font-weight: 400;
}

@media (min-width: 640px) {
  .lw-home-page section.theme .list.lw-home-themes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2.5vw, 22px);
    padding: 0 !important;
  }

  .lw-home-page section.theme .lw-home-theme-card__title {
    font-size: 1.125rem;
  }
}

/* — Latest videos (override legacy .main.index section.videos floats) — */

.lw-home-page section.videos.lw-home-latest {
  display: block;
  float: none;
  width: 100% !important;
  margin: 0 0 36px !important;
}

.lw-home-page section.lw-home-latest .lw-home-section-title a {
  color: inherit;
  text-decoration: none;
}

.lw-home-page section.lw-home-latest .lw-home-section-title a:hover {
  color: #ffae26;
}

.lw-home-page section.lw-home-latest .list.lw-home-latest__grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100% !important;
  margin: 0 !important;
  float: none;
}

.lw-home-page section.lw-home-latest .list.lw-home-latest__grid:before,
.lw-home-page section.lw-home-latest .list.lw-home-latest__grid:after {
  display: none !important;
}

.lw-home-page section.lw-home-latest .item.lw-home-video-card {
  float: none !important;
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  margin: 0 !important;
  padding-bottom: 0 !important;
  position: static !important;
  text-align: left !important;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(190, 102, 164, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.lw-home-page section.lw-home-latest .lw-home-video-card__media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  aspect-ratio: 503 / 282;
  overflow: hidden;
  border-radius: 0;
  background: #1a1a1a;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  line-height: 0;
}

.lw-home-page section.lw-home-latest .lw-home-video-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block;
  object-fit: cover;
  object-position: center center;
  vertical-align: top;
}

.lw-home-video-card__media .play-overlay {
  z-index: 2;
}

.lw-home-video-card__length {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.lw-home-page section.lw-home-latest .lw-home-video-card__body {
  flex: 1 1 auto;
  padding: 14px 16px 16px;
  text-align: left;
}

.lw-home-video-card__body h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.4;
  font-family: var(--lw-font-body, "Inter", Arial, sans-serif);
  font-weight: 600;
  text-transform: none;
  color: #9f5087;
}

.lw-home-video-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.lw-home-video-card__body h3 a:hover {
  color: #ffae26;
}

.lw-home-video-card__meta {
  margin: 0;
  font-size: 13px;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.lw-home-video-card__meta .rating {
  font-size: 12px;
}

.lw-home-latest__more {
  text-align: center;
  margin-top: 22px;
}

@media (min-width: 640px) {
  .lw-home-page section.lw-home-latest .list.lw-home-latest__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 28px);
    align-items: stretch;
  }
}

/* Hide legacy hover popup on homepage */
.lw-home-page section.videos .item .hover-content,
.lw-home-page section.videos .item .shadow,
.lw-home-page section.videos .item > .vid-info {
  display: none !important;
}

/* — Testimonials — */

.lw-home-page section.awards.lw-home-quotes {
  margin-bottom: 32px;
}

.lw-home-page section.awards .content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
}

.lw-home-page section.awards .content:before,
.lw-home-page section.awards .content:after {
  display: none;
}

.lw-home-page section.awards .content .item {
  float: none;
  width: auto;
  margin: 0;
  padding: 16px 18px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  font-size: 14px;
  line-height: 1.55;
}

.lw-home-page section.awards .content .item .lw-home-quotes__meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #999;
}

.lw-home-page section.awards .content .item .lw-home-quotes__meta b {
  color: var(--lw-brand-dark, #9f5087);
  font-weight: 600;
}

.lw-home-page section.awards .content .item blockquote {
  margin: 10px 0 0;
  padding: 0;
  border: none;
  font-size: 15px;
  line-height: 1.55;
  font-style: normal;
  color: #444;
}

@media (min-width: 768px) {
  .lw-home-page section.awards .content {
    grid-template-columns: 1fr 1fr;
  }
}

/* — Review badges — */

.lw-home-page section.partners.lw-home-reviews {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.lw-home-page section.partners.lw-home-reviews h2 {
  margin-bottom: 16px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  text-align: center;
}

.lw-home-page section.partners .list {
  width: 100%;
  margin: 0;
}

.lw-home-reviews__list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}

.lw-home-reviews__list a {
  display: block;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.lw-home-reviews__list a:hover {
  opacity: 1;
}

.lw-home-reviews__list img {
  display: block;
  max-height: 48px;
  width: auto;
  height: auto;
}

/* Join banner on home */
.lw-home-page section.join-banner.lw-join-banner {
  margin: 28px 0 32px;
}
