/* ============================================================
   VIPSCLUB Portal 2026 — Refer Landing Hero Module
   Public page hero — same gradient as portal header
   Figma: Desktop 374:283 | Mobile 380:4314
   ============================================================ */

.refer-landing-hero {
  width: 100%;
  height: 270px;
  background: var(--vips-red-gradient);
  position: relative;
  display: flex;
  align-items: center;
}

.refer-landing-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 100px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 44px;
}

/* ── Logo + Divider ── */
.refer-landing-hero__logo-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.refer-landing-hero__logo-wrap img {
  width: 161px;
  height: 59px;
  object-fit: contain;
}

.refer-landing-hero__divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
}

/* ── Text Block ── */
.refer-landing-hero__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.refer-landing-hero__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 36px;
  line-height: 46px;
  color: var(--vips-text-white);
  margin: 0;
}

.refer-landing-hero__name {
  color: var(--vips-text-white);
}

.refer-landing-hero__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--vips-bg-card);
  margin: 0;
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {

  .refer-landing-hero--hide-mobile {
    display: none;
  }

  .refer-landing-hero {
    height: 263px;
    background: linear-gradient(146.21deg, #000000 0%, #a22b34 100%);
  }

  .refer-landing-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 24px;
  }

  .refer-landing-hero__divider {
    display: none;
  }

  .refer-landing-hero__logo-wrap img {
    width: 120px;
    height: auto;
  }

  .refer-landing-hero__heading {
    font-size: 24px;
    line-height: 32px;
  }

  .refer-landing-hero__subtitle {
    font-size: 14px;
  }

}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {}

/* ── Per-instance style overrides ── */
{% if module.style_overrides.background_color.color %}
.refer-landing-hero {
  background: ;
}
{% endif %}
