/* Единый image-first hero для тематических и SEO-страниц TEPSEY */
@import url("topic-slider.css");

.article-hero {
  height: calc(100vh - 78px);
  min-height: 700px;
  max-height: 920px;
  padding: 0;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8,32,25,.87) 0%, rgba(8,32,25,.49) 39%, rgba(8,32,25,.1) 72%),
    linear-gradient(0deg, rgba(8,32,25,.48), transparent 45%);
}

.hero-content {
  position: absolute;
  z-index: 1;
  left: 7vw;
  top: 50%;
  transform: translateY(-50%);
  max-width: 850px;
}

.article-meta { color: #fff; }
.article-meta span:first-child { color: #fff; }
.article-meta span:first-child::before {
  content: '';
  display: inline-block;
  width: 27px;
  height: 1px;
  margin-right: 13px;
  background: var(--orange);
  vertical-align: middle;
}

.article-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 7.6vw, 118px);
  line-height: .99;
}

.article-hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.article-hero .dek {
  max-width: 600px;
  margin: 35px 0 0;
  color: #fff;
  font: 16px/1.65 var(--sans);
}

.hero-marker {
  position: absolute;
  z-index: 2;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
}

.hero-marker i {
  width: 1px;
  height: 105px;
  background: rgba(255,255,255,.5);
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: 4vw;
  bottom: 4%;
  margin: 0;
  text-align: right;
  font-size: 10px;
  line-height: 1.6;
  opacity: .72;
}

.breadcrumbs { border-bottom: 1px solid var(--line); }

@media (max-width: 800px) {
  .article-hero {
    height: calc(100svh - 66px);
    min-height: 680px;
    padding: 0;
  }
  .hero-content {
    left: 6vw;
    right: 6vw;
    top: 46%;
  }
  .article-hero h1 {
    font-size: 51px;
    line-height: 1.03;
  }
  .article-hero .dek {
    max-width: 92%;
    font-size: 14px;
  }
  .article-meta time {
    width: 100%;
    opacity: .65;
  }
  .hero-marker,
  .hero-caption { display: none; }
}
