.advantages-section {
  margin: 58px auto;
}

.advantages-section__title {
  margin: 0 0 28px;
  text-align: center;
  color: #1f3b6d;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.advantage-card {
  position: relative;
  min-height: 220px;
  padding: 28px 24px;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 10px 28px rgba(31, 59, 109, 0.08),
    inset 0 0 0 1px #edf3f8;
}

.advantage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
}

.advantage-card--green::before {
  background: linear-gradient(135deg, #bff2d6, transparent 65%);
}

.advantage-card--blue::before {
  background: linear-gradient(135deg, #bde7ff, transparent 65%);
}

.advantage-card--orange::before {
  background: linear-gradient(135deg, #ffe0a8, transparent 65%);
}

.advantage-card--purple::before {
  background: linear-gradient(135deg, #e1d2ff, transparent 65%);
}

.advantage-card__icon {
  position: relative;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 20px rgba(31, 59, 109, 0.08);
}

.advantage-card h3,
.advantage-card p {
  position: relative;
}

.advantage-card h3 {
  margin: 0 0 12px;
  color: #213d6b;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.advantage-card p {
  margin: 0;
  color: #6d7d96;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .advantages-section {
    padding: 0 40px;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .advantages-section {
    margin: 42px auto;
    padding: 0 20px;
  }

  .advantages-section__title {
    font-size: 24px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .advantage-card {
    min-height: auto;
    padding: 24px 20px;
  }
}

.stats-section {
  margin: 24px auto 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  min-height: 112px;
  padding: 22px 26px;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 8px 22px rgba(31, 59, 109, 0.08),
    inset 0 0 0 1px #edf3f8;
  overflow: hidden;
}

.stat-card::before,
.stat-card::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .9;
  pointer-events: none;
}

.stat-card::before {
  left: 24px;
  bottom: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 0L8.7 5.1L14 5.2L9.8 8.3L11.4 13.4L7 10.4L2.6 13.4L4.2 8.3L0 5.2L5.3 5.1L7 0Z' fill='%23b9dcff'/%3E%3C/svg%3E");
}

.stat-card::after {
  right: 16px;
  bottom: 18px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 0L8.7 5.1L14 5.2L9.8 8.3L11.4 13.4L7 10.4L2.6 13.4L4.2 8.3L0 5.2L5.3 5.1L7 0Z' fill='%23ffd24d'/%3E%3C/svg%3E");
}

.stat-card__icon {
  width: 58px;
  height: 58px;
}

.stat-card__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.stat-card__value {
  color: #1f3b6d;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 800;
  white-space: nowrap;
}

.stat-card__text {
  margin-top: 5px;
  color: #1f3b6d;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .stats-section {
    padding: 0 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats-section {
    margin: 22px auto 32px;
    padding: 0 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stat-card {
    min-height: 96px;
    grid-template-columns: 64px 1fr;
    padding: 18px 20px;
  }

  .stat-card__icon {
    width: 52px;
    height: 52px;
  }

  .stat-card__value {
    font-size: 18px;
  }

  .stat-card__text {
    font-size: 14px;
  }
}



/* =====================================================
   БЛОК
===================================================== */

#block-coikonkurs-views-block-konkursy-block-1 {
  margin: 56px auto;
}

#block-coikonkurs-views-block-konkursy-block-1 > h2 {
  margin: 0 0 40px;
  text-align: center;
  color: #1f3b6d;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
}

/* =====================================================
   ГРУППЫ
===================================================== */

.contest-group {
  margin-top: 56px;
}

.contest-group:first-child {
  margin-top: 0;
}

.contest-group__title {
  margin: 0 0 30px;
  text-align: center;
  color: #1f3b6d;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
}

/* ВОТ ТУТ ГЛАВНАЯ СЕТКА */

.contest-group__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* =====================================================
   КАРТОЧКА
===================================================== */

.contest-card {
  position: relative;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 200px;
  overflow: hidden;

  border-radius: 26px;

  background-image:
    linear-gradient(
      90deg,
      rgba(255,255,255,.12) 0%,
      rgba(255,255,255,.82) 46%,
      rgba(255,255,255,.56) 100%
    ),
    url("/themes/coikonkurs/images/plashka.png");

  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;

  box-shadow:
    0 10px 28px rgba(31, 59, 109, 0.10),
    inset 0 0 0 1px #e6edf5;
}

/* светлая зона справа */

.contest-card::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 20px;
  bottom: 22px;
  width: 57%;
  z-index: 1;

  border-radius: 22px;

  background: rgba(255,255,255,.72);

  backdrop-filter: blur(2px);
}

/* =====================================================
   ГЕРОЙ
===================================================== */

.contest-card .views-field-field-logo {
  position: relative;
  z-index: 2;

  grid-row: 1 / 6;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  padding: 50px 8px 18px 18px;
}

.contest-card .views-field-field-logo img {
  width: 100%;
  max-width: 230px;
  height: auto;
  object-fit: contain;

  filter: drop-shadow(0 10px 14px rgba(31,59,109,.16));
}

/* =====================================================
   ПРАВАЯ ЧАСТЬ
===================================================== */

.contest-card .views-field-field-shortname,
.contest-card .views-field-field-korotkoe-opisanie,
.contest-card .views-field-view-node {
  position: relative;
  z-index: 2;

  grid-column: 2;

  padding-right: 28px;
}

/* Название */

.contest-card .views-field-field-shortname {
  align-self: end;
  margin-top: 42px;
}

.contest-card .views-field-field-shortname .field-content {
  color: #17376c;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 900;
}

/* описание */

.contest-card .views-field-field-korotkoe-opisanie {
  margin-top: 14px;
}

.contest-card .views-field-field-korotkoe-opisanie .field-content {
  color: #617394;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

/* =====================================================
   ЦЕНА
===================================================== */

.contest-card .views-field-field-price {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 4;
}

.contest-card .views-field-field-price .field-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 76px;
  height: 36px;
  padding: 0 22px;

  border-radius: 15px;

  background: #dff7dd;

  color: #11932b;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.contest-card .views-field-field-price .field-content::after {
  content: " ₽";
}

/* =====================================================
   КНОПКА
===================================================== */

.contest-card .views-field-view-node {
  align-self: end;
  margin-top: 18px;
  margin-bottom: 28px;
  justify-self: end;
}

.contest-card .views-field-view-node a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;

  border-radius: 10px;

  background: linear-gradient(
    180deg,
    #1678ff 0%,
    #0061ee 100%
  );

  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;

  box-shadow:
    0 10px 22px rgba(0,97,238,.22);
}

.contest-card .views-field-view-node a::after {
  content: "→";
  margin-left: 16px;
  font-size: 28px;
  line-height: 1;
}

/* =====================================================
   АДАПТИВ
===================================================== */

@media (max-width: 1180px) {

  #block-coikonkurs-views-block-konkursy-block-1 {
    padding: 0 40px;
  }

  .contest-group__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {

  #block-coikonkurs-views-block-konkursy-block-1 {
    padding: 0 20px;
  }

  #block-coikonkurs-views-block-konkursy-block-1 > h2 {
    font-size: 32px;
  }

  .contest-group__title {
    font-size: 26px;
  }

  .contest-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contest-card::after {
    top: auto;
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
    height: 54%;
  }

  .contest-card .views-field-field-logo,
  .contest-card .views-field-field-shortname,
  .contest-card .views-field-field-korotkoe-opisanie,
  .contest-card .views-field-view-node {
    grid-column: 1;

    text-align: center;

    padding-left: 22px;
    padding-right: 22px;
  }

  .contest-card .views-field-field-logo {
    padding-top: 76px;
    padding-bottom: 0;
  }

  .contest-card .views-field-field-shortname {
    margin-top: 18px;
  }

  .contest-card .views-field-view-node {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =====================================================
   DRUPAL LOCAL TASKS / ГЛАВНЫЕ ВКЛАДКИ
===================================================== */

#block-coikonkurs-primary-local-tasks {
  margin: 20px auto 28px;
}

#block-coikonkurs-primary-local-tasks > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 12px;
  list-style: none;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 8px 24px rgba(31, 59, 109, 0.08),
    inset 0 0 0 1px #edf3f8;
}

#block-coikonkurs-primary-local-tasks li {
  margin: 0;
  padding: 0;
}

#block-coikonkurs-primary-local-tasks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  color: #526789;
  background: #f5f8fb;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

#block-coikonkurs-primary-local-tasks a:hover {
  color: #1f3b6d;
  background: #eaf2fb;
  transform: translateY(-1px);
}

#block-coikonkurs-primary-local-tasks a.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, #37b36b 0%, #1f9a54 100%);
  box-shadow: 0 8px 18px rgba(31, 154, 84, 0.22);
}

/* вкладка удаления */

#block-coikonkurs-primary-local-tasks a[href*="/delete"] {
  color: #d94b4b;
  background: #fff1f1;
}

#block-coikonkurs-primary-local-tasks a[href*="/delete"]:hover {
  color: #ffffff;
  background: linear-gradient(180deg, #ff6b6b 0%, #e34b4b 100%);
  box-shadow: 0 8px 18px rgba(227, 75, 75, 0.22);
}

/* если удаление активное */

#block-coikonkurs-primary-local-tasks a[href*="/delete"].is-active {
  color: #ffffff;
  background: linear-gradient(180deg, #ff6b6b 0%, #e34b4b 100%);
}

/* адаптив */

@media (max-width: 1180px) {
  #block-coikonkurs-primary-local-tasks {
    padding: 0 40px;
  }
}

@media (max-width: 640px) {
  #block-coikonkurs-primary-local-tasks {
    margin: 16px auto 22px;
    padding: 0 20px;
  }

  #block-coikonkurs-primary-local-tasks > ul {
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
  }

  #block-coikonkurs-primary-local-tasks li {
    flex: 1 1 calc(50% - 8px);
  }

  #block-coikonkurs-primary-local-tasks a {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  #block-coikonkurs-primary-local-tasks li {
    flex-basis: 100%;
  }
}

/* =====================================================
   BREADCRUMBS / ХЛЕБНЫЕ КРОШКИ
===================================================== */

#block-coikonkurs-breadcrumbs {
  margin: 18px auto 22px;
}

#block-coikonkurs-breadcrumbs nav {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

#block-coikonkurs-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  list-style: none;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 8px 22px rgba(31, 59, 109, 0.06),
    inset 0 0 0 1px #edf3f8;
}

#block-coikonkurs-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7a8aa4;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

#block-coikonkurs-breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: #b5c3d4;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

#block-coikonkurs-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  color: #526789;
  text-decoration: none;
  transition: color 0.18s ease;
}

#block-coikonkurs-breadcrumbs a:hover {
  color: #1f9a54;
}

/* иконка домика у первого пункта */

#block-coikonkurs-breadcrumbs li:first-child a::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-right: 7px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 1.5L1.5 6.8V14a.5.5 0 0 0 .5.5h4.2V10h3.6v4.5H14a.5.5 0 0 0 .5-.5V6.8L8 1.5Z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

/* адаптив */

@media (max-width: 1180px) {
  #block-coikonkurs-breadcrumbs {
    padding: 0 40px;
  }
}

@media (max-width: 640px) {
  #block-coikonkurs-breadcrumbs {
    margin: 14px auto 18px;
    padding: 0 20px;
  }

  #block-coikonkurs-breadcrumbs ol {
    padding: 9px 12px;
    border-radius: 16px;
  }

  #block-coikonkurs-breadcrumbs li {
    font-size: 13px;
  }
}


/* =========================================================
   ФОРМА ОПЛАТЫ
   Оформление в стиле фильтров Views
   ========================================================= */

#payment-wrapper {
  padding: 28px 0 50px;
}

#payment-wrapper .containerpayform {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px;

  background:
    radial-gradient(
      circle at 0 0,
      rgba(228, 241, 235, 0.72),
      transparent 42%
    ),
    #fff;

  border: 1px solid #e3eaf0;
  border-radius: 18px;

  box-shadow: 0 7px 24px rgba(32, 59, 91, 0.08);
}


/* =========================================================
   СЕТКА ФОРМЫ
   ========================================================= */

#payment-wrapper .payment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

#payment-wrapper .payment-form .form-item {
  min-width: 0;
  margin: 0;
}

/* ФИО и назначение платежа — на всю ширину */

#payment-wrapper .form-item-fio,
#payment-wrapper .form-item-purpose {
  grid-column: 1 / -1;
}

/* Кнопка — на всю ширину */

#payment-wrapper .payment-form > .form-submit {
  grid-column: 1 / -1;
  justify-self: start;
}


/* =========================================================
   LABEL
   ========================================================= */

#payment-wrapper .payment-form label {
  display: block;
  margin: 0 0 7px;

  color: #344f70;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

#payment-wrapper .payment-form label.form-required::after {
  margin-left: 3px;

  color: #d54b4b;

  content: "*";
}


/* =========================================================
   INPUT И TEXTAREA
   ========================================================= */

#payment-wrapper .payment-form .form-text,
#payment-wrapper .payment-form .form-textarea {
  display: block;

  width: 100%;
  max-width: 100%;

  color: #354c67;
  background: #fff;

  border: 1px solid #d8e1e9;
  border-radius: 9px;

  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;

  box-sizing: border-box;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

#payment-wrapper .payment-form .form-text {
  height: 46px;
  padding: 0 14px;
}

#payment-wrapper .payment-form .form-textarea {
  min-height: 118px;
  padding: 12px 14px;

  resize: vertical;
}

#payment-wrapper .payment-form .form-text:hover,
#payment-wrapper .payment-form .form-textarea:hover {
  border-color: #abc8bc;
}

#payment-wrapper .payment-form .form-text:focus,
#payment-wrapper .payment-form .form-textarea:focus {
  background-color: #fbfefd;
  border-color: #318064;
  outline: none;

  box-shadow: 0 0 0 3px rgba(49, 128, 100, 0.14);
}

#payment-wrapper .payment-form .form-text::placeholder,
#payment-wrapper .payment-form .form-textarea::placeholder {
  color: #98a6b5;
}


/* =========================================================
   READONLY — СУММА С КОМИССИЕЙ
   ========================================================= */

#payment-wrapper .form-item-amountwith .form-text {
  color: #17365f;
  background: #f2f7f4;
  border-color: #c9ddd3;

  font-weight: 700;
}

#payment-wrapper .form-item-amountwith .form-text:focus {
  background: #f2f7f4;
  border-color: #9fc6b3;

  box-shadow: 0 0 0 3px rgba(49, 128, 100, 0.1);
}

#payment-wrapper .form-item-amountwith label {
  color: #2d6f58;
}


/* =========================================================
   ОПИСАНИЕ ПОЛЯ
   ========================================================= */

#payment-wrapper .payment-form .description {
  margin-top: 7px;

  color: #708095;

  font-size: 12px;
  line-height: 1.45;
}

#payment-wrapper .payment-form .description p {
  margin: 3px 0 0;
}


/* =========================================================
   КНОПКА ОПЛАТЫ
   ========================================================= */

#payment-wrapper .payment-form .form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 150px;
  min-height: 46px;
  padding: 10px 24px;

  color: #fff;
  background: #318064;

  border: 2px solid #318064;
  border-radius: 8px;

  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#payment-wrapper .payment-form .form-submit:hover {
  background: #276f56;
  border-color: #276f56;

  box-shadow: 0 5px 13px rgba(49, 128, 100, 0.21);

  transform: translateY(-1px);
}

#payment-wrapper .payment-form .form-submit:focus-visible {
  outline: 3px solid rgba(49, 128, 100, 0.25);
  outline-offset: 3px;
}

#payment-wrapper .payment-form .form-submit:active {
  transform: translateY(0);
}


/* =========================================================
   ОШИБКИ ВАЛИДАЦИИ
   ========================================================= */

#payment-wrapper .payment-form .error,
#payment-wrapper .payment-form input.error,
#payment-wrapper .payment-form textarea.error {
  border-color: #d95d5d;
}

#payment-wrapper .payment-form input.error:focus,
#payment-wrapper .payment-form textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(217, 93, 93, 0.14);
}

#payment-wrapper .payment-form .form-item--error-message {
  margin-top: 6px;

  color: #b93838;

  font-size: 12px;
  line-height: 1.4;
}


/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 720px) {
  #payment-wrapper {
    padding: 20px 0 36px;
  }

  #payment-wrapper .containerpayform {
    padding: 20px;

    border-radius: 15px;
  }

  #payment-wrapper .payment-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  #payment-wrapper .form-item-fio,
  #payment-wrapper .form-item-purpose,
  #payment-wrapper .payment-form > .form-submit {
    grid-column: auto;
  }

  #payment-wrapper .payment-form .form-submit {
    width: 100%;
  }
}

@media (max-width: 420px) {
  #payment-wrapper .containerpayform {
    padding: 18px 15px;
  }

  #payment-wrapper .payment-form .form-text {
    height: 44px;
  }
}


/* =========================================================
   ОТКЛЮЧЕНИЕ АНИМАЦИЙ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #payment-wrapper .payment-form .form-text,
  #payment-wrapper .payment-form .form-textarea,
  #payment-wrapper .payment-form .form-submit {
    transition: none;
  }
}




/* =========================================================
   EU COOKIE COMPLIANCE
   ========================================================= */

body #sliding-popup {
  z-index: 9999 !important;

  width: 100% !important;
  height: auto !important;

  padding: 16px !important;

  background: transparent !important;

  box-sizing: border-box !important;
}


/* =========================================================
   ОБЩАЯ КАРТОЧКА
   ========================================================= */

body #sliding-popup .eu-cookie-compliance-banner {
  width: 100% !important;
  max-width: 1180px !important;

  margin: 0 auto !important;

  background:
    radial-gradient(
      circle at 0 0,
      rgba(228, 241, 235, 0.7),
      transparent 42%
    ),
    #fff !important;

  border: 1px solid #dfe8ee !important;
  border-radius: 16px !important;

  box-shadow: 0 10px 30px rgba(31, 57, 89, 0.14) !important;

  box-sizing: border-box !important;
}


/* =========================================================
   ВНУТРЕННИЙ КОНТЕЙНЕР
   ========================================================= */

body #sliding-popup .popup-content.eu-cookie-compliance-content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;

  float: none !important;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 18px 22px !important;

  box-sizing: border-box !important;
}


/* =========================================================
   ТЕКСТ
   ========================================================= */

body #sliding-popup .eu-cookie-compliance-message {
  float: none !important;

  flex: 1 1 auto !important;

  width: auto !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #516680 !important;

  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;

  box-sizing: border-box !important;
}

body #sliding-popup .eu-cookie-compliance-message p {
  margin: 0 !important;
  padding: 0 !important;

  color: #516680 !important;

  font-size: 13px !important;
  line-height: 1.55 !important;
}


/* =========================================================
   ССЫЛКИ
   ========================================================= */

body #sliding-popup .eu-cookie-compliance-message a {
  color: #2477c2 !important;

  font-weight: 600 !important;
  text-decoration: none !important;

  border-bottom: 1px solid rgba(36, 119, 194, 0.28) !important;

  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

body #sliding-popup .eu-cookie-compliance-message a:hover,
body #sliding-popup .eu-cookie-compliance-message a:focus-visible {
  color: #185b99 !important;
  border-color: #185b99 !important;
}


/* =========================================================
   БЛОК КНОПОК
   ========================================================= */

body #sliding-popup .eu-cookie-compliance-buttons {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;

  float: none !important;

  flex: 0 0 auto !important;

  width: auto !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  box-sizing: border-box !important;
}


/* =========================================================
   КНОПКА "ПРИНЯТЬ"
   ========================================================= */

body #sliding-popup button.eu-cookie-compliance-agree-button,
body #sliding-popup .eu-cookie-compliance-agree-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 120px !important;
  max-width: none !important;

  min-height: 42px !important;

  margin: 0 !important;
  padding: 9px 20px !important;

  color: #fff !important;

  background: #318064 !important;
  background-color: #318064 !important;
  background-image: none !important;

  border: 2px solid #318064 !important;
  border-radius: 8px !important;

  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;

  text-align: center !important;
  text-decoration: none !important;
  text-shadow: none !important;

  box-shadow: none !important;

  cursor: pointer !important;

  box-sizing: border-box !important;

  appearance: none !important;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body #sliding-popup button.eu-cookie-compliance-agree-button:hover,
body #sliding-popup .eu-cookie-compliance-agree-button:hover {
  color: #fff !important;

  background: #276f56 !important;
  background-color: #276f56 !important;

  border-color: #276f56 !important;

  box-shadow: 0 5px 13px rgba(49, 128, 100, 0.2) !important;

  transform: translateY(-1px);
}

body #sliding-popup button.eu-cookie-compliance-agree-button:focus,
body #sliding-popup button.eu-cookie-compliance-agree-button:focus-visible,
body #sliding-popup .eu-cookie-compliance-agree-button:focus,
body #sliding-popup .eu-cookie-compliance-agree-button:focus-visible {
  color: #fff !important;

  background: #276f56 !important;
  border-color: #276f56 !important;

  outline: 3px solid rgba(49, 128, 100, 0.25) !important;
  outline-offset: 3px !important;

  box-shadow: none !important;
}

body #sliding-popup button.eu-cookie-compliance-agree-button:active,
body #sliding-popup .eu-cookie-compliance-agree-button:active {
  transform: translateY(0);
}


/* =========================================================
   СБРОС СТИЛЕЙ МОДУЛЯ
   ========================================================= */

body #sliding-popup .popup-content,
body #sliding-popup .eu-cookie-compliance-content,
body #sliding-popup .eu-cookie-compliance-message,
body #sliding-popup .eu-cookie-compliance-buttons {
  box-sizing: border-box !important;
}

body #sliding-popup .eu-cookie-compliance-message,
body #sliding-popup .eu-cookie-compliance-buttons {
  float: none !important;
}

body #sliding-popup .eu-cookie-compliance-buttons button {
  text-shadow: none !important;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 720px) {
  body #sliding-popup {
    padding: 10px !important;
  }

  body #sliding-popup .eu-cookie-compliance-banner {
    border-radius: 14px !important;
  }

  body #sliding-popup .popup-content.eu-cookie-compliance-content {
    display: flex !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 14px !important;

    padding: 16px !important;
  }

  body #sliding-popup .eu-cookie-compliance-message {
    width: 100% !important;
    max-width: none !important;

    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  body #sliding-popup .eu-cookie-compliance-message p {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  body #sliding-popup .eu-cookie-compliance-buttons {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
  }

  body #sliding-popup button.eu-cookie-compliance-agree-button,
  body #sliding-popup .eu-cookie-compliance-agree-button {
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* =========================================================
   ОЧЕНЬ УЗКИЕ ЭКРАНЫ
   ========================================================= */

@media (max-width: 420px) {
  body #sliding-popup {
    padding: 8px !important;
  }

  body #sliding-popup .popup-content.eu-cookie-compliance-content {
    padding: 14px !important;
  }

  body #sliding-popup .eu-cookie-compliance-message,
  body #sliding-popup .eu-cookie-compliance-message p {
    font-size: 11.5px !important;
  }

  body #sliding-popup button.eu-cookie-compliance-agree-button,
  body #sliding-popup .eu-cookie-compliance-agree-button {
    min-height: 40px !important;

    font-size: 12px !important;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  body #sliding-popup *,
  body #sliding-popup *::before,
  body #sliding-popup *::after {
    transition: none !important;
  }
}