/* =====================================================================
   LOLONOLO — EK CSS (TAM DOSYA) v6.7
   Ek CSS alanının tamamını silip bunu yapıştır.

   v6.6'dan tek farkı: bazı tablolarda başlık th'sinin içinde h3/h4 var.
   Renk th'ye veriliyordu ama içteki başlık kendi rengini temadan alıp
   koyu kalıyor, lacivert zeminde kayboluyordu. Artık th içindeki tüm
   başlık/paragraf/link öğeleri rengi ve ölçüyü th'den miras alıyor.
   Aynı düzeltme footer th ve "Okulunu Seç" bloğu için de yapıldı.

   PALET
   Lacivert koyu zemin + turuncu marka vurgusu (başlık şeridi, klasör
   ikonu, satır şeridi, ok). Cevap/açıklama yeşili durum rengi olarak kaldı.

   BÖLÜM 1: Genel kurallar
   BÖLÜM 2: Reklam kuralları (HİÇ DOKUNULMADI)
   BÖLÜM 3: Tablo sistemi
   ===================================================================== */


/* =====================================================================
   BÖLÜM 1 — GENEL KURALLAR
   ===================================================================== */

/* Başlık ölçeği */
h3 { font-size: 23px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 17px; }

/* Kullanım yeri bilinmeyen alanlar — dokunulmadı */
#anasayfa75 {
    font-size: 35px;
    color: red;
    font-weight: bold;
    background-color: #DCFFFF;
}
#segemapp {
    font-size: 30px;
    color: red;
    font-weight: bold;
    background-color: #CCFFFF;
}
#unite { background-color: #B0C4DE; }
#ozet {
    color: DarkMagenta;
    background: yellow;
    font-size: 18px;
}
#sinav {
    color: DarkMagenta;
    background: yellow;
    font-size: 16px;
}

/* Site ve Yönetici Alanları */
.site-info, #wpadminbar, .copyright { display: none; }
.single .author-box { display: none; }

/* Genel tablo davranışı (#table2 dışındaki tablolar) */
table {
    table-layout: fixed;
    width: 100%;
    background-color: transparent;
    border: 0;
    font-size: 17px;
}

/* ---- HD Quiz ---- */
a.hdq_next_page_button.hdq_button {
    background-color: #14213d;
    color: #fff;
}
.hdq_row { font-size: 16px; }
.hdq_question .hdq_label_answer { font-size: 17px; }
.hdq_question p { font-size: 17px; color: green; }

/* HDQuiz açıklama kutusu — yazı sayfasındaki cevap bloğuyla aynı dil.
   overflow:hidden KULLANILMADI — içine düşen reklam kırpılmasın diye. */
.hdq_question_after_text,
.hdq_explanation {
    background-color: #eef7f1 !important;
    color: green;
    border: 0;
    border-left: 4px solid #1f9d55;
    border-radius: 0 9px 9px 0;
    padding: 14px 16px;
    line-height: 1.75;
}
.hdq_question .hdq_question_after_text p,
.hdq_question .hdq_explanation p {
    font-size: 16px;
    line-height: 1.75;
    color: green;
    margin: 0 0 8px;
}
.hdq_question .hdq_question_after_text p:last-child,
.hdq_question .hdq_explanation p:last-child {
    margin-bottom: 0;
}

/* #table2 DIŞINDAKİ td1 blokları (ör. anasayfa alt bilgi kutusu).
   :not(#table2 *) ile sınırlandı — tablo içindeki başlıklar bu kuralı
   hiç almıyor, mobilde ara aşama parlaması oluşmuyor. */
#td1:not(#table2 *),
.td1:not(#table2 *) {
    background-color: #f5f6f9;
    color: #2b1c15;
    padding: 14px 16px;
    border: 1px solid #e3e6ec;
    border-radius: 10px;
}

/* İçerik Özeti */
.cm-entry-summary p { font-size: 17px; }

/* Mobil */
@media (max-width: 767px) {
    h3 { font-size: 20px; }
    h4 { font-size: 18px; }
    h5 { font-size: 17px; }
    h6 { font-size: 16px; }
    #anasayfa75 { font-size: 25px; }
    .hdq_question .hdq_label_answer { font-size: 16px; }
    .hdq_question .hdq_question_after_text p,
    .hdq_question .hdq_explanation p { font-size: 15px; color: green; }
    .hdq_question_after_text,
    .hdq_explanation { padding: 12px 14px; }
}


/* =====================================================================
   BÖLÜM 2 — REKLAM KURALLARI
   Bu bölüme bilerek dokunulmadı. Hangi seçicinin bugün hangi reklamı
   etkilediği belirsiz; yanlış bir silme doğrudan gelir kaybı demek.
   ===================================================================== */

.hdq_row .adsbygoogle,
.hdq_answers .adsbygoogle,
nav .adsbygoogle,
blockquote .adsbygoogle,
#toc-container .adsbygoogle,
#ez-toc-container .adsbygoogle,
#ez-cookie-dialog .adsbygoogle,
#dgspuan .adsbygoogle,
.cm-posts .adsbygoogle {
    display: none !important;
}

.hdq_question_after_text .adsbygoogle,
#hdq_ad_placeholder .adsbygoogle,
.hdq_explanation .adsbygoogle {
    display: block;
    margin: auto;
    text-align: center;
    max-width: 100%;
    height: auto;
}


/* =====================================================================
   BÖLÜM 3 — TABLO SİSTEMİ
   Geri almak için bu satırdan aşağısını sil.
   Kapsam: #table2 ve içindeki #anasayfa24 / #anasayfa36
   ===================================================================== */

#table2{
  --k1:#14213d;   /* başlık lacivert (koyu zemin)   */
  --vz:#ef6c1f;   /* marka turuncusu                */
  --fn:#f5a623;   /* logo amberi                    */
  --cz:#e3e6ec;   /* çizgi                          */
  --yz:#2b1c15;   /* yazı                           */
  --sl:#7d8598;   /* soluk yazı                     */
  --mat:#c3cbde;  /* paspartu, laciverdin açık tonu */
}

/* ---- Kart kabuğu ---- */
#table2{
  width:100%;
  margin:24px 0;
  border-collapse:separate;
  border-spacing:0;
  border:1px solid #cdd4e2;
  border-radius:12px;
  background-color:#fff;
  color:var(--yz);
  font-size:16px;
  table-layout:fixed;
  position:relative;
  -webkit-tap-highlight-color:transparent;
}

/* Üst başlık: ders/ünite/bölüm adı. Soldaki 8px turuncu marka imzası. */
#table2 > tbody > tr:first-child > th{
  background-color:var(--k1);
  color:#fff;
  text-align:left;
  text-transform:none;
  font-size:17px;
  font-weight:700;
  line-height:1.45;
  padding:14px 18px;
  border:0;
  border-left:8px solid var(--vz);
  border-radius:11px 11px 0 0;
}

/* Bazı tablolarda th içinde h3/h4 var. Kendi renklerini temadan alıp
   koyu zeminde kayboluyorlardı. Rengi ve ölçüyü th'den miras alsınlar. */
#table2 > tbody > tr:first-child > th h1,
#table2 > tbody > tr:first-child > th h2,
#table2 > tbody > tr:first-child > th h3,
#table2 > tbody > tr:first-child > th h4,
#table2 > tbody > tr:first-child > th h5,
#table2 > tbody > tr:first-child > th h6,
#table2 > tbody > tr:first-child > th p,
#table2 > tbody > tr:first-child > th span,
#table2 > tbody > tr:first-child > th strong,
#table2 > tbody > tr:first-child > th a{
  color:#fff;
  font-size:inherit;
  font-weight:inherit;
  line-height:inherit;
  text-align:inherit;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}

/* Alt başlık: bölüm adı / @lolonolo_com */
#table2 > tbody > tr:last-child > th{
  background-color:#f5f6f9;
  color:var(--sl);
  text-align:center;
  text-transform:none;
  font-size:12px;
  font-weight:600;
  letter-spacing:.5px;
  line-height:1.5;
  padding:11px 16px;
  border:0;
  border-top:1px solid var(--cz);
  border-radius:0 0 11px 11px;
}
#table2 > tbody > tr:last-child > th h1,
#table2 > tbody > tr:last-child > th h2,
#table2 > tbody > tr:last-child > th h3,
#table2 > tbody > tr:last-child > th h4,
#table2 > tbody > tr:last-child > th h5,
#table2 > tbody > tr:last-child > th h6,
#table2 > tbody > tr:last-child > th p,
#table2 > tbody > tr:last-child > th span,
#table2 > tbody > tr:last-child > th a{
  color:var(--sl);
  font-size:inherit;
  font-weight:inherit;
  line-height:inherit;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}

/* İçerik hücresi — paspartu, iç tabloyu çerçeveler */
#table2 > tbody > tr > td{
  padding:14px;
  background-color:var(--mat);
  border:0;
}

/* Anasayfadaki başlık paragrafı: "Okulunu Seç, Çalış" */
#table2 > tbody > tr > td > p#td1{
  background-color:var(--k1);
  color:#fff;
  font-size:17px;
  font-weight:700;
  text-align:center;
  letter-spacing:.3px;
  margin:0 0 12px;
  padding:13px 16px;
  border:0;
  border-radius:9px;
}
#table2 > tbody > tr > td > p#td1 h1,
#table2 > tbody > tr > td > p#td1 h2,
#table2 > tbody > tr > td > p#td1 h3,
#table2 > tbody > tr > td > p#td1 h4,
#table2 > tbody > tr > td > p#td1 span,
#table2 > tbody > tr > td > p#td1 strong,
#table2 > tbody > tr > td > p#td1 a{
  color:#fff;
  font-size:inherit;
  font-weight:inherit;
  line-height:inherit;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}

/* Tablo içi açıklama paragrafları */
#table2 > tbody > tr > td > p{
  font-size:15px;
  line-height:1.6;
  margin:0 0 12px;
  color:var(--yz);
}
#table2 > tbody > tr > td > table + p{margin:12px 0 0;}


/* ---- İNDEKS TABLOSU ---- */
#table2 #anasayfa24,
#table2 #anasayfa36{
  border:1px solid rgba(20,33,61,.12);
  border-radius:9px;
  background-color:#fff;
  color:var(--yz);
  font-size:15px;
  font-weight:400;
  overflow:hidden;
  box-shadow:0 1px 4px rgba(20,33,61,.16);
}

#table2 #anasayfa24 th,
#table2 #anasayfa36 th{
  background-color:#f5f6f9;
  color:var(--sl);
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  padding:10px;
  border:0;
  border-bottom:2px solid var(--vz);
}
#table2 #anasayfa24 th + th,
#table2 #anasayfa36 th + th{border-bottom-color:var(--fn);}

/* İç tablo başlığında h3/h4 varsa (ör. "Ortak Dersler") */
#table2 #anasayfa24 th h1,
#table2 #anasayfa24 th h2,
#table2 #anasayfa24 th h3,
#table2 #anasayfa24 th h4,
#table2 #anasayfa24 th p,
#table2 #anasayfa36 th h1,
#table2 #anasayfa36 th h2,
#table2 #anasayfa36 th h3,
#table2 #anasayfa36 th h4,
#table2 #anasayfa36 th p{
  color:inherit;
  font-size:inherit;
  font-weight:inherit;
  line-height:inherit;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}

#table2 #anasayfa24 td,
#table2 #anasayfa36 td{
  padding:0;
  vertical-align:middle;
  line-height:1.4;
  word-break:normal;
  overflow-wrap:break-word;
  border:0;
  border-top:1px solid var(--cz);
  background-color:#fff;
  border-radius:0;
}
#table2 #anasayfa24 tr:nth-child(2n) td,
#table2 #anasayfa36 tr:nth-child(2n) td{background-color:#f7f8fb;}

/* Tam satır tıklanabilir + turuncu klasör ikonu (SVG data URI, ek istek yok).
   İkon rengi: fill='%23ef6c1f' kısmı. %23 = # işareti.
   NOT: :visited kuralı bilerek yok — tüm satırlar aynı koyulukta durur. */
#table2 #anasayfa24 a,
#table2 #anasayfa36 a{
  display:block;
  box-sizing:border-box;
  position:relative;
  padding:14px 36px 14px 48px;
  min-height:50px;
  border-left:4px solid #f3b97a;
  font-size:17px;
  font-weight:700;
  line-height:1.4;
  color:var(--yz);
  text-decoration:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ef6c1f'%3E%3Cpath d='M10 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-8l-2-2z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:18px center;
  background-size:20px 20px;
  transition:border-left-color .15s ease;
}
#table2 #anasayfa24 td:nth-child(2) a,
#table2 #anasayfa36 td:nth-child(2) a{border-left-color:#f7cf8e;}
#table2 #anasayfa24 td:nth-child(3) a,
#table2 #anasayfa36 td:nth-child(3) a{border-left-color:#c4a08c;}

#table2 #anasayfa24 a::after,
#table2 #anasayfa36 a::after{
  content:"›";
  position:absolute;
  right:15px;
  top:50%;
  transform:translateY(-50%);
  font-size:21px;
  font-weight:400;
  line-height:1;
  color:var(--vz);
  opacity:.55;
}

#table2 #anasayfa24 a:hover,
#table2 #anasayfa36 a:hover{
  background-color:#fdf1e4;
  color:var(--vz);
  border-left-color:var(--vz);
}
#table2 #anasayfa24 a:hover::after,
#table2 #anasayfa36 a:hover::after{opacity:1;}
#table2 #anasayfa24 td:nth-child(2) a:hover,
#table2 #anasayfa36 td:nth-child(2) a:hover{color:#b8790f;border-left-color:var(--fn);}
#table2 #anasayfa24 td:nth-child(3) a:hover,
#table2 #anasayfa36 td:nth-child(3) a:hover{color:#7a5a49;border-left-color:#a97f66;}
#table2 #anasayfa24 a:active,
#table2 #anasayfa36 a:active{background-color:#fbe6d2;}
#table2 #anasayfa24 a:focus-visible,
#table2 #anasayfa36 a:focus-visible{outline:3px solid var(--vz);outline-offset:-3px;}


/* ---- YAZI SAYFASI (id'siz iç tablo) ---- */
#table2 td table{background-color:transparent;border:0;}
#table2 td table:not([id]) td{
  padding:16px 18px;
  font-size:17px;
  line-height:1.85;
  border:0;
  background-color:#fff;
}

#table2 td table:not([id]) h2{font-size:21px;font-weight:700;line-height:1.4;margin:24px 0 10px;color:var(--k1);}
#table2 td table:not([id]) h3{font-size:19px;font-weight:700;line-height:1.45;margin:20px 0 8px;color:var(--k1);}
#table2 td table:not([id]) h4{
  font-size:17px;font-weight:700;line-height:1.5;
  margin:24px 0 10px;padding-left:11px;
  border-left:3px solid var(--vz);
  color:var(--yz);
}
#table2 td table:not([id]) p{font-size:17px;line-height:1.8;margin:0 0 14px;}

/* Cevap ve Açıklama — HDQuiz kutusuyla aynı görünüm.
   Yeşil bilinçli olarak korundu: durum rengi, marka rengi değil. */
#table2 td table:not([id]) p#td1{
  background-color:#eef7f1;
  color:green;
  border:0;
  border-left:4px solid #1f9d55;
  border-radius:0 9px 9px 0;
  margin:10px 0;
  padding:12px 15px;
  font-size:16px;
  line-height:1.75;
}
#table2 td table:not([id]) p#td1 + h4{margin-top:28px;}

#table2 td table:not([id]) a{color:#c2521c;text-underline-offset:3px;}
#table2 td table:not([id]) a:hover{color:var(--k1);}

/* Reklam birimleri hücreden taşmasın */
#table2 .adsbygoogle,
#table2 ins,
#table2 iframe{max-width:100%;}


/* ---- MOBİL ---- */
@media (max-width:767px){
  #table2{margin:16px 0;border-radius:10px;}
  #table2 > tbody > tr:first-child > th{font-size:15px;padding:12px 14px;border-left-width:6px;border-radius:9px 9px 0 0;}
  #table2 > tbody > tr:last-child > th{font-size:11px;padding:10px;border-radius:0 0 9px 9px;}
  #table2 > tbody > tr > td{padding:9px;}
  #table2 > tbody > tr > td > p#td1{font-size:15px;padding:11px 14px;}
  #table2 > tbody > tr > td > p{font-size:14px;}
  #table2 #anasayfa24,
  #table2 #anasayfa36{font-size:14px;}
  #table2 #anasayfa24 th,
  #table2 #anasayfa36 th{font-size:10px;padding:8px 6px;}
  #table2 #anasayfa24 a,
  #table2 #anasayfa36 a{
    font-size:15px;
    padding:13px 30px 13px 40px;
    min-height:50px;
    background-position:13px center;
    background-size:18px 18px;
  }
  #table2 #anasayfa24 a::after,
  #table2 #anasayfa36 a::after{right:11px;font-size:19px;}
  #table2 td table:not([id]) td{padding:14px 12px;font-size:16px;line-height:1.8;}
  #table2 td table:not([id]) h2{font-size:19px;margin:20px 0 8px;}
  #table2 td table:not([id]) h3{font-size:17px;margin:18px 0 8px;}
  #table2 td table:not([id]) h4{font-size:16px;margin:20px 0 8px;padding-left:9px;}
  #table2 td table:not([id]) p{font-size:16px;line-height:1.75;}
  #table2 td table:not([id]) p#td1{font-size:15px;padding:11px 13px;margin:9px 0;}
  #table2 td table:not([id]) p#td1 + h4{margin-top:24px;}

  /* Üç sütunlu satır (AUZEF / Anadolu AÖF / Ata AÖF) — DİKEY DÜZEN.
     İkon yazının üstünde. Dar hücrede yan yana düzen harfleri
     dikey diziyordu. background-image kapatılıp ikon ::before'a taşındı. */
  #table2 #anasayfa24 tr:has(td + td + td) a,
  #table2 #anasayfa36 tr:has(td + td + td) a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    text-align:center;
    padding:14px 6px;
    font-size:13px;
    line-height:1.3;
    min-height:76px;
    background-image:none;
  }
  #table2 #anasayfa24 tr:has(td + td + td) a::before,
  #table2 #anasayfa36 tr:has(td + td + td) a::before{
    content:"";
    flex:0 0 auto;
    width:24px;
    height:24px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ef6c1f'%3E%3Cpath d='M10 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-8l-2-2z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-size:contain;
  }
  #table2 #anasayfa24 tr:has(td + td + td) a::after,
  #table2 #anasayfa36 tr:has(td + td + td) a::after{display:none;}
}

/* Dokunmatik cihazda hover yapışmasın */
@media (hover:none){
  #table2 #anasayfa24 a:hover,
  #table2 #anasayfa36 a:hover{background-color:transparent;color:var(--yz);border-left-color:#f3b97a;}
  #table2 #anasayfa24 td:nth-child(2) a:hover,
  #table2 #anasayfa36 td:nth-child(2) a:hover{color:var(--yz);border-left-color:#f7cf8e;}
  #table2 #anasayfa24 td:nth-child(3) a:hover,
  #table2 #anasayfa36 td:nth-child(3) a:hover{color:var(--yz);border-left-color:#c4a08c;}
}

@media (prefers-reduced-motion:reduce){
  #table2 #anasayfa24 a,
  #table2 #anasayfa36 a{transition:none;}
}

@media print{
  #table2 td a{color:#000;}
  #table2 #anasayfa24 a::after,
  #table2 #anasayfa36 a::after{display:none;}
  #table2 #anasayfa24 a,
  #table2 #anasayfa36 a{background-image:none;padding-left:16px;}
}


/* ---- İSTEĞE BAĞLI: "yakında" rozeti. Gerek görmezsen sil. ---- */
#table2 #anasayfa24 td:not(:has(a)){padding:14px 16px;font-size:15px;color:var(--sl);}
#table2 #anasayfa24 td:not(:has(a))::after{
  content:"yakında";
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  background-color:#e8ebf2;
  font-size:10px;
  font-weight:700;
  letter-spacing:.5px;
  text-transform:uppercase;
}
/* =====================================================================
   BÖLÜM 4 — SOL YAN REKLAM TAŞMASI (sadece masaüstü)
   Sol yan reklam içeriğin ilk birkaç pikseline biniyordu.
   1) İçerik sütunu 10px sağa kayar, sidebar yerinde kalır.
   2) Tablo dışındaki metin, başlık ve breadcrumb 14px içeri alınır.
   3) Menü listesi 14px içeri alınır.
   Tablolar ve mobil etkilenmez. Geri almak için bu bloğu sil.
   ===================================================================== */
@media (min-width: 1024px) {

  /* 1 — İçerik sütunu */
  #cm-primary,
  #primary {
    position: relative;
    left: 10px;
  }

  /* 2 — Tablo dışı metin, sayfa başlığı, breadcrumb */
  .cm-entry-summary > p,
  .cm-entry-summary > h2,
  .cm-entry-summary > h3,
  .cm-entry-summary > h4,
  .cm-entry-summary > ul,
  .cm-entry-summary > ol,
  .cm-entry-title,
  .entry-title,
  div:has(> span > .breadcrumb_last) {
    padding-left: 14px;
  }
  /* 3 — Menü */
  #menu-mainmanu,
  nav[id*="primary"] ul:not(.sub-menu),
  nav[class*="primary"] ul:not(.sub-menu),
  #site-navigation ul:not(.sub-menu) {
    padding-left: 14px !important;
  }
}

/* PDF olarak indir butonu (yazı sayfasının üstünde) */
.cm-entry-summary p.ll-pdf-btn{text-align:center;font-size:14px;color:#6b7690;padding-left:0;margin:0 0 20px}
.ll-pdf-btn a{display:inline-block;background:#ef6c1f;color:#fff!important;font-weight:700;font-size:17px;padding:12px 28px;border-radius:10px;text-decoration:none;margin-bottom:6px}
.ll-pdf-btn a:hover{background:#14213d}