/* Shared behavior only. Visual defaults belong in theme.json. */
html {
    scroll-behavior: smooth;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

/* Keep browser paragraph margins neutral; native block spacing stays editable. */
:where(p) {
    margin: 0;
}

:where(.wp-site-blocks) > * {
    margin-block-start: 0;
}

.wp-block-navigation-item__label {
    text-align: center;
    white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Leave room for the shared fixed navigation when jumping between FAQ topics. */
.hx-faq-topic { scroll-margin-top:120px; }
