/* ===== Секция Акции ===== */
.section--actions {
  padding: 60px 0;
}

/* Заголовок страницы */
.page-title {
  font-weight: 900;
  font-size: 40px;
  margin-bottom: 50px;
  color: #222;
  text-align: left; /* слева */
}

/* ======= Хлебные крошки (современный микс) ======= */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  margin-bottom: 30px;
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #fafafa, #fff);
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.3px;
}

.breadcrumbs a {
  color: #333;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.breadcrumbs a:hover {
  background-color: #f3f3f3;
  color: #000;
}

.breadcrumbs span {
  color: #999;
  font-weight: 500;
  margin: 0 6px;
}

/* Список карточек */
.actions__list {
  display: flex;
  flex-wrap: wrap; /* разрешаем перенос */
  gap: 20px;
  justify-content: center; /* по центру страницы */
}

/* Горизонтальная карточка */
/* ====== Общий стиль карточек акций ====== */
.action-item {
  position: relative;
  display: block;
  flex: 0 1 calc(50% - 20px);
  max-width: 800px;
  margin: 10px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  cursor: pointer;
  text-decoration: none;
  background-color: #f7d663; /* фон по умолчанию */
  transition: transform 0.3s ease;
}

.action-item:hover {
  transform: translateY(-4px);
}

/* ====== Общие настройки для картинки ====== */
.action-item__image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.action-item__image img {
  display: block;
}

/* ====== Режим: картинка на всю карточку ====== */
.action-item--full .action-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
  transition: filter 0.3s ease;
}

.action-item--full:hover .action-item__image img {
  filter: brightness(100%);
}

/* ====== Режим: картинка справа ====== */
.action-item--right .action-item__image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #f7d663;
}

.action-item--right .action-item__image img {
  height: 100%;
  width: auto;
  border-radius: 0 16px 16px 0;
  transition: transform 0.3s ease;
}

.action-item--right:hover .action-item__image img {
  transform: translateX(10px);
}

/* ====== Тексты на карточке ====== */
.action-item__text {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
  max-width: 65%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.action-item__title,
.action-item__line {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

/* 1 строка (заголовок) */
.action-item__title {
  font-size: 20px;
  font-weight: 700;
}

/* 2 строка */
.action-item__line.line2 {
  font-size: 18px;
  font-weight: 700;
}

/* 3 строка (курсив + другой шрифт) */
.action-item__line.line3 {
  font-size: 18px;
  font-style: italic;
  font-family: ALSMirta, serif;
  font-weight: 400;
}

/* 4 строка */
.action-item__line.line4 {
  font-size: 18px;
  font-weight: 700;
}


/* ===== Адаптив ===== */
@media (max-width: 768px) {
  .action-item {
    flex: 0 1 100%; /* одна карточка на маленьких экранах */
  }
}


.section--action-page {
  padding: 60px 0;
  text-align: center;
}

.action-page__title {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 30px;
}

.action-page__block {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.action-page__image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 20px;
}

.action-page__dates {
  font-size: 16px;
  font-weight: 500;
  color: #555;
  margin-bottom: 20px;
}

.action-page__content {
  font-size: 18px;
  line-height: 1.6;
}

.action-page__content strong {
  font-weight: 700;
}
