/* Nyitóképes háttér-diavetítés */
.hero { position: relative; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.52) 48%, rgba(10,10,10,.2) 100%); }
.nav, .hero-grid { position: relative; z-index: 1; }
.hero-grid { grid-template-columns: 1fr; }
.slideshow { position: absolute; inset: 0; z-index: -2; background: #151515; }
.slide { position: absolute; inset: 0; opacity: 0; background-position: center; background-size: cover; transition: opacity 1.4s ease-in-out; }
.slide.active { opacity: 1; }

@media (max-width: 760px) {
  .hero::after { background: rgba(10,10,10,.64); }
}
