/*
 * A kezdolapi kartyak eredeti megjelenese marad; csak a hero utani
 * fuggoleges tavolsagot csokkentjuk, hogy a blokk magasabban kezdodjon.
 */

body.page-id-16 .et_pb_section_1 {
  padding-top: 42px !important;
}

body.page-id-16 .et_pb_section_1 .et_pb_row {
  gap: 18px;
  width: min(100%, 1480px) !important;
  max-width: 1480px !important;
}

body.page-id-16 .ihgy-card {
  min-height: 250px;
  padding: 58px 22px 25px;
}

body.page-id-16 .ihgy-card h3 {
  min-height: 52px;
  margin-bottom: 12px;
}

body.page-id-16 .ihgy-card p {
  min-height: 48px;
  margin-bottom: 16px;
}

body.page-id-16 .ihgy-card-icon {
  border: 1px solid rgba(255, 255, 255, .52);
  background-color: rgba(128, 86, 62, .72);
  background-image:
    var(--ihgy-card-icon-image),
    linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .025) 44%, rgba(69, 37, 23, .2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .48),
    inset 0 -1px 0 rgba(62, 34, 20, .2),
    0 12px 28px rgba(63, 39, 25, .22);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
}

body.page-id-16 .et_pb_section_1 .et_pb_column:nth-child(1) .ihgy-card-icon {
  --ihgy-card-icon-image: url("../images/card-icons/eloadas.png");
}

body.page-id-16 .et_pb_section_1 .et_pb_column:nth-child(2) .ihgy-card-icon {
  --ihgy-card-icon-image: url("../images/card-icons/uzenet.png");
}

body.page-id-16 .et_pb_section_1 .et_pb_column:nth-child(3) .ihgy-card-icon {
  --ihgy-card-icon-image: url("../images/card-icons/utkeresoknek.png");
}

body.page-id-16 .et_pb_section_1 .et_pb_column:nth-child(4) .ihgy-card-icon {
  --ihgy-card-icon-image: url("../images/card-icons/aktualis.png");
}

body.page-id-16 .ihgy-card:hover .ihgy-card-icon {
  border-color: rgba(255, 255, 255, .68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .58),
    inset 0 -1px 0 rgba(62, 34, 20, .18),
    0 16px 34px rgba(63, 39, 25, .28);
}

@media (max-width: 767px) {
  body.page-id-16 .et_pb_section_1 {
    padding: 30px 18px 48px !important;
  }

  body.page-id-16 .et_pb_section_1 .et_pb_row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    width: min(100%, 340px) !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body.page-id-16 .et_pb_section_1 .et_pb_column {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.page-id-16 .ihgy-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 106px !important;
    margin: 0 !important;
    padding: 16px 14px 16px 108px !important;
    overflow: visible !important;
    border: 1px solid rgba(255, 255, 255, .9) !important;
    border-radius: 13px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(248, 243, 236, .82)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .98),
      0 7px 13px rgba(48, 33, 24, .16),
      0 15px 30px rgba(48, 33, 24, .1) !important;
    text-align: left !important;
    transform: none !important;
  }

  body.page-id-16 .ihgy-card::after {
    display: none !important;
  }

  body.page-id-16 .ihgy-card-icon {
    top: 50% !important;
    left: 21px !important;
    width: 68px !important;
    height: 68px !important;
    transform: translateY(-50%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .52),
      inset 0 -1px 0 rgba(62, 34, 20, .18),
      0 8px 13px rgba(43, 27, 18, .28),
      0 14px 24px rgba(43, 27, 18, .14) !important;
  }

  body.page-id-16 .ihgy-card h3 {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    color: #30231d !important;
    font-size: clamp(20px, 6.2vw, 25px) !important;
    font-weight: 800 !important;
    letter-spacing: .075em !important;
    line-height: 1.08 !important;
    text-align: left !important;
    text-wrap: balance;
    white-space: normal !important;
    overflow-wrap: normal;
  }

  body.page-id-16 .ihgy-card > p,
  body.page-id-16 .ihgy-card > span {
    display: none !important;
  }
}
