/* Olgunluk testi: soru kartındaki yanıt seçimi ve sonuç kutusu (bölüm notları, genel not, durum; ayrıca "bir üst basamak" bloğu; public/js/n4b-maturity-test.js).
   Seçiciler .post-body ile başlar; stil dosyalarının sırası değişse de blog gövdesinin genel kurallarını geçer. */

/* soru kartı: soru numarasıyla öne çıkar, açıklamalar küçük etiketli ikincil metin, yanıt kartın altında */
.post-body .q-card { position: relative; margin: 0 0 22px; padding: 26px 30px 24px 92px; border: 1px solid var(--line, #dfe3eb); border-radius: 18px; background: #fff; }
.post-body .q-card .q-num { position: absolute; left: 30px; top: 25px; font: 500 30px/1.15 var(--serif, Georgia, serif); color: var(--orange-600, #b4661a); font-variant-numeric: tabular-nums; }
.post-body .q-card h3 { margin: 0 0 16px; font-size: 21px; font-weight: 600; line-height: 1.42; color: var(--navy, #213343); }
.post-body .q-card > p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.7; color: var(--slate, #33475b); }
.post-body .q-card > p > strong:first-child { display: block; margin-bottom: 1px; font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--orange-600, #b4661a); }

/* yanıt seçimi */
.post-body .mt-ans { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line, #dfe3eb); }
.post-body .mt-ans-k { font-size: 15px; font-weight: 600; color: var(--navy, #213343); }
.post-body .mt-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.post-body .mt-opt { position: relative; display: inline-flex; cursor: pointer; }
.post-body .mt-in { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.post-body .mt-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 18px 8px 14px; border: 1.5px solid var(--line-2, #cbd6e2); border-radius: 999px; background: #fff; color: var(--navy, #213343); font-size: 15.5px; font-weight: 500; line-height: 1.3; transition: border-color .15s, box-shadow .15s, background .15s; }
.post-body .mt-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2, #cbd6e2); background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.post-body .mt-opt:hover .mt-chip { border-color: var(--navy, #213343); }
.post-body .mt-in:focus-visible + .mt-chip { outline: 3px solid var(--teal, #00a4bd); outline-offset: 2px; }

.post-body .mt-opt-2 { --mt-c: var(--green-600, #567f3b); }
.post-body .mt-opt-1 { --mt-c: var(--orange, #d98020); }
.post-body .mt-opt-0 { --mt-c: var(--navy, #213343); }
/* "Bize uymuyor": nota katılmayan yanıt, öbür üçünden daha sessiz */
.post-body .mt-opt-na { --mt-c: var(--slate, #33475b); }
.post-body .mt-opt-na .mt-chip { border-style: dashed; font-weight: 400; color: var(--slate, #33475b); }
.post-body .mt-opt-na .mt-in:checked + .mt-chip { border-style: solid; }
.post-body .mt-in:checked + .mt-chip { border-color: var(--mt-c); box-shadow: inset 0 0 0 1px var(--mt-c); background: var(--canvas, #fcf6ef); }
.post-body .mt-in:checked + .mt-chip .mt-dot { border-color: var(--mt-c); background: var(--mt-c); box-shadow: inset 0 0 0 2.5px #fff; }

/* sonuç kutusu */
.post-body .mt-result { margin: 0 0 26px; padding: 28px 30px; border: 1px solid var(--line, #dfe3eb); border-radius: 18px; background: #fff; box-shadow: var(--shadow, 0 1px 3px rgba(33, 51, 67, .08)); }
.post-body .mt-result p { margin: 0; }
.post-body .mt-top { display: flex; align-items: center; gap: 30px; }
.post-body .mt-score { flex: none; }
.post-body .mt-score-v { font-family: var(--serif, Georgia, serif); color: var(--navy, #213343); line-height: 1; white-space: nowrap; }
.post-body .mt-score-k { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--slate, #33475b); }
.post-body .mt-score-n { font-size: 64px; font-weight: 500; letter-spacing: -.02em; }
.post-body .mt-score-max { margin-left: 8px; font-size: 22px; color: var(--slate, #33475b); }
.post-body .mt-result.is-empty .mt-score-v { opacity: .45; }
.post-body .mt-info { min-width: 0; padding-left: 30px; border-left: 1px solid var(--line, #dfe3eb); }
.post-body .mt-level-k { font-size: 14px; line-height: 1.4; color: var(--slate, #33475b); }
.post-body .mt-level-n { margin: 2px 0 6px; font: 500 26px/1.25 var(--serif, Georgia, serif); color: var(--navy, #213343); }
.post-body .mt-level-d, .post-body .mt-status { font-size: 16px; line-height: 1.65; }
.post-body .mt-missing { margin-top: 6px; font-size: 15px; line-height: 1.65; }

.post-body .mt-h { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--navy, #213343); }
.post-body .mt-secs { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line, #dfe3eb); }
.post-body .mt-sec { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(120px, 1fr) 44px; align-items: center; gap: 6px 18px; padding: 7px 0; font-size: 15.5px; line-height: 1.4; }
.post-body .mt-sec-n { grid-column: 1; grid-row: 1; color: var(--navy, #213343); }
.post-body .mt-bar { grid-column: 2; grid-row: 1; display: block; height: 8px; border-radius: 999px; background: var(--line, #dfe3eb); overflow: hidden; }
.post-body .mt-bar i { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--band-blue, #00a0c7); transition: width .3s ease; }
.post-body .mt-sec-v { grid-column: 3; grid-row: 1; text-align: right; font-size: 17px; font-weight: 600; color: var(--navy, #213343); white-space: nowrap; font-variant-numeric: tabular-nums; }
.post-body .mt-sec.is-open .mt-sec-v { font-weight: 400; color: var(--slate, #33475b); opacity: .6; }
.post-body .mt-na-note { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--slate, #33475b); }
/* ilk dört bölümün ortalaması: durum kuralının baktığı ara toplam */
.post-body .mt-sec.mt-base { margin: 5px 0 12px; padding: 11px 0 12px; border-top: 1px dashed var(--line-2, #cbd6e2); border-bottom: 1px dashed var(--line-2, #cbd6e2); }
.post-body .mt-sec.mt-base .mt-sec-n { font-weight: 600; }
.post-body .mt-sec.mt-base .mt-bar i { background: var(--navy, #213343); }

/* "sıradaki hedef" bloğu: karnenin dışında, kendi bölümünde; hedef cümlesi + ilk yapılacaklar + "Evet" denmeyen sorular */
.post-body .mt-next { margin: 0 0 26px; }
.post-body .mt-next p { margin: 0; }
.post-body .mt-next .mt-goal-n { font: 500 26px/1.25 var(--serif, Georgia, serif); color: var(--navy, #213343); }
.post-body .mt-next .mt-goal-d { margin-top: 6px; font-size: 16px; line-height: 1.65; color: var(--slate, #33475b); }
.post-body .mt-next .mt-next-empty { font-size: 16px; line-height: 1.65; color: var(--slate, #33475b); }
.post-body .mt-next .mt-h { margin: 22px 0 8px; }
.post-body .mt-next ul.mt-steps { margin: 0; }
.post-body .mt-next-sec { border: 1px solid var(--line, #dfe3eb); border-radius: 14px; background: #fff; }
.post-body .mt-next-sec + .mt-next-sec { margin-top: 10px; }
.post-body .mt-next-sec summary { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 13px 18px; cursor: pointer; font-size: 15.5px; line-height: 1.4; color: var(--navy, #213343); }
.post-body .mt-next-sec summary:focus-visible { outline: 3px solid var(--teal, #00a4bd); outline-offset: 2px; border-radius: 14px; }
.post-body .mt-next-sec summary { list-style: none; }
.post-body .mt-next-sec summary::-webkit-details-marker { display: none; }
.post-body .mt-next-t { font-weight: 600; }
.post-body .mt-next-t::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 12px 2px 2px; border-right: 2px solid var(--orange-600, #b4661a); border-bottom: 2px solid var(--orange-600, #b4661a); transform: rotate(-45deg); transition: transform .15s; }
.post-body .mt-next-sec[open] .mt-next-t::before { transform: rotate(45deg); }
.post-body .mt-next-m { font-size: 14px; color: var(--slate, #33475b); font-variant-numeric: tabular-nums; }
.post-body .mt-next-sec .mt-road-l { padding: 0 18px 6px; }
.post-body .mt-road-l { list-style: none; margin: 0; padding: 0; }
.post-body .mt-road-l li { display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 9px 0; border-top: 1px solid var(--line, #dfe3eb); font-size: 15px; line-height: 1.55; }
.post-body .mt-road-l li::before, .post-body .mt-road-l li::marker { content: none; }
.post-body .mt-road-l a { flex: 1 1 auto; min-width: 0; color: var(--slate, #33475b); text-decoration: none; }
.post-body .mt-road-l a:hover { color: var(--navy, #213343); text-decoration: underline; text-underline-offset: 3px; }
.post-body .mt-road-n { display: inline-block; min-width: 2.2em; font-weight: 600; color: var(--orange-600, #b4661a); font-variant-numeric: tabular-nums; }
.post-body .mt-tag { flex: none; padding: 1px 10px; border: 1px solid var(--line-2, #cbd6e2); border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.6; color: var(--navy, #213343); white-space: nowrap; }
.post-body .mt-tag-1 { border-color: var(--orange, #d98020); color: var(--orange-600, #b4661a); }

.post-body .mt-result [hidden] { display: none; }

/* sınıflandırma tablosunda okurun durumu */
.post-body .ptable tbody tr.mt-hit > td { background: #eef8fb; }
.post-body .ptable tbody tr.mt-hit > td:first-child { box-shadow: inset 4px 0 0 var(--band-blue, #00a0c7); }

@media (max-width: 720px) {
  /* telefonda üç seçenek tek satırda, eşit genişlikte; "Bize uymuyor" altlarında tam genişlikte */
  .post-body .q-card { padding: 20px 18px 20px; }
  .post-body .q-card .q-num { position: static; display: block; margin: 0 0 8px; font-size: 26px; }
  .post-body .q-card h3 { font-size: 19px; }
  .post-body .mt-ans-k { flex: 0 0 100%; }
  .post-body .mt-opts { flex: 1 1 100%; flex-wrap: wrap; gap: 8px; }
  .post-body .mt-opt { flex: 1 1 0; min-width: 0; }
  .post-body .mt-opt-na { flex: 1 1 100%; }
  .post-body .mt-opt-na .mt-chip { min-height: 42px; }
  .post-body .mt-chip { justify-content: center; width: 100%; min-height: 48px; padding: 7px 6px; border-radius: 14px; font-size: 15.5px; text-align: center; }
  .post-body .mt-dot { display: none; }
  .post-body .mt-result { padding: 22px 18px; }
  .post-body .mt-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .post-body .mt-info { padding-left: 0; border-left: 0; }
  .post-body .mt-score-n { font-size: 52px; }
  .post-body .mt-sec { grid-template-columns: minmax(0, 1fr) auto; }
  .post-body .mt-sec-v { grid-column: 2; }
  .post-body .mt-bar { grid-column: 1 / -1; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .post-body .mt-chip, .post-body .mt-dot, .post-body .mt-bar i, .post-body .mt-next-t::before { transition: none; }
}

@media print {
}
