/* Csak a kezdőlaphoz (index.html) – a többi oldal marad a styles.css stílusban */

body.home .hero { min-height: 0; padding: 0; }
body.home .hero .lead { display: none; }
body.home .mosaic { 
  margin-top: 10px; 
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 74vw);
  margin-left: auto;
  margin-right: auto;
}

body.home .mosaicItem { grid-column: span 1; aspect-ratio: 16 / 9; }

body.home .mosaicItem.homeTile {
  position: relative;
  background: #f3f3f3;
  overflow: hidden;
}

body.home .mosaicItem.homeTile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05) brightness(.95);
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

body.home .mosaicItem.homeTile:hover img { transform: scale(1.05); }

body.home .mosaicItem.homeTile .tileOverlay {
  position: absolute;
  inset: 0;
  background: rgba(254, 242, 0, .62);
}

body.home .mosaicItem.homeTile .tileLabel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 900;
  font-size: clamp(15px, 1.25vw, 24px);
  color: #111;
}

html.mode-kiosk body.home {
  overflow: hidden;
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

html.mode-kiosk body.home main.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 18px;
  max-width: 1840px !important;
  width: 100%;
}

html.mode-kiosk body.home .mosaic {
  width: min(1180px, 70vw);
  gap: 16px;
}

html.mode-kiosk body.home .footer {
  margin-top: auto;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  body.home .mosaic { 
    width: min(760px, 88vw);
    grid-template-columns: 1fr; 
  }
}
