/* "Feature sor" blokk stílusa -- frontenden ÉS a Gutenberg szerkesztő
   iframe-jében is betöltődik (lásd inc/blocks-feature-sor.php), hogy a
   szerkesztőben is közel a végleges kinézet látszódjon.

   Egyedi (feature-sor__...) class-nevek, hogy NE ütközzön a meglévő,
   más célú .feature-img / .feature-text class-okkal (Megoldásaink
   kártyák, style.css). */

.feature-sor__img {
  display:block;
  width: 100%;
  height: 100%;
  aspect-ratio:4 / 3;
  object-fit: cover;
  object-position:center;
  border-radius: 1.5rem;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #0B6E76;
  color: #0B6E76;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-badge i {
  font-size: 1rem;
}

/* Feltöltött kép/SVG ikonnál (nem CSS class-alapú) a badge ikon
   a szöveg melletti Bootstrap Icons ikonnal (font-size: 1rem, kb. 16px)
   megegyező méretben jelenjen meg. */
.feature-badge img.feature-sor__badge-ikon {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.feature-badge span.feature-sor__badge-ikon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
}

.feature-badge span.feature-sor__badge-ikon svg {
  width: 100%;
  height: 100%;
}

.feature-sor__title {
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: #303030;
  margin-bottom: 1rem;
}

.feature-sor__text {
  color: #303030;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.feature-sor__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  width: fit-content;
  max-width: 100%;
}

.feature-sor__checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid #D9D9D9;
  color: #575757;
  font-size: 0.95rem;
  padding-right: 1rem;
}

.feature-sor__checklist li:first-child {
  border-top: 0;
}

.feature-sor__checklist li:last-child {
  border-bottom: 1px solid #D9D9D9;
}

.feature-sor__checklist li i,
.feature-sor__checklist li .feature-sor__checklist-ikon {
  color: #00D5E4;
  background: rgba(0, 213, 228, 0.12);
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Feltöltött kép ikonnál (nem CSS class-alapú) a kép a köríven belül,
   annál kicsit kisebb méretben jelenjen meg. */
img.feature-sor__checklist-ikon {
  padding: 0.3rem;
  object-fit: contain;
}

/* SVG ikonnál (span.feature-sor__checklist-ikon) NE legyen kör alakú
   színes háttér -- az SVG saját színét/formáját ne törje meg. */
.feature-sor__checklist li span.feature-sor__checklist-ikon {
  background: transparent;
}

.feature-sor__checklist li span.feature-sor__checklist-ikon svg {
  width: 100%;
  height: 100%;
}

/* --- Csak a szerkesztőben (a fenti class-okra épülő szerkesztő-UI) --- */
.feature-sor-szerkeszto {
  border: 1px dashed rgba(0, 0, 0, 0.15);
  padding: 1rem;
}

.feature-sor-szerkeszto__kep {
  margin-bottom: 1rem;
}

.feature-sor-szerkeszto__lista {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.feature-sor-szerkeszto__lista-sor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.feature-sor-szerkeszto__lista-sor .components-base-control {
  flex: 1;
}
