/* Ekranda testin ve cevap anahtarının başlangıcı/sonunda görünür kurumsal kimlik */
.me-screen-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font:500 12px/1.5 Arial,sans-serif;color:#654c40;border-top:1px solid #e2d8cf;padding:12px 0;margin:14px 0}
.me-screen-brand strong{font-size:12px;letter-spacing:.65px;color:#513b34}
.me-screen-brand a{color:#795039;text-decoration:none;overflow-wrap:anywhere}
.me-screen-brand-top{border-top:0;border-bottom:1px solid #e2d8cf;margin:0 0 20px;padding:0 0 12px}
.me-screen-brand-bottom{margin-top:28px}
.me-answer-brand{margin-top:16px;border-bottom:1px solid #e2d8cf}
.me-answer-brand-bottom{margin-top:18px}
@media print{.me-screen-brand{display:none!important}}
/* Maarifin Edebiyatı – tüm test ve cevap sayfalarında ortak baskı kimliği */
@media screen{.me-print-header,.me-print-footer{display:none!important}}
@media print{
 @page{size:A4;margin:18mm 15mm 19mm}
 html,body{background:#fff!important;color:#171717!important}
 .site-header,.footer,.test-top,.test-nav,.menu-toggle,.me-test-actions{display:none!important}
 .test-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 .test-paper{box-shadow:none!important;border:0!important;background:#fff!important;padding:0!important;margin:0!important;max-width:none!important}

 /* Sabit üst/alt marka yok: sayfa ortasında tekrar etmesin. */
 .me-print-header,.me-print-footer{display:none!important}

 /* Marka yalnız belgenin başında ve sonunda, küçük ve sade. */
 .me-screen-brand{display:none!important}
 .me-screen-brand-top,.me-screen-brand-bottom{
   display:block!important;
   border:0!important;
   color:#777!important;
   font:500 6.5pt/1.2 Arial,sans-serif!important;
   letter-spacing:0!important;
   padding:0!important;
   text-align:center!important;
 }
 .me-screen-brand-top{
   margin:0 0 5mm!important;
   padding-bottom:2mm!important;
   border-bottom:1px solid #ddd!important;
 }
 .me-screen-brand-bottom{
   margin:7mm 0 0!important;
   padding-top:2mm!important;
   border-top:1px solid #ddd!important;
 }
 .me-screen-brand-top strong,.me-screen-brand-bottom strong{font:600 6.5pt/1.2 Arial,sans-serif!important;color:#666!important}
 .me-screen-brand-top a,.me-screen-brand-bottom a{font:500 6.5pt/1.2 Arial,sans-serif!important;color:#777!important;text-decoration:none!important}
 .me-answer-brand,.me-answer-brand-bottom{display:none!important}

 .test-paper h1{margin-top:0!important}
 .answer-box{display:block!important;break-before:page;page-break-before:always;margin-top:0!important;padding-top:3mm!important;border-top:0!important}
 .answer-box summary{display:none!important}
 .answer-box .answer-text{display:block!important;white-space:pre-wrap!important}
 .answer-box:before{content:'CEVAP ANAHTARI';display:block;font:bold 15px Arial,sans-serif;margin:0 0 8mm;color:#222}

 /* Her soru tek parça kalsın; sığmıyorsa komple sonraki sayfaya geçsin. */
 .question,.question-item,.question-block{
   display:block!important;
   break-inside:avoid-page!important;
   page-break-inside:avoid!important;
   margin-bottom:8mm!important;
 }
 .question-block>.question-passage,
 .question-block>.question-prompt,
 .question-block>.question-options,
 .question-options{
   break-inside:avoid-page!important;
   page-break-inside:avoid!important;
 }
 .question-passage,.question-prompt{orphans:5;widows:5}
}


/* Test sayfalari: PDF Al / Yazdir / Word Indir */
.me-test-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0 0 22px}
.me-test-action{appearance:none;border:0;border-radius:11px;padding:12px 20px;background:#eee6db;color:#26384b;font:700 15px/1.2 Inter,Arial,sans-serif;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.me-test-action:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(62,42,31,.10);background:#e8ded1}
.me-test-action:focus-visible{outline:2px solid #65151f;outline-offset:3px}
.me-test-action-pdf{background:#14799e;color:#fff}
.me-test-action-pdf:hover{background:#106b8c}
@media(max-width:520px){.me-test-actions{gap:8px}.me-test-action{padding:10px 14px;font-size:13px}}
@media print{.me-test-actions{display:none!important}}



/* 2026 ortak test yerleşimi: satır boşlukları ve kısa seçeneklerin eşit dağılımı */
.test-paper .question-block{
  margin-bottom:3.5em!important;
}
.test-paper .question-passage{
  margin-bottom:1.75em!important;
}
.test-paper .question-prompt{
  margin-bottom:1.75em!important;
}
.test-paper .question-options.me-equal-short-options,
.test-paper .roman-options.me-equal-short-options,
#test-text .pdf-line.me-equal-short-options{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  width:100%!important;
  column-gap:clamp(8px,2vw,28px)!important;
  align-items:center!important;
  white-space:normal!important;
}
.test-paper .me-equal-short-options>.me-short-option,
.test-paper .me-equal-short-options>.question-option,
.test-paper .me-equal-short-options>.roman-option,
#test-text .pdf-line.me-equal-short-options>.me-short-option{
  display:block!important;
  min-width:0!important;
  white-space:nowrap!important;
  text-align:center!important;
  margin:0!important;
}
#test-text .pdf-line.bold-line{
  margin-top:1.58em!important;
}
#test-text .pdf-line.me-options-start{
  margin-top:1.58em!important;
}
#test-text .pdf-line.q-start{
  margin-top:3.16em!important;
}
#test-text .pdf-line.q-start:first-child{
  margin-top:0!important;
}
@media(max-width:600px){
  .test-paper .question-options.me-equal-short-options,
  .test-paper .roman-options.me-equal-short-options,
  #test-text .pdf-line.me-equal-short-options{
    column-gap:4px!important;
    font-size:13px!important;
  }
}
@media print{
  .question,.question-item,.question-block{
    margin-bottom:11mm!important;
  }
  .question-passage{
    margin-bottom:5.5mm!important;
  }
  .question-prompt{
    margin-bottom:5.5mm!important;
  }
  #test-text .pdf-line.bold-line,
  #test-text .pdf-line.me-options-start{
    margin-top:5.5mm!important;
  }
  #test-text .pdf-line.q-start{
    margin-top:11mm!important;
  }
  #test-text .pdf-line.q-start:first-child{
    margin-top:0!important;
  }
}


/* 2026-10-26: kısa seçeneklerde ilk/son şık gerçek satır kenarlarına yaslanır */
.test-paper .me-equal-short-options>.me-short-option:first-child,
.test-paper .me-equal-short-options>.question-option:first-child,
.test-paper .me-equal-short-options>.roman-option:first-child,
#test-text .pdf-line.me-equal-short-options>.me-short-option:first-child{
  text-align:left!important;
  justify-self:start!important;
}
.test-paper .me-equal-short-options>.me-short-option:last-child,
.test-paper .me-equal-short-options>.question-option:last-child,
.test-paper .me-equal-short-options>.roman-option:last-child,
#test-text .pdf-line.me-equal-short-options>.me-short-option:last-child{
  text-align:right!important;
  justify-self:end!important;
}
.test-paper .me-equal-short-options>.me-short-option:not(:first-child):not(:last-child),
.test-paper .me-equal-short-options>.question-option:not(:first-child):not(:last-child),
.test-paper .me-equal-short-options>.roman-option:not(:first-child):not(:last-child),
#test-text .pdf-line.me-equal-short-options>.me-short-option:not(:first-child):not(:last-child){
  text-align:center!important;
  justify-self:center!important;
}
#test-text .pdf-line.me-option-line{
  width:100%!important;
  margin-left:0!important;
  padding-left:0!important;
  text-indent:0!important;
  white-space:normal!important;
}
