/* WordPress-specific fixes */

.site {
  min-height: 100svh;
  isolation: isolate;
}

/* Admin bar offset when logged in */
.admin-bar .nav {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .nav {
    top: 46px;
  }
}

/* Show content immediately — scroll reveal is optional enhancement via JS */
[data-reveal] {
  opacity: 1;
  transform: none;
}

html.js [data-reveal].is-visible {
  animation: none;
}

/* Reduce WP core preset bleed into layout */
body .is-layout-flex,
body .is-layout-grid {
  display: revert;
}

.wp-block-button__link {
  all: unset;
}

/* Hidden success states must not reserve space (display:grid on .apply overrides [hidden]) */
[hidden],
.apply[hidden],
.contact__success[hidden],
[data-form-success][hidden] {
  display: none !important;
}
