/* =============================================================
 * newsletter.css — NEWSLETTER (/newsletter) + sayı sayfası (/newsletter/01)
 * Blogs sayfasının tipografisi ve renkleriyle (Lora başlık, Manrope gövde, ince kenarlık,
 * hover'da magenta kenarlık). Düğmeler components.css .btn--solid / .btn--outline.
 * ============================================================= */

.nl { padding-block: 71px 91px; }

/* Hero: blogs__title / blogs__lead ile aynı ölçü */
.nl__hero { margin-bottom: 56px; }
.nl__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  color: var(--c-heading);
  margin: 0 0 10px;
}
.nl__lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 28px;
  color: var(--c-heading);
  max-width: 560px;
  margin: 0;
}
.nl__section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--c-body);
  margin: 0 0 12px;
}

/* ---- Liste kartı: kapak (A4 oranı) | metin ---- */
.nl__list {
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.nl-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 24px;
  padding: 16px;
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  transition: border-color 0.15s linear;
}
.nl-card:hover { border-color: var(--c-secondary); }

.nl-card__cover,
.nl-issue__cover {
  display: block;
  aspect-ratio: 210 / 297;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.nl-card__cover img,
.nl-issue__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Kapak yüklenmemişse: sade kutu, ad + iki haneli sayı */
.nl-card__cover-blank {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 12px;
  box-sizing: border-box;
}
.nl-card__cover-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  color: var(--c-heading);
}
.nl-card__cover-num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: var(--c-primary);
}

.nl-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.nl-card__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.3px;
  color: var(--c-secondary);
  margin: 0 0 6px;
}
.nl-card__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  line-height: 30px;
  color: #000;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.nl-card__title a { color: inherit; text-decoration: none; }
.nl-card__title a:hover { color: var(--c-primary); }
.nl-card__summary {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 24px;
  color: var(--c-body);
  margin: 0 0 16px;
}
.nl-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

/* ---- Sayı sayfası ---- */
.nl--detail { padding-top: 48px; }
.nl__back {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 24px;
}
.nl__back a { color: var(--c-body); text-decoration: none; }
.nl__back a:hover { color: var(--c-heading); }

.nl-issue {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}
/* Kapak yoksa metin tam genişlik */
.nl-issue:not(:has(.nl-issue__cover)) { grid-template-columns: minmax(0, 1fr); }
.nl-issue__body { min-width: 0; }
.nl-issue__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 34px;
  line-height: 42px;
  color: var(--c-heading);
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.nl-issue__summary {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 27px;
  color: var(--c-heading);
  margin: 0 0 12px;
}
.nl-issue__meta {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 20px;
  color: #8d8d8d;
  margin: 0 0 20px;
}

/* Gömülü PDF: yalnız geniş ekranda (iframe'i site.js ekler) */
.nl-viewer { display: none; }
.nl-viewer.is-ready {
  display: block;
  height: 85vh;
  min-height: 560px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
}
.nl-viewer iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---- Telefon ---- */
@media (max-width: 600px) {
  .nl { padding-block: 40px 64px; }
  .nl__hero { margin-bottom: 36px; }
  .nl__title { font-size: 34px; line-height: 42px; }
  .nl__lead { font-size: 16px; line-height: 26px; }

  .nl-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
  .nl-card__cover-num { font-size: 28px; }
  .nl-card__cover-name { font-size: 11px; line-height: 14px; }
  .nl-card__title { font-size: 18px; line-height: 25px; }
  .nl-card__summary { font-size: 14px; line-height: 22px; }
  .nl-card__actions .btn { padding: 9px 14px; }

  .nl--detail { padding-top: 32px; }
  .nl-issue { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .nl-issue__cover { width: 160px; }
  .nl-issue__title { font-size: 26px; line-height: 34px; }
  .nl-issue__summary { font-size: 16px; line-height: 25px; }
}
