/* ============================================================
   Vacation Math — Mini Card Finder Widget
   Embedded on each calc page above the trip-matched cards.
   ============================================================ */

.cfm-card {
  margin: 24px 0;
  background: linear-gradient(135deg, var(--navy, #0E2A47) 0%, #112e4d 100%);
  color: var(--cream, #FBF7EF);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 10px 30px rgba(8, 24, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.cfm-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 163, 64, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cfm-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.cfm-body {
  flex: 1;
  min-width: 0;
}

.cfm-kicker {
  font-family: var(--font-body, Inter, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--honey, #E6A340);
  margin: 0 0 6px;
}

.cfm-h3 {
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream, #FBF7EF);
  margin: 0 0 8px;
  line-height: 1.2;
}

.cfm-help {
  font-family: var(--font-body, Inter, sans-serif);
  font-size: 0.92rem;
  color: rgba(251, 247, 239, 0.78);
  margin: 0;
  line-height: 1.45;
  max-width: 540px;
}

.cfm-cta {
  background: var(--honey, #E6A340);
  color: var(--navy, #0E2A47);
  font-family: var(--font-body, Inter, sans-serif);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.cfm-cta:hover {
  background: #F2C879;
  transform: translateY(-1px);
}

/* Mobile stack */
@media (max-width: 680px) {
  .cfm-card { padding: 22px 22px; }
  .cfm-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 16px;
  }
  .cfm-cta {
    text-align: center;
    width: 100%;
  }
}
