/* Review-only fixes for content normally revealed by WordPress scripts. */
.elementor-invisible { visibility: visible !important; }
.migration-form-notice { background:#fff4d3; color:#333; padding:1rem; }
/* The safety wrapper must not change the original Elementor form layout. */
.elementor-form > fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

/* Elementor's gallery needs its JavaScript layout; reproduce its four-column masonry. */
.elementor-gallery__container { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1px; gap: 10px; }
.elementor-gallery__container .e-gallery-item { position: relative !important; inset: auto !important; width: auto !important; height: auto !important; overflow: hidden; border-radius: 14px; }
.elementor-gallery__container .e-gallery-image { height: 100% !important; background-size: cover; background-position: center; }
@media (max-width: 1024px) { .elementor-gallery__container { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 767px) { .elementor-gallery__container { grid-template-columns: 1fr; } }

.migration-lightbox { border:0; padding:3rem; background:transparent; max-width:100vw; max-height:100vh; }
.migration-lightbox::backdrop { background:rgba(0,0,0,.9); }
.migration-lightbox img { display:block; max-width:85vw; max-height:85vh; object-fit:contain; }
.migration-lightbox button { position:fixed; z-index:2; background:transparent; color:white; border:0; font-size:2.5rem; cursor:pointer; }
.migration-lightbox button:first-child { right:1rem; top:0; }
.migration-lightbox button:nth-child(2) { left:1rem; top:48%; }
.migration-lightbox button:last-child { right:1rem; top:48%; }

/* Keep the spam trap out of the visual and keyboard flow. */
.paola-honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
