/**
 * Benefits Bar - Carousel Styles
 * Shortcode: [benefits_bar]
 */

.benefits-bar {
  background-color: #ffffff;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  overflow: hidden;
  width: 100%;
}

/* ── Swiper container ── */
.benefits-bar .swiper {
  width: 100%;
  overflow: hidden;
}

.benefits-bar .swiper-wrapper {
  display: flex;
  align-items: center;
  transition-timing-function: linear !important; /* smooth continuous scroll */
}

/* ── Each slide / item ── */
.benefits-bar .benefit-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: auto !important;        /* override swiper full-width default */
  padding: 14px 40px 14px 0;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}

/* Separator dot between items */
.benefits-bar .benefit-item::after {
  content: '•';
  position: absolute;
  right: 14px;
  color: #ccc;
  font-size: 16px;
  line-height: 1;
}

/* ── Icon ── */
.benefits-bar .benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #111;
}

.benefits-bar .benefit-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* ── Text block ── */
.benefits-bar .benefit-text {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 13px;
  color: #111;
  line-height: 1.4;
}

.benefits-bar .benefit-title {
  font-weight: 700;
  font-size: 13px;
  color: #111;
}

.benefits-bar .benefit-description {
  font-weight: 400;
  font-size: 13px;
  color: #444;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .benefits-bar .benefit-item {
    padding: 12px 36px 12px 0;
    gap: 8px;
  }

  .benefits-bar .benefit-text {
    font-size: 12px;
  }

  .benefits-bar .benefit-title {
    font-size: 12px;
  }

  .benefits-bar .benefit-description {
    font-size: 12px;
  }
}
