/* Çok dilli yasal sayfalar (/legal/<dil>/…) — legal.css'in üstüne eklenir.
   Eski Türkçe sayfalar bu dosyayı yüklemez; görünümleri değişmez. */

.legal-i18n a.logo {
    text-decoration: none;
    color: inherit;
}

.legal-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.legal-languages a {
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.legal-languages a:hover {
    border-color: #6366f1;
    color: #4f46e5;
}

.legal-languages a.is-current {
    background: #6366f1;
    border-color: #6366f1;
    color: #ffffff;
}

.legal-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.legal-toc {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 3rem;
}

.legal-toc-title {
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.legal-toc ol {
    padding-left: 1.25rem;
    columns: 2;
    column-gap: 2rem;
}

.legal-toc li {
    margin-bottom: 0.25rem;
    break-inside: avoid;
}

.legal-toc a {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9375rem;
}

.legal-toc a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.legal-summary {
    border-left: 4px solid #6366f1;
    background: #eef2ff;
    border-radius: 0 0.75rem 0.75rem 0;
    padding: 1rem 1.25rem;
    margin: 1rem 0 1.5rem;
}

.legal-summary p {
    margin: 0;
    color: #312e81;
    text-align: left;
}

.legal-table {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.legal-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    min-width: 520px;
}

.legal-table th,
.legal-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.legal-table th {
    color: #1d1d1f;
    font-weight: 600;
    background: #f9fafb;
}

.legal-section h3 {
    scroll-margin-top: 6rem;
}

.legal-section {
    scroll-margin-top: 6rem;
}

.legal-hub ul,
.legal-root {
    list-style: none;
    padding: 0;
}

.legal-hub li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.legal-hub a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 1.125rem;
}

.legal-hub a:hover {
    color: #4f46e5;
}

.legal-hub span {
    color: #6b7280;
    font-size: 0.9375rem;
}

.legal-root li {
    padding: 0.5rem 0;
}

@media (max-width: 768px) {
    .legal-toc ol {
        columns: 1;
    }
}
