/* ============================================
   YASAL SAYFALAR — yasal.css
   ============================================ */

.yasal-wrap {
    padding: 60px 0 80px;
    background: #f8fafc;
    min-height: 70vh;
}

/* Sekme Navigasyonu */
.yasal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0;
}

.yasal-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 20px;
    border-radius: 10px 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -1px;
    transition: all 0.2s;
    background: transparent;
}

.yasal-tab:hover {
    color: #1a6ede;
    background: #fff;
    border-color: #e2e8f0;
}

.yasal-tab.active {
    color: #1a6ede;
    background: #fff;
    border-color: #e2e8f0;
    border-bottom-color: #fff;
}

.yasal-tab i {
    font-size: 13px;
    opacity: 0.85;
}

/* İçerik Kutusu */
.yasal-content {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 48px 56px;
    max-width: 860px;
}

.yasal-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.yasal-updated {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 36px;
}

/* Bölümler */
.yasal-content section {
    margin-bottom: 32px;
}

.yasal-content section:last-child {
    margin-bottom: 0;
}

.yasal-content h2 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

.yasal-content p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 10px;
}

.yasal-content ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.yasal-content ul li {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 4px;
}

.yasal-content a {
    color: #1a6ede;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.yasal-content a:hover {
    color: #1558b0;
}

/* Tablo */
.yasal-table-wrap {
    overflow-x: auto;
    margin: 10px 0;
}

.yasal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.yasal-table th {
    background: #f8fafc;
    color: #374151;
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.yasal-table td {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    color: #475569;
    vertical-align: top;
}

.yasal-table tr:nth-child(even) td {
    background: #f8fafc;
}

/* Responsive */
@media (max-width: 767px) {
    .yasal-wrap {
        padding: 32px 0 56px;
    }

    .yasal-content {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .yasal-title {
        font-size: 22px;
    }

    .yasal-tabs {
        gap: 4px;
    }

    .yasal-tab {
        font-size: 12.5px;
        padding: 9px 12px;
    }

    .yasal-tab span {
        display: none;
    }
}
