/* Kiegészítések az eredeti CSS-hez: amit az eredeti oldalon az Elementor JS állított be futásidőben. */

/* hero háttérvideó: az Elementor JS pixelre méretezte, itt CSS-sel fedjük le a teljes szekciót */
.elementor-background-video-container { position: absolute; inset: 0; overflow: hidden; }
.elementor-background-video-container .elementor-background-video-hosted { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .elementor-background-video-hosted { display: none; }
  .elementor-background-video-container { background: url("../img/hero-poster.jpg") center / cover; }
  .elementor-invisible { visibility: visible !important; }
  .animated { animation: none !important; }
}

/* JS nélkül minden tartalom látszik (az animáció csak JS-sel indul) */
html:not(.js) .elementor-invisible { visibility: visible; }

/* képernyőolvasó "ugrás a tartalomhoz" link */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #004c78; color: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: 0; }

/* JS nélkül a lambda-téma görgetéses animációi is látszanak */
html:not(.js) .os-animation { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .os-animation { opacity: 1 !important; } }

/* ragadós belső fejléc (Elementor sticky, offset 0): az Elementor JS fixálta, a spacer tartja a helyét */
.elementor-sticky--active:not(.elementor-sticky__spacer) { position: fixed; top: 0; left: 0; right: 0; width: 100%; margin-top: 0; margin-bottom: 0; }
.elementor-sticky__spacer { visibility: hidden; }

/* a médiatár képei nem négyzetesek: a WordPress 150×150 / 300×300-as vágott bélyegképeit object-fit pótolja */
.widget_recent_entries .post-icon img, .portfolio-related .figure-image img { object-fit: cover; }
.widget_recent_entries .post-icon img { aspect-ratio: 1 / 1; }   /* a téma height:auto-ja miatt a négyzet aránya külön kell */
/* Űrlap-visszajelzések (forms modul) – az eredeti téma színeivel: CF7 hiba #e85543 / siker #008d7d, Elementor #d9534f / #5cb85c */
.wpcf7-not-valid-tip{display:block;color:#e85543;font-size:.9em;margin-top:4px}
.wpcf7-response-output{margin-top:12px}
.wpcf7-response-output.wpcf7-mail-sent-ok{color:#008d7d}
.wpcf7-response-output.wpcf7-validation-errors{color:#e85543}
.elementor-form .elementor-field.elementor-error{border-color:#d9534f}
.elementor-form .elementor-message-success{color:#5cb85c}
.elementor-form .elementor-help-inline{display:block;width:100%;margin:4px 0 0;font-size:.9em}
.elementor-form.elementor-form-waiting{opacity:.6}
