﻿/* Kırıkkale Üniversitesi — Erişilebilirlik Menüsü */

.kku-a11y-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 2147483646;
    padding: 0.75rem 1.25rem;
    background: var(--kku-navy, #053170);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.kku-a11y-skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: visible;
    outline: 3px solid var(--kku-red, #C9151B);
    outline-offset: 2px;
}

/* ========== Widget kabuk ========== */

.kku-a11y-widget {
    --aw-accent: var(--kku-gold, #B69A51);
    --aw-primary: var(--kku-navy, #053170);
    --aw-primary-dark: #031f4a;
    --aw-navy: #053170;
    --aw-fab-border: #9aa3af;
    --aw-panel-width: 392px;
    --aw-radius: 14px;
    --aw-radius-sm: 10px;
    --aw-shadow: 0 12px 40px rgba(5, 49, 112, 0.18);
    --aw-surface: #f7f8fb;
    --aw-border: rgba(5, 49, 112, 0.12);
    position: fixed;
    left: 0;
    /* transform kullanma: fixed panel'i viewport'tan koparir */
    top: calc(50% - 28px);
    bottom: auto;
    transform: none;
    z-index: 2147482990;
    font-family: 'Roboto', system-ui, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

.kku-a11y-widget.kku-a11y-widget--dragged {
    transform: none;
}

.kku-a11y-widget.kku-a11y-widget--dragging {
    transition: none;
    user-select: none;
}

/* FAB */
.kku-a11y-widget .aw-fab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-left: 20px;
    border: 2px solid var(--aw-fab-border);
    border-radius: 50%;
    background: linear-gradient(145deg, var(--aw-navy) 0%, var(--aw-primary) 100%);
    color: #fff;
    box-shadow: var(--aw-shadow), 0 0 0 0 rgba(154, 163, 175, 0.45);
    cursor: grab;
    touch-action: none;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease,
        border-color 0.2s ease;
    animation: kku-a11y-fab-flash 1.6s ease-in-out infinite;
}

.kku-a11y-widget .aw-fab::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.25s ease;
}

.kku-a11y-widget .aw-fab svg {
    width: 24.8px;
    height: 24.8px;
    color: #fff;
    fill: currentColor;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.kku-a11y-widget .aw-fab:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 16px 44px rgba(5, 49, 112, 0.28), 0 0 0 4px rgba(154, 163, 175, 0.28);
    border-color: #6b7280;
    color: #fff;
}

.kku-a11y-widget .aw-fab:focus-visible {
    outline: none;
}

.kku-a11y-widget .aw-fab:focus-visible::before {
    border-color: #9aa3af;
}

.kku-a11y-widget--open .aw-fab,
.kku-a11y-widget--dragging .aw-fab {
    animation: none;
}

.kku-a11y-widget--open .aw-fab {
    transform: scale(0.92);
    opacity: 0.95;
    box-shadow: 0 6px 20px rgba(5, 49, 112, 0.2);
}

.kku-a11y-widget--open .aw-fab::before {
    border-color: #9aa3af;
}

.kku-a11y-widget--dragging .aw-fab {
    cursor: grabbing;
    transform: scale(1.06);
}

@keyframes kku-a11y-fab-flash {
    0%, 100% {
        box-shadow: 0 12px 40px rgba(5, 49, 112, 0.18), 0 0 0 0 rgba(154, 163, 175, 0.55);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 12px 40px rgba(5, 49, 112, 0.28), 0 0 0 10px rgba(154, 163, 175, 0);
        filter: brightness(1.18);
    }
}

/* Sol panel — widget transform'dan bagimsiz viewport fixed */
.kku-a11y-widget .aw-panel,
#kku-a11y-panel.aw-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--aw-panel-width, 392px);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #1e293b;
    box-shadow: 8px 0 48px rgba(5, 49, 112, 0.2);
    transform: translateX(-105%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2147482989;
    pointer-events: none;
    border-right: 1px solid var(--aw-border, rgba(5, 49, 112, 0.12));
    overflow: hidden;
}

.kku-a11y-widget .aw-panel.aw-panel--open,
#kku-a11y-panel.aw-panel.aw-panel--open {
    transform: translateX(0);
    pointer-events: auto;
}

/* Header */
.kku-a11y-widget .aw-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18.4px 18.4px 16px;
    background: linear-gradient(135deg, var(--aw-navy) 0%, var(--aw-primary) 55%, var(--aw-primary-dark) 100%);
    color: #fff;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.kku-a11y-widget .aw-panel__header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--aw-accent) 20%, var(--aw-accent) 80%, transparent);
}

.kku-a11y-widget .aw-panel__header-text {
    min-width: 0;
    flex: 1;
}

.kku-a11y-widget .aw-panel__title {
    display: flex;
    align-items: center;
    gap: 9.6px;
    margin: 0 0 4px;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.kku-a11y-widget .aw-panel__title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33.6px;
    height: 33.6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
}

.kku-a11y-widget .aw-panel__title-icon svg {
    width: 19.2px;
    height: 19.2px;
    color: #fff;
}

.kku-a11y-widget .aw-panel__subtitle {
    margin: 0;
    font-size: 0.823em;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.78);
}

.kku-a11y-widget .aw-panel__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.15s ease;
}

.kku-a11y-widget .aw-panel__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.kku-a11y-widget .aw-panel__close svg {
    width: 18.4px;
    height: 18.4px;
}

/* Body scroll */
.kku-a11y-widget .aw-panel__body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 16px 8px;
    background: linear-gradient(180deg, #f8fafd 0%, #fff 12%);
    scrollbar-width: thin;
    scrollbar-color: rgba(5, 49, 112, 0.35) transparent;
}

.kku-a11y-widget .aw-panel__body::-webkit-scrollbar {
    width: 6px;
}

.kku-a11y-widget .aw-panel__body::-webkit-scrollbar-thumb {
    background: rgba(5, 49, 112, 0.3);
    border-radius: 999px;
}

/* Footer */
.kku-a11y-widget .aw-panel__footer {
    padding: 13.6px 16px 18.4px;
    background: var(--aw-surface);
    border-top: 1px solid var(--aw-border);
    flex-shrink: 0;
}

/* Kategori kartları */
.kku-a11y-widget .aw-category {
    margin-bottom: 13.6px;
    border-radius: var(--aw-radius);
    background: #fff;
    border: 1px solid var(--aw-border);
    box-shadow: 0 2px 12px rgba(5, 49, 112, 0.04);
    overflow: hidden;
}

.kku-a11y-widget .aw-category__header {
    display: flex;
    align-items: center;
    gap: 8.8px;
    padding: 10.4px 13.6px;
    background: linear-gradient(90deg, rgba(5, 49, 112, 0.06) 0%, transparent 100%);
    border-bottom: 1px solid var(--aw-border);
}

.kku-a11y-widget .aw-category__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29.6px;
    height: 29.6px;
    border-radius: 8px;
    background: rgba(5, 49, 112, 0.1);
}

.kku-a11y-widget .aw-category__icon svg {
    width: 16px;
    height: 16px;
    color: var(--aw-primary);
}

.kku-a11y-widget .aw-category__title {
    margin: 0;
    font-size: 0.914em;
    font-weight: 700;
    color: var(--aw-primary);
    letter-spacing: 0.01em;
}

.kku-a11y-widget .aw-category__body {
    padding: 8.8px 10.4px 10.4px;
}

.kku-a11y-widget .aw-feature-item {
    margin-bottom: 6.4px;
}

.kku-a11y-widget .aw-feature-item:last-child {
    margin-bottom: 0;
}

.kku-a11y-widget .aw-feature-item--full {
    width: 100%;
}

/* Butonlar */
.kku-a11y-widget .aw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9.92px 13.6px;
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-sm);
    background: var(--aw-surface);
    color: var(--aw-primary);
    font-size: 0.914em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.kku-a11y-widget .aw-button svg {
    width: 18.4px;
    height: 18.4px;
    flex-shrink: 0;
    opacity: 0.9;
}

.kku-a11y-widget .aw-button--block {
    width: 100%;
}

.kku-a11y-widget .aw-button--secondary:hover {
    background: #eef2f9;
    border-color: rgba(5, 49, 112, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 49, 112, 0.08);
}

.kku-a11y-widget .aw-button--primary {
    background: linear-gradient(135deg, var(--aw-primary) 0%, var(--aw-primary-dark) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(5, 49, 112, 0.25);
}

.kku-a11y-widget .aw-button--primary:hover {
    filter: brightness(1.05);
}

.kku-a11y-widget .aw-button--reset {
    background: linear-gradient(135deg, var(--aw-accent) 0%, #a01218 100%);
    border: 1px solid rgba(201, 21, 27, 0.45);
    color: #fff;
    box-shadow: 0 4px 14px rgba(201, 21, 27, 0.28);
}

.kku-a11y-widget .aw-button--reset:hover {
    background: linear-gradient(135deg, #a01218 0%, #7d0e13 100%);
    border-color: var(--aw-accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(201, 21, 27, 0.35);
}

.kku-a11y-widget .aw-button--reset svg {
    color: #fff;
}

.kku-a11y-widget .aw-button:focus-visible,
.kku-a11y-widget .aw-toggle-switch:focus-visible,
.kku-a11y-widget .aw-contrast-mode:focus-visible,
.kku-a11y-widget .aw-font-control-btn:focus-visible,
.kku-a11y-widget .aw-font-control-action:focus-visible {
    outline: 2px solid var(--aw-accent);
    outline-offset: 2px;
}

/* Toggle */
.kku-a11y-widget .aw-toggle-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8.8px 10.4px;
    border: 1px solid transparent;
    border-radius: var(--aw-radius-sm);
    background: var(--aw-surface);
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.kku-a11y-widget .aw-toggle-switch:hover {
    background: #eef2f9;
    border-color: var(--aw-border);
}

.kku-a11y-widget .aw-toggle-switch[aria-checked="true"] {
    background: rgba(201, 21, 27, 0.06);
    border-color: rgba(201, 21, 27, 0.22);
    box-shadow: inset 3px 0 0 var(--aw-accent);
}

.kku-a11y-widget .aw-toggle-switch__label {
    display: flex;
    align-items: center;
    gap: 8.8px;
    min-width: 0;
}

.kku-a11y-widget .aw-toggle-switch__label > svg {
    width: 19.2px;
    height: 19.2px;
    flex-shrink: 0;
    padding: 3.2px;
    box-sizing: content-box;
    border-radius: 6px;
    background: rgba(5, 49, 112, 0.08);
    color: var(--aw-primary);
}

.kku-a11y-widget .aw-toggle-switch__title {
    font-size: 0.891em;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
}

.kku-a11y-widget .aw-toggle-switch__hint {
    display: block;
    font-size: 0.743em;
    font-weight: 500;
    color: #64748b;
    line-height: 1.25;
    margin-top: 1.6px;
}

.kku-a11y-widget .aw-feature-item--tts {
    display: flex;
    flex-direction: column;
    gap: 6.4px;
}

.kku-a11y-widget .aw-feature-item--tts [hidden] {
    display: none !important;
}

.kku-a11y-live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Toast bildirimleri */
.kku-a11y-toast-container {
    position: fixed;
    left: 50%;
    bottom: calc(24px + var(--kku-web-options-banner-offset, 0px));
    transition: bottom 400ms ease;
    transform: translateX(-50%);
    z-index: 2147483647;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    max-width: min(92vw, 448px);
}

.kku-a11y-toast {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #053170 0%, var(--kku-navy, #053170) 100%);
    color: #fff;
    font-family: 'Roboto', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 8px 32px rgba(5, 49, 112, 0.35);
    border: 2px solid var(--kku-red, #C9151B);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.kku-a11y-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.kku-a11y-toast.is-leaving {
    opacity: 0;
    transform: translateY(8px);
}

@media (max-width: 575.98px) {
    .kku-a11y-toast-container {
        bottom: calc(16px + var(--kku-web-options-banner-offset, 0px));
    }

    .kku-a11y-toast {
        font-size: 13px;
        padding: 10.4px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kku-a11y-toast {
        transition: none;
    }
}

.kku-a11y-widget .aw-toggle-switch[aria-checked="true"] .aw-toggle-switch__title {
    color: var(--aw-accent);
}

.kku-a11y-widget .aw-toggle-switch__switch {
    position: relative;
    width: 42.4px;
    height: 23.2px;
    flex-shrink: 0;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background 0.25s ease;
}

.kku-a11y-widget .aw-toggle-switch__switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 17.6px;
    height: 17.6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.kku-a11y-widget .aw-toggle-switch[aria-checked="true"] .aw-toggle-switch__switch {
    background: linear-gradient(90deg, var(--aw-accent) 0%, #a01218 100%);
}

.kku-a11y-widget .aw-toggle-switch[aria-checked="true"] .aw-toggle-switch__switch::after {
    transform: translateX(18.4px);
    box-shadow: 0 2px 8px rgba(5, 49, 112, 0.25);
}

/* Kontrast grid */
.kku-a11y-widget .aw-contrast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7.2px;
}

.kku-a11y-widget .aw-contrast-mode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5.6px;
    width: 100%;
    padding: 8.8px 6.4px 8px;
    border: 2px solid var(--aw-border);
    border-radius: var(--aw-radius-sm);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.kku-a11y-widget .aw-contrast-mode:hover {
    border-color: rgba(5, 49, 112, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 49, 112, 0.08);
}

.kku-a11y-widget .aw-contrast-mode--active,
.kku-a11y-widget .aw-contrast-mode[aria-pressed="true"] {
    border-color: var(--aw-primary);
    background: rgba(5, 49, 112, 0.05);
    box-shadow: 0 0 0 1px var(--aw-primary), 0 4px 14px rgba(5, 49, 112, 0.12);
}

.kku-a11y-widget .aw-contrast-mode__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.257em;
    font-weight: 800;
    line-height: 1;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.kku-a11y-widget .aw-contrast-mode[data-mode="normal"] .aw-contrast-mode__preview {
    background: #fff;
    color: #053170;
}

.kku-a11y-widget .aw-contrast-mode[data-mode="monochrome"] .aw-contrast-mode__preview {
    background: linear-gradient(135deg, #666 50%, #999 50%);
    color: #fff;
}

.kku-a11y-widget .aw-contrast-mode[data-mode="high-bright"] .aw-contrast-mode__preview {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.kku-a11y-widget .aw-contrast-mode[data-mode="high-dark"] .aw-contrast-mode__preview {
    background: #000;
    color: #ff0;
    border: 2px solid #ff0;
}

.kku-a11y-widget .aw-contrast-mode__title {
    font-size: 0.709em;
    font-weight: 600;
    text-align: center;
    color: #475569;
    line-height: 1.25;
}

.kku-a11y-widget .aw-contrast-mode--active .aw-contrast-mode__title,
.kku-a11y-widget .aw-contrast-mode[aria-pressed="true"] .aw-contrast-mode__title {
    color: var(--aw-primary);
    font-weight: 700;
}

/* Yazı tipi kontrolleri */
.kku-a11y-widget .aw-font-controls {
    padding: 1.6px 0;
}

.kku-a11y-widget .aw-font-controls__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6.4px;
    margin-bottom: 12px;
}

.kku-a11y-widget .aw-font-control-btn {
    padding: 7.68px 6.4px;
    border: 1px solid var(--aw-border);
    border-radius: 8px;
    background: var(--aw-surface);
    font-size: 0.766em;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.25;
}

.kku-a11y-widget .aw-font-control-btn:hover {
    border-color: rgba(5, 49, 112, 0.3);
    color: var(--aw-primary);
}

.kku-a11y-widget .aw-font-control-btn--selected {
    background: linear-gradient(135deg, var(--aw-primary) 0%, var(--aw-primary-dark) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(5, 49, 112, 0.22);
}

.kku-a11y-widget .aw-font-controls__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.kku-a11y-widget .aw-font-control-action {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid #334155;
    border-radius: 50%;
    background: #fff;
    color: #334155;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.kku-a11y-widget .aw-font-control-action:hover {
    background: var(--aw-primary);
    border-color: var(--aw-primary);
    color: #fff;
    transform: scale(1.05);
}

.kku-a11y-widget .aw-font-control-action svg {
    width: 18px;
    height: 18px;
}

.kku-a11y-widget .aw-font-control-slider {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 12px 0;
}

.kku-a11y-widget .aw-font-control-slider__input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    margin: 0;
    padding: 0;
    border: 1.5px solid #334155;
    border-radius: 999px;
    background: #e2e8f0;
    cursor: pointer;
    outline: none;
}

.kku-a11y-widget .aw-font-control-slider__input::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: transparent;
}

.kku-a11y-widget .aw-font-control-slider__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -7px;
    border: 1.5px solid #334155;
    border-radius: 50%;
    background: #1e293b;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.kku-a11y-widget .aw-font-control-slider__input::-moz-range-track {
    height: 6px;
    border: 1.5px solid #334155;
    border-radius: 999px;
    background: #e2e8f0;
}

.kku-a11y-widget .aw-font-control-slider__input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 1.5px solid #334155;
    border-radius: 50%;
    background: #1e293b;
    cursor: pointer;
}

.kku-a11y-widget .aw-font-control-slider__input:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(5, 49, 112, 0.35);
}

.kku-a11y-widget .aw-font-control-slider__input:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(5, 49, 112, 0.35);
}

.kku-a11y-widget .aw-font-control-slider__value {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Backdrop */
.kku-a11y-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 49, 112, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 2147482988;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.kku-a11y-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Overlay araçları (widget dışında; değişkenler burada tanımlı) */
#kku-a11y-overlays,
.kku-a11y-magnifier-lens {
    --aw-accent: var(--kku-red, #C9151B);
    --aw-primary: var(--kku-navy, #053170);
    --aw-navy: #053170;
    --aw-shadow: 0 12px 40px rgba(5, 49, 112, 0.18);
}

.kku-a11y-magnifier-lens {
    position: fixed;
    top: 12px;
    left: 0;
    width: max-content;
    max-width: min(92vw, 512px);
    min-width: 0;
    min-height: 52px;
    max-height: min(46vh, 256px);
    padding: 10.4px 16px;
    border: 3px solid var(--aw-accent, #C9151B);
    border-radius: 12px;
    background: #fff;
    pointer-events: none;
    z-index: 2147482995;
    box-shadow: 0 10px 36px rgba(5, 49, 112, 0.32);
    display: none;
    overflow: hidden;
}

.kku-a11y-magnifier-lens.has-content {
    display: block;
}

.kku-a11y-magnifier-lens__content {
    display: inline-block;
    width: auto;
    max-width: inherit;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: clamp(17.6px, 2vw, 29.6px);
    font-weight: 700;
    line-height: 1.45;
    color: #0a193c;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: left;
}

body.kku-a11y-magnifier-active {
    scroll-padding-top: 112px;
}

@media (max-width: 575.98px) {
    .kku-a11y-magnifier-lens {
        max-width: min(94vw, 512px);
        padding: 8.8px 12.8px;
        max-height: min(42vh, 208px);
    }

    .kku-a11y-magnifier-lens__content {
        font-size: clamp(16px, 4.2vw, 23.2px);
    }
}

@media (max-width: 575.98px) {
    .kku-a11y-widget {
        --aw-panel-width: min(100vw, 352px);
    }

    .kku-a11y-widget .aw-fab {
        margin-left: 13.6px;
        width: 52px;
        height: 52px;
    }

    .kku-a11y-widget .aw-feature-item--magnifier {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kku-a11y-widget .aw-panel,
    .kku-a11y-widget .aw-fab,
    .kku-a11y-backdrop,
    .kku-a11y-widget .aw-toggle-switch__switch::after,
    .kku-a11y-widget .aw-contrast-mode,
    .kku-a11y-widget .aw-button {
        transition: none;
        animation: none !important;
    }

    .kku-a11y-widget,
    .kku-a11y-toast-container {
        transition: none;
    }

    .kku-a11y-widget .aw-panel__close:hover {
        transform: none;
    }
}

/* ========== Sayfa efektleri (html kökü) ========== */

html.kku-a11y-font-tuned {
    font-size: calc(100% * var(--kku-a11y-font-size, 100) / 100);
}

html.kku-a11y-font-tuned body {
    line-height: calc(1.5 * var(--kku-a11y-line-height, 100) / 100) !important;
    letter-spacing: calc(0.02em * var(--kku-a11y-letter-spacing, 100) / 100) !important;
    word-spacing: calc(0.06em * var(--kku-a11y-word-spacing, 100) / 100) !important;
}

html.kku-a11y-dyslexia-friendly,
html.kku-a11y-dyslexia-friendly body {
    font-family: 'OpenDyslexic', 'OpenDyslexic3', 'Lexend', 'Comic Sans MS', sans-serif !important;
}

html.kku-a11y-dyslexia-friendly body {
    line-height: 1.65 !important;
    letter-spacing: 0.06em !important;
    word-spacing: 0.1em !important;
}

/* Erişilebilirlik menüsü ve yardımcı katmanlar sayfa efektlerinden muaf */
html.kku-a11y-dyslexia-friendly .kku-a11y-widget,
html.kku-a11y-dyslexia-friendly #kku-a11y-overlays,
html.kku-a11y-dyslexia-friendly .kku-a11y-toast-container,
html.kku-a11y-dyslexia-friendly .kku-a11y-magnifier-lens,
html.kku-a11y-dyslexia-friendly .kku-a11y-image-alt-tooltip,
html.kku-a11y-dyslexia-friendly .kku-a11y-backdrop,
html.kku-a11y-dyslexia-friendly .kku-a11y-live,
html.kku-a11y-font-tuned .kku-a11y-widget,
html.kku-a11y-font-tuned #kku-a11y-overlays,
html.kku-a11y-font-tuned .kku-a11y-toast-container,
html.kku-a11y-font-tuned .kku-a11y-magnifier-lens,
html.kku-a11y-font-tuned .kku-a11y-image-alt-tooltip,
html.kku-a11y-font-tuned .kku-a11y-backdrop,
html.kku-a11y-font-tuned .kku-a11y-live {
    font-family: 'Roboto', system-ui, sans-serif !important;
    font-size: 14px !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

html.kku-a11y-font-tuned .kku-a11y-toast {
    font-size: 14px !important;
}

html.kku-a11y-font-tuned .kku-a11y-magnifier-lens__content {
    font-size: clamp(17.6px, 2vw, 29.6px) !important;
}

html.kku-a11y-font-tuned .kku-a11y-image-alt-tooltip {
    font-size: 12.8px !important;
}

@media (max-width: 575.98px) {
    html.kku-a11y-font-tuned .kku-a11y-magnifier-lens__content {
        font-size: clamp(16px, 4.2vw, 23.2px) !important;
    }

    html.kku-a11y-font-tuned .kku-a11y-toast {
        font-size: 13px !important;
    }
}

html.kku-a11y-contrast-monochrome {
    filter: grayscale(1);
}

html.kku-a11y-contrast-monochrome .kku-a11y-widget,
html.kku-a11y-contrast-high-bright .kku-a11y-widget,
html.kku-a11y-contrast-high-dark .kku-a11y-widget,
html.kku-a11y-contrast-monochrome #kku-a11y-overlays,
html.kku-a11y-contrast-high-bright #kku-a11y-overlays,
html.kku-a11y-contrast-high-dark #kku-a11y-overlays,
html.kku-a11y-contrast-monochrome .kku-a11y-toast-container,
html.kku-a11y-contrast-high-bright .kku-a11y-toast-container,
html.kku-a11y-contrast-high-dark .kku-a11y-toast-container,
html.kku-a11y-contrast-monochrome .kku-a11y-magnifier-lens,
html.kku-a11y-contrast-high-bright .kku-a11y-magnifier-lens,
html.kku-a11y-contrast-high-dark .kku-a11y-magnifier-lens,
html.kku-a11y-contrast-monochrome .kku-a11y-image-alt-tooltip,
html.kku-a11y-contrast-high-bright .kku-a11y-image-alt-tooltip,
html.kku-a11y-contrast-high-dark .kku-a11y-image-alt-tooltip {
    filter: none;
}

html.kku-a11y-contrast-high-bright {
    filter: contrast(1.4) brightness(1.08);
}

html.kku-a11y-contrast-high-dark {
    filter: contrast(1.35) brightness(0.85);
}

html.kku-a11y-highlight-links a:not(.kku-a11y-widget a):not(.kku-a11y-skip-link) {
    outline: 2px solid var(--kku-red, #C9151B) !important;
    text-decoration: underline !important;
    background: rgba(201, 21, 27, 0.15) !important;
}

html.kku-a11y-highlight-headings h1:not(.kku-a11y-widget h1),
html.kku-a11y-highlight-headings h2:not(.kku-a11y-widget h2),
html.kku-a11y-highlight-headings h3:not(.kku-a11y-widget h3),
html.kku-a11y-highlight-headings h4:not(.kku-a11y-widget h4),
html.kku-a11y-highlight-headings h5:not(.kku-a11y-widget h5),
html.kku-a11y-highlight-headings h6:not(.kku-a11y-widget h6) {
    outline: 3px solid var(--kku-navy, #053170) !important;
    background: rgba(201, 21, 27, 0.2) !important;
}

html.kku-a11y-highlight-buttons button:not(.kku-a11y-widget button),
html.kku-a11y-highlight-buttons .btn:not(.kku-a11y-widget .btn),
html.kku-a11y-highlight-buttons [role="button"]:not(.kku-a11y-widget [role="button"]),
html.kku-a11y-highlight-buttons input[type="submit"]:not(.kku-a11y-widget input),
html.kku-a11y-highlight-buttons input[type="button"]:not(.kku-a11y-widget input),
html.kku-a11y-highlight-buttons a.btn:not(.kku-a11y-widget a) {
    outline: 3px solid var(--kku-navy, #053170) !important;
    box-shadow: 0 0 0 4px rgba(201, 21, 27, 0.5) !important;
}

html.kku-a11y-enlarge-buttons button:not(.kku-a11y-widget button),
html.kku-a11y-enlarge-buttons .btn:not(.kku-a11y-widget .btn),
html.kku-a11y-enlarge-buttons [role="button"]:not(.kku-a11y-widget [role="button"]),
html.kku-a11y-enlarge-buttons input[type="submit"]:not(.kku-a11y-widget input),
html.kku-a11y-enlarge-buttons input[type="button"]:not(.kku-a11y-widget input),
html.kku-a11y-enlarge-buttons a.btn:not(.kku-a11y-widget a) {
    min-height: 2.75rem !important;
    min-width: 2.75rem !important;
    padding: 0.65rem 1rem !important;
    font-size: 1.05em !important;
    line-height: 1.35 !important;
}

html.kku-a11y-readable-mode {
    scroll-padding-top: 0 !important;
}

html.kku-a11y-readable-mode .site-header,
html.kku-a11y-readable-mode .site-footer,
html.kku-a11y-readable-mode footer.site-footer,
html.kku-a11y-readable-mode footer.footer,
html.kku-a11y-readable-mode #mainNavbar,
html.kku-a11y-readable-mode .scroll-nav-wrapper,
html.kku-a11y-readable-mode .su-navbar__fast-menu-btn-wrap,
html.kku-a11y-readable-mode .su-navbar__mobile-fast-menu,
html.kku-a11y-readable-mode #fastMenuPanel,
html.kku-a11y-readable-mode .su-fastmenu-modal,
html.kku-a11y-readable-mode #kku-ai-asistan-konteynir {
    display: none !important;
}

html.kku-a11y-readable-mode .site-header,
html.kku-a11y-readable-mode .site-footer,
html.kku-a11y-readable-mode footer.footer,
html.kku-a11y-readable-mode #mainNavbar {
    padding: 0 !important;
    margin: 0 !important;
}

html.kku-a11y-readable-mode .site-container,
html.kku-a11y-readable-mode .inner-page-content,
html.kku-a11y-readable-mode #main-content.main-content,
html.kku-a11y-readable-mode #main-content,
html.kku-a11y-readable-mode .inner-page-content,
html.kku-a11y-readable-mode .main-content {
    padding-top: 0 !important;
}

html.kku-a11y-readable-mode #main-content,
html.kku-a11y-readable-mode .inner-page-content,
html.kku-a11y-readable-mode .main-content {
    max-width: 48rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-bottom: 0 !important;
}

html.kku-a11y-big-cursor,
html.kku-a11y-big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath fill='%231c458b' d='M4 4 L4 24 L12 18 L16 28 L20 26 L16 16 L26 16 Z'/%3E%3C/svg%3E") 4 4, auto !important;
}

html.kku-a11y-big-cursor .kku-a11y-widget,
html.kku-a11y-big-cursor .kku-a11y-widget * {
    cursor: auto !important;
}

html.kku-a11y-big-cursor .kku-a11y-widget button,
html.kku-a11y-big-cursor .kku-a11y-widget [role="button"],
html.kku-a11y-big-cursor .kku-a11y-widget a,
html.kku-a11y-big-cursor .kku-a11y-widget [data-action],
html.kku-a11y-big-cursor .kku-a11y-widget .aw-toggle-switch {
    cursor: pointer !important;
}

html.kku-a11y-image-descriptions #main-content img:not(.kku-a11y-widget img),
html.kku-a11y-image-descriptions main img:not(.kku-a11y-widget img) {
    outline: 2px solid var(--kku-navy, #053170);
    outline-offset: 2px;
}

html.kku-a11y-image-descriptions #main-content img:not(.kku-a11y-widget img):focus-visible,
html.kku-a11y-image-descriptions main img:not(.kku-a11y-widget img):focus-visible {
    outline: 3px solid var(--kku-red, #C9151B);
    outline-offset: 3px;
}

html.kku-a11y-media-muted iframe[data-kku-a11y-media-embed]:not(.kku-a11y-widget iframe) {
    pointer-events: none;
}

.kku-a11y-image-alt-tooltip {
    position: fixed;
    max-width: min(90vw, 256px);
    padding: 6.4px 9.6px;
    background: var(--kku-navy, #053170);
    color: #fff;
    font-size: 12.8px;
    line-height: 1.35;
    border-radius: 8px;
    border: 2px solid var(--kku-red, #C9151B);
    box-shadow: 0 6px 20px rgba(5, 49, 112, 0.35);
    z-index: 2147482997;
    pointer-events: none;
    display: none;
}

.kku-a11y-image-alt-tooltip.is-visible {
    display: block;
}

.kku-a11y-image-alt-tooltip--missing {
    background: #475569;
    border-color: #94a3b8;
    font-style: italic;
}
