/* Minimal content sizing for block-only template */

:where(#site-content) {
  font-size: 1rem; /* match editor 16px */
  line-height: 1.7;
  color: #fff; /* default readable text color on dark bg */
}

#site-content p,
#site-content li {
  line-height: inherit;
}

/* Normalize button sizing to match editor on this template */
@media (min-width: 700px) {
  #site-content button,
  #site-content .button,
  #site-content .faux-button,
  #site-content .wp-block-button__link,
  #site-content input[type="button"],
  #site-content input[type="reset"],
  #site-content input[type="submit"] {
    font-size: 1rem;
  }
}

/* Prevent UAG container wildcard color from overriding block text colors.
   Only reset elements that do not already have an explicit block color or inline color. */
/* Neutralize UAG container wildcard color while preserving any explicit colors
   added by blocks/classes (e.g., .has-*-color) or inline styles. */
/* Neutralize UAG wildcard text color without out-specifying editor utilities */
:where(#site-content) .wp-block-uagb-container
  :where(:not(.wp-block-button__link):not(.uagb-buttons-repeater):not([class*="has-"]):not([style*="color"])) {
  color: inherit;
}

/* Editor parity: media/alignments spacing */
#site-content figure,
#site-content video { margin: 0; }

#site-content .aligncenter,
#site-content .alignnone,
#site-content .alignwide,
#site-content .alignfull { margin: 50px auto; }

/* Override parent: reduce default top margin for full-width blocks */
#site-content .alignfull { margin-top: 0; }

/* Editor parity: floated alignment bottom spacing */
#site-content .alignleft,
#site-content .alignright { margin-bottom: 25px; }

/* Editor parity: block button vertical rhythm */
#site-content .wp-block-button:not(.alignleft):not(.alignright) {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Editor parity: has-background block padding */
#site-content .has-background { padding: 20px; }

/* Reduce oversized hr spacing inside content */
#site-content hr { margin: 1.5em 0; }

/* Neutralize theme wrappers inside content to match editor */
#site-content .section { padding: 0; }
#site-content .container { padding-left: 0; padding-right: 0; }

/* Removed default brand-based button fallbacks to match editor exactly */

/* Hover/focus states */
#site-content .wp-block-button__link:not(.has-background):not([style*="background"]):hover,
#site-content .uagb-buttons-repeater.wp-block-button__link:not(.has-background):not([style*="background"]):hover {
  filter: brightness(1.05);
  text-decoration: none;
}
