/**
 * IMMEDIATE TEXT VISIBILITY CSS
 * This CSS ensures all text content is visible immediately
 */

/* NUCLEAR TEXT VISIBILITY - Override everything */
section:not(.wp-block-nexus-blocks-hero) h1,
section:not(.wp-block-nexus-blocks-hero) h2,
section:not(.wp-block-nexus-blocks-hero) h3,
section:not(.wp-block-nexus-blocks-hero) h4,
section:not(.wp-block-nexus-blocks-hero) h5,
section:not(.wp-block-nexus-blocks-hero) h6,
section:not(.wp-block-nexus-blocks-hero) p,
section:not(.wp-block-nexus-blocks-hero) span,
section:not(.wp-block-nexus-blocks-hero) div,
section:not(.wp-block-nexus-blocks-hero) .master-richtext,
section:not(.wp-block-nexus-blocks-hero) .master-richtext *,
section:not(.wp-block-nexus-blocks-hero) strong,
section:not(.wp-block-nexus-blocks-hero) em,
section:not(.wp-block-nexus-blocks-hero) a {
  opacity: 1 !important;
  visibility: visible !important;
  color: inherit !important;
  text-shadow: none !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* Inline elements should remain inline */
section:not(.wp-block-nexus-blocks-hero) span,
section:not(.wp-block-nexus-blocks-hero) strong,
section:not(.wp-block-nexus-blocks-hero) em,
section:not(.wp-block-nexus-blocks-hero) a {
  display: inline !important;
}

/* Show content after 1 second with smooth transition */
@keyframes gentle-show {
  to {
    opacity: 1;
  }
}

/* Apply gentle animation to sections after 1s delay */
section:not(.wp-block-nexus-blocks-hero) {
  animation: gentle-show 0.5s ease-out 1s forwards;
}

/* Apply gentle animation to content elements after 1.2s delay */
section:not(.wp-block-nexus-blocks-hero) img,
section:not(.wp-block-nexus-blocks-hero) button,
section:not(.wp-block-nexus-blocks-hero) .wp-block-button {
  animation: gentle-show 0.3s ease-out 1.2s forwards;
}

/* Emergency override only if animations completely fail */
body.animations-failed section:not(.wp-block-nexus-blocks-hero),
body.animations-failed section:not(.wp-block-nexus-blocks-hero) * {
  opacity: 1 !important;
  visibility: visible !important;
  /* Preserve transforms and layout - only override opacity */
}
