/* OUTER: can be full width + background color */
.pequod-feature-ribbon {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* INNER: constrained content */
.pequod-feature-ribbon .pequod-feature-ribbon-inner {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

/* If you're keeping top/bottom content, you can style them like this.
   If you remove top/bottom later, you can delete these. */
.pequod-feature-ribbon .top,
.pequod-feature-ribbon .bottom {
  text-align: center;
}

/* FEATURES ROW */
.pequod-feature-ribbon .middle.pequod-features {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;              /* never stack on desktop */
  align-items: center;
  justify-content: space-between; /* first flush left, last flush right */
  column-gap: 24px;               /* minimum breathing room, not fixed spacing */
  min-height: 70px;               /* desktop height requirement */
}

/* Each feature "cell" */
.pequod-feature-ribbon .feature-box {
  flex: 0 1 auto;              /* content-sized, but MAY shrink to fit */
  display: flex;
  align-items: center;         /* vertically align icon + text */
  justify-content: flex-start; /* icon then title */
  gap: 12px;
  min-width: 0;                /* required, or shrinking is blocked */
  min-height: 70px;
  white-space: normal;         /* allow title to wrap rather than overflow */
}

/* Icon should never shrink even when its box does */
.pequod-feature-ribbon .feature-icon {
  flex: 0 0 auto;
}

/* Icon size */
.pequod-feature-ribbon .feature-icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  display: block;
}

.pequod-feature-ribbon .feature-title {
  font-weight: 400;
}

/* Title typography */
.pequod-feature-ribbon .feature-title {
  font-size: 1.375rem;
  line-height: 2rem;
  margin: 0;
}

/* TABLET + MOBILE: stack to one column */
@media (max-width: 1024px) {

  .pequod-feature-ribbon {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .pequod-feature-ribbon .middle.pequod-features {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start; /* left align the stacked items */
    justify-content: flex-start;
    row-gap: 16px;
    min-height: auto;
  }

  .pequod-feature-ribbon .feature-box {
    width: 100%;
    min-height: auto;
  }
}

/* Parent theme clearfix pseudo-elements become flex items and steal the
   space-between edge positions — neutralize them on this row. */
.pequod-feature-ribbon .middle.pequod-features::before,
.pequod-feature-ribbon .middle.pequod-features::after {
	content: none;
	display: none;
}