/* CTAButtons Styles */
.cta-buttons-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  width: 100%;
}

/* Column Layout (Default) */
.cta-buttons--columns {
  flex-direction: column;
}

@media (min-width: 640px) {
  .cta-buttons--columns {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .cta-buttons--columns {
    flex-direction: row;
    flex-wrap: nowrap;
  }
}

/* Row Layout */
.cta-buttons--row {
  flex-direction: column;
}

@media (min-width: 640px) {
  .cta-buttons--row {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Stack Layout */
.cta-buttons--stack {
  flex-direction: column;
}

/* Button Styling */
.cta-buttons :deep(.btn) {
  white-space: nowrap;
  min-width: fit-content;
  flex: 0 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-buttons--columns :deep(.btn) {
    flex: 1 1 auto;
    max-width: 280px;
  }

  .cta-buttons--row :deep(.btn) {
    flex: 0 1 auto;
    max-width: 250px;
  }
}

@media (max-width: 639px) {
  .cta-buttons :deep(.btn) {
    width: 100%;
    max-width: 320px;
  }
}
