.wrapper.ce-stack-cards-wrapper {
  padding-top: 100px;
  padding-bottom: 100px;
}

.card-wrapper {
  width: 100%;
  perspective: 1200px;
  margin-bottom: 60px;
}
.card-wrapper:last-child {
  margin-bottom: 0;
}

.cards {
  width: 100%;
  max-width: 100%; /* Default to 100% as requested */
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.card__inner_content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Default to center */
  align-items: center;    /* Default to center */
  text-align: center;     /* Default to center */
  box-sizing: border-box;
}

.card__title {
  padding: 0;
  margin: 0 0 15px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff;
}

.card__description {
  line-height: 1.6;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 800px;
}

@media (max-width: 767px) {
  .card__title {
    font-size: 32px;
  }

  .card__description {
    font-size: 16px;
  }

  .card__inner_content {
    padding: 30px 20px;
  }
}
