* {
  box-sizing: border-box;
}

.listaKepDoboz {
  width: 100%;
  height: 340px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.listaResz {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.listaResz ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  /* egy kis hely a gomb előtt */
  width: 100%;
}

.listaResz ul li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  color: #0f2b3c;
  font-size: 1rem;
}

.listaResz ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: #0f2b3c;
  font-size: 1rem;
}

.kepResz {
  flex: 1 1 50%;
}

.kepResz img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listaKepDoboz button,
.altatas-lepesek button,
.ikonos-lista button,
.kepes-lista button,
.kiemeltBejegyzes button,
.EgyebKepesDoboz button,
.idopontfoglalas-gomb {
  background-color: var(--main-masodik-szin);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  margin: 0px auto;
  transition: margin 2s;
  text-transform: uppercase;
  font-size: 1.2em;
}

.listaKepDoboz button:hover,
.altatas-lepesek button:hover,
.ikonos-lista button:hover,
.kepes-lista button:hover,
.kiemeltBejegyzes button:hover,
.EgyebKepesDoboz button:hover {
  animation-name: pulse;
  animation-duration: 3s;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  transition: .8s;
}

.listaKepDoboz button:hover,
.altatas-lepesek button:hover,
.ikonos-lista button:hover,
.kepes-lista button:hover,
.kiemeltBejegyzes button:hover,
idopontfoglalas-gomb:hover {
  animation-name: pulse;
  animation-duration: 3s;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  transition: .8s;
}

.altatas-lepesek {
  color: var(--main-masodik-szin);
  margin: 0 auto;
  line-height: 150%;
  margin-bottom: 28px;
}

.altatas-lepesek ol,
.altatas-lepesek ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 28px auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.altatas-lepesek li {
  flex: 0 1 260px;
  /* fix dobozméret, mégis rugalmas */
  position: relative;
  background-color: var(--main-masodik-szin);
  color: #fff;
  padding: 80px 20px 20px 20px;
  border-radius: 12px;
  text-align: center;
}

.altatas-lepesek ol li::before {
  content: counter(step) ".";
  counter-increment: step;
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2em;
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.altatas-lepesek ul li::before {
  font-size: 1.5em;
}

.altatas-lepesek img {
  width: 100px;
  height: auto;
  display: block;
  margin: -60px auto 0 auto;
}

.altatas-lepesek strong {
  font-weight: bold;
}

.altatas-lepesek h3 {
  font-weight: 300;
  margin: 12px 0px;
}


@media (max-width: 768px) {
  .listaKepDoboz {
    flex-direction: column;
  }
}

.ikonos-lista {
  color: var(--main-masodik-szin);
  margin: 0 auto;
  line-height: 150%;
  margin-bottom: 28px;
}

.ikonos-lista ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.ikonos-lista li {
  width: 180px;
  height: 180px;
  background-color: var(--main-masodik-szin);
  border-radius: 50%;
  color: white;
  text-align: center;
  font-weight: bold;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}

.ikonos-lista li img {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
  margin-top: -24px;
}

.ikonos-lista li::after {
  content: "✔";
  position: absolute;
  bottom: 12px;
  font-size: 18px;
  border: 1px solid white;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}


.kepes-lista ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

.kepes-lista li {
  width: 235px;
  border-radius: 12px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 15px;
  color: #fff;
  position: relative;
  background-color: var(--main-masodik-szin);
  padding-bottom: 60px;
  line-height: 1.5;
}

.kepes-lista .thumbnail {
  display: block;
  width: 120%;
  height: 160px;
  object-fit: cover;
  margin: 0;
  margin-left: -10%;
  margin-bottom: 20px;
}


.kepes-lista li::after {
  content: "✔";
  position: absolute;
  bottom: 20px;
  font-size: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid white;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
}

/* A nem <strong> szöveg margózása */
.kepes-lista li {
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.EgyebKepesDoboz {
  /*background-color: var(--main-otodik-szin); 
     background-color: silver;*/
  display: table;
  padding: 28px;
  margin-top: -20px;
}

.EgyebKepesDoboz h2 {
  margin: 0px;
}

.bovebben-tartalom ul {
  margin-left: 20px;
  padding-left: 20px;
  list-style-position: inside;
  /* vagy 'outside', ha más stílust akarsz */
}

.egyebKep {
  border-radius: 20px;
  display: block;
  margin-bottom: 8px;
}

.egyebKep h2 {
  display: block;
}

.jobbrakep img {
  float: right;
  margin-left: 28px;
  margin-right: -28px;

}

.balrakep img {
  float: left;
  margin-right: 28px;
  margin-left: -28px;
}
@media (max-width: 768px) {
  .EgyebKepesDoboz img{
    width: 50%;
  }
  .listaKepDoboz {
    flex-direction: column;
    height: auto; /* ne legyen fix magasság */
  }

  .kepResz {
    order: -1; /* a kép megy legelőre */
    width: 100%;
    height: auto;
  }

  .kepResz img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .listaResz {
    width: 100%;
    padding: 1rem; /* kicsit szűkebb padding mobilon */
  }
}
@media (max-width: 480px) {

  .altatas-lepesek li {
    flex: 0 1 200px;
    padding: 80px 20px 20px 20px;
  }
  .altatas-lepesek ol,
.altatas-lepesek ul {
  gap: 15px;
  margin: 28px auto;

}
.ikonos-lista ul {
  gap: 18px;
  margin: 20px 0px;
}

.ikonos-lista li {
  width: 125px;
  height: 125px;
}
.ikonos-lista li img {
  width: 80px;
  margin-bottom: 0px;
  margin-top: -24px;
}

.ikonos-lista li::after {
  bottom: 8px;
  font-size: 16px;
}
  .EgyebKepesDoboz img {
    width: 100%;
    margin: 0px 0px 20px 0px;
  }
  .kepes-lista ul {
    margin: 30px 0;
    gap: 15px;
  }
  
  .kepes-lista li {
    width: 205px;
    font-size: 15px;
    padding-bottom: 60px;

  }
}
