/* Gruppen dürfen beliebig verschachtelt sein. Keine zusätzliche Breitenbegrenzung. */
.mlrv-roman:not(.mlrv-disabled) {
    --mlrv-size: 1.1875rem;
    --mlrv-leading: 1.75;
    --mlrv-indent: 1.35em;
}
.mlrv-roman:not(.mlrv-disabled) > p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p),
.mlrv-roman:not(.mlrv-disabled) .wp-block-group > p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p),
.mlrv-roman:not(.mlrv-disabled) .wp-block-group__inner-container > p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p),
.mlrv-roman:not(.mlrv-disabled) .wp-block-column > p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p),
.mlrv-roman:not(.mlrv-disabled) .mlrv-text > p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p) {
    font-family: var(--mlrv-font, Georgia, 'Times New Roman', serif) !important;
    font-size: var(--mlrv-size) !important;
    font-weight: 400;
    line-height: var(--mlrv-leading) !important;
    letter-spacing: normal !important;
    text-align: start !important;
    text-indent: 0 !important;
    margin-block: 0 !important;
    overflow-wrap: break-word;
    hyphens: auto;
}
.mlrv-roman:not(.mlrv-disabled) > p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p) + p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p),
.mlrv-roman:not(.mlrv-disabled) .wp-block-group > p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p) + p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p),
.mlrv-roman:not(.mlrv-disabled) .wp-block-group__inner-container > p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p) + p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p),
.mlrv-roman:not(.mlrv-disabled) .wp-block-column > p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p) + p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p),
.mlrv-roman:not(.mlrv-disabled) .mlrv-text > p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p) + p:not(.mlrv-note):not(.mlrv-exclude):not(.mlrv-exclude p):not(blockquote p):not(.wp-block-pullquote p):not(.wp-block-buttons p):not(nav p) {
    text-indent: var(--mlrv-indent) !important;
}
.mlrv-roman:not(.mlrv-disabled) p.mlrv-no-indent { text-indent: 0 !important; }
@media (max-width: 600px) {
    .mlrv-roman:not(.mlrv-disabled) { --mlrv-size: 1.125rem; --mlrv-leading: 1.7; }
}
@media print {
    .mlrv-roman:not(.mlrv-disabled) { --mlrv-size: 12pt; --mlrv-leading: 1.5; }
}

.mlrv-controls[hidden] { display: none !important; }
.mlrv-controls { margin-block: 0 1.5rem; padding: .75rem 1rem; border: 1px solid currentColor; border-radius: .5rem; font: 1rem/1.5 system-ui, sans-serif; }
.mlrv-controls summary { cursor: pointer; font-weight: 600; }
.mlrv-options { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding-top: 1rem; }
.mlrv-options label { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.mlrv-options select, .mlrv-options button { font: inherit; width: auto; min-height: 44px; }
.mlrv-options input { width: 1.2em; height: 1.2em; }
.mlrv-controls :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media print { .mlrv-controls { display: none !important; } }

/* Dezent umrandeter Button passend zum warmen Seitendesign. */
.mlrv-reader .mlrv-controls .mlrv-options button[data-mlrv="reset"] {
    appearance: none;
    background: transparent !important;
    color: inherit !important;
    border: 1px solid var(--theme-palette-color-1, #ad8457) !important;
    border-radius: 3px;
    padding: .5rem 1rem;
    min-height: 44px;
    height: auto;
    font: inherit;
    line-height: 1.4;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none !important;
    cursor: pointer;
    white-space: normal;
    max-width: 100%;
    transition: background-color .15s ease, border-color .15s ease;
}
.mlrv-reader .mlrv-controls .mlrv-options button[data-mlrv="reset"]:hover {
    background: rgba(173, 132, 87, .16) !important;
}
.mlrv-reader .mlrv-controls .mlrv-options button[data-mlrv="reset"]:focus-visible {
    outline: 2px solid var(--theme-palette-color-1, #ad8457);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .mlrv-reader .mlrv-controls .mlrv-options button[data-mlrv="reset"] { transition: none; }
}
