/* E-Bülten A4 sayfa stilleri — Plus Jakarta Sans + Fraunces */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --eb-navy: #0b1f3a;
  --eb-blue: #1c458b;
  --eb-link: #1565c0;
  --eb-gold: #c4a35a;
  --eb-intl: #0e4d8b;
  --eb-national: #1a6b4a;
  --eb-tuseb: #7a1f3d;
  --eb-paper: #faf8f4;
  --eb-ink: #1c1c1c;

  --eb-font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --eb-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Büyük, okunaklı gövde tipografisi */
  --eb-fs-body: 14pt;
  --eb-fs-body-sm: 12.5pt;
  --eb-fs-kicker: 11pt;
  --eb-fs-label: 11pt;
  --eb-fs-sub: 15pt;
  --eb-fs-call-title: 22pt;
  --eb-fs-call-title-cont: 15.5pt;
  --eb-fs-heading: 15.5pt;
  --eb-fs-display: 48pt;
  --eb-fs-display-lg: 56pt;
  --eb-fs-cover-month: 42pt;
  --eb-fs-cover-title: 64pt;
  --eb-fs-cover-brand: 24pt;
  --eb-lh-body: 1.62;
  --eb-foot-h: 1.5cm;
}

* { box-sizing: border-box; }
html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 210mm;
  max-width: 210mm;
}
body.eb-page {
  margin: 0;
  padding: 0;
  width: 210mm;
  max-width: 210mm;
  height: 297mm;
  max-height: 297mm;
  background: #d6d3cd;
  font-family: var(--eb-font);
  font-size: var(--eb-fs-body);
  line-height: var(--eb-lh-body);
  color: var(--eb-ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.eb-sheet {
  width: 210mm;
  height: 297mm;
  min-height: 297mm;
  max-height: 297mm;
  margin: 0 auto;
  background: var(--eb-paper);
  position: relative;
  overflow: hidden;
  font-family: var(--eb-font);
  font-size: var(--eb-fs-body);
  isolation: isolate;
}

/* Kapak — metin uçaklar ile bina arasındaki gökyüzü bandında */
.eb-cover {
  position: relative;
  min-height: 297mm;
  height: 297mm;
  padding: 0;
  background: #071526;
  color: #fff;
  font-family: var(--eb-font);
  overflow: hidden;
}
.eb-cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  display: block;
  z-index: 0;
}
.eb-cover-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(7, 21, 38, 0.42) 0%,
      rgba(7, 21, 38, 0.1) 22%,
      rgba(7, 21, 38, 0.06) 42%,
      rgba(7, 21, 38, 0.12) 58%,
      rgba(7, 21, 38, 0.72) 82%,
      rgba(7, 21, 38, 0.92) 100%
    );
  pointer-events: none;
}
.eb-cover-topbar {
  position: absolute;
  top: 9mm;
  left: 12mm;
  right: 12mm;
  z-index: 3;
}
.eb-cover-brand {
  margin: 0;
  font-family: var(--eb-font);
  font-size: var(--eb-fs-cover-brand);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--eb-gold);
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.eb-cover-kicker {
  font-family: var(--eb-font);
  font-size: 12.5pt;
  font-weight: 600;
  margin: 5px 0 0;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.eb-cover-content {
  position: absolute;
  z-index: 2;
  left: 10mm;
  right: 10mm;
  top: 46%;
  transform: translateY(-54%);
  padding: 0;
  max-width: none;
}
.eb-cover-hero {
  padding: 11mm 13mm 10mm;
  border-radius: 8px;
  background: rgba(7, 21, 38, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.eb-cover-month {
  font-family: var(--eb-font-display);
  font-size: var(--eb-fs-cover-month);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.02em;
}
.eb-cover-title {
  font-family: var(--eb-font-display);
  font-size: var(--eb-fs-cover-title);
  line-height: 1.02;
  font-weight: 700;
  margin: 0 0 12px;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
.eb-cover-line {
  width: 88px;
  height: 4px;
  background: linear-gradient(90deg, var(--eb-gold), rgba(196, 163, 90, 0.35));
  margin-bottom: 12px;
  border-radius: 2px;
}
.eb-cover-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.eb-cover-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--eb-font);
  font-size: 12.5pt;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.eb-page--cover .eb-sheet {
  background: #071526;
}

/* Bölüm ara kapak */
.eb-section {
  position: relative;
  min-height: 297mm;
  height: 297mm;
  padding: 42mm 18mm;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  font-family: var(--eb-font);
  overflow: hidden;
}
.eb-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 36mm;
  bottom: 36mm;
  width: 5px;
  background: rgba(196, 163, 90, 0.9);
  border-radius: 0 2px 2px 0;
}
.eb-section--intl { background: linear-gradient(155deg, #062844 0%, #0e4d8b 58%, #1a6fb5 100%); }
.eb-section--national { background: linear-gradient(155deg, #0c3a2a 0%, #1a6b4a 58%, #2a8f64 100%); }
.eb-section--tuseb { background: linear-gradient(155deg, #3a0e1d 0%, #7a1f3d 58%, #a03355 100%); }
.eb-section-kicker {
  font-family: var(--eb-font);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: var(--eb-fs-kicker);
  opacity: .8;
  margin: 0 0 14px;
}
.eb-section-title {
  font-family: var(--eb-font-display);
  font-size: var(--eb-fs-display);
  line-height: 1.1;
  margin: 0 0 14px;
  font-weight: 600;
}
.eb-section-desc {
  font-family: var(--eb-font);
  margin: 0;
  font-size: var(--eb-fs-sub);
  opacity: .9;
  line-height: 1.45;
}

/* Çağrı içerik sayfası */
.eb-call {
  height: 297mm;
  max-height: 297mm;
  padding: 8mm 12mm 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--eb-font);
  width: 100%;
  position: relative;
  box-sizing: border-box;
}
.eb-call-label {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-family: var(--eb-font);
  color: var(--eb-blue);
  font-size: var(--eb-fs-label);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 6px;
  flex-shrink: 0;
  padding: 3px 10px;
  background: rgba(28, 69, 139, 0.08);
  border-radius: 4px;
}
.eb-call-title {
  font-family: var(--eb-font-display);
  font-size: var(--eb-fs-call-title);
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--eb-navy);
  flex-shrink: 0;
  font-weight: 600;
}
.eb-call-title--cont {
  font-family: var(--eb-font);
  font-size: var(--eb-fs-call-title-cont);
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 6px;
}
.eb-call-title-devam {
  font-weight: 600;
  color: #6a6a6a;
  font-size: 0.85em;
  text-transform: lowercase;
}
.eb-call-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  width: 100%;
  padding-bottom: calc(var(--eb-foot-h) + 5mm);
  box-sizing: border-box;
}
.eb-call-image {
  float: none;
  display: block;
  width: auto;
  max-width: 88%;
  max-height: 5cm;
  margin: 0 auto 7px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  clear: both;
  box-shadow: none;
  text-align: center;
}
.eb-call-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 5cm;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}
.eb-call-body {
  font-family: var(--eb-font);
  font-size: var(--eb-fs-body);
  line-height: var(--eb-lh-body);
  color: #252525;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  clear: both;
}
.eb-call-body--with-image::after {
  content: none;
}
.eb-call-body p {
  margin: 0 0 0.48em;
  text-align: justify;
  hyphens: auto;
}
.eb-call-body p:last-child { margin-bottom: 0.4em; }
.eb-call-body ul,
.eb-call-body ol {
  margin: 0 0 0.48em;
  padding-left: 1.2em;
}
.eb-call-body li {
  margin: 0 0 0.22em;
  padding-left: 0.15em;
}
.eb-call-body h2,
.eb-call-body h3,
.eb-call-body h4,
.eb-call-body h5 {
  font-family: var(--eb-font-display);
  color: var(--eb-navy);
  font-size: var(--eb-fs-heading);
  margin: 0.5em 0 0.25em;
  font-weight: 600;
  clear: both;
  line-height: 1.38;
}
.eb-call-body strong,
.eb-call-body b {
  font-weight: 700;
  color: var(--eb-navy);
}
.eb-call-body a,
.eb-call-body a.eb-mail {
  color: var(--eb-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.eb-call-body a:visited {
  color: #0d47a1;
}
.eb-call-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4em 0 0.6em;
  font-size: 12.5pt;
  clear: both;
}
.eb-call-body th,
.eb-call-body td {
  border: 1px solid #d0cbc2;
  padding: 5px 7px;
  text-align: left;
  vertical-align: top;
}
.eb-call-foot {
  position: absolute;
  left: 12mm;
  right: 12mm;
  bottom: 4mm;
  min-height: var(--eb-foot-h);
  margin-top: 0;
  padding: 5px 0 0;
  border-top: 2px solid #e0d9cc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  box-sizing: border-box;
  background: var(--eb-paper);
  z-index: 2;
}
.eb-call-deadline {
  font-family: var(--eb-font);
  font-weight: 700;
  color: #7a1f3d;
  font-size: var(--eb-fs-body-sm);
}
.eb-call-cont {
  margin: 0;
  font-family: var(--eb-font);
  font-size: var(--eb-fs-kicker);
  color: #888;
  font-variant-numeric: tabular-nums;
}

/* Devam sayfaları — görsel ve uzun başlık yok, tam genişlik metin */
.eb-call--cont {
  padding-top: 7mm;
}
.eb-call--cont .eb-call-image {
  display: none !important;
  float: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}
.eb-call--cont .eb-call-main,
.eb-call--cont .eb-call-body {
  overflow: hidden;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  clear: both;
  float: none;
}
.eb-call:not(.eb-call--has-image) .eb-call-main,
.eb-call:not(.eb-call--has-image) .eb-call-body {
  width: 100%;
  margin-left: 0;
  clear: both;
}
.eb-call--cont .eb-call-label {
  margin-bottom: 4px;
  color: #6a6a6a;
  letter-spacing: .12em;
  background: rgba(0, 0, 0, 0.05);
}

/* Arka kapak */
.eb-back {
  min-height: 297mm;
  height: 297mm;
  padding: 40mm 18mm;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(196, 163, 90, 0.14), transparent 55%),
    linear-gradient(160deg, #071526, #0b1f3a 70%, #102a4a);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-family: var(--eb-font);
}
.eb-back-brand {
  margin: 0 0 10px;
  font-family: var(--eb-font);
  font-size: 13pt;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--eb-gold);
}
.eb-back-kicker {
  font-family: var(--eb-font);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: var(--eb-fs-kicker);
  opacity: .78;
  margin: 0 0 10px;
}
.eb-back-title {
  font-family: var(--eb-font-display);
  font-size: var(--eb-fs-display);
  margin: 0 0 10px;
  font-weight: 600;
}
.eb-back-month {
  font-family: var(--eb-font);
  color: var(--eb-gold);
  font-size: var(--eb-fs-sub);
  margin: 0 0 18px;
}
.eb-back-line { width: 52px; height: 3px; background: var(--eb-gold); margin: 0 auto 18px; border-radius: 2px; }
.eb-back-contact {
  font-family: var(--eb-font);
  font-size: var(--eb-fs-sub);
  margin: 0 0 8px;
}
.eb-back-note {
  font-family: var(--eb-font);
  font-size: var(--eb-fs-body-sm);
  opacity: .68;
  margin: 0;
}

@media print {
  html {
    overflow: visible;
  }
  html, body.eb-page, body.eb-print {
    background: #fff;
    overflow: visible;
  }
  body.eb-page {
    width: 210mm;
    height: 297mm;
  }
  .eb-sheet {
    box-shadow: none;
    overflow: hidden;
  }
}
