/* ══════════════════════════════════════════════════════════════════
   AKREDİTASYON SAYFASI
   Yalnızca akreditasyon.php yükler ($pageCss ile).

   Eskiden bu kurallar sayfanın içinde <style> bloğundaydı ve düzen
   Bootstrap'in col-md-7 / col-md-5 sınıflarına dayanıyordu. v2 sayfalarında
   bootstrap.css yüklenmiyor, üstelik page.css:120 eski grid kalıntılarını
   bilerek düzleştiriyor — bu yüzden görsel ile metin yan yana gelmiyor,
   alt alta diziliyordu. Düzen artık CSS Grid ile kuruluyor; eski sınıflara
   bağımlılık kalmadı.

   Renkler sayfanın kendi koyu kimliğini korur; ölçü ve tipografi v2
   simgelerinden (tokens.css) beslenir.
   ══════════════════════════════════════════════════════════════════ */

.accreditation-page {
  padding-block: var(--s-9) var(--s-10);
  background: var(--white);
}

/* ── Üst blok: görsel solda, metin sağda ─────────────────────────── */

.accreditation-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #111111;
  border-radius: 18px;
  overflow: hidden;
}

.accreditation-image-wrap {
  background: #0d0d0d;
  /* Görsel 1080×1080; kare oran metin sütununun yüksekliğini de belirler. */
  aspect-ratio: 1 / 1;
}

.accreditation-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  /* contain: belge görselinin üzerindeki yazılar kırpılmasın diye. Kenarlar
     zaten koyu (#0b0b0b–#4f4f4f), arka planla birleşiyor. */
  object-fit: contain;
  /* page.css .v2-prose img kuralı kenarlık ve alt boşluk veriyordu; bu blok
     artık prose içinde değil ama kural sızarsa diye açıkça sıfırlanıyor. */
  margin: 0;
  border: 0;
}

.accreditation-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 64px);
  background: #151515;
}

.accreditation-label {
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--font-alt);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.accreditation-content h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.2;
  font-weight: 600;
  color: #ffffff;
}

.accreditation-lead {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: #dddddd;
}

/* ── Sertifikalar ────────────────────────────────────────────────── */

.accreditation-docs { padding-top: var(--s-8); }

.accreditation-docs__head { margin-bottom: var(--s-6); }

/* Üst bloktaki etiket koyu zemin üstünde altın; burada zemin beyaz, aynı
   altın okunuyor ama başlık koyu mürekkep olmalı. */
.accreditation-docs__head .accreditation-label { color: var(--gold-dk); margin-bottom: 12px; }

.accreditation-docs__head h3 {
  margin: 0 0 10px;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.accreditation-docs__head p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-2);
}

.accreditation-docs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}

.accreditation-doc {
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.accreditation-doc:hover {
  border-color: rgba(213, 183, 122, .7);
  border-top-color: var(--gold);
  box-shadow: 0 22px 44px -30px rgba(18, 17, 15, .5);
}

.accreditation-doc__std {
  font-family: var(--font-alt);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

.accreditation-doc h4 {
  margin: 10px 0 12px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.accreditation-doc p {
  margin: 0 0 var(--s-4);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-2);
}

.accreditation-doc__meta {
  /* auto: kart yükseklikleri eşitlenirken künye ve düğmeler hep altta kalsın,
     açıklama uzunluğu farklı olsa da hizalar bozulmasın. */
  margin-top: auto;
  padding-bottom: var(--s-4);
  font-family: var(--font-alt);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ink-3);
}

.accreditation-doc__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.accreditation-doc__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-alt);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease);
}

.accreditation-doc__btn:hover { background: var(--gold-dk); color: var(--white); }
.accreditation-doc__btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.accreditation-doc__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 400;
  color: var(--gold-dk);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.accreditation-doc__link:hover { color: var(--ink); }
.accreditation-doc__link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ── Alt blok: serbest metin ─────────────────────────────────────── */

.accreditation-detail {
  padding-top: var(--s-8);
}

.accreditation-detail .inner-box {
  max-width: 82ch;
  margin-inline: auto;
}

.accreditation-detail p {
  margin: 0 0 var(--s-5);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--ink-2);
}

.accreditation-detail p:last-child {
  margin-bottom: 0;
}

.accreditation-note {
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}

.accreditation-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.accreditation-note span {
  display: block;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ── Dar ekranlar ────────────────────────────────────────────────── */

@media (max-width: 900px) {
  /* İki kart yan yana bu genişlikte dar kalıyor, alt alta iniyor. */
  .accreditation-docs__grid { grid-template-columns: 1fr; }

  .accreditation-hero {
    /* Yan yana düzen bu genişliğin altında sıkışıyor: görsel üstte, metin altta. */
    grid-template-columns: 1fr;
  }

  .accreditation-image-wrap {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 600px) {
  .accreditation-page {
    padding-block: var(--s-7) var(--s-8);
  }

  .accreditation-hero {
    border-radius: 12px;
  }

  .accreditation-image-wrap {
    aspect-ratio: 1 / 1;
  }

  .accreditation-note {
    padding: var(--s-4) var(--s-5);
  }
}
