/* ==========================================================================
   İLKE — yayinlar.css  (Publications archive listing)
   ========================================================================== */

.lp-hero {
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--paper-edge);
}
.lp-hero .shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: flex-end;
}
.lp-hero .eyebrow {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.lp-hero .eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 1.5px; background: var(--accent);
}
.lp-hero h1 {
  font-family: var(--f-disp);
  font-weight: 500;
  font-size: clamp(48px, 6.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.lp-hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.lp-hero-deck {
  font-family: var(--f-disp);
  font-style: italic;
  font-weight: 400;
  font-size: 18px; line-height: 1.5;
  color: var(--ink-3);
  margin-top: 18px;
  max-width: 56ch;
}
.lp-hero-stats {
  display: flex; gap: 32px;
  font-family: var(--f-body); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.lp-hero-stats > div {
  display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid var(--paper-edge);
  padding-left: 20px;
}
.lp-hero-stats > div:first-child { border-left: 0; padding-left: 0; }
.lp-hero-stats b {
  font-family: var(--f-disp); font-style: italic; font-weight: 500;
  font-size: 36px; letter-spacing: -0.025em;
  color: var(--ink);
}
@media (max-width: 880px) {
  .lp-hero .shell { grid-template-columns: 1fr; gap: 24px; }
  .lp-hero-stats { gap: 24px; }
}

/* ---------- Filter / toolbar ---------- */
.lp-toolbar {
  position: sticky;
  top: 76px;
  z-index: 20;
  background: rgba(245,241,234,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--paper-edge);
  padding: 18px 0;
  transition: padding 0.32s cubic-bezier(.2,.8,.2,1),
              background 0.32s ease;
}
.lp-toolbar.compact { padding: 10px 0; background: rgba(245,241,234,0.96); }
.lp-toolbar.compact .lp-toolbar-row2,
.lp-toolbar.compact .lp-filter-label,
.lp-toolbar.compact .lp-sort { display: none; }
.lp-toolbar.compact .lp-search { height: 34px; width: 220px; }
.lp-toolbar.compact .lp-chip { padding: 5px 11px; font-size: 11.5px; }
.lp-toolbar .shell {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  transition: gap 0.32s ease;
}
.lp-toolbar.compact .shell { gap: 14px; }
.lp-filters {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.lp-filter-label {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 4px;
}
.lp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px;
  border-radius: 99px;
  border: 1px solid var(--paper-edge);
  background: var(--paper);
  font-family: var(--f-body); font-weight: 500; font-size: 12.5px;
  color: var(--ink-2); cursor: pointer;
  transition: all 0.14s ease;
}
.lp-chip:hover { border-color: var(--ink); color: var(--ink); }
.lp-chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lp-chip i { width: 6px; height: 6px; border-radius: 99px; display: inline-block; }
.lp-search {
  display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px;
  border: 1px solid var(--paper-edge);
  border-radius: 99px;
  background: var(--paper);
  width: 280px;
}
.lp-search svg { width: 14px; height: 14px; color: var(--ink-3); flex-shrink: 0; }
.lp-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: var(--f-body); font-size: 13px; color: var(--ink);
}
.lp-search input::placeholder { color: var(--ink-4); }
.lp-sort {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--paper-edge);
  border-radius: 99px;
  background: var(--paper);
  font-family: var(--f-body); font-weight: 500; font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
}
.lp-sort svg { width: 12px; height: 12px; }
@media (max-width: 980px) {
  .lp-toolbar .shell { grid-template-columns: 1fr; gap: 12px; }
  .lp-search { width: 100%; }
}

.lp-toolbar-row2 {
  margin-top: 10px;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}

/* ---------- Featured publication (this month) ---------- */
.lp-featured {
  padding: 56px 0 48px;
}
.lp-featured-card {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 36px;
  background: linear-gradient(135deg, #F2D9D4 0%, #E8C5C0 100%);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.lp-featured-card::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'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none; mix-blend-mode: multiply;
}
.lp-featured-cover {
  aspect-ratio: 3/4.2;
  width: 280px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(76,16,16,0.20), 0 6px 12px rgba(76,16,16,0.10);
  transform: rotate(-2deg);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.lp-featured-cover:hover { transform: rotate(0); }
.lp-featured-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-featured-body { color: #2A0810; }
.lp-featured-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  padding: 5px 11px;
  font-family: var(--f-body); font-weight: 700;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 18px;
}
.lp-featured-tag i { width: 6px; height: 6px; border-radius: 99px; background: #fff; animation: blink 1.4s ease-in-out infinite; }
.lp-featured-body h2 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.0; letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: #2A0810;
  text-wrap: balance;
}
.lp-featured-body h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.lp-featured-body p {
  font-family: var(--f-disp); font-style: italic;
  font-size: 17px; line-height: 1.45;
  color: #5C1A22;
  max-width: 52ch;
  margin-bottom: 20px;
}
.lp-featured-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-body); font-size: 11.5px;
  color: #5C1A22; letter-spacing: 0.04em;
}
.lp-featured-meta b { color: #2A0810; font-weight: 700; }
.lp-featured-meta .dot { width: 3px; height: 3px; border-radius: 99px; background: #5C1A22; display: inline-block; align-self: center; }
.lp-featured-actions {
  display: flex; flex-direction: column; gap: 10px;
  align-self: stretch; justify-content: center;
  min-width: 200px;
}
.lp-featured-actions .btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-radius: 99px;
  font-family: var(--f-body); font-weight: 600; font-size: 13px;
  cursor: pointer; text-decoration: none;
  border: 0;
}
.lp-featured-actions .btn.primary {
  background: var(--ink); color: var(--paper);
}
.lp-featured-actions .btn.primary:hover { background: var(--accent); }
.lp-featured-actions .btn.ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
}
.lp-featured-actions .btn.ghost:hover { background: var(--ink); color: var(--paper); }
.lp-featured-actions .btn svg { width: 14px; height: 14px; }
.lp-featured-actions .btn .size { opacity: 0.65; font-size: 11px; }

@media (max-width: 980px) {
  .lp-featured-card { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .lp-featured-cover { width: 200px; }
  .lp-featured-actions { flex-direction: row; }
}

/* ---------- Results header ---------- */
.lp-results-head {
  padding: 0 0 24px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 32px;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
}
.lp-results-head h3 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.015em;
}
.lp-results-head h3 em { font-style: italic; color: var(--accent); font-weight: 400; }
.lp-results-head .count {
  font-family: var(--f-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.lp-results-head .count b { color: var(--ink); font-weight: 700; font-size: 13px; }

/* ---------- Grid ---------- */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
  margin-bottom: 64px;
}
.lp-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  cursor: pointer;
  min-width: 0;
}
.lp-cover {
  position: relative;
  aspect-ratio: 3/4.2;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: 14px;
  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;
}
.lp-card:hover .lp-cover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(26,26,26,0.16), 0 6px 12px rgba(26,26,26,0.08);
}
.lp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-cover .lp-chip {
  position: absolute; top: 12px; left: 12px;
  color: #fff;
  padding: 4px 9px;
  font-family: var(--f-body); font-weight: 700;
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
.lp-cover .lp-no {
  position: absolute; bottom: 10px; right: 12px;
  font-family: var(--f-body); font-weight: 700;
  font-size: 10px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.9);
  padding: 3px 6px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  border-radius: 3px;
}
.lp-type {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.lp-card h4 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 17px; line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.lp-card h4 em { font-style: italic; color: var(--accent); }
.lp-card:hover h4 { color: var(--accent); }
.lp-card .lp-author {
  font-family: var(--f-disp); font-style: italic;
  font-size: 13.5px; color: var(--ink-3);
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}
.lp-card .lp-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-family: var(--f-body); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.04em;
  margin-top: auto;
}
.lp-card .lp-meta .dl {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; color: var(--ink);
}
.lp-card .lp-meta .dl svg { width: 12px; height: 12px; }
.lp-card:hover .lp-meta .dl { color: var(--accent); }

@media (max-width: 1100px) { .lp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lp-grid { grid-template-columns: 1fr; } }

/* ---------- Year separator ---------- */
.lp-year {
  grid-column: 1 / -1;
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--paper-edge);
  margin-top: 24px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.lp-year:first-child { margin-top: 0; }
.lp-year h4 {
  font-family: var(--f-disp); font-weight: 400; font-style: italic;
  font-size: 38px; line-height: 1; letter-spacing: -0.025em;
  color: var(--ink);
}
.lp-year .ct {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Pagination ---------- */
.lp-pager {
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 28px 0;
  border-top: 1px solid var(--paper-edge);
}
.lp-pager a, .lp-pager span {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px;
  font-family: var(--f-body); font-weight: 500; font-size: 13.5px;
  color: var(--ink-2); cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
}
.lp-pager a:hover { background: var(--paper-2); color: var(--ink); }
.lp-pager .on { background: var(--ink); color: var(--paper); font-weight: 700; }
.lp-pager .dots { cursor: default; color: var(--ink-3); }
.lp-pager .nav { font-weight: 600; gap: 6px; display: inline-flex; align-items: center; }
.lp-pager .nav svg { width: 13px; height: 13px; }
