.voices-success-wrapper {
  position: relative;
  width: 100%;
  overflow: visible !important;
}

/* Force overflow visible on WordPress containers */
.wp-block-acf-voices-success,
[data-type="acf/voices-success"],
.wp-block[data-type="acf/voices-success"] {
  overflow: visible !important;
}

.wp-block-acf-voices-success > *,
[data-type="acf/voices-success"] > *,
.wp-block[data-type="acf/voices-success"] > * {
  overflow: visible !important;
}

.voices-success-section,
.editor-styles-wrapper .voices-success-section,
.block-editor-block-list__layout .voices-success-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  opacity: 1;
  filter: none;
  overflow: visible;
  margin: 0;
}

.voices-success-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(30px, 5vw, 60px);
}

.voices-success-header {
  margin-bottom: 0;
}

.voices-success-grid-title {
  margin: 0 0 30px;
  font-family: Lexend;
  font-style: normal;
  font-weight: 400;
  font-size: 31px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
}

.voices-success-lead {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 12px;
  width: 100%;
  max-width: 1080px;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.voices-success-lead::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(45deg, #2ecc71, transparent 15%, transparent 85%, #2ecc71);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.voices-success-lead p {
  margin: 0;
  font-family: Lexend;
  color: #000;
  font-size: 16px;
  line-height: 22px;
  font-style: normal;
  font-weight: 300;
}
.voices-success-lead p strong,
.voices-success-description strong {
  font-weight: 500;
}
.voices-success-lead > * {
  position: relative;
  z-index: 1;
}

.voices-success-subtitle {
  color: #000;
  font-family: Lexend;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 30px;
  display: block;
}

.voices-success-title-row {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  flex-wrap: nowrap;
  margin-bottom: 12px;
}

.voices-success-main-title {
  color: #000;
  font-family: Lexend;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
  flex-shrink: 1;
  display: block;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.voices-success-title-line {
  flex: 1;
  min-width: 0;
  height: 1px;
  background: #2ECC71;
  margin-left: clamp(16px, 3vw, 40px);
  margin-right: -9999px;
  align-self: center;
}

.voices-success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Default, will be overridden by JS */
  gap: 40px;
  position: relative;
  z-index: 1;
}

.voices-success-item {
  display: flex;
  padding: 30px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1 0 0;
  border-radius: 12px;
  background-color: #fff;
  background-image: radial-gradient(circle at 100% 0, #00a69c8c, #fff 43%);
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 2px 21.1px 0 rgba(0, 0, 0, 0.20);
  position: relative;
  z-index: 1;
  overflow: visible;
  visibility: visible;
}

.voices-success-icon {
  order: -1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voices-success-icon img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.voices-success-title {
  color: #000 !important;
  font-family: Lexend;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 0;
  max-width: 273px;
  display: block;
  position: relative;
  z-index: 2;
  visibility: visible;
  opacity: 1;
}

.voices-success-line {
    width: 100%;
  height: 1px;
  background: #2ECC71;
}

.voices-success-description {
  color: #000 !important;
  font-family: Lexend;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 26px;
  margin: 0;
  position: relative;
  z-index: 2;
  visibility: visible;
  opacity: 1;
}

.voices-success-description strong,
.voices-success-description b {
  font-weight: 500;
}

@media (max-width: 1024px) {
  .voices-success-grid {
    grid-template-columns: 1fr;
     gap: 40px;
  }
}

