/* ===========================
   CTA Buttons Row
   =========================== */
.cta-buttons-row {
  width: 100%;
  background-color: rgb(var(--section-bg-rgb, 255, 255, 255));
  padding-top: var(--cta-row-padding-top, 16px);
  padding-bottom: var(--cta-row-padding-bottom, 16px);
}

.cta-buttons-row__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cta-row-gap, 12px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-buttons-row__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}

.cta-buttons-row__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  padding: 14px 20px;
  background-color: rgb(var(--btn-bg-rgb, 17, 17, 17));
  color: rgb(var(--btn-color-prefix-rgb, 255, 255, 255));
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
  white-space: nowrap;
}

.cta-buttons-row__button:hover {
  opacity: 0.85;
}

.cta-buttons-row__text-prefix,
.cta-buttons-row__text-suffix {
  display: inline-block;
  color: inherit;
}

.cta-buttons-row__text-prefix {
  color: rgb(var(--btn-color-prefix-rgb, 255, 255, 255));
}

.cta-buttons-row__text-suffix {
  color: rgb(var(--btn-color-suffix-rgb, 237, 218, 206));
}

@media (max-width: 959px) {
  .cta-buttons-row__list {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cta-buttons-row__list::-webkit-scrollbar {
    display: none;
  }
  .cta-buttons-row__item {
    flex: 0 0 180px;
  }
  .cta-buttons-row__button {
    white-space: normal;
  }
}
