﻿/* Editor secimi hex zeminlerin uzerinde tema metin renkleri sabit kalmaz. */
.content-module[data-contrast="light"] {
    --content-foreground: #fff;
    --content-link: #fff;
}

.content-module[data-contrast="dark"] {
    --content-foreground: #172f30;
    --content-link: #0b5a54;
}

/* Sutunlu editor icerigi, duz metne ayrilan okuma genisligine sikismasin. */
.content-module .content-body:has(> .row) {
    max-width: none;
}

.content-module .content-body:has(> .row) > :not(.row) {
    max-width: var(--kt-measure, 65ch);
}

.content-module[data-contrast="light"],
.content-module[data-contrast="dark"],
.content-module[data-contrast="light"] :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, strong, em, .content-body),
.content-module[data-contrast="dark"] :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, strong, em, .content-body) {
    color: var(--content-foreground);
}

.content-module[data-contrast="light"] a,
.content-module[data-contrast="dark"] a {
    color: var(--content-link);
    text-decoration: underline;
    text-underline-offset: .16em;
}

.content-module[data-contrast="light"] a:focus-visible,
.content-module[data-contrast="dark"] a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
