/* Copy Enfold Blocks – адаптивная сетка */
.ceb-copy-wrapper {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;                 /* расстояние между блоками */
  max-width: 1200px;
  margin: 40px auto;         /* отступ сверху/снизу всей секции */
  padding: 10px 0;
  justify-items: stretch;
  align-items: stretch;
}

/* Каждый вставленный блок */
.ceb-block {
  box-sizing: border-box;
  width: 100%;
  background: transparent;
}

/* Внутренние элементы блоков */
.ceb-block * {
  box-sizing: border-box;
}

/* Нейтрализуем конфликтные margin от Enfold колонок */
.ceb-block .flex_column {
  width: 100% !important;
  float: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Восстанавливаем внутренние отступы Enfold */
.ceb-block .flex_column > *:first-child {
  margin-top: 20px !important;
}
.ceb-block .flex_column > *:last-child {
  margin-bottom: 20px !important;
}

/* Mobile */
@media (max-width: 768px) {
  .ceb-copy-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 30px auto;
  }
}
