/* CoreTICK hero — flat, minimal stage. */

.hero-cinema {
  --hero-poster-w: clamp(260px, 26vw, 360px);
  background: transparent;
}

.hero-cinema-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 540px;
  align-items: center;
  padding-block: 5rem 3.5rem;
}

.hero-cinema-grid {
  display: grid;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas: "copy poster";
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

/* Carousel arrows sit on the same gutters as the page sections
   (.container-ct: max 1360px + clamp padding). RTL: previous right, next left. */
.hero-cinema [data-hero-prev] {
  inset-inline-start: calc(max(0px, (100% - 1360px) / 2) + clamp(1rem, 3vw, 2rem));
}

.hero-cinema [data-hero-next] {
  inset-inline-end: calc(max(0px, (100% - 1360px) / 2) + clamp(1rem, 3vw, 2rem));
}

/* Narrow desktops: the 1120px hero would sit too close to the arrows. */
@media (max-width: 1335px) {
  .hero-cinema [data-hero-prev],
  .hero-cinema [data-hero-next] {
    display: none;
  }
}

.hero-cinema-grid.hidden {
  display: none;
}

.hero-copy {
  grid-area: copy;
  min-width: 0;
  position: relative;
  z-index: 3;
}

/* Standard eyebrow row: the category chip keeps a fixed width so dates line up.
   Neutral gray at rest; brand orange appears only on hover/focus. */
.hero-eyebrow {
  min-height: 1.75rem;
}
.hero-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.05);
  color: rgb(255 255 255 / 0.72);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.hero-kind:hover,
.hero-kind:focus-visible {
  border-color: var(--color-accent);
  background: rgb(255 93 23 / 0.14);
  color: var(--color-accent-fg);
}

.hero-poster-zone {
  grid-area: poster;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-inline-end: 0;
  padding-block: 0.5rem;
}

.hero-poster-cluster {
  position: relative;
  width: var(--hero-poster-w);
}

.hero-poster-back {
  display: none;
}

.hero-poster-main {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(255 255 255 / 0.16);
  transition: border-color 0.2s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: transform;
}

.hero-poster-main:hover,
.hero-poster-main:focus-visible {
  border-color: rgb(255 93 23 / 0.65);
  transform: scale(1.03);
}

.hero-poster-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgb(0 0 0 / 0.28);
}

.hero-poster-category {
  position: absolute;
  z-index: 4;
  inset-block-start: 0.8rem;
  inset-inline-start: 0.8rem;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(20 20 19 / 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
}

.hero-count {
  color: rgb(255 255 255 / 0.55);
  font-family: var(--font-latin);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.hero-count-sep {
  margin-inline: 0.18rem;
  color: rgb(255 255 255 / 0.25);
}

@media (max-width: 1023px) {
  .hero-cinema-inner {
    min-height: auto;
    padding-block: 5.5rem 2.5rem;
  }

  .hero-cinema-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "poster" "copy";
    gap: 2rem;
  }

  .hero-poster-zone {
    justify-content: center;
    margin-inline-end: 0;
    padding-block: 0;
  }

  .hero-poster-cluster {
    width: min(68vw, 290px);
  }
}

@media (max-width: 639px) {
  .hero-cinema-inner {
    padding-block: 5rem 2rem;
  }

  .hero-poster-cluster {
    width: min(70vw, 260px);
  }
}
