/* ============================================================================
   Free SEO report - the promotion block (2026-08-20)
   ----------------------------------------------------------------------------
   Adir: the free report page is for a PROSPECT who came off the website to
   have their site checked, "and we're gonna try to push them a couple of
   other items which they can just check and see... it's gonna be click to
   action... to go and make a plan".

   So this page ends in an offer rather than a dead end. Layout only - it uses
   the portal's own kt-card, kt-btn and cxp-meta components, because a
   prospect who becomes a client should recognise the product they were shown.
   ============================================================================ */

body.fi-panel-portal .cxp-upsell {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.fi-panel-portal .cxp-upsell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

body.fi-panel-portal .cxp-upsell-head .kt-card-title {
  margin-bottom: 0.15rem;
}

body.fi-panel-portal .cxp-upsell-cta {
  flex: 0 0 auto;
}

body.fi-panel-portal .cxp-upsell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

/* The card hugs its content - a half-empty card is a defect, not a design. */
body.fi-panel-portal .cxp-upsell-card > .kt-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
  padding: 1.15rem 1.25rem;
}

body.fi-panel-portal .cxp-upsell-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: var(--portal-heading, #172033);
}

body.fi-panel-portal .cxp-upsell-card-body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--portal-muted, #5b6880);
  flex: 1 1 auto;
}

body.fi-panel-portal .cxp-upsell-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.fi-panel-portal .cxp-upsell-foot > .kt-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

body.fi-panel-portal .cxp-upsell-foot-title {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.15rem;
  color: var(--portal-heading, #172033);
}

body.fi-panel-portal .cxp-upsell-foot-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  body.fi-panel-portal .cxp-upsell-cta,
  body.fi-panel-portal .cxp-upsell-foot-actions .kt-btn {
    width: 100%;
    justify-content: center;
  }

  body.fi-panel-portal .cxp-upsell-foot-actions {
    width: 100%;
  }
}

/* The pending badge sits in the card header beside the title. The LED is the
   portal's existing live-state indicator and never carries the meaning on its
   own - the word "Working" is right beside it. */
body.fi-panel-portal .cxp-report-pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
}
