/* Скрываем тестовый hero-блок, если он где-то остался в кеше шаблонов */
.zoomag-home-hero-banner,
.zoomag-home-contact-grid {
  display: none !important;
}

/* Унифицируем компактные банерные шапки на страницах брендов */
.zoomag-brands-main-header,
.zoo-brands-header {
  position: relative;
  overflow: hidden;
  padding: 24px 26px !important;
  border-radius: 26px !important;
}

.zoomag-brands-main-header::after,
.zoo-brands-header::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -44px;
  width: 220px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.16), rgba(249,115,22,0.02) 68%, transparent 72%);
  pointer-events: none;
}

.zoomag-brands-main-title,
.zoo-main-title {
  position: relative;
  z-index: 1;
}

.zoomag-brands-subtitle,
.zoo-brand-description {
  position: relative;
  z-index: 1;
  margin-top: 12px !important;
}

/* Чистим перегруженную шапку статьи и делаем её похожей на современный банер */
#cms-blog .title-decoration,
#cms-blog .image-badge,
#cms-blog .floating-element {
  display: none !important;
}

#cms-blog .zoo-article-dark-container {
  background: linear-gradient(135deg, #fffdf9 0%, #fff6ec 55%, #fffdf9 100%) !important;
  border: 1px solid rgba(180, 118, 54, 0.14) !important;
  box-shadow: 0 18px 40px rgba(43, 28, 11, 0.08) !important;
  padding: 30px !important;
  border-radius: 28px !important;
}

#cms-blog .article-title {
  color: #1f2937 !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.08 !important;
  margin-bottom: 22px !important;
}

#cms-blog .article-hero-image {
  position: relative !important;
  margin-top: 10px !important;
  margin-bottom: 24px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 6.4 !important;
  max-height: 320px !important;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,0.35), transparent 20%),
    linear-gradient(135deg, #fff2df, #fff9f2) !important;
  box-shadow: 0 16px 34px rgba(43, 28, 11, 0.10) !important;
}

#cms-blog .article-hero-image::after {
  content: "";
  position: absolute;
  inset: auto -6% -10% -6%;
  height: 42%;
  background:
    radial-gradient(68% 100% at 12% 100%, rgba(255,255,255,0.64) 0%, rgba(255,255,255,0.00) 72%),
    radial-gradient(72% 100% at 42% 100%, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.00) 70%),
    radial-gradient(64% 100% at 74% 100%, rgba(255,255,255,0.50) 0%, rgba(255,255,255,0.00) 72%);
  pointer-events: none;
}

#cms-blog .article-main-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

#cms-blog .article-meta-info {
  margin-top: 0 !important;
}

@media (max-width: 767.98px) {
  .zoomag-brands-main-header,
  .zoo-brands-header,
  #cms-blog .zoo-article-dark-container {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  #cms-blog .article-hero-image {
    aspect-ratio: 16 / 8 !important;
    max-height: 220px !important;
    border-radius: 20px !important;
  }
}
