/* Возвращаем исходную холодную палитру: серо-зелёная подложка и белые карточки */
html body #rec3409491501,
html body #rec3409491501 .t396__artboard,
html body #rec3409491501 .t396__carrier,
html body #rec3409131001,
html body #rec3409131001 .t396__artboard,
html body #rec3409131001 .t396__carrier,
html body #rec1676687741,
html body #rec1676687741 .t396__artboard,
html body #rec1676687741 .t396__carrier {
  background-color: #e6e6dd !important;
}

/* Серо-зелёный фон страницы кейса, в том числе CMS-обёрток */
html body:has(article.bp-case-content),
html body:has(article.bp-case-content) #allrecords,
html body:has(article.bp-case-content) .t-records,
html body.bp-case-page .t-cms__page-container,
html body.bp-case-page .t-cms__page-container_snippet {
  background-color: #e6e6dd !important;
}

/* Белый фон секции с двумя избранными кейсами на главной */
html body #rec5399099601 .bp-featured-cases {
  background-color: #ffffff !important;
}

/* Вертикальное видео в кейсе Усадьбы Рагозина */
html body .bp-case-video {
  display: block !important;
  width: min(100%, 430px) !important;
  max-width: 100% !important;
  height: 764px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border-radius: 20px !important;
}
html body .bp-case-video iframe[src*="2iziTk497dsq6cmRLcUciR"] {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
}
@media screen and (max-width: 600px) {
  html body .bp-case-video {
    width: min(88vw, 430px) !important;
    height: min(156vw, 764px) !important;
  }
}