    /* RENK VE DEĞİŞKENLER */
    :root { 
        --p: #2563eb;       /* Primary Blue */
        --p-dark: #1e40af;  /* Dark Blue */
        --accent: #f59e0b;  /* Orange Accent */
        --t: #1e293b;       /* Dark Text */
        --t-light: #64748b; /* Light Text */
        --bg: #f8fafc;      /* Background */
        --site-width: 1100px;
        --header-height: 74px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
    body { background-color: var(--bg); font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--t); line-height: 1.6; margin: 0; }
    
    /* LAYOUT */
    .container { max-width: var(--site-width); margin: 0 auto; padding: 0 5px; width: 100%; height: 100%; }
    
    /* ================= HEADER TASARIMI ================= */
    .site-header { 
        background: #0f172a; height: var(--header-height); 
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); 
        border-bottom: 1px solid #e2e8f0;
        position: sticky; top: 0; z-index: 1000;
    }

    .header-inner { 
        display: flex; justify-content: space-between; align-items: center; 
        height: 100%; 
    }
    
    /* LOGO */
    .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; user-select: none; }
    .logo-icon { 
        background: #c47831; 
        color: #fff; width: 38px; height: 38px; 
        display: flex; align-items: center; justify-content: center; 
        border-radius: 10px; font-family: sans-serif; font-weight: 800; font-size: 1.3rem;
        box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    }
    .logo-text { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
    .logo-main { font-weight: 900; font-size: 1.3rem; color: #fff; letter-spacing: -0.5px; }
    .logo-main span { color: var(--p); }
    .logo-sub { font-size: 0.65rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 2px; }

    /* DESKTOP NAV */
    .desktop-nav { display: flex; gap: 5px; height: 100%; align-items: center; }
    .nav-item { position: relative; height: 100%; display: flex; align-items: center; }
    .nav-link { 
        text-decoration: none; color: #fff; font-weight: 600; font-size: 0.95rem; 
        padding: 8px 14px; border-radius: 8px; display: flex; align-items: center; gap: 6px; 
        transition: all 0.2s; 
    }
    .nav-link:hover, .nav-item:hover .nav-link { color: var(--p); background: #eff6ff; }
    
    .nav-arrow { width: 10px; height: 10px; opacity: 0.6; transition: transform 0.2s; }
    .nav-item:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

    /* DROPDOWN */
    .dropdown {
        position: absolute; top: calc(100% - 5px); left: 0; 
        background: #fff; min-width: 300px; 
        border: 1px solid #e2e8f0; border-radius: 12px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        opacity: 0; visibility: hidden; transform: translateY(10px);
        transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 8px; z-index: 100;
    }
    .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
    
    .dropdown a { 
        display: flex; align-items: center; padding: 10px 14px; 
        text-decoration: none; color: var(--t-light); font-size: 0.9rem; font-weight: 500;
        border-radius: 8px; transition: all 0.1s;
    }
    .dropdown a:hover { background: #f8fafc; color: var(--p); transform: translateX(3px); }

    /* MOBILE TOGGLE */
    .mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: #fff; }
    .hamburger { width: 24px; height: 2px; background: currentColor; position: relative; display: block; transition: 0.3s; }
    .hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: 0.3s; }
    .hamburger::before { top: -7px; }
    .hamburger::after { top: 7px; }

    /* MOBILE MENU OVERLAY */
    .mobile-menu-overlay {
        position: fixed; top: var(--header-height); left: 0; width: 100%; height: calc(100vh - var(--header-height));
        background: #fff; z-index: 999;
        transform: translateX(100%); transition: transform 0.3s ease;
        overflow-y: auto; padding-bottom: 40px;
    }
    .mobile-menu-overlay.active { transform: translateX(0); }

    /* MOBILE ACCORDION */
    .mob-list { list-style: none; padding: 0; margin: 0; }
    .mob-item { border-bottom: 1px solid #f1f5f9; }
    .mob-link-wrap { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; cursor: pointer; user-select: none; }
    .mob-link { font-weight: 700; font-size: 1.05rem; color: var(--t); }
    .mob-arrow { transition: transform 0.3s; color: var(--t-light); }
    .mob-item.open .mob-arrow { transform: rotate(180deg); color: var(--p); }
    .mob-dropdown { display: none; background: #f8fafc; padding: 10px 24px 20px 24px; }
    .mob-item.open .mob-dropdown { display: block; }
    .mob-sub-link { display: block; padding: 10px 0; border-bottom: 1px dashed #e2e8f0; text-decoration: none; color: var(--t-light); font-size: 0.95rem; font-weight: 500; }
    .mob-sub-link:hover { color: var(--p); }

    /* RESPONSIVE */
    @media (max-width: 992px) {
        .desktop-nav { display: none; }
        .mobile-toggle { display: block; }
    }
	
/* HEADER BUTONLARI */
.nav-cta {
    background: var(--p);
    color: #fff !important; /* Link rengini ezmek için */
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.nav-cta:hover {
    color: #000 !important;
}

/* Mobilde Sınav Oluştur Butonu */
.mob-cta {
    background: #f0f9ff;
    border-left: 5px solid var(--p);
}
.mob-cta .mob-link {
    color: var(--p);
    font-weight: 800;
}
	

    /* FOOTER TASARIMI */
    .site-footer {
        background-color: #0f172a; /* Koyu Lacivert (Slate 900) */
        color: #94a3b8;            /* Açık Gri Metin */
        padding-top: 30px;
        margin-top: auto;          /* Sayfa kısaysa en alta it */
        font-size: 0.95rem;
        border-top: 4px solid var(--p); /* Üstüne marka renginde çizgi */
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr; /* 1. sütun geniş, diğerleri eşit */
        gap: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #1e293b;
    }

    /* Footer Logo */
    .f-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        margin-bottom: 15px;
    }
    .f-logo-icon {
        background: var(--p);
        color: #fff;
        width: 36px; height: 36px;
        display: flex; align-items: center; justify-content: center;
        border-radius: 8px;
        font-weight: 800; font-family: sans-serif;
    }
    .f-logo-text {
        font-size: 1.4rem;
        font-weight: 800;
        color: #fff;
        letter-spacing: -0.5px;
    }
    .f-desc {
        line-height: 1.6;
        margin-bottom: 20px;
    }

    /* Başlıklar ve Linkler */
    .f-title {
        color: #fff;
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 20px;
        display: block;
    }
    
    .f-links {
        list-style: none;
        padding: 0; margin: 0;
    }
    
    .f-links li {
        margin-bottom: 12px;
    }
    
    .f-link {
        color: #94a3b8;
        text-decoration: none;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    
    .f-link:hover {
        color: var(--p); /* Hoverda ana renk */
        transform: translateX(5px);
    }

    /* Alt Telif Kısmı */
    .footer-bottom {
        padding: 15px 0;
        text-align: center;
        font-size: 0.85rem;
        color: #9FB1B7;
    }
    
    .footer-bottom strong {
        color: #fff;
    }

    /* Mobil Ayarlar */
    @media (max-width: 768px) {
        .footer-grid {
            grid-template-columns: 1fr; /* Mobilde tek sütun */
            gap: 30px;
            text-align: center;
        }
        .f-logo { justify-content: center; }
        .f-desc { margin: 0 auto 20px auto; }
        /* Linkleri mobilde ortala */
        .f-links { display: flex; flex-direction: column; align-items: center; }
    }

    /* CLS & WRAPPER (SENİN ESKİ KODUN KORUNDU) */
    .main-wrapper { 
        background: #fff; max-width: var(--site-width); margin: 15px auto;padding:5px; 
        border: 1px solid #e5e7eb; border-radius: 15px; overflow: hidden; min-height: 400px;
    }
    .breadcrumb { 
        height: 54px !important; line-height: 54px !important; padding: 0 25px; 
        background: #fdfdfd; border-bottom: 1px solid #f0f0f0; 
        font-size: 0.85rem; color: #6b7280; 
        display: block !important; white-space: nowrap !important; 
        overflow: hidden !important; text-overflow: ellipsis !important;
    }
    .breadcrumb a { text-decoration: none; color: var(--p); font-weight: 600; }
    .breadcrumb .sep { margin: 0 8px; color: #cbd5e1; }
    @media (max-width: 768px) { 
        .main-wrapper { margin: 5px; border-radius: 12px;padding:5px; }
        .breadcrumb { overflow-x: auto !important; }
    }
	

    .hero-section { 
        padding: 30px 10px 20px; 
        text-align: center; 
        margin: 0 auto; 
    }
    .hero-section h1 { 
        font-size: 2.5rem; 
        letter-spacing: -1px; 
        color: var(--t); 
        line-height: 1.1; 
        margin-bottom: 15px; 
        font-weight: 800; 
    }
    .hero-section p { 
        color: #64748b; 
        font-size: 1.2rem; 
        line-height: 1.6; 
    }
    
    /* Grid Layout */
    .class-grid { 
        display: grid; 
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
        gap: 25px; 
        margin: 20px 0 0px;
    }
    
    /* Kart Tasarımı */
    .class-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        padding: 30px;
        text-decoration: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
        position: relative;
    }
    .class-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        border-color: var(--p);
    }
    .class-card h2 { 
        font-size: 1.4rem; 
        color: var(--t); 
        margin-bottom: 10px; 
        font-weight: 700; 
    }
    .class-card p { 
        color: #64748b; 
        font-size: 1rem; 
        line-height: 1.5; 
        margin-bottom: 20px; 
        flex-grow: 1; /* Alt kısmı eşitler */
    }
    .class-card .action {
        color: var(--p);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.95rem;
    }
    
    /* Mobil Uyum */
    @media (max-width: 768px) {
        .hero-section { padding: 20px 10px 20px; }
        .hero-section h1 { font-size: 1.8rem; }
        .class-grid { grid-template-columns: 1fr; gap: 20px; }
    }
	


    /* BÖLÜM BAŞLIKLARI */
    .section-title { 
        font-size: 1.5rem; 
        font-weight: 800; 
        margin-bottom: 25px; 
        color: #1e293b; 
        display: flex; 
        align-items: center; 
        gap: 10px; 
    }
    .section-title::before { 
        content: ''; width: 6px; height: 24px; background: var(--p); border-radius: 4px; 
    }

    /* SINAV IZGARASI (Özel İstek: Kesinlikle 2 Sütun) */
    .exam-grid { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); /* Burası 2'li kilitlendi */
        gap: 20px; 
        margin-bottom: 20px;
    }

    .exam-card { 
        background: #fff; 
        border: 1px solid #eef2f6; 
        border-radius: 16px; 
        padding: 25px; 
        text-decoration: none; 
        color: inherit; 
        transition: transform 0.2s, box-shadow 0.2s;
        border-top: 5px solid var(--p);
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
    }
    .exam-card:hover { 
        transform: translateY(-5px); 
        box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
        border-color: var(--p); 
    }
    .exam-card h3 { 
        font-size: 1.15rem; 
        font-weight: 800; 
        color: #1e293b; 
        margin-bottom: 8px;
        line-height: 1.4; 
        height: 1.4em;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .exam-card p { 
        font-size: 0.85rem; 
        color: #64748b; 
        font-weight: 600; 
        margin-top: auto;
    }

    /* ÜNİTE IZGARASI (Otomatik Sütun) */
    .units-grid { 
        display: grid; 
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); 
        gap: 20px; 
        margin-bottom: 25px;
    }
    .unit-card { 
        background: #fff; 
        border: 1px solid #eef2f6; 
        border-radius: 16px; 
        padding: 20px; 
        text-decoration: none; 
        color: inherit; 
        transition: transform 0.2s;
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
    }
    .unit-card:hover { border-color: var(--p); transform: translateY(-3px); }
    
    .unit-no { 
        font-size: 0.7rem; font-weight: 900; color: var(--p); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px;
    }
    .unit-name { 
        font-size: 1.1rem; 
        font-weight: 700; 
        color: #334155;
        margin-bottom: 10px;
        line-height: 1.3;
        height: 2.6em; 
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .unit-action { margin-top: auto; font-size: 0.85rem; color: #64748b; }

    /* MOBİL AYARLAR */
    @media (max-width: 768px) {
        /* Mobilde sınavlar tek sütun */
        .exam-grid { grid-template-columns: 1fr; }
        .units-grid { grid-template-columns: 1fr; }
    }

    
    /* Üst Bölüm: Ünite Testleri */
    .unit-tests-section { margin-bottom: 40px; }
    .test-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 20px; }
    .test-card { 
        display: flex; justify-content: space-between; align-items: center; 
        padding: 16px 10px 16px 16px; background: #fff; border: 1px solid #eef2f6; border-radius: 16px;
        text-decoration: none; color: #1e293b; transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }
    .test-card:hover { 
        border-color: var(--p); transform: translateY(-5px); 
        box-shadow: 0 12px 20px -5px rgba(0,0,0,0.1); 
    }
    .test-info h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; }
    .test-type { font-size: 0.7rem; font-weight: 800; color: var(--p); text-transform: uppercase; letter-spacing: 0.5px; }
    .test-card:hover .icon-box { background: var(--p); color: #fff; }

    /* İkon */
    .icon-box {margin-left:6px;
        width: 35px; height: 40px; background: #f8fafc; border-radius: 10px;
        display: flex; align-items: center; justify-content: center; color: var(--p);
    }

.aciklama {padding: 10px; margin-bottom: 20px;}

.aciklama p {
    margin-bottom: 18px;
}

.aciklama ul,
.aciklama ol {
    padding-left: 25px;
    margin-bottom: 18px;
}

.aciklama li {
    margin-bottom: 8px;
}

.aciklama b,
.aciklama strong {
    color: #000;
    font-weight: bold;
}

.aciklama h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 25px 0 15px;
    color: #212529;
    border-left: 5px solid #17a2b8;
    padding-left: 10px;
}

.aciklama h3 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    color: #343a40;
}

.aciklama h4,
.aciklama h5,
.aciklama h6 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 18px;
    color: #495057;
}

/* --- Şık Table CSS Başlangıcı --- */

/* Tablo Genel Yapısı */
.aciklama table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95em;
    min-width: 400px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05); /* Hafif gölge */
    border-radius: 5px 5px 0 0; /* Köşeleri yumuşatma */
    overflow: hidden; /* Köşelerin görünmesi için */
}

/* Tablo Başlıkları (Header) */
.aciklama thead tr {
    background-color: #17a2b8; /* H2 başlığınızdaki turkuaz renk ile uyumlu */
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.aciklama th,
.aciklama td {
    padding: 12px 15px;
    border-bottom: 1px solid #dddddd;
}

/* Satırlar ve Zebra Efekti */
.aciklama tbody tr {
    transition: all 0.2s ease;
}

.aciklama tbody tr:nth-of-type(even) {
    background-color: #f8f9fa; /* Okumayı kolaylaştıran açık gri */
}

.aciklama tbody tr:last-of-type {
    border-bottom: 2px solid #17a2b8; /* Tablo bitiş çizgisi */
}

/* Hover (Üzerine gelince) Efekti */
.aciklama tbody tr:hover {
    background-color: #e9ecef;
    color: #17a2b8; /* Yazı rengini hafifçe değiştirir */
    cursor: default;
}

.table-responsive {
    overflow-x: auto;
}

/* --- Şık Table CSS Bitişi --- */

/* --- Modern Blockquote CSS Başlangıcı --- */
.aciklama blockquote {
    /* Hafif turkuaz/gri karışımı arka plan */
    background-color: #f1fcfd; 
    
    /* Sol tarafta kalın vurgu çizgisi (H2 rengiyle aynı) */
    border-left: 6px solid #17a2b8; 
    
    /* Kenar boşlukları */
    margin: 30px 0; 
    padding: 20px 25px;
    
    /* Yazı Tipi Ayarları */
    font-style: italic;
    color: #555; /* Okumayı yormayan koyu gri */
    font-size: 1.05em;
    line-height: 1.6;
    
    /* Modern Dokunuşlar */
    border-radius: 0 8px 8px 0; /* Sadece sağ köşeleri yuvarla */
    box-shadow: 0 3px 10px rgba(23, 162, 184, 0.1); /* Hafif turkuaz gölge */
    position: relative;
}

/* Blockquote içindeki son paragrafın alt boşluğunu sıfırla */
.aciklama blockquote p:last-child {
    margin-bottom: 0;
}

/* İsteğe bağlı: Sol üst köşeye süsleme tırnak işareti */
.aciklama blockquote::before {
    content: "\201C"; /* Sol tırnak işareti */
    font-family: Georgia, serif;
    font-size: 60px;
    color: #17a2b8;
    opacity: 0.15; /* Çok silik dursun */
    position: absolute;
    top: -15px;
    left: 10px;
    line-height: 1;
    pointer-events: none; /* Yazının seçilmesini engellemez */
}
/* --- Modern Blockquote CSS Bitişi --- */

.tag-cloud {margin-left: auto; margin-right: auto; }
.tag-item {padding: 8px 16px;background: #fff;color: #334155;border: 1px solid #e2e8f0;border-radius: 8px;text-decoration: none;font-size: 10px;font-weight: 500;transition: all 0.2s ease;display: inline-block;}
.tag-item:hover {background: var(--p);color: #fff;border-color: var(--p);transform: translateY(-2px);box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);}
.tag-item.secondary {background: #f1f5f9;color: #475569;border-style: dashed;font-style: italic;}
.tag-item.secondary:hover {background: var(--s);border-style: solid;font-style: normal;}

.reklam {
    /* AdSense'in genişliği hesaplayabilmesi için en güvenli yapı (Block) */
    display: block; 
    text-align: center; /* Reklamı ortalar */
    width: 100%; /* Responsive reklamlar için alanın netleşmesini sağlar */
    box-sizing: border-box;
    margin: 8px auto;
    padding: 6px;
    min-height: 100px; 
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}