/* 1.2.6 – dekorációk minden szekcióban egyszer: szöveg és kártyák mögött. */
body.elefantszelfi-site .esfh-ornament-host { position:relative; isolation:isolate; }
body.elefantszelfi-site .esfh-ornament-host > .container,
body.elefantszelfi-site .esfh-ornament-host > .section-head { position:relative; z-index:1; }
body.elefantszelfi-site .esfh-motif,
body.elefantszelfi-site .esfh-flash {
  position:absolute; pointer-events:none; user-select:none; z-index:0;
}
body.elefantszelfi-site .esfh-motif {
  --motif-opacity:.44;
  width:clamp(100px,var(--motif-width,155px),235px);
  aspect-ratio:1; opacity:var(--motif-opacity);
  transform:translateY(-50%) rotate(var(--motif-angle,0deg));
  display:grid;place-items:center;
}
body.elefantszelfi-site .esfh-motif::before{
  content:''; position:absolute; inset:8% -12%; border-radius:48% 52% 59% 41%;
  background:radial-gradient(ellipse at center,rgba(138,64,92,.51) 0%,rgba(176,88,119,.36) 45%,rgba(221,161,169,.14) 63%,transparent 74%);
  filter:blur(13px);
}
body.elefantszelfi-site .esfh-motif img {
 width:100%;height:100%;object-fit:contain; position:relative;
 filter:drop-shadow(0 1px 1px rgba(93,38,61,.4));
}
body.elefantszelfi-site .esfh-motif--left {left:max(-42px,calc((100% - 1180px)/2 - 86px));}
body.elefantszelfi-site .esfh-motif--right {right:max(-42px,calc((100% - 1180px)/2 - 86px));}
body.elefantszelfi-site .esfh-flash {
  --flash-opacity:.7; width:30px;height:30px; border-radius:50%;
  opacity:0; transform:translate(-50%,-50%) scale(.25);
  background:radial-gradient(circle, rgba(255,255,255,1) 0%,rgba(255,245,215,.8) 10%,rgba(247,194,147,.34) 34%,transparent 72%);
  /* Teljes fényerő az első képkockától, kizárólag a halványodás animált. */
  animation:esfh-flash-fade 1.2s cubic-bezier(.12,.58,.3,1) forwards;
  filter:drop-shadow(0 0 7px rgba(255,231,198,.65));
}
body.elefantszelfi-site .esfh-flash::before,
body.elefantszelfi-site .esfh-flash::after {
  content:'';position:absolute;left:50%;top:50%;background:rgba(255,255,255,.98);transform:translate(-50%,-50%);border-radius:50%;
}
body.elefantszelfi-site .esfh-flash::before{width:3px;height:39px}
body.elefantszelfi-site .esfh-flash::after{width:39px;height:3px}
@keyframes esfh-flash-fade {
  0% { opacity:var(--flash-opacity);transform:translate(-50%,-50%) scale(1); }
  100% { opacity:0;transform:translate(-50%,-50%) scale(1.42); }
}
@media(max-width:780px) {
 body.elefantszelfi-site .esfh-motif {width:clamp(86px,27vw,140px)}
 body.elefantszelfi-site .esfh-motif--left {left:-34px}
 body.elefantszelfi-site .esfh-motif--right {right:-34px}
 body.elefantszelfi-site .esfh-motif::before{filter:blur(10px)}
}
@media(prefers-reduced-motion:reduce) {
 body.elefantszelfi-site .esfh-flash{animation:none;display:none!important}
}
