/* ==========================================================================
   Zihin Kampüs — Frontend EK stiller (style.css'e dokunulmaz; bu additive)
   Yeni sayfalar: çerez bandı, blog detay, hata sayfaları, breadcrumb ek.
   Mevcut tasarım token'larını (style.css :root) kullanır.
   ========================================================================== */

/* ----- Çerez onay bandı ----- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500;
  background: var(--ink); color: #EAF0FF; border-radius: var(--r);
  box-shadow: var(--sh-lg); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  justify-content: space-between; max-width: 980px; margin-inline: auto;
  font-size: .95rem; font-weight: 600;
}
.cookie-bar a { color: var(--yellow); text-decoration: underline; }
.cookie-bar .btn { flex-shrink: 0; }
@media (max-width: 560px){ .cookie-bar { justify-content: center; text-align: center; } }

/* ----- Form gönderim durumları ----- */
.lead-form .btn[disabled] { opacity: .7; cursor: progress; }
.field .field-error { color: var(--coral-d); font-size: .85rem; font-weight: 700; margin-top: 5px; display: block; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--coral) !important; }
.newsletter-msg { font-size: .85rem; font-weight: 700; margin-top: 6px; }
.newsletter-msg.ok { color: var(--mint-d); } .newsletter-msg.err { color: #ffd0c8; }

/* ----- Blog detay ----- */
.post-hero { padding: 60px 0 0; }
.post-cover { width: 100%; border-radius: var(--r-lg); overflow: hidden; margin: 28px 0; box-shadow: var(--sh-md);
  aspect-ratio: 16/7; display: grid; place-items: center; font-size: 5rem; background: var(--sky-bg); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 760px; margin-inline: auto; font-size: 1.12rem; color: var(--ink-2); }
.article-body h2 { font-size: 1.7rem; margin: 32px 0 14px; }
.article-body h3 { font-size: 1.35rem; margin: 26px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body ul { list-style: disc; } .article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: var(--r); margin: 18px 0; box-shadow: var(--sh-sm); }
.article-body blockquote { border-left: 5px solid var(--cobalt); background: var(--sky-bg);
  padding: 16px 22px; border-radius: 0 var(--r) var(--r) 0; margin: 22px 0; font-style: italic; color: var(--ink); }
.article-body a { color: var(--cobalt); font-weight: 700; text-decoration: underline; }
.post-share { display: flex; gap: 10px; align-items: center; margin: 32px 0; }
.post-share a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cobalt-soft); color: var(--cobalt); transition: .2s; }
.post-share a:hover { background: var(--cobalt); color: #fff; transform: translateY(-3px); }
.post-author { display: flex; align-items: center; gap: 14px; padding: 22px; background: var(--cream);
  border-radius: var(--r); margin: 28px auto; max-width: 760px; }
.post-author .av { width: 56px; height: 56px; border-radius: 50%; background: var(--cobalt); color: #fff;
  display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.3rem; }

/* ----- Hata & bakım sayfaları ----- */
.err-wrap { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.err-code { font-family: var(--ff-display); font-weight: 800; font-size: clamp(5rem, 18vw, 11rem);
  line-height: 1; color: var(--cobalt); letter-spacing: -.03em; }
.err-wrap h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 10px 0 12px; }
.err-wrap p { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin: 0 auto 26px; }

/* ----- Statik/CMS sayfa (KVKK, gizlilik) ----- */
.legal-body { max-width: 820px; margin-inline: auto; color: var(--ink-2); font-size: 1.06rem; }
.legal-body h2 { font-size: 1.5rem; margin: 30px 0 12px; }
.legal-body h3 { font-size: 1.2rem; margin: 22px 0 10px; }
.legal-body p, .legal-body li { margin-bottom: 12px; }
.legal-body ul { list-style: disc; margin-left: 22px; }

/* ----- Blog kategori aktif rozet (gerçek link) ----- */
.blog-cats a.active { background: var(--cobalt); color: #fff; }

/* ----- Marka logosu (PNG) ----- */
.brand { text-decoration: none; }
.brand-logo { height: 48px; width: auto; display: block; }
.nav.scrolled .brand-logo { height: 40px; transition: height .3s; }
.drawer .dh .brand-logo { height: 42px; }
/* Footer koyu lacivert zemin: logoyu beyaza çevir (okunur kalsın) */
.footer .brand-logo { height: 50px; filter: brightness(0) invert(1); opacity: .95; }
@media (max-width: 560px){ .brand-logo { height: 40px; } }
