#benefits {
  background: var(--ivory);
}

#benefits .info-card {
  --ornament-height: 18px;
  --ornament-inset: 6px;
}

#benefits .info-card h3 {
  margin: 0 0 15px;
  align-self: stretch;
  text-align: center;
}

#benefits .info-card p {
  margin: 0 0 12px;
}

.benefit-engraving {
  display: block;
  align-self: center;
  flex: none;
  width: clamp(128px, 12vw, 160px);
  max-width: 100%;
  height: auto;
  margin-bottom: 8px;
  opacity: .20;
  pointer-events: none;
}

.benefit-caption {
  align-self: center;
  max-width: 100%;
  margin-top: auto;
  padding: 6px 14px;
  color: #684625;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

@media screen and (prefers-reduced-motion: no-preference) {
  .benefit-caption { animation: header-phone-pulse 4s ease-in-out infinite; }
}

#benefits .info-card:nth-child(1) {
  --top-ornament: url("../images/dividers/benefits/ribbon.png");
  --bottom-ornament: url("../images/dividers/benefits/chain.png");
}

#benefits .info-card:nth-child(2) {
  --top-ornament: url("../images/dividers/benefits/medallions.png");
  --bottom-ornament: url("../images/dividers/benefits/clasp.png");
}

#benefits .info-card:nth-child(3) {
  --top-ornament: url("../images/dividers/benefits/wave.png");
  --bottom-ornament: url("../images/dividers/benefits/fan.png");
}

#benefits .info-card:nth-child(4) {
  --top-ornament: url("../images/dividers/benefits/sprigs.png");
  --bottom-ornament: url("../images/dividers/benefits/drops.png");
}

/* Both ornaments sit entirely in the existing card padding. */
#benefits .info-card::before, #benefits .info-card::after { content: ""; }
#benefits .info-card::before, #benefits .info-card::after,
.benefit-ornament--top,
.benefit-ornament--bottom {
  position: absolute;
  left: 0;
  right: 0;
  width: calc(100% - 40px);
  max-width: 200px;
  height: var(--ornament-height);
  margin: 0 auto;
  background: transparent center / contain no-repeat;
  pointer-events: none;
}

#benefits .info-card::before, .benefit-ornament--top {
  top: var(--ornament-inset);
  background-image: var(--top-ornament);
}

#benefits .info-card::after, .benefit-ornament--bottom {
  bottom: var(--ornament-inset);
  background-image: var(--bottom-ornament);
}

@media (max-width: 710px) {
  #benefits .info-card {
    --ornament-height: 15px;
    --ornament-inset: 4px;
  }
}
