/* Fund Cards (2026) — prefix .lsf / .lsf-card__
   Large interval-fund cards for /funds. Same card family as the homepage
   fund cards (home-fund-cards), scaled up to carry highlights. The top panel
   uses the hero's navy gradient + cyan glow so the cards read as Liquid.
   child.css forces p weight/font and h1-h6 font, hence the !importants. */

.lsf {
  padding: 72px 0 24px;
}

.lsf__head { margin-bottom: 36px; }
.lsf__heading {
  font-size: clamp(29px, 3.2vw, 38px);
  font-weight: 500 !important;
  line-height: 1.15;
  color: var(--lsh-navy);
  margin: 0;
}

.lsf__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* Equal-height top panels: each card spans two rows of the grid and adopts
   them through subgrid, so the top panels share one row track (the tallest)
   and so do the bodies. row-gap 0 keeps a card's two halves flush. Browsers
   without subgrid fall back to the flex column below (uneven tops). */
@supports (grid-template-rows: subgrid) {
  .lsf__grid > .lsf-card {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}

.lsf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lsh-outline);
  border-radius: var(--lsh-radius-lg);
  box-shadow: var(--lsh-shadow-card);
  transition: transform 250ms var(--lsh-ease), box-shadow 250ms var(--lsh-ease), border-color 250ms var(--lsh-ease);
}
.lsf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lsh-shadow-card-hover);
  border-color: var(--lsh-mist);
}

/* ---- top panel ---- */
.lsf-card__top {
  position: relative;
  overflow: hidden;
  padding: 30px 32px 28px;
  color: #fff;
  background: linear-gradient(108deg, #0A1D44 0%, #11285A 45%, #2E5F8F 100%);
}
.lsf-card__top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 12% 0%, rgba(136, 198, 219, 0.2) 0%, rgba(136, 198, 219, 0) 100%);
  pointer-events: none;
}
.lsf-card__top > * { position: relative; z-index: 1; }

.lsf-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lsh-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lsh-mist);
  margin-bottom: 14px;
}
.lsf-card__cat::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6CC59B; /* interval-fund green, lifted for the navy panel */
  flex-shrink: 0;
}
.lsf-card--blue .lsf-card__cat::before { background: var(--lsh-cyan); }

.lsf-card__ticker {
  font-family: var(--lsh-font-body);
  font-size: 46px;
  font-weight: 700 !important;
  letter-spacing: 0.015em;
  line-height: 1.02;
  color: #fff;
  margin: 0 0 8px;
}
.lsf-card__name {
  font-size: 21px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #fff;
  margin: 0 0 8px;
}
.lsf-card__desc {
  font-family: var(--lsh-font-body);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 30em;
  margin: 0;
}

/* ---- body ---- */
.lsf-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 32px 30px;
}

.lsf-card__points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.lsf-card__points li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  font-family: var(--lsh-font-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--lsh-body);
}
.lsf-card__points li::before { content: none; }
.lsf-card__points svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1.5px;
  color: var(--lsh-teal-ink);
}


.lsf-card__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lsf-card__cta { padding: 13px 22px; font-size: 15px; }
.lsf-card__cta .lsh-arr { transition: transform 200ms var(--lsh-ease); }
.lsf-card__cta:hover .lsh-arr { transform: translateX(3px); }


@media (max-width: 900px) {
  .lsf__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .lsf { padding: 56px 0 16px; }
}
@media (max-width: 560px) {
  .lsf-card__top,
  .lsf-card__body { padding-left: 22px; padding-right: 22px; }
  .lsf-card__ticker { font-size: 40px; }
  .lsf-card__cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lsf-card, .lsf-card__cta .lsh-arr { transition: none; }
}
