/* ESS İçerik Stilleri — Tüm rehber ve ceza makaleleri için ortak */

:root {
            --primary: #1e3a5f;
            --primary-light: #2d5a87;
            --secondary: #c0392b;
            --accent: #27ae60;
            --accent-light: #2ecc71;
            --warning: #f39c12;
            --warning-bg: #fef9e7;
            --info: #3498db;
            --info-bg: #ebf5fb;
            --success-bg: #e8f8f5;
            --danger-bg: #fdedec;
            --text: #2c3e50;
            --text-light: #5d6d7e;
            --text-muted: #7f8c8d;
            --bg: #ffffff;
            --bg-alt: #f8f9fa;
            --border: #e5e8eb;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            font-family: 'Open Sans', sans-serif;
            font-size: 17px;
            line-height: 1.8;
            color: var(--text);
            background: var(--bg);
        }

        .page-header {
            background: var(--bg);
            padding: 2.5rem 1.5rem 1.5rem;
            text-align: center;
            border-bottom: 1px solid var(--border);
        }

        .page-header-content { max-width: 850px; margin: 0 auto; }

        .page-header h1 {
            font-family: 'Merriweather', serif;
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            font-weight: 900;
            margin-bottom: 1rem;
            line-height: 1.3;
            color: var(--primary);
        }

        .page-header .subtitle {
            font-size: 1.1rem;
            color: var(--text-light);
            max-width: 650px;
            margin: 0 auto 1rem;
        }

        .badge {
            display: inline-block;
            background: var(--accent);
            color: white;
            padding: 0.4rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .last-updated {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }

        .last-updated a { color: var(--primary); }

        .container { max-width: 850px; margin: 0 auto; padding: 0 1.25rem; }
        .main-content { padding: 2.5rem 0; }

        .toc {
            background: var(--bg-alt);
            border: 1px solid var(--border);
            border-left: 4px solid var(--primary);
            border-radius: 8px;
            padding: 1.75rem;
            margin-bottom: 3rem;
        }

        .toc h2 {
            font-family: 'Merriweather', serif;
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 1rem;
            border: none;
            padding: 0;
        }

        .toc-list {
            list-style: none;
            counter-reset: toc;
            columns: 1;
        }

        @media (min-width: 600px) {
            .toc-list { columns: 2; column-gap: 2rem; }
        }

        .toc-list li {
            counter-increment: toc;
            break-inside: avoid;
            margin-bottom: 0.5rem;
        }

        .toc-list a {
            display: block;
            padding: 0.6rem 0.75rem;
            color: var(--text);
            text-decoration: none;
            border-radius: 6px;
            transition: all 0.2s;
            font-size: 0.95rem;
        }

        .toc-list a::before {
            content: counter(toc) ". ";
            font-weight: 700;
            color: var(--primary);
        }

        .toc-list a:hover {
            background: white;
            color: var(--primary);
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .section {
            margin-bottom: 3.5rem;
            scroll-margin-top: 1.5rem;
        }

        h2 {
            font-family: 'Merriweather', serif;
            font-size: 1.6rem;
            color: var(--primary);
            margin-bottom: 1.25rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary);
        }

        h3 {
            font-family: 'Merriweather', serif;
            font-size: 1.25rem;
            color: var(--primary-light);
            margin: 2rem 0 1rem;
            padding-left: 0.75rem;
            border-left: 3px solid var(--accent);
        }

        h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
            margin: 1.5rem 0 0.75rem;
        }

        p { margin-bottom: 1.25rem; color: var(--text-light); }
        p strong { color: var(--text); }

        ul, ol { margin: 1rem 0 1.5rem 1.25rem; }
        li { margin-bottom: 0.6rem; color: var(--text-light); }
        li strong { color: var(--text); }

        a { color: var(--primary); }

        .info-box {
            padding: 1.25rem 1.25rem 1.25rem 3.5rem;
            border-radius: 8px;
            margin: 1.5rem 0;
            position: relative;
        }

        .info-box::before {
            position: absolute;
            left: 1rem;
            top: 1.25rem;
            font-size: 1.4rem;
        }

        .info-box strong { display: block; margin-bottom: 0.4rem; }
        .info-box p { margin: 0; font-size: 0.95rem; }

        .info-box.tip { background: var(--info-bg); border: 1px solid #aed6f1; }
        .info-box.tip::before { content: '💡'; }
        .info-box.tip strong { color: var(--info); }

        .info-box.warning { background: var(--warning-bg); border: 1px solid #f9e79f; }
        .info-box.warning::before { content: '⚠️'; }
        .info-box.warning strong { color: #b7950b; }

        .info-box.success { background: var(--success-bg); border: 1px solid #a9dfbf; }
        .info-box.success::before { content: '✅'; }
        .info-box.success strong { color: var(--accent); }

        .info-box.danger { background: var(--danger-bg); border: 1px solid #f5b7b1; }
        .info-box.danger::before { content: '🚨'; }
        .info-box.danger strong { color: var(--secondary); }

        .table-wrapper {
            overflow-x: auto;
            margin: 1.5rem 0;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        table { width: 100%; border-collapse: collapse; background: white; }

        thead {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
        }

        th {
            padding: 0.9rem 1rem;
            text-align: left;
            font-weight: 600;
            font-size: 0.9rem;
        }

        td {
            padding: 0.9rem 1rem;
            border-bottom: 1px solid var(--border);
        }

        tbody tr:hover { background: var(--bg-alt); }
        .total-row { background: var(--success-bg) !important; font-weight: 700; }
        .total-row td { color: var(--accent); }

        .steps {
            list-style: none;
            margin-left: 0;
            counter-reset: step;
        }

        .steps li {
            counter-increment: step;
            padding: 1.25rem 1.25rem 1.25rem 4rem;
            background: white;
            border: 1px solid var(--border);
            border-radius: 8px;
            margin-bottom: 0.75rem;
            position: relative;
        }

        .steps li::before {
            content: counter(step);
            position: absolute;
            left: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            width: 2.25rem;
            height: 2.25rem;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
        }

        .channel-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .channel-card {
            background: white;
            border: 2px solid var(--border);
            border-radius: 10px;
            padding: 1.25rem;
            text-align: center;
            transition: all 0.2s;
        }

        .channel-card:hover {
            border-color: var(--primary);
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .channel-card .icon { font-size: 2rem; margin-bottom: 0.5rem; }
        .channel-card h4 { margin: 0 0 0.25rem; font-size: 0.95rem; }
        .channel-card p { font-size: 0.85rem; margin: 0; color: var(--text-muted); }

        .faq-item {
            background: white;
            border: 1px solid var(--border);
            border-radius: 8px;
            margin-bottom: 0.75rem;
            overflow: hidden;
        }

        .faq-question {
            padding: 1rem 1.25rem;
            font-weight: 700;
            color: var(--primary);
            background: var(--bg-alt);
        }

        .faq-answer {
            padding: 1rem 1.25rem;
            color: var(--text-light);
            font-size: 0.95rem;
        }

        .faq-answer p { margin: 0; }

        .highlight-box {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            padding: 1.75rem;
            border-radius: 12px;
            margin: 2rem 0;
        }

        .highlight-box h3 { color: white; border: none; padding: 0; margin: 0 0 1rem; font-size: 1.3rem; }
        .highlight-box strong { color: #fff; }
        .highlight-box ul { margin: 0; list-style: none; padding: 0; }
        .highlight-box li { color: rgba(255,255,255,0.95); padding: 0.4rem 0 0.4rem 1.5rem; position: relative; }
        .highlight-box li::before { content: '→'; position: absolute; left: 0; color: var(--accent-light); }

        .sevk-item {
            background: white;
            border-left: 4px solid var(--info);
            padding: 1rem 1.25rem;
            margin-bottom: 1rem;
            border-radius: 0 6px 6px 0;
            box-shadow: 0 2px 6px rgba(0,0,0,0.06);
        }

        .sevk-item h4 { color: var(--primary); margin: 0 0 0.5rem; font-size: 1rem; }
        .sevk-item p { margin: 0; font-size: 0.95rem; }

        .red-item {
            background: white;
            border-left: 4px solid var(--secondary);
            padding: 1rem 1.25rem;
            margin-bottom: 1rem;
            border-radius: 0 6px 6px 0;
            box-shadow: 0 2px 6px rgba(0,0,0,0.06);
        }

        .red-item h4 { color: var(--secondary); margin: 0 0 0.5rem; font-size: 1rem; }
        .red-item p { margin: 0; font-size: 0.95rem; }

        .back-to-top {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 0.5rem 1rem;
            background: var(--bg-alt);
            border-radius: 50px;
            margin-top: 1.5rem;
            transition: all 0.2s;
        }

        .back-to-top:hover { background: var(--primary); color: white; }

        .related-links {
            background: var(--bg-alt);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.75rem;
            margin: 2.5rem 0;
        }

        .related-links h3 { border: none; padding: 0; margin: 0 0 1rem; }

        .related-links ul { list-style: none; margin: 0; padding: 0; }
        .related-links li { margin-bottom: 0.5rem; }
        .related-links a { text-decoration: none; font-weight: 600; }
        .related-links a:hover { text-decoration: underline; }

        .footer {
            background: var(--bg-alt);
            border-top: 1px solid var(--border);
            padding: 2rem 1.5rem;
            text-align: center;
            margin-top: 3rem;
        }

        .footer p { color: var(--text-muted); font-size: 0.9rem; margin: 0.4rem 0; }
        .footer a { color: var(--primary); }

        @media (max-width: 600px) {
            body { font-size: 16px; }
            h2 { font-size: 1.4rem; }
            h3 { font-size: 1.15rem; }
            .steps li { padding-left: 3.5rem; }
        }