/* ---------------------------------------------------------------------
   Offline overrides for the copied Hostinger/Zyro site.

   The original pages ship every section at opacity:0 and reveal them
   with a scroll observer inside Zyro's own JavaScript bundle. That
   bundle is tied to the Hostinger platform, so on any other host the
   page would load completely blank. These rules render everything in
   its final state instead. Nothing else about the design changes.
   --------------------------------------------------------------------- */

.transition,
.transition--fade,
.transition--slide,
.transition--scale,
.transition [data-animation-role],
[data-animation-role="block-element"],
[data-animation-role="image"] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Astro island wrappers collapse to zero height without hydration */
astro-island { display: contents; }

/* Open state for the mobile menu, driven by assets/js/offline.js */
.block-header-layout-mobile__dropdown--open {
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
  padding: 8px 16px 28px;
  /* the header bar colour, so the open menu is not transparent over the page */
  background: #787777;
  z-index: 40;
  width: 100%;
  left: 0;
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}
.block-header-layout-mobile__dropdown--open .block-header__nav-links {
  visibility: visible !important;
  height: auto !important;
}
