/* Place buttons below each other on mobile */
@media screen and (max-width: 768px) {
    .wp-block-buttons {
        flex-direction: column;
        & > .wp-block-button {
            width: 100%;
            & .wp-block-button__link {
                width: 100%;
                justify-content: center;
            }
        }
    }
}

/* Small buttons */
.wp-block-buttons.is-style-small .wp-block-button__link {
    padding: 0 var(--wp--preset--spacing--30);
    min-height: 38px;
    width: auto;
}

/* Button icon color fix */
.wp-block-buttons .button-icon {
    fill: currentColor;
}

/* Add horizontal padding to buttons inside sections */
.wp-site-blocks > [class*="is-style-section-"] > .wp-block-buttons,
.entry-content > [class*="is-style-section-"] > .wp-block-buttons {
    padding-left: var(--wp--preset--spacing--50);
    padding-right: var(--wp--preset--spacing--50);
}