/* Personal note and video share one ivory card: note above the video on mobile
   (DOM order), video left and note right on desktop (grid placement only).
   The first line is "Welcome," or "Hi <first name>," set by heloc-greeting.js. */
.video-feature {
  display: grid;
  gap: 16px;
  padding: 18px;
  margin-bottom: 24px;
  border: 1px solid rgba(214, 170, 92, 0.45);
  border-radius: 16px;
  background: #fbf6ea;
  color: var(--mama-navy);
  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.18);
  scroll-margin-top: 96px;
}

.video-feature .video-preview {
  width: 100%;
  max-width: 560px;
  min-width: 0;
}

.hero-copy .video-feature .video-preview-note {
  color: var(--mama-muted);
}

.heloc-note {
  min-width: 0;
}

.heloc-note-hello {
  margin: 0 0 6px;
  font-family: "Allura", "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(2.6rem, 9vw, 3.3rem);
  font-weight: 400;
  line-height: 1.1;
  color: #a87a2c;
  text-shadow: 0 1px 6px rgba(201, 154, 69, 0.2);
  overflow-wrap: anywhere;
}

.heloc-note-subhead {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--mama-navy);
  overflow-wrap: anywhere;
}

.heloc-note-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(16, 26, 44, 0.82);
  overflow-wrap: anywhere;
}

.heloc-note-arrow {
  display: none;
}

@media (min-width: 1000px) {
  .video-feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 28px;
    padding: 22px 26px;
  }

  .video-feature .video-preview {
    grid-column: 1;
    grid-row: 1;
  }

  .video-feature .heloc-note {
    grid-column: 2;
    grid-row: 1;
  }

  /* The SVG points down-right; mirrored so it points back at the video on the left. */
  .heloc-note-arrow {
    display: block;
    width: 84px;
    height: auto;
    margin: 14px auto 0 0;
    transform: scaleX(-1);
    filter: drop-shadow(0 2px 3px rgba(156, 111, 34, 0.25));
  }
}
