html[data-public-theme="turkmod"] .static-page-view {
    display: grid;
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 16px;
}

html[data-public-theme="turkmod"] .static-page-header {
    position: relative;
    z-index: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    overflow: hidden;
    min-width: 0;
    height: auto;
    padding: clamp(18px, 3vw, 28px);
    background: var(--t-surface, var(--bg-white));
    border: 1px solid var(--t-border, var(--color-border));
    border-bottom: 2px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

html[data-public-theme="turkmod"] .static-page-header::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 34%;
    height: 100%;
    background: linear-gradient(135deg, transparent, color-mix(in srgb, var(--primary) 5%, transparent));
    content: "";
    pointer-events: none;
}

html[data-public-theme="turkmod"] .static-page-header-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, var(--t-surface, var(--bg-white)));
    border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--t-border, var(--border)));
    border-radius: var(--radius-md);
    font-size: 1.35rem;
}

html[data-public-theme="turkmod"] .static-page-header-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

html[data-public-theme="turkmod"] .static-page-header h1 {
    margin: 5px 0 8px;
    color: var(--t-text, var(--text));
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

html[data-public-theme="turkmod"] .static-page-header p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--t-muted, var(--text-dim));
    font-size: .8rem;
}

html[data-public-theme="turkmod"] .static-page-header p i {
    color: var(--primary);
}

html[data-public-theme="turkmod"] .static-page-kicker {
    display: block;
    color: var(--primary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html[data-public-theme="turkmod"] .static-page-content-panel {
    overflow: hidden;
    padding: clamp(16px, 2.4vw, 24px);
    background: var(--t-surface, var(--bg-white));
    border: 1px solid var(--t-border, var(--color-border));
    border-bottom: 2px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

html[data-public-theme="turkmod"] .static-page-content-panel > h2 {
    margin: 0 0 18px;
    padding: 0 0 12px;
    color: var(--t-text, var(--text));
    border-bottom: 1px solid var(--t-border, var(--border));
    font-size: 1rem;
    font-weight: 700;
}

html[data-public-theme="turkmod"] .static-page-content {
    min-width: 0;
    padding: 0;
    color: var(--t-text, var(--text));
    line-height: 1.8;
    overflow-wrap: anywhere;
}

html[data-public-theme="turkmod"] .static-page-content > :first-child { margin-top: 0; }
html[data-public-theme="turkmod"] .static-page-content > :last-child { margin-bottom: 0; }
html[data-public-theme="turkmod"] .static-page-content img,
html[data-public-theme="turkmod"] .static-page-content iframe { max-width: 100%; }
html[data-public-theme="turkmod"] .static-page-content img { height: auto; }
html[data-public-theme="turkmod"] .static-page-content iframe { aspect-ratio: 16 / 9; height: auto; }
html[data-public-theme="turkmod"] .static-page-content table { display: block; max-width: 100%; overflow-x: auto; }

html[data-public-theme="turkmod"] .static-page-content blockquote {
    margin: 1.25rem 0;
    padding: 14px 16px;
    background: color-mix(in srgb, var(--primary) 6%, var(--t-surface, var(--bg-white))) !important;
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    color: var(--t-text, var(--text)) !important;
}

html[data-public-theme="turkmod"] .static-page-content > :where(
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    ul,
    ol,
    blockquote,
    pre,
    hr
) {
    max-width: 900px;
}

html[data-public-theme="turkmod"] .static-page-content > :where(p:has(img), p:has(iframe)) {
    max-width: none;
}

html[data-public-theme="turkmod"] .static-page-content :where(h1, h2, h3, h4, h5, h6) {
    display: block;
    margin: 1.8rem 0 .75rem;
    padding: 0;
    border: 0;
    color: var(--t-text, var(--text));
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
}

html[data-public-theme="turkmod"] .static-page-content h1 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); }

html[data-public-theme="turkmod"] .static-page-content h2 {
    padding-bottom: .55rem;
    border-bottom: 1px solid var(--t-border, var(--border));
    font-size: clamp(1.25rem, 2vw, 1.4rem);
}

html[data-public-theme="turkmod"] .static-page-content h3 { font-size: clamp(1.12rem, 1.8vw, 1.24rem); }
html[data-public-theme="turkmod"] .static-page-content h4 { font-size: 1.08rem; }
html[data-public-theme="turkmod"] .static-page-content h5 { font-size: 1rem; }
html[data-public-theme="turkmod"] .static-page-content h6 { color: var(--t-muted, var(--text-dim)); font-size: .92rem; }

html[data-public-theme="turkmod"] .static-page-content p {
    margin: 0 0 1rem;
    color: var(--t-text, var(--text));
}

html[data-public-theme="turkmod"] .static-page-content :where(strong, b) {
    color: var(--t-text, var(--text));
    font-weight: 750;
}

html[data-public-theme="turkmod"] .static-page-content a {
    color: var(--primary);
    font-weight: 650;
    text-decoration-line: underline;
    text-decoration-color: color-mix(in srgb, var(--primary) 42%, transparent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

html[data-public-theme="turkmod"] .static-page-content a:hover {
    color: color-mix(in srgb, var(--primary) 82%, var(--t-text, var(--text)));
    text-decoration-color: currentColor;
}

html[data-public-theme="turkmod"] .static-page-content a:focus-visible {
    border-radius: 2px;
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

html[data-public-theme="turkmod"]:is([data-theme="dark"], [data-theme-mode="dark"]) .static-page-content a {
    color: color-mix(in srgb, var(--primary) 58%, var(--t-text, var(--text)) 42%);
    text-decoration-color: color-mix(in srgb, currentColor 58%, transparent);
}

html[data-public-theme="turkmod"]:is([data-theme="dark"], [data-theme-mode="dark"]) .static-page-content a:hover {
    color: color-mix(in srgb, var(--primary) 42%, var(--t-text, var(--text)) 58%);
}

html[data-public-theme="turkmod"] .static-page-content :where(ul, ol) {
    margin: 1rem 0 1.25rem;
    padding-inline-start: 1.6rem;
}

html[data-public-theme="turkmod"] .static-page-content li {
    margin: .38rem 0;
    padding-inline-start: .2rem;
    color: var(--t-text, var(--text));
}

html[data-public-theme="turkmod"] .static-page-content li::marker {
    color: var(--primary);
    font-weight: 700;
}

html[data-public-theme="turkmod"] .static-page-content blockquote p:last-child { margin-bottom: 0; }

html[data-public-theme="turkmod"] .static-page-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.35rem 0;
    overflow-x: auto;
    border: 1px solid var(--t-border, var(--border));
    border-collapse: collapse;
    border-radius: var(--radius-sm);
    background: var(--t-surface, var(--bg-white));
}

html[data-public-theme="turkmod"] .static-page-content :where(th, td) {
    min-width: 120px;
    padding: 11px 13px;
    border: 1px solid var(--t-border, var(--border));
    color: var(--t-text, var(--text));
    text-align: left;
    vertical-align: top;
}

html[data-public-theme="turkmod"] .static-page-content th {
    background: color-mix(in srgb, var(--primary) 7%, var(--t-surface, var(--bg-white)));
    font-weight: 750;
}

html[data-public-theme="turkmod"] .static-page-content tr:nth-child(even) td {
    background: color-mix(in srgb, var(--t-muted, var(--text-dim)) 4%, transparent);
}

html[data-public-theme="turkmod"] .static-page-content code {
    padding: .14em .38em;
    border: 1px solid var(--t-border, var(--border));
    border-radius: 4px;
    background: color-mix(in srgb, var(--primary) 6%, var(--t-surface, var(--bg-white)));
    color: var(--t-text, var(--text));
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: .9em;
}

html[data-public-theme="turkmod"] .static-page-content pre {
    margin: 1.25rem 0;
    padding: 16px;
    overflow: auto;
    border: 1px solid var(--t-border, var(--border));
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--t-text, var(--text)) 5%, var(--t-surface, var(--bg-white)));
    color: var(--t-text, var(--text));
    line-height: 1.65;
    white-space: pre;
}

html[data-public-theme="turkmod"] .static-page-content pre code {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
}

html[data-public-theme="turkmod"] .static-page-content hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid var(--t-border, var(--border));
    opacity: 1;
}

html[data-public-theme="turkmod"] .static-page-content :where(img, iframe) {
    display: block;
    border: 1px solid var(--t-border, var(--border));
    border-radius: var(--radius-md);
    background: var(--t-surface, var(--bg-white));
}

html[data-public-theme="turkmod"] .static-page-content iframe { width: 100%; }

html[data-public-theme="turkmod"] .static-page-content > :first-child { margin-top: 0; }
html[data-public-theme="turkmod"] .static-page-content > :last-child { margin-bottom: 0; }

html[data-public-theme="turkmod"] .static-page-preview-banner {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border: 1px solid color-mix(in srgb, #d97706 35%, var(--t-border, var(--border)));
    border-left: 3px solid #d97706;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, #f59e0b 10%, var(--t-surface, var(--bg-white)));
    color: var(--t-text, var(--text));
    font-size: .84rem;
    font-weight: 700;
}

@media (max-width: 720px) {
    html[data-public-theme="turkmod"] .static-page-view { gap: 12px; }

    html[data-public-theme="turkmod"] .static-page-header {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    html[data-public-theme="turkmod"] .static-page-header-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    html[data-public-theme="turkmod"] .static-page-header h1 { font-size: clamp(1.25rem, 7vw, 1.6rem); }
    html[data-public-theme="turkmod"] .static-page-content-panel { padding: 16px; }
}

@media (max-width: 420px) {
    html[data-public-theme="turkmod"] .static-page-header {
        grid-template-columns: 1fr;
    }
}
