:root {
  /* Bu renkleri sitenizin temasına göre değiştirebilirsiniz */
  --bty-ana-renk: #2c3e50; /* 1. Dönem başlığı ve ikon renkleri (Koyu Mavi/Lacivert) */
  --bty-ikinci-renk: #e83e8c; /* 2. Dönem başlığı ve vurgu rengi (Pembe/Macenta) */
  --bty-liste-arkaplan: #f8f9fa; /* Liste elemanlarının açık gri arkaplanı */
  --bty-yazi-rengi: #495057; /* Metin rengi */
  --bty-vurgu-arkaplan: #fdf2f6; /* Üzerine gelince oluşan açık renk arkaplan */
}

.bty-donem-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px 0;
  font-family: inherit; /* Temanızın fontunu otomatik kullanır */
}

.bty-donem-col {
  flex: 1 1 calc(50% - 15px);
  min-width: 300px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding-bottom: 20px;
}

.bty-header {
  padding: 18px;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.bty-header.donem-1 { background-color: var(--bty-ana-renk); }
.bty-header.donem-2 { background-color: var(--bty-ikinci-renk); }

.bty-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
}

.bty-item {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background-color: var(--bty-liste-arkaplan);
  color: var(--bty-yazi-rengi);
  text-decoration: none !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 4px solid transparent;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.bty-item i {
  color: var(--bty-ana-renk);
  width: 24px;
  text-align: center;
  margin-right: 15px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.bty-item:hover, .bty-item.aktif {
  background-color: var(--bty-vurgu-arkaplan);
  border-left: 4px solid var(--bty-ikinci-renk);
  color: var(--bty-ikinci-renk);
  transform: translateX(5px);
}

.bty-item:hover i, .bty-item.aktif i {
  color: var(--bty-ikinci-renk);
}

.bty-footer-text {
  text-align: center;
  color: #adb5bd;
  font-size: 0.85rem;
  margin-top: 20px;
  font-style: italic;
}

/* Mobilde alt alta düzgün görünmesi için */
@media (max-width: 768px) {
  .bty-donem-container { flex-direction: column; gap: 20px; }
  .bty-donem-col { flex: 1 1 100%; }
}


/* Logo ve Header boşluklarını azaltma */
.site-header {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.site-branding {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

/* Logo görselinin veya kapsayıcısının yüksekliğini sınırlama */
.custom-logo-link img {
    max-height: 200px; /* Mevcut boyuta göre burayı küçültebilirsiniz */
    width: auto;
}







/* WordPress varsayılan sayfa başlığını gizler */
.page .entry-title {
    display: none;
}









/* Yepyeni Modern Yatay Başlık Tasarımı - Belirgin Çerçeveli */
.bty-yeninesil-baslik {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    margin: 40px auto;
    max-width: 950px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    /* Çerçeve 2px yapıldı ve temanın rengiyle belirginleştirildi */
    border: 2px solid rgba(167, 23, 65, 0.25); 
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bty-yeninesil-baslik:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    /* Üzerine gelince çerçeve rengi daha da belirginleşiyor */
    border-color: rgba(167, 23, 65, 0.6); 
}

/* Arka planda hafif renk sıçraması/parlama efekti */
.bty-yeninesil-baslik::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(167, 23, 65, 0.08) 0%, rgba(255, 255, 255, 0) 70%); 
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Sol taraftaki ikon/numara kutusu */
.bty-ikon-kutusu {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #a71741; 
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    margin-right: 30px;
    box-shadow: 0 8px 20px rgba(167, 23, 65, 0.3); 
    z-index: 1;
}

.bty-ikon-kutusu svg {
    width: 40px;
    height: 40px;
}

/* Metinlerin bulunduğu alan */
.bty-metin-alani {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Eski kutu içindeki etiket yerine şık bir üst başlık */
.bty-ust-etiket {
    font-size: 16px; /* Eski değer 13px idi, daha okunaklı olması için büyütüldü */
    font-weight: 800; /* Biraz daha vurgulu olması için kalınlaştırıldı */
    color: #a71741; 
    text-transform: uppercase;
    letter-spacing: 1px; /* Punto büyüdüğü için harf arası dengelendi */
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ana Başlık */
.bty-ana-baslik {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

/* Mobil Cihazlar İçin Uyum */
@media (max-width: 768px) {
    .bty-yeninesil-baslik {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    .bty-ikon-kutusu {
        margin-right: 0;
        margin-bottom: 20px;
        width: 65px;
        height: 65px;
    }
    .bty-ikon-kutusu svg {
        width: 32px;
        height: 32px;
    }
    .bty-ana-baslik {
        font-size: 20px;
    }
    .bty-ust-etiket {
        justify-content: center;
    }
}








/* 6. SINIF: Robot Kol Temalı Kutu Tasarımı */
.bty-6-sinif-baslik {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    margin: 40px auto;
    max-width: 950px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 2px solid rgba(167, 23, 65, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bty-6-sinif-baslik:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(167, 23, 65, 0.6); 
}

/* Sıçrama/Parlama Efekti */
.bty-6-sinif-baslik::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(167, 23, 65, 0.08) 0%, rgba(255, 255, 255, 0) 70%); 
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Bordo İkon Kutusu */
.bty-6-sinif-ikon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #a71741; 
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    margin-right: 30px;
    box-shadow: 0 8px 20px rgba(167, 23, 65, 0.3); 
    z-index: 1;
}

/* Simge Boyutu (Devasa olmasını engeller) */
.bty-6-sinif-ikon svg {
    width: 40px;
    height: 40px;
}

/* Metin Alanı */
.bty-6-sinif-metin {
    display: flex;
    flex-direction: column;
    z-index: 1;
}
.bty-6-sinif-etiket {
    font-size: 16px; /* Eski değer 13px idi, daha okunaklı olması için büyütüldü */
    font-weight: 800; /* Biraz daha vurgulu olması için kalınlaştırıldı */
    color: #a71741; 
    text-transform: uppercase;
    letter-spacing: 1px; /* Punto büyüdüğü için harf arası dengelendi */
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bty-6-sinif-ana {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

/* Mobilde Düzgün Durması İçin */
@media (max-width: 768px) {
    .bty-6-sinif-baslik {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    .bty-6-sinif-ikon {
        margin-right: 0;
        margin-bottom: 20px;
        width: 65px;
        height: 65px;
    }
    .bty-6-sinif-ikon svg {
        width: 32px;
        height: 32px;
    }
    .bty-6-sinif-ana {
        font-size: 20px;
    }
    .bty-6-sinif-etiket {
        justify-content: center;
    }
}



/* Mobil Ekranda Etiket ve Emoji Kaymasını Düzeltme */
@media (max-width: 768px) {
    .bty-ust-etiket, .bty-6-sinif-etiket {
        display: block !important;
        text-align: center !important;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    .bty-ana-baslik, .bty-6-sinif-ana {
        text-align: center !important;
    }
}











/* Genel Kapsayıcı (Yan yana dizilim için) */
.ders-kapsayici {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Kartın Genel Yapısı ve SIÇRAMA EFEKTİ */
.ders-karti {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Efektin yumuşak olması için */
  cursor: pointer;
}

/* Üzerine Gelindiğinde Sıçrama ve Gölge Büyümesi */
.ders-karti:hover {
  transform: translateY(-8px); /* Kartı 8 piksel yukarı kaldırır */
  box-shadow: 0 15px 25px rgba(0,0,0,0.15); /* Gölgeyi belirginleştirir */
}

/* Kart Üst Görsel Alanı */
.kart-ust {
  position: relative;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 6. Sınıf ve 5. Sınıf Arka Plan Renkleri (Gradient) */
.gorsel-alti { background: linear-gradient(135deg, #1a1015 0%, #2b1115 100%); }
.gorsel-bes { background: linear-gradient(135deg, #0b111f 0%, #111a2f 100%); }

/* Rozetler (Dönem ve TYMM) */
.rozet-kapsayici {
  position: absolute;
  top: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.rozet {
  font-size: 11px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #fff;
}
.donem { border-color: #d48f2b; color: #d48f2b; }
.donem-mavi { border-color: #5c6bc0; color: #5c6bc0; }
.mavi { background-color: #29b6f6; border-color: #29b6f6; color: #000; }

/* Tipografi - Başlıklar ve Metinler */
.ders-adi { font-size: 10px; letter-spacing: 2px; margin-bottom: 5px; opacity: 0.8; }
.sinif-hafta { font-size: 12px; font-weight: bold; margin-bottom: 15px; }
.vurgu-sari { color: #d48f2b; }
.vurgu-mavi { color: #29b6f6; }
.ayrac { margin: 0 5px; opacity: 0.5; }

.kart-ust h2 {
  font-size: 24px;
  margin: 0 0 10px 0;
  line-height: 1.2;
  font-weight: 800;
}
.alt-konu { font-size: 11px; letter-spacing: 2px; opacity: 0.7; margin: 0; }

/* Kart Alt (Özet ve Metin Alanı) */
.kart-alt { padding: 20px; }
.yazi-baslik { font-size: 18px; color: #333; margin: 0 0 10px 0; line-height: 1.4; }
.yazi-meta { font-size: 13px; color: #888; margin-bottom: 15px; }
.yazi-ozet { font-size: 14px; color: #555; line-height: 1.6; margin: 0; }









/* Ana sayfadaki son gönderi özetlerini gizle */
.home .entry-summary, 
.home .post-excerpt, 
.home p {
    display: none;
}

/* Başlıkların ve "Devamını Gör" butonunun kalmasını sağlar */
.home .entry-title, 
.home .more-link {
    display: block;
}















