/* Molo Feature Cards */

.molo-feature-cards__head {
  max-width: 62ch;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.molo--center .molo-feature-cards__head { margin-inline: auto; }

/* component root doubles the specificity so Avada's global heading
   typography (.fusion-body h2 etc.) cannot restyle our headings */
.molo-feature-cards .molo-feature-cards__headline {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  text-wrap: balance;
}

.molo-feature-cards__intro {
  margin-top: 1em;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.6;
}
.molo-feature-cards__intro p { margin: 0 0 .9em; }
.molo-feature-cards__intro p:last-child { margin-bottom: 0; }
.molo-theme-dark .molo-feature-cards__intro,
.molo-theme-deep .molo-feature-cards__intro { color: rgba(255, 255, 255, .8); }

/* ---- grid ---------------------------------------------------------------- */
.molo-feature-cards__grid {
  display: grid;
  gap: clamp(20px, 2.5vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  text-align: left; /* card copy stays left even under molo--center */
}
.molo-feature-cards__grid--2 { grid-template-columns: repeat(2, 1fr); }
.molo-feature-cards__grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .molo-feature-cards__grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .molo-feature-cards__grid--2,
  .molo-feature-cards__grid--3 { grid-template-columns: 1fr; }
}

/* ---- card ---------------------------------------------------------------- */
.molo-feature-cards__card {
  padding: clamp(28px, 3.4vw, 46px);
  border-radius: 8px;
}
.molo-theme-dark .molo-feature-cards__card,
.molo-theme-deep .molo-feature-cards__card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
}
.molo-theme-light .molo-feature-cards__card,
.molo-theme-dim .molo-feature-cards__card {
  background: var(--molo-paper);
  border: 1px solid var(--molo-line);
  box-shadow: 0 10px 30px rgba(32, 41, 68, .06);
}

.molo-feature-cards .molo-feature-cards__title {
  margin: 0 0 .9em;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

.molo-feature-cards__body {
  font-size: .98rem;
  line-height: 1.65;
}
.molo-theme-dark .molo-feature-cards__body,
.molo-theme-deep .molo-feature-cards__body { color: rgba(255, 255, 255, .84); }

.molo-feature-cards__body p { margin: 0 0 1em; }
.molo-feature-cards__body p:last-child { margin-bottom: 0; }
.molo-feature-cards__body p em { opacity: .85; }

.molo-feature-cards .molo-feature-cards__body h5 {
  margin: 1.7em 0 .8em;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--molo-orange);
}

.molo-feature-cards__body ul {
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5em;
}
.molo-feature-cards__body ul:last-child { margin-bottom: 0; }
.molo-feature-cards__body li {
  position: relative;
  padding-left: 1.5em;
  line-height: 1.5;
}
.molo-feature-cards__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: .8em;
  height: 2px;
  background: var(--molo-orange);
}

/* ---- pill list ------------------------------------------------------------
   Scannable alternative to bullet walls; authors opt in per-list with
   <ul class="molo-pills">. Kills the wall-of-text feel for short items. */
.molo-feature-cards__body ul.molo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.4em;
}
.molo-feature-cards__body ul.molo-pills li {
  padding: 7px 14px;
  line-height: 1.35;
  font-size: .85rem;
  border-radius: 999px;
}
.molo-feature-cards__body ul.molo-pills li::before { content: none; }
.molo-theme-dark .molo-feature-cards__body ul.molo-pills li,
.molo-theme-deep .molo-feature-cards__body ul.molo-pills li {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .92);
}
.molo-theme-light .molo-feature-cards__body ul.molo-pills li,
.molo-theme-dim .molo-feature-cards__body ul.molo-pills li {
  background: var(--molo-paper-dim);
  border: 1px solid var(--molo-line);
}
