/* Shortcode menus also work when WordPress has not loaded its Buttons block CSS.
   Scope these rules to topic button menus, preserving the team/club list layouts. */
ul.hrr-related-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem 1rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
ul.hrr-related-pages > li.wp-block-button {
    flex: 0 1 auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.hrr-related-pages > li.wp-block-button > a.wp-block-button__link {
    display: block;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
}
