/* Главная: оригинальные афиши, новости, музыка и входы в архив. */
.home-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-block: 22px;
}

.home-title-row h1 {
  margin: 0;
  font: 400 25px/1.2 var(--display);
}

.home-title-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-module {
  background: #050607;
  border-block: 1px solid var(--line-soft);
}

.hero-slider {
  position: relative;
  width: min(1672px, 100%);
  aspect-ratio: 1672 / 941;
  max-height: 720px;
  margin: auto;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-art, .hero-art img {
  width: 100%;
  height: 100%;
}

.hero-art img {
  object-fit: contain;
}

.hero-slide-link {
  position: absolute;
  inset: 0;
}

.hero-slide-link:focus-visible {
  outline-offset: -6px;
}

.slider-arrow {
  display: none;
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 48px;
  height: 52px;
  padding: 0;
  border: 1px solid #ffffff66;
  background: #050607bb;
  font: 400 34px/1 var(--body);
  transform: translateY(-50%);
}

.is-enhanced .slider-arrow {
  display: block;
}

.slider-arrow:is(:hover, :focus-visible) {
  background: var(--red);
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

.slider-meta {
  position: absolute;
  right: 24px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 9px;
  background: #050607b3;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.slider-meta i {
  width: 24px;
  height: 1px;
  background: var(--muted);
}

.slider-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 6px 20px;
  border-top: 1px solid var(--line-soft);
}

.is-enhanced .slider-controls {
  display: flex;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

.slider-dots button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
}

.slider-dots button::before {
  display: block;
  content: "";
  width: 18px;
  height: 3px;
  margin: auto;
  background: #838b93;
}

.slider-dots button.is-active::before {
  background: var(--accent);
}

.slider-rotation {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  font-size: 12px;
}

.hero-headlines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1380px, 100%);
  margin: auto;
}

.hero-headlines a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: left;
  gap: 4px;
  min-width: 0;
  min-height: 116px;
  padding: 20px 24px;
  border: 0;
  border-right: 1px solid var(--line-soft);
  background: #0c0e10;
}

.hero-headlines a:last-child {
  border-right: 0;
}

.hero-headlines a.is-active {
  background: #181619;
}

.hero-headlines a.is-active::before {
  position: absolute;
  content: "";
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--red);
}

.hero-headlines time {
  color: var(--muted);
  font-size: 11px;
}

.hero-headlines span {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.hero-headlines small {
  color: var(--muted);
  font-size: 12px;
}

.hero-headlines a:hover {
  background: var(--surface-2);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.news-card picture {
  overflow: hidden;
  background: var(--surface);
}

.news-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .2s ease;
}

.news-card--cover img {
  object-fit: contain;
  background: var(--surface);
}

.card-copy {
  padding-block: 18px 22px;
}

.card-copy time {
  color: var(--muted);
  font-size: 12px;
}

.card-copy h3 {
  margin: 8px 0;
  font: 600 17px/1.4 var(--body);
}

.card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.news-card:is(:hover, :focus-visible) h3 {
  color: var(--accent);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.concert-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}

.concert-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.concert-list time {
  display: grid;
  text-align: center;
  line-height: 1.1;
  gap: 5px;
}

.concert-list time strong {
  font: 400 32px/1 var(--display);
}

.concert-list time span {
  font-size: 11px;
  color: var(--muted);
}

.concert-list h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.35;
}

.concert-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.mini-button {
  padding-inline: 12px;
  border-color: var(--line);
  font-size: 12px;
}

.concert-note {
  color: var(--muted);
  font-size: 13px;
}

.video-card {
  position: relative;
  display: block;
  min-height: 280px;
  height: calc(100% - 68px);
  overflow: hidden;
  background: var(--surface);
}

.video-card picture, .video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(0deg, #000e, transparent 80%);
}

.video-play {
  position: absolute;
  z-index: 1;
  left: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #ffffff88;
  background: #07080980;
}

.video-title {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 24px;
  right: 24px;
  font: 400 28px/1.2 var(--display);
}

.video-title small {
  display: block;
  margin-top: 10px;
  font: 400 13px/1.5 var(--body);
  color: var(--text-soft);
}

.albums {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.albums article {
  min-width: 0;
}

.albums img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--surface);
}

.albums h3 {
  font-size: 14px;
  line-height: 1.4;
  margin: 14px 0 5px;
}

.albums span {
  color: var(--muted);
  font-size: 12px;
}

.albums a:hover h3 {
  color: var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.feature-card > picture, .feature-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.feature-card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card > img {
  object-fit: cover;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #050607 5%, #050607a6 60%, #05060726);
}

.feature-overlay {
  padding: 26px;
}

.feature-overlay > span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-soft);
}

.feature-overlay h2 {
  margin: 10px 0;
  font: 400 35px/1.1 var(--display);
}

.feature-overlay p {
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 14px;
}

.archive-mark {
  position: absolute;
  top: 28px;
  left: 26px;
  color: var(--accent);
  font: 400 31px/1.1 var(--display);
}

@media (hover: hover) {
  .news-card:hover img {
    transform: scale(1.025);
  }
}

@media (max-width: 1000px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-grid {
    gap: 28px;
  }
  .albums {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-archive {
    grid-column: 1 / -1;
    min-height: 240px;
  }
  .feature-archive .feature-overlay {
    max-width: 600px;
    padding-top: 88px;
  }
}

@media (max-width: 700px) {
  .home-title-row {
    align-items: start;
    flex-direction: column;
    gap: 4px;
    padding-block: 18px;
  }
  .home-title-row h1 {
    font-size: 23px;
  }
  .home-title-row p {
    font-size: 10px;
  }
  .hero-slider {
    max-height: none;
  }
  .hero-headlines {
    grid-template-columns: 1fr 1fr;
  }
  .hero-headlines a {
    min-height: 106px;
    padding: 16px 20px;
    border-top: 1px solid var(--line-soft);
  }
  .hero-headlines span {
    font-size: 14px;
  }
  .hero-headlines a:nth-child(2) {
    border-right: 0;
  }
  .hero-headlines a.is-active::before {
    left: 20px;
    right: 20px;
  }
  .slider-arrow {
    top: auto;
    bottom: 10px;
    width: 44px;
    height: 44px;
    transform: none;
  }
  .slider-arrow.prev {
    left: 10px;
  }
  .slider-arrow.next {
    right: 10px;
  }
  .slider-meta {
    display: none;
  }
  .split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .video-card {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 340px;
  }
  .feature-archive {
    min-height: 270px;
  }
}

@media (max-width: 480px) {
  .news-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }
  .news-card:not(:first-child) {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
  .news-card:not(:first-child) img {
    aspect-ratio: 1;
  }
  .news-card:not(:first-child) .card-copy {
    padding-top: 0;
  }
  .news-card:not(:first-child) h3 {
    font-size: 16px;
  }
  .news-card:not(:first-child) p {
    font-size: 13px;
  }
  .feature-card {
    min-height: 280px;
  }
  .feature-archive {
    min-height: 240px;
  }
  .albums {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }
  .slider-controls {
    gap: 10px;
    padding-inline: 10px;
  }
  .slider-rotation {
    padding-inline: 8px;
  }
  .concert-list article {
    gap: 12px;
  }
  .concert-list h3 {
    font-size: 16px;
  }
}

.slider-rotation:disabled {
  color: var(--muted);
  cursor: default;
}

/* Короткие анонсы помогают просматривать ленту с телефона. */
.news-card h3, .news-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
