body,
html {
  height: 100%;
}

body.slider__body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.slider__container {
  position: fixed;
  display: block;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform 500ms ease-in-out;
  transition: -webkit-transform 500ms ease-in-out;
  -o-transition: transform 500ms ease-in-out;
  transition: transform 500ms ease-in-out;
}

.slider__page {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider__indicators {
  position: fixed;
  left: 18px;
  top: 50%;
  z-index: 2;
  margin: 0;
  padding: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.slider__indicator {
  display: block;
  width: 10px;
  height: 10px;
  margin: 10px 0;
  border-radius: 100px;
  background-color: #fff;
  cursor: default;
}
.slider__indicator--active {
  opacity: 0.3;
}
/* KERET */
.slider{
  position:relative;
  width:100%;
  max-width:1520px;
  margin:0 auto;
  overflow:hidden;
}

/* SLIDES – a magasságot JS adja majd */
.slides{
  position:relative;
  width:100%;
}

/* SLIDE */
.slide{
  position:absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  display:none;
}
.slide.active{ display:block; }

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

/* NYILAK */
.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:50;
  font-size:36px;
  color:#fff;
  background:rgba(0,0,0,0.5);
  padding:8px 12px;
  cursor:pointer;
  user-select:none;
}
.arrow.left{ left:10px; }
.arrow.right{ right:10px; }

/* PÖTTYÖK (nálad maradhat alul/fölül ahogy akarod) */
.dots{
  position:absolute;
  bottom:15px;
  left:50%;
  transform:translateX(-50%);
  z-index:100;
  background:#ccc;
  padding:6px 10px;
  border-radius:20px;
}
.dot{
  width:12px;
  height:12px;
  background:rgba(255,255,255,0.6);
  border-radius:50%;
  display:inline-block;
  margin:0 6px;
  cursor:pointer;
}
.dot.active{
  background:#555;
  transform:scale(1.4);
}
/* ===== MOBIL ===== */
@media (max-width: 768px) {
	/* slider eltűnik */ 
	.desktop-only { display: none; }
	/* mobil képek megjelennek */ 
	.mobile-images { display: block; max-width: 100%; padding: 10px; } 
	.mobile-images a { display: block; margin-bottom: 12px; } /* 1147 x 1124 arány */ 
	.mobile-images img { width: 100%; height: auto; aspect-ratio: 1147 / 1124; 
	object-fit: cover; border-radius: 8px; /* opcionális */ display: block;
	}
}
