/* ==========================================================================
   İLKE — yayin-detay.css  (publication detail page)
   Inherits index3.css for header/footer/mega menu. This file scopes to .pub-detail.
   ========================================================================== */

/* ---------- Breadcrumb ---------- */
.crumbs {
  padding: 20px 0 0;
  font-family: var(--f-body);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.crumbs .shell { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--ink-4); }
.crumbs .here { color: var(--ink); font-weight: 600; }

/* ---------- Detail layout ---------- */
.pub-detail { padding: 36px 0 80px; }
.pd-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* ---------- LEFT: cover + meta + actions ---------- */
.pd-left {
  position: sticky;
  top: calc(76px + 24px);
  display: flex; flex-direction: column;
  gap: 22px;
}
.pd-cover {
  position: relative;
  aspect-ratio: 3/4.2;
  background: var(--paper-2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(26,26,26,0.16),
    0 6px 12px rgba(26,26,26,0.08);
}
.pd-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* meta-list under cover */
.pd-meta-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--ink);
}
.pd-meta-list dt, .pd-meta-list dd { margin: 0; padding: 0; }
.pd-meta-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--paper-edge);
  align-items: baseline;
}
.pd-meta-row dt {
  font-family: var(--f-body);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.pd-meta-row dd {
  font-family: var(--f-disp);
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.pd-meta-row dd b {
  font-weight: 600;
}
.pd-meta-row dd a { color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.pd-meta-row .center-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em;
  padding: 4px 10px;
  color: #fff;
  border-radius: 3px;
}

/* action buttons */
.pd-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.pd-btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 18px;
  border-radius: 99px;
  font-family: var(--f-body);
  font-weight: 600; font-size: 13px;
  text-decoration: none;
  cursor: pointer; border: 0;
  transition: all 0.18s ease;
  letter-spacing: 0.04em;
}
.pd-btn .lbl { display: inline-flex; align-items: center; gap: 10px; }
.pd-btn svg { width: 14px; height: 14px; }
.pd-btn.primary { background: var(--ink); color: var(--paper); }
.pd-btn.primary:hover { background: var(--accent); }
.pd-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 13px 17px; }
.pd-btn.ghost:hover { background: var(--ink); color: var(--paper); }
.pd-btn .size { opacity: 0.65; font-weight: 500; font-size: 12px; }
.pd-share {
  display: flex; align-items: center; gap: 18px;
  justify-content: center;
  padding-top: 4px;
  font-family: var(--f-body);
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.pd-share a { color: var(--ink-2); }
.pd-share a:hover { color: var(--accent); }
.pd-share .sep { width: 4px; height: 4px; border-radius: 99px; background: var(--ink-4); }

/* ---------- RIGHT: content ---------- */
.pd-right { min-width: 0; }
.pd-badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-body);
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 22px;
}
.pd-badge::before {
  content: ""; display: inline-block;
  width: 28px; height: 1.5px; background: var(--accent);
}
.pd-badge .hash {
  font-family: var(--f-disp); font-style: italic; font-weight: 400;
  font-size: 13px;
  color: var(--ink-3); letter-spacing: 0;
}
.pd-title {
  font-family: var(--f-disp);
  font-weight: 500;
  font-size: clamp(42px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 22px;
  text-wrap: balance;
}
.pd-title em { font-style: italic; color: var(--accent); font-weight: 400; }
.pd-deck {
  font-family: var(--f-disp);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0 0 36px;
  max-width: 68ch;
  text-wrap: pretty;
}

/* meta detail grid (above abstract) */
.pd-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
  padding: 22px 0;
  margin-bottom: 36px;
}
.pd-fact {
  display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--paper-edge);
  padding: 0 22px;
}
.pd-fact:first-child { padding-left: 0; }
.pd-fact:last-child { border-right: 0; padding-right: 0; }
.pd-fact dt {
  font-family: var(--f-body);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-3);
}
.pd-fact dd {
  margin: 0;
  font-family: var(--f-disp);
  font-size: 15px; line-height: 1.3;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.pd-fact dd b { font-weight: 700; }

/* Section heading */
.pd-h {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  display: flex; align-items: baseline; gap: 14px;
}
.pd-h::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--paper-edge);
}
.pd-h .n {
  font-family: var(--f-disp); font-style: italic; font-weight: 400;
  font-size: 14px;
  color: var(--ink-3); letter-spacing: 0;
  text-transform: none;
}

/* Abstract */
.pd-abstract {
  margin-bottom: 48px;
}
.pd-abstract-text {
  columns: 2;
  column-gap: 32px;
  font-family: var(--f-disp);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}
.pd-abstract-text p {
  margin: 0 0 12px;
  break-inside: avoid;
}
.pd-abstract-text p:first-child::first-letter {
  font-family: var(--f-disp); font-style: italic; font-weight: 500;
  font-size: 3.4em; line-height: 0.85;
  float: left;
  color: var(--accent);
  margin: 0.06em 0.08em 0 -0.02em;
}
@media (max-width: 720px) { .pd-abstract-text { columns: 1; } }

/* Yazarlar / Editörler */
.pd-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.pd-people h4 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.pd-people ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-people li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
}
.pd-avatar {
  width: 36px; height: 36px;
  border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper-2);
  font-family: var(--f-disp); font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.pd-people .name {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 15px;
  color: var(--ink); letter-spacing: -0.005em;
  line-height: 1.2;
}
.pd-people .role {
  font-family: var(--f-body); font-size: 11.5px;
  color: var(--ink-3); letter-spacing: 0.04em;
  display: block; margin-top: 2px;
}
@media (max-width: 720px) { .pd-people { grid-template-columns: 1fr; } }

/* Executive summary — yönetici özeti */
.pd-summary {
  background: var(--paper-2);
  border-radius: 14px;
  padding: 36px 38px;
  margin-bottom: 48px;
  position: relative;
}
.pd-summary .qmark {
  position: absolute;
  top: 18px; right: 28px;
  font-family: var(--f-disp); font-style: italic;
  font-size: 96px; line-height: 1;
  color: var(--accent);
  opacity: 0.22;
  pointer-events: none;
}
.pd-summary .pd-h { border-bottom-color: var(--ink-2); margin-bottom: 18px; }
.pd-summary p {
  font-family: var(--f-disp);
  font-size: 16px; line-height: 1.65;
  color: var(--ink); margin: 0 0 12px;
  max-width: 64ch;
  text-wrap: pretty;
}
.pd-summary p:last-child { margin-bottom: 0; }
.pd-summary p em { font-style: italic; color: var(--accent); }

/* Key findings — temel bulgular */
.pd-findings { margin-bottom: 48px; }
.pd-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.pd-stat {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--paper-edge);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), box-shadow 0.32s ease;
}
.pd-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(26,26,26,0.08);
}
.pd-stat .n {
  font-family: var(--f-disp);
  font-weight: 500;
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.pd-stat .n em { font-style: italic; font-weight: 400; }
.pd-stat .l {
  font-family: var(--f-disp);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
@media (max-width: 720px) { .pd-stats { grid-template-columns: 1fr; } }

/* bullet list of findings */
.pd-bullets {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.pd-bullets li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--paper-edge);
  align-items: baseline;
}
.pd-bullets li:first-child { padding-top: 0; }
.pd-bullets li:last-child { border-bottom: 0; }
.pd-bullets .n {
  font-family: var(--f-disp); font-style: italic; font-weight: 400;
  font-size: 22px;
  color: var(--accent); letter-spacing: -0.02em;
  line-height: 1;
}
.pd-bullets p {
  font-family: var(--f-disp);
  font-size: 16px; line-height: 1.5;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.pd-bullets p em { font-style: italic; color: var(--accent); }

/* İçindekiler — table of contents */
.pd-toc { margin-bottom: 48px; }
.pd-toc-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.pd-toc-list li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 14px 6px;
  border-bottom: 1px dashed var(--paper-edge);
  cursor: pointer;
  position: relative;
  transition: padding 0.32s cubic-bezier(.2,.8,.2,1);
}
.pd-toc-list li:hover { padding-left: 14px; padding-right: 14px; background: var(--paper-2); border-radius: 4px; border-bottom-color: transparent; }
.pd-toc-list li:hover .t { color: var(--accent); }
.pd-toc-list .n {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--ink-3);
}
.pd-toc-list .t {
  font-family: var(--f-disp);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink); letter-spacing: -0.005em;
  line-height: 1.3;
}
.pd-toc-list .p {
  font-family: var(--f-body); font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.pd-toc-list .p b { color: var(--ink); font-weight: 600; }

/* ---------- Author bio band ---------- */
.author-bio {
  padding: 56px 0;
  border-top: 1px solid var(--paper-edge);
  background: var(--paper);
}
.author-bio .shell {
  display: grid;
  grid-template-columns: 320px 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.author-bio-card {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.author-portrait {
  width: 160px; height: 160px;
  border-radius: 99px;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  isolation: isolate;
  border: 1px solid var(--paper-edge);
}
.author-portrait::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><defs><pattern id='s' patternUnits='userSpaceOnUse' width='6' height='6' patternTransform='rotate(45)'><line x1='0' y1='0' x2='0' y2='6' stroke='%23A8A39A' stroke-width='0.8'/></pattern></defs><rect width='100%25' height='100%25' fill='url(%23s)'/></svg>");
  opacity: 0.55;
}
.author-portrait span {
  position: relative; z-index: 1;
  font-family: var(--f-body); font-weight: 700;
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
}
.author-bio-body h4 {
  font-family: var(--f-body); font-weight: 700;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 10px;
}
.author-bio-body h3 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 28px; line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
}
.author-bio-body p {
  font-family: var(--f-body); font-size: 14px;
  line-height: 1.6; color: var(--ink-2);
  max-width: 56ch;
}
.author-other h4 {
  font-family: var(--f-body); font-weight: 700;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.author-other ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.author-other li {
  padding: 10px 0;
  border-bottom: 1px solid var(--paper-edge);
}
.author-other li:last-child { border-bottom: 0; }
.author-other a {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 14px; color: var(--ink); letter-spacing: -0.005em;
  display: inline-flex; align-items: baseline; gap: 8px;
  line-height: 1.3;
}
.author-other a:hover { color: var(--accent); }
.author-other .yr {
  font-family: var(--f-body); font-size: 11.5px;
  color: var(--ink-3); letter-spacing: 0.04em;
}
@media (max-width: 980px) {
  .author-bio .shell { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Related publications ---------- */
.related { padding: 64px 0; background: var(--paper-2); }
.related-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px; margin-bottom: 28px;
  border-bottom: 1px solid var(--ink);
}
.related-head h2 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1;
  letter-spacing: -0.02em;
}
.related-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.related-head .eyebrow {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.related-pub {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  cursor: pointer;
}
.related-pub .rp-cover {
  position: relative;
  aspect-ratio: 3/4.2;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 12px;
  box-shadow: 0 6px 14px rgba(26,26,26,0.08), 0 1px 2px rgba(26,26,26,0.04);
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), box-shadow 0.32s ease;
}
.related-pub:hover .rp-cover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(26,26,26,0.16); }
.related-pub .rp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-pub .rp-cover .rp-chip {
  position: absolute; top: 10px; left: 10px;
  color: #fff;
  padding: 3px 8px;
  font-family: var(--f-body); font-weight: 700;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
}
.related-pub h5 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 14px; line-height: 1.25;
  color: var(--ink); letter-spacing: -0.005em;
  margin: 0;
}
.related-pub .rp-meta {
  font-family: var(--f-body); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.04em;
  margin-top: 4px;
}
@media (max-width: 1080px) { .related-grid { grid-template-columns: repeat(3, 1fr); } .related-grid > :nth-child(n+4) { display: none; } }
@media (max-width: 720px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .pd-grid { grid-template-columns: 1fr; gap: 40px; }
  .pd-left { position: static; max-width: 380px; }
  .pd-fact-grid { grid-template-columns: 1fr 1fr; }
  .pd-fact { padding: 14px 18px; border-right: 1px solid var(--paper-edge); border-bottom: 1px solid var(--paper-edge); }
  .pd-fact:nth-child(2n) { border-right: 0; }
  .pd-fact:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 540px) {
  .pd-fact-grid { grid-template-columns: 1fr; }
  .pd-fact { border-right: 0 !important; padding: 12px 0; }
  .pd-summary { padding: 24px; }
}
