/* CS-ELECT.RU — подборки CS 1.6, 30.10.2026.
   Расширяет существующий extra.css только на страницах подборок. */

#ce-extra .xcat-hero {
  margin-bottom: 24px;
}

#ce-extra .xcat-hero-copy {
  width: 63%;
  max-width: 790px;
  padding: 26px 28px;
}

#ce-extra .xcat-hero-art {
  object-position: center right;
}

#ce-extra .xcat-hero::after {
  background: linear-gradient(90deg,
    #121a20fa 0%, #121a20ed 36%, #121a20c7 57%,
    #121a204d 76%, #121a200a 100%);
}

#ce-extra .xcat-eyebrow {
  margin-bottom: 12px;
}

#ce-extra .xcat-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

#ce-extra .xcat-title-row h1 {
  margin: 0;
  font-size: 22px;
  overflow-wrap: anywhere;
}

#ce-extra .xcat-original-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}

#ce-extra .xcat-intro {
  margin-bottom: 20px;
}

#ce-extra .xcat-intro p {
  margin: 0 0 12px;
  color: #c7d2da;
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

#ce-extra .xcat-intro p:last-child {
  margin-bottom: 0;
}

#ce-extra .xcat-hero-meta {
  flex-wrap: wrap;
  margin-top: 18px;
  gap: 8px 20px;
}

#ce-extra .xcat-seo {
  display: block;
  columns: auto;
}

#ce-extra .xcat-seo > * {
  max-width: none;
}

#ce-extra .xcat-seo p {
  columns: auto;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.85;
  text-wrap: pretty;
}

#ce-extra .xcat-seo p:last-child {
  margin-bottom: 0;
}

#ce-extra .xcat-seo a {
  color: #ffc16b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #ffc16b80;
  text-underline-offset: 3px;
}

#ce-extra .xcat-seo a:is(:hover, :focus-visible) {
  color: #ffdaa3;
  text-decoration-color: currentColor;
}

/* Без JavaScript стандартные обёртки uCoz тоже образуют ровную сетку. */
#ce-extra .xcat-grid #allEntries > [id^="entryID"] {
  min-width: 0;
}

#ce-extra .xcat-pager:empty {
  display: none;
}

@media (max-width: 1050px) {
  #ce-extra .xcat-hero-copy {
    width: 76%;
    padding: 24px;
  }
}

@media (max-width: 760px) {
  #ce-extra .xcat-hero-copy {
    width: 100%;
    max-width: none;
    padding: 22px;
  }

  #ce-extra .xcat-hero::after {
    background: linear-gradient(90deg, #121a20f7, #121a20cf),
      linear-gradient(0deg, #121a20, transparent);
  }

  #ce-extra .xcat-hero-art {
    object-position: 70% center;
  }
}

@media (max-width: 480px) {
  #ce-extra .xcat-hero-copy {
    padding: 18px;
  }

  #ce-extra .xcat-title-row {
    gap: 10px;
    align-items: flex-start;
  }

  #ce-extra .xcat-original-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  #ce-extra .xcat-hero-actions {
    gap: 12px 18px;
  }
}
