.custom-center-block {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 1200px;
  /* Ограничение ширины */
  width: 100%;
}

.button-row {
  display: flex;
  gap: 10px;
  /* Расстояние между кнопками */
}

.button {
  background-color: #383d4d;
  /* Цвет фона */
  color: white;
  /* Цвет текста */
  padding: 20px 40px;
  /* Увеличенный внутренний отступ */
  border: none;
  font-size: 30px;
  /* Увеличенный размер шрифта */
  border-radius: 0;
  /* Убираем скругления по умолчанию */
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
  /* Убираем подчеркивание для ссылок */
  display: inline-block;
  /* Делаем кнопки блочно-строчными */
}

.button:hover {
  background-color: #555;
  /* Цвет фона при наведении */
}

.button.left-rounded {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.button.right-rounded {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Центрирование кнопок */

.button-container {
  text-align: center;
  /* Центрирование содержимого */
  margin-top: 10px;
  /* Отступ сверху */
}

/* Центрирование галереи */

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  /* Расстояние между изображениями */
  margin: 20px 0;
}

/* Контейнер для каждого изображения */

.hover-container {
  position: relative;
  width: 230px;
  /* Ширина изображения */
  height: 400px;
  /* Увеличенная высота изображения */
  overflow: hidden;
  border-radius: 10px;
  /* Скругленные углы */
}

/* Изображение */

.hover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Полупрозрачный фон */

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 20, 147, 0.5);
  /* Полупрозрачный розовый */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Кнопка */

.hover-button {
  background-color: #fff;
  color: #333;
  padding: 10px 15px;
  border: none;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hover-button:hover {
  background-color: #f0f0f0;
}

/* Эффект при наведении */

.hover-container:hover .hover-overlay {
  opacity: 1;
}

.hover-container:hover .hover-image {
  transform: scale(1.1);
}

/* Initial styles for the image */

.hover-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  /* Optional: add rounded corners */
}

/* Hover effect */

.hover-image:hover {
  transform: scale(1.05);
  /* Slightly increase the size */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
  /* Darker, larger shadow */
}

.ast-primary-header-bar.ast-primary-header.main-header-bar.site-header-focus-item {
  background-color: #212738;
}

.wp-block-button__link.transparent-button {
  background-color: transparent !important;
  /* Прозрачный фон */
  color: white !important;
  /* Белый текст */
  border: 2px solid white !important;
  /* Белая граница */
  border-radius: 15px;
  /* Скругленные углы */
  padding: 10px 20px;
  /* Внутренний отступ */
  font-size: 16px;
  /* Размер текста */
  font-family: Arial, sans-serif;
  /* Шрифт */
  text-transform: uppercase;
  /* Верхний регистр текста */
  text-align: center;
  /* Центрирование текста */
  cursor: pointer;
  /* Изменение курсора на указатель */
  display: inline-block;
  /* Корректное отображение кнопки */
  transition: all 0.3s ease;
  /* Плавный переход */
}

.wp-block-button__link.transparent-button:hover {
  background-color: white !important;
  /* Белый фон при наведении */
  color: black !important;
  /* Черный текст при наведении */
  border-color: white !important;
  /* Белая граница */
}

.wp-block-button__link.transparent-button2 {
  background-color: #ff00ff !important;
  /* Прозрачный фон */
  color: white !important;
  /* Белый текст */
  border: 2px solid white !important;
  /* Белая граница */
  border-radius: 15px;
  /* Скругленные углы */
  padding: 10px 20px;
  /* Внутренний отступ */
  font-size: 16px;
  /* Размер текста */
  font-family: Arial, sans-serif;
  /* Шрифт */
  text-transform: uppercase;
  /* Верхний регистр текста */
  text-align: center;
  /* Центрирование текста */
  cursor: pointer;
  /* Изменение курсора на указатель */
  display: inline-block;
  /* Корректное отображение кнопки */
  transition: all 0.3s ease;
  /* Плавный переход */
}

.wp-block-button__link.transparent-button2:hover {
  background-color: #feaffc !important;
  /* Белый фон при наведении */
  color: black !important;
  /* Черный текст при наведении */
  border-color: white !important;
  /* Белая граница */
}