/* Deepskyastrophoto 0.25.0 – optional, language-aware hyphenation. */
body.dsa-hyphenation-auto .dsa-page-content :where(p, li, blockquote),
.editor-styles-wrapper.dsa-hyphenation-auto :where(p, li, blockquote),
.wp-block-paragraph.is-style-dsa-hyphens-auto,
.wp-block-heading.is-style-dsa-hyphens-auto,
.wp-block-list.is-style-dsa-hyphens-auto,
.wp-block-quote.is-style-dsa-hyphens-auto,
.wp-block-group.is-style-dsa-hyphens-auto :where(p, li, blockquote, h1, h2, h3, h4, h5, h6),
.wp-block-column.is-style-dsa-hyphens-auto :where(p, li, blockquote, h1, h2, h3, h4, h5, h6),
.wp-block-columns.is-style-dsa-hyphens-auto :where(p, li, blockquote, h1, h2, h3, h4, h5, h6),
.wp-block-media-text.is-style-dsa-hyphens-auto :where(p, li, blockquote, h1, h2, h3, h4, h5, h6) {
    -webkit-hyphens: auto !important;
    hyphens: auto !important;
    overflow-wrap: normal;
    word-break: normal;
}

body.dsa-hyphenation-off .dsa-page-content :where(p, li, blockquote),
.editor-styles-wrapper.dsa-hyphenation-off :where(p, li, blockquote),
.wp-block-paragraph.is-style-dsa-hyphens-off,
.wp-block-heading.is-style-dsa-hyphens-off,
.wp-block-list.is-style-dsa-hyphens-off,
.wp-block-quote.is-style-dsa-hyphens-off,
.wp-block-group.is-style-dsa-hyphens-off :where(p, li, blockquote, h1, h2, h3, h4, h5, h6),
.wp-block-column.is-style-dsa-hyphens-off :where(p, li, blockquote, h1, h2, h3, h4, h5, h6),
.wp-block-columns.is-style-dsa-hyphens-off :where(p, li, blockquote, h1, h2, h3, h4, h5, h6),
.wp-block-media-text.is-style-dsa-hyphens-off :where(p, li, blockquote, h1, h2, h3, h4, h5, h6) {
    -webkit-hyphens: none !important;
    hyphens: none !important;
    overflow-wrap: break-word;
    word-break: normal;
}

/* Do not hyphenate controls and short labels unless a block was explicitly styled. */
body.dsa-hyphenation-auto .dsa-page-content :where(button, .wp-element-button, .dsa-chip, .dsa-card-meta-link, figcaption) {
    -webkit-hyphens: none;
    hyphens: none;
}
