/* digibiz home sections, part A (hero, features, services, steps, why, about, card).
   Only what home.css lacks for admin-driven content. */

/* ---- admin icons inside the template's icon tiles ----
   landing_contents icons are an uploaded image, an icon-font class or a
   Lucide name (rendered as an <svg>), so each tile has to seat all three. */
.hp-feat-ico img,
.hp-svc-i img,
.hp-step-i img,
.hp-why-i img,
.hp-claims-i img {
  display: block;
  width: 58%;
  height: 58%;
  object-fit: contain;
}

.hp-feat-ico svg,
.hp-svc-i svg,
.hp-step-i svg,
.hp-why-i svg,
.hp-claims-i svg {
  width: 1em;
  height: 1em;
}

/* the feature card styles its icon as a bare `> i`; the icon sits in a tile
   of its own here so an image or an svg gets the same frame */
.hp-feat-card > .hp-feat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 46px;
  width: 46px;
  border-radius: 14px;
  background: var(--dbk-surface);
  box-shadow: inset 0 0 0 1px var(--dbk-border);
  font-size: 20px;
  color: var(--dbk-text);
}

.hp-feat-card.is-on > .hp-feat-ico,
.hp-feat-card:hover > .hp-feat-ico {
  background: var(--dbk-surface);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dbk-pop) 22%, transparent);
  color: var(--dbk-pop);
}

.hp-feat-rail:hover .hp-feat-card.is-on:not(:hover) > .hp-feat-ico {
  background: var(--dbk-surface);
  box-shadow: inset 0 0 0 1px var(--dbk-border);
  color: var(--dbk-text);
}

/* the feature head carries the section's small title as a pill */
.hp-feat-head .hp-pill {
  margin-bottom: 16px;
}

/* ---- no picture uploaded ---- */
.hp-why-top.is-solo {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: clamp(28px, 3vw, 40px);
}

.hp-why-top.is-solo .hp-why-c {
  max-width: 760px;
}

ul.hp-why-row.is-solo {
  border-start-end-radius: 26px;
}

.hp-about.is-solo {
  grid-template-columns: minmax(0, 1fr);
}

/* the step run is laid out for a head above it */
.hp-steps.is-headless {
  margin-top: 0;
}

/* ---- the virtual card band (reuses .hp-appband) ---- */
.hp-cardband {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 0;
}

.hp-cardband.is-solo {
  grid-template-columns: minmax(0, 1fr);
}

.hp-cardband .hp-sub {
  color: var(--dbk-on-ink-muted);
}

.hp-cardshot {
  display: flex;
  justify-content: center;
}

.hp-cardshot img {
  display: block;
  width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.hp-cardband-act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: clamp(22px, 2.4vw, 32px);
}

.hp-cardband-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hp-cardband-pay img {
  height: 30px;
  width: auto;
  padding: 4px 8px;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 991px) {
  .hp-cardband {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-cardband-act {
    justify-content: center;
  }
}
