/* Preserve BetterDocs layout, search, sidebar, responsive and Pro behavior.
   Low-specificity rules let BetterDocs Customizer and block styles take priority. */
:where(.kaktusdocs-theme) .betterdocs-wrapper{font-family:inherit}
:where(.kaktusdocs-theme .betterdocs-wrapper) :where(.betterdocs-entry-content,.betterdocs-content){line-height:1.8;overflow-wrap:anywhere}
:where(.kaktusdocs-theme .betterdocs-wrapper) :where(h1,h2,h3){letter-spacing:-.025em}
:where(.kaktusdocs-theme .betterdocs-wrapper) :where(.betterdocs-entry-content,.betterdocs-content) :where(img,video,iframe){max-width:100%}
:where(.kaktusdocs-theme .betterdocs-wrapper) :where(.betterdocs-entry-content,.betterdocs-content) pre{max-width:100%;overflow-x:auto}
:where(.kaktusdocs-theme .betterdocs-wrapper) :where(.betterdocs-entry-content,.betterdocs-content) :where(h2,h3,h4){scroll-margin-top:24px}
:where(.kaktusdocs-theme) :where(.betterdocs-search-form-wrapper){border-radius:var(--kd-radius)}
:where(.kaktusdocs-theme) :where(.betterdocs-category-grid-wrapper,.betterdocs-category-box-wrapper) :where(.betterdocs-single-category-wrapper){border-radius:var(--kd-radius)}
/* The plugin controls its own dark mode. Do not force colors into its content. */
@media print{.kaktusdocs-theme .betterdocs-entry-content a{text-decoration:underline}}
