/* Yayın detay sayfası (sayfaya özel) */

.det { padding: 48px 0 88px; }
.det-inner { display: flex; flex-direction: column; gap: 32px; }
.det h2 {
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  color: var(--ink);
}

/* Breadcrumb */
.det-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}
.det-crumb i { font-style: normal; }
.det-crumb a:hover { color: var(--blue); }
.det-crumb span { color: var(--menu); }

/* Detay paneli */
.det-panel {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 36px;
  background: var(--gray);
  border-radius: 28px;
}
.det-cover {
  flex: none;
  width: 217px;
  height: 271px;
  border-radius: 20px;
  overflow: hidden;
  background: #E8EEF9;
}
.det-cover img { width: 100%; height: 100%; object-fit: cover; }
.det-info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.det-cat { font-weight: 600; font-size: 12px; line-height: 18px; color: var(--blue); }
.det-info h1 {
  font-weight: 600;
  font-size: 34px;
  line-height: 51px;
  color: var(--ink);
}
.det-info p {
  max-width: 600px;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  color: var(--muted);
}
.det-actions { display: flex; gap: 12px; padding-top: 8px; flex-wrap: wrap; }
.det-btn {
  display: inline-flex;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  white-space: nowrap;
  transition: opacity .2s;
}
.det-btn:hover { opacity: .9; }
.det-btn-primary { background: var(--blue); color: #fff; }
.det-btn-primary:hover { color: #fff; }
.det-btn-outline { background: #fff; border-color: #E4E7EE; color: var(--blue); }

/* İki kolon */
.det-body { max-width: 1214px; width: 100%; padding-bottom: 40px; }
.det-cols {
  display: grid;
  grid-template-columns: 594fr 590fr;
  gap: 34px;
  align-items: start;
}
.det-cds h2 { margin-bottom: 16px; }
/* Alıştırmalar bölümü gösterilmiyorsa (Sadece QR modu) CD / bölümler tüm genişliği kullanır */
.det-cols:not(:has(.det-ex)) { grid-template-columns: 1fr; }

.cd-list {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.cd-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 22px;
  transition: background .2s;
}
.cd-row + .cd-row { border-top: 1px solid var(--border); }
.cd-row:hover { background: var(--gray); }
.cd-no { flex: none; width: 26px; font-size: 13px; line-height: 20px; color: #6B7280; }
.cd-badge {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--blue-soft);
  font-size: 13px;
  line-height: 20px;
  color: var(--blue);
}
.cd-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cd-text strong { font-weight: 500; font-size: 15px; line-height: 22px; color: var(--ink); }
.cd-text small { font-size: 12px; line-height: 18px; color: #6B7280; }
.cd-link { flex: none; font-size: 13px; line-height: 20px; color: #6B7280; }
.cd-note { padding-top: 14px; font-size: 12px; line-height: 18px; color: #6B7280; }

.ex-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
}
.ex-all { font-weight: 500; font-size: 13px; line-height: 20px; color: var(--blue); white-space: nowrap; }
.ex-all span { margin-left: 12px; }
.ex-list {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.ex-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  transition: background .2s;
}
.ex-row + .ex-row { border-top: 1px solid var(--border); }
.ex-row:hover { background: var(--gray); }
.ex-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(232, 238, 249, 0.6);
  font-weight: 600;
  font-size: 9px;
  line-height: 14px;
  letter-spacing: 0.72px;
  color: var(--blue);
}
.ex-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ex-text strong { font-weight: 500; font-size: 14px; line-height: 21px; color: var(--ink); }
.ex-text small { font-size: 12px; line-height: 18px; color: #6B7280; }
.ex-arrow { flex: none; font-size: 14px; line-height: 21px; color: var(--blue); }

/* Aynı kategoriden */
.det-related {
  max-width: 1214px;
  width: 100%;
  padding-top: 26px;
  border-top: 1px solid #EFF1F5;
}
.det-related h2 { padding-bottom: 18px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rel-card {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: box-shadow .2s, border-color .2s;
}
.rel-card:hover { border-color: var(--border-blue); box-shadow: var(--shadow-card); }
.rel-cover {
  aspect-ratio: 262.5 / 350;
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--gray);
}
.rel-cover img { width: 100%; height: 100%; object-fit: cover; }
.rel-text { display: flex; flex-direction: column; gap: 7px; padding: 0 4px; }
.rel-text span { font-weight: 600; font-size: 11px; line-height: 16px; letter-spacing: 1.1px; color: var(--blue); }
.rel-text h3 { font-weight: 500; font-size: 14px; line-height: 19px; color: var(--ink); }

/* Responsive */
@media (max-width: 991.98px) {
  .det { padding: 32px 0 56px; }
  .det-cols { grid-template-columns: 1fr; gap: 32px; }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .det-panel { flex-direction: column; align-items: center; padding: 24px; gap: 24px; }
  .det-info { align-items: flex-start; width: 100%; }
  .det-info h1 { font-size: 28px; line-height: 1.3; }
}
@media (max-width: 575.98px) {
  .cd-link { display: none; }
  .cd-row { gap: 12px; padding: 15px 16px; }
  .rel-grid { grid-template-columns: 1fr; }
}
