/* 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: #f7f5f0;
  --eb-ink: #1a1a1a;

  --eb-font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --eb-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --eb-fs-body: 12.25pt;
  --eb-fs-body-sm: 11pt;
  --eb-fs-kicker: 10pt;
  --eb-fs-label: 10pt;
  --eb-fs-sub: 13.5pt;
  --eb-fs-call-title: 19.5pt;
  --eb-fs-call-title-cont: 14pt;
  --eb-fs-heading: 14pt;
  --eb-fs-display: 46pt;
  --eb-fs-display-lg: 54pt;
  --eb-lh-body: 1.55;
}

* { box-sizing: border-box; }
html {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
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;
}
.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);
}

/* Kapak — full-bleed kampüs fotoğrafı + alt scrim tipografi */
.eb-cover {
  position: relative;
  min-height: 297mm;
  height: 297mm;
  padding: 0;
  background: #071526;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-family: var(--eb-font);
  overflow: hidden;
}
.eb-cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  z-index: 0;
}
.eb-cover-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 21, 38, 0.18) 0%, rgba(7, 21, 38, 0.08) 38%, rgba(7, 21, 38, 0.55) 62%, rgba(7, 21, 38, 0.92) 100%);
  pointer-events: none;
}
.eb-cover-content {
  position: relative;
  z-index: 2;
  padding: 18mm 14mm 16mm;
  max-width: 182mm;
}
.eb-cover-brand {
  margin: 0 0 8px;
  font-family: var(--eb-font);
  font-size: 28pt;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--eb-gold);
  line-height: 1.05;
}
.eb-cover-kicker {
  font-family: var(--eb-font);
  font-size: 15pt;
  font-weight: 600;
  opacity: .95;
  margin: 0 0 14px;
  letter-spacing: .04em;
  line-height: 1.25;
}
.eb-cover-month {
  font-family: var(--eb-font-display);
  font-size: 32pt;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 4px;
  color: #fff;
}
.eb-cover-title {
  font-family: var(--eb-font-display);
  font-size: 48pt;
  line-height: 1.02;
  font-weight: 700;
  margin: 0 0 16px;
  text-wrap: balance;
}
.eb-cover-line {
  width: 64px;
  height: 3.5px;
  background: var(--eb-gold);
  margin-bottom: 14px;
}
.eb-cover-sub {
  font-family: var(--eb-font);
  font-size: 14pt;
  font-weight: 600;
  letter-spacing: .05em;
  opacity: .92;
  margin: 0;
  line-height: 1.35;
}
.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: 4px;
  background: rgba(196, 163, 90, 0.85);
}
.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: .78;
  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: .88;
}

/* Çağrı içerik — başlık; görsel yalnızca 1. sayfada üstte blok; metin tam genişlik */
.eb-call {
  height: 297mm;
  max-height: 297mm;
  padding: 11mm 14mm 13mm;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--eb-font);
}
.eb-call-label {
  font-family: var(--eb-font);
  color: var(--eb-blue);
  font-size: var(--eb-fs-label);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 4px;
  flex-shrink: 0;
}
.eb-call-title {
  font-family: var(--eb-font-display);
  font-size: var(--eb-fs-call-title);
  line-height: 1.18;
  margin: 0 0 7px;
  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.25;
  margin-bottom: 5px;
}
.eb-call-title-devam {
  font-weight: 600;
  color: #6a6a6a;
  font-size: 0.88em;
  text-transform: lowercase;
}
.eb-call-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  /* ~1.5 satır boşluk: son gövde satırı footer'a yapışmasın / taşmasın */
  padding-bottom: 1.6em;
}
/* Kapak görseli: üstte blok (float yok) → metin her zaman tam genişlik; sol boşluk/sağa kayma yok */
.eb-call-image {
  float: none;
  display: block;
  width: 78mm;
  max-width: 48%;
  max-height: 5.8cm;
  margin: 0 0 9px;
  border-radius: 3px;
  overflow: hidden;
  background: #e8e4dc;
  clear: both;
}
.eb-call-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 5.8cm;
  object-fit: contain;
  object-position: left top;
}
.eb-call-body {
  font-family: var(--eb-font);
  font-size: var(--eb-fs-body);
  line-height: var(--eb-lh-body);
  color: #2a2a2a;
  overflow: hidden;
  width: 100%;
  clear: both;
}
.eb-call-body--with-image::after {
  content: none;
}
.eb-call-body p {
  margin: 0 0 0.42em;
  text-align: justify;
  hyphens: auto;
}
.eb-call-body p:last-child { margin-bottom: 0.35em; }
.eb-call-body ul,
.eb-call-body ol {
  margin: 0 0 0.42em;
  padding-left: 1.15em;
}
.eb-call-body li { margin: 0 0 0.18em; }
.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.45em 0 0.22em;
  font-weight: 600;
  clear: both;
  line-height: 1.35;
}
.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.35em 0 0.55em;
  font-size: 11pt;
  clear: both;
}
.eb-call-body th,
.eb-call-body td {
  border: 1px solid #d0cbc2;
  padding: 4px 6px;
  text-align: left;
  vertical-align: top;
}
.eb-call-foot {
  clear: both;
  margin-top: auto;
  padding-top: 7px;
  border-top: 1.5px solid #cfc8bb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.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: #777;
}

/* Devam sayfaları — görsel yok, tam genişlik metin (float/gutter kalıntısı yok) */
.eb-call--cont {
  padding-top: 10mm;
}
.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: 3px;
  color: #6a6a6a;
  letter-spacing: .12em;
}

/* 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: 12pt;
  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: .75;
  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: 48px; height: 2px; background: var(--eb-gold); margin: 0 auto 18px; }
.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: .65;
  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;
  }
}
