/* Local additions only. Preserve the original hero box, heading and actions. */
html[lang=ro] .home-polish-active .polish-en,html[lang=en] .home-polish-active .polish-ro{display:none!important}
body.home-polish-active #main .hero-content>.home-parent-message~p{display:none!important}
html.site-story-frame body.home-polish-active.home-mobile-branding .site-shell #main .hero-content .home-parent-message{position:relative;z-index:2;margin:12px 0;max-width:100%;color:#29464e}
html.site-story-frame body.home-polish-active.home-mobile-branding .site-shell #main .hero-content .home-parent-message p{font:400 13px/1.5 system-ui!important;color:#29464e!important;margin:0 0 7px!important}
body.home-polish-active .home-parent-message small{font:400 11px/1.4 system-ui}
body.home-polish-active #main .home-visit-invitation{display:flex;align-items:center;justify-content:center;gap:20px;padding:14px 20px;margin:20px 0 10px;border-radius:14px;background:#eef3e7;border:1px solid #cddabe}
body.home-polish-active #main .home-visit-invitation p{font:400 13px/1.45 Georgia,serif;color:#294f3c;margin:0;max-width:640px}
html.site-story-frame body.home-polish-active.home-mobile-branding .site-shell #main .home-visit-invitation>a.button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font:600 13px/1.4 system-ui!important;min-height:40px!important;height:auto!important;padding:9px 14px!important;background:#982d48!important;color:white!important;border-radius:10px!important}
/* Keep the original effects, but clip their travel to decorative side strips. */
body.home-polish-active :is(.autumn-falling-leaves,.christmas-snowfall,.christmas-shooting-sky,.home-sky-birds){mask-image:linear-gradient(to right,#000 0 4%,transparent 4% 96%,#000 96% 100%);pointer-events:none!important}
body.home-polish-active .logo-halloween-accents{clip-path:inset(-40px -80px 0)}
@media(max-width:700px){
 html.site-story-frame body.home-polish-active.home-mobile-branding .site-shell #main .hero-content .home-parent-message p{font-size:12px!important;line-height:1.5!important}
 body.home-polish-active #main .home-visit-invitation{flex-direction:column;text-align:center;gap:12px;padding:18px 14px}
 body.home-polish-active #main .home-visit-invitation p{font-size:14px}
 html.site-story-frame body.home-polish-active.home-mobile-branding .site-shell #main .home-visit-invitation>a.button{min-height:44px!important}
}
/* The inherited left:0 otherwise puts the garden bats across the description. */
@media(min-width:701px){html.site-story-frame[data-decor-theme=candy] body.home-polish-active.home-mobile-branding .site-shell #main>.hero::after{left:auto!important;right:18px;top:120px;pointer-events:none}}
body.home-polish-active .home-writing-pen{display:none!important}
/* Mobile ornaments keep a short, continuous path beside the crest rather
   than being cut off at the bottom of the former animation layer. */
@media(max-width:700px){
 body.home-polish-active .logo-halloween-accents{clip-path:none}
 html.site-story-frame[data-decor-theme=candy] body.home-polish-active .logo-halloween-accents .logo-pumpkin{animation-name:home-mobile-lantern-float!important;animation-duration:8s!important;pointer-events:none}
 html.site-story-frame[data-decor-theme=candy] body.home-polish-active .logo-halloween-accents .logo-pumpkin:nth-child(1){top:35px;left:-43px}
 html.site-story-frame[data-decor-theme=candy] body.home-polish-active .logo-halloween-accents .logo-pumpkin:nth-child(2){top:72px;right:-43px;left:auto;animation-delay:-3s}
 html.site-story-frame[data-decor-theme=candy] body.home-polish-active .logo-halloween-accents .logo-pumpkin:nth-child(3){top:108px;left:-30px;animation-delay:-5s}
 body.home-polish-active .halloween-flying-bat{top:6px!important;left:-45px!important;animation-name:home-mobile-bat-flight!important;animation-duration:12s!important}
 body.home-polish-active .halloween-flying-bat:nth-last-child(2){top:45px!important;animation-delay:-4s}
 body.home-polish-active .halloween-flying-bat:last-child{top:80px!important;animation-delay:-8s}
}
@keyframes home-mobile-lantern-float{0%,100%{opacity:.8;transform:translateY(0) rotate(-4deg)}50%{opacity:1;transform:translateY(-6px) rotate(4deg)}}
@keyframes home-mobile-bat-flight{0%,100%{opacity:0;transform:translate(0,0) scaleY(.8)}15%,85%{opacity:.8}35%{transform:translate(65px,-8px) scaleY(.65)}65%{transform:translate(130px,4px) scaleY(1)}90%{transform:translate(180px,-6px) scaleY(.7)}}
html.site-story-frame body.home-polish-active.home-mobile-branding .site-shell footer .footer-facebook a.button{display:inline-flex;align-items:center;justify-content:center;font:600 13px/1.4 system-ui!important;min-height:40px!important;height:auto!important;padding:9px 14px!important;border-radius:10px!important;text-align:center;white-space:normal;box-sizing:border-box}
@media(max-width:700px){html.site-story-frame body.home-polish-active.home-mobile-branding .site-shell footer .footer-facebook a.button{min-height:44px!important}}
@media(prefers-reduced-motion:reduce){body.home-polish-active .halloween-flying-bat{display:none!important}html.site-story-frame[data-decor-theme=candy] body.home-polish-active .logo-halloween-accents .logo-pumpkin{animation:none!important;opacity:.8}}

/* Match both compact actions even against the older high-specificity rules. */
html.site-story-frame body.home-polish-active.home-mobile-branding .site-shell :is(#main .home-visit-invitation,footer .footer-facebook) a.button{font:600 13px/1.4 system-ui!important;min-height:40px!important;height:auto!important;padding:9px 14px!important;border-radius:10px!important}
@media(max-width:700px){html.site-story-frame body.home-polish-active.home-mobile-branding .site-shell :is(#main .home-visit-invitation,footer .footer-facebook) a.button{min-height:44px!important}}

