/* =====================================================================
   uzmanpdr — ORTAK STİL DOSYASI (tüm sayfalar bunu yükler)
   Menü, footer ve temel stiller BURADA. Sayfaya özel stiller ilgili
   src/pages/*.html dosyasının en üstündeki <style> içindedir.
   ===================================================================== */

/* ---- Renk / ölçü değişkenleri ---- */
:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #eff6ff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --brand-primary: #1d4ed8;
  --brand-hover: #1e40af;
  --brand-light: #dbeafe;
  --accent-emerald: #059669;
  --accent-emerald-bg: #d1fae5;
  --badge-new-bg: #dcfce7;
  --badge-new-text: #15803d;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --header-height: 70px;
  --container-max: 1320px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --accent-amber: #d97706;
  --accent-amber-bg: #fef3c7;
  --accent-danger: #dc2626;
  --accent-danger-bg: #fee2e2;
  --accent-indigo: #4f46e5;
  --accent-indigo-bg: #e0e7ff;
}

/* ---- Temel ---- */
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-page); color: var(--text-primary); line-height: 1.55; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; overflow-x: clip; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; width: 100%; }

/* ---- Üst menü, mega menü, mobil menü, arama ---- */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--bg-surface); border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.nav-container { max-width: var(--container-max); margin: 0 auto; padding: 0 18px; min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 14px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #ffffff; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(29, 78, 216, 0.25); }
.brand-text { display: flex; flex-direction: column; }
.brand-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); line-height: 1.1; }
.brand-title span { color: var(--brand-primary); }
.brand-sub { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); }
.desktop-nav { flex: 1; display: flex; align-items: center; justify-content: center; padding: 6px 0; min-width: 0; max-width: 820px; margin: 0 auto; }
.nav-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; width: 100%; }
.nav-item { display: flex; align-items: center; position: relative; }
.nav-item.has-mega { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; font-size: 0.83rem; font-weight: 600; color: var(--text-secondary); border-radius: var(--radius-md); transition: color var(--transition), background-color var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-item.is-open > .nav-link, .nav-link.active { color: var(--brand-primary); background-color: var(--bg-hover); }
.chevron { width: 14px; height: 14px; transition: transform var(--transition); opacity: 0.75; }
.nav-item.is-open > .nav-link .chevron { transform: rotate(180deg); color: var(--brand-primary); }
.mega-panel, .dropdown-panel { position: absolute; top: calc(100% + 1px); background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--transition), transform var(--transition), visibility var(--transition); z-index: 990; }
.mega-panel { left: 20px; right: 20px; padding: 24px 28px; }
.dropdown-panel { left: 0; min-width: 300px; max-width: calc(100vw - 32px); padding: 14px; border-radius: var(--radius-lg); }
.dropdown-panel.align-right { left: auto; right: 0; }
.nav-item.is-open > .mega-panel, .nav-item.is-open > .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mega-grid-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mega-col { display: flex; flex-direction: column; }
.mega-col-header { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--brand-primary); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.mega-links { display: flex; flex-direction: column; gap: 3px; }
.mega-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: var(--radius-md); font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); transition: all var(--transition); }
.mega-link:hover, .mega-link.current { background-color: var(--bg-hover); color: var(--brand-primary); transform: translateX(3px); }
.module-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--radius-md); border: 1px solid var(--border-color); background: var(--bg-page); transition: all var(--transition); }
.module-card:hover, .module-card.current { background: var(--bg-hover); border-color: #bfdbfe; transform: translateY(-2px); }
.module-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--brand-light); color: var(--brand-primary); display: grid; place-items: center; flex-shrink: 0; }
.module-title { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.module-desc { font-size: 0.79rem; color: var(--text-muted); line-height: 1.4; }
.badge-new { display: inline-flex; align-items: center; padding: 2px 7px; font-size: 0.68rem; font-weight: 700; border-radius: 999px; background: var(--badge-new-bg); color: var(--badge-new-text); white-space: nowrap; flex-shrink: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.search-trigger { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: var(--bg-subtle); border: 1px solid var(--border-color); border-radius: var(--radius-md); color: var(--text-muted); font-size: 0.84rem; transition: all var(--transition); }
.search-trigger:hover { border-color: #cbd5e1; background: #e2e8f0; color: var(--text-primary); }
.search-kbd { font-size: 0.72rem; font-weight: 600; padding: 1px 6px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 5px; color: var(--text-secondary); }
.mobile-toggle { display: none; width: 40px; height: 40px; border-radius: var(--radius-md); border: 1px solid var(--border-color); align-items: center; justify-content: center; color: var(--text-primary); }
.mobile-drawer { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; background: var(--bg-surface); z-index: 980; overflow-y: auto; padding: 16px 20px 40px; border-top: 1px solid var(--border-color); }
.mobile-drawer.is-open { display: block; }
.mobile-item { border-bottom: 1px solid var(--border-color); }
.mobile-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 0.96rem; font-weight: 700; color: var(--text-primary); text-align: left; }
.mobile-trigger[aria-expanded="true"] { color: var(--brand-primary); }
.mobile-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.mobile-submenu { display: none; padding: 0 4px 14px 12px; }
.mobile-submenu.is-open { display: block; }
.mobile-group-title { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--brand-primary); margin: 12px 0 6px; }
.mobile-sublink { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; font-size: 0.88rem; color: var(--text-secondary); border-radius: 6px; }
.mobile-sublink:hover { background: var(--bg-hover); color: var(--brand-primary); }
.search-modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(3px); z-index: 2000; display: none; align-items: flex-start; justify-content: center; padding: 70px 16px 16px; }
.search-modal-backdrop.is-open { display: flex; }
.search-modal { width: 100%; max-width: 620px; background: var(--bg-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); overflow: hidden; }
.search-input-wrap { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border-color); }
.search-input { width: 100%; border: none; outline: none; font-size: 1rem; color: var(--text-primary); background: transparent; }
.search-results { max-height: 380px; overflow-y: auto; padding: 8px; }
.search-result-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--radius-md); transition: background var(--transition); }
.search-result-item:hover { background: var(--bg-hover); }
.search-result-title { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.search-result-cat { font-size: 0.76rem; color: var(--text-muted); }
.search-empty { padding: 28px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* ---- Alt bilgi (footer) ---- */
.site-footer { background: var(--bg-surface); border-top: 1px solid var(--border-color); padding: 44px 0 24px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border-color); }
.footer-about p { font-size: 0.86rem; color: var(--text-muted); margin-top: 12px; max-width: 340px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-primary); margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.86rem; color: var(--text-secondary); transition: color var(--transition); }
.footer-links a:hover { color: var(--brand-primary); }
.footer-bottom { padding-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: var(--text-muted); }

/* ---- Duyarlı (responsive) ---- */
@media (max-width: 1060px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: flex; }
  .search-kbd { display: none; }
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Henüz yayınlanmamış sayfalar ("Yakında") ----
   build.py, hedef dosyası olmayan her bağlantıya .is-soon sınıfı ekler.
   Dosyayı src/pages/ içine koyup yeniden derleyince otomatik kalkar. */
a.is-soon { opacity: .55; cursor: not-allowed; }
a.is-soon:hover { transform: none; }
.mega-link.is-soon::after, .mobile-sublink.is-soon::after, .footer-links a.is-soon::after {
  content: "Yakında"; display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; line-height: 1.5; background: var(--bg-subtle); color: var(--text-muted);
  border: 1px solid var(--border-color); vertical-align: middle; white-space: nowrap;
}
.module-card.is-soon .module-title::after {
  content: "Yakında"; display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; background: var(--bg-subtle); color: var(--text-muted);
  border: 1px solid var(--border-color); vertical-align: middle;
}

/* ---- Erişilebilirlik (:focus-visible) & Yukarı Çık Butonu ---- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--brand-primary);
  outline-offset: 2px;
}
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 950;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background-color var(--transition);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--brand-hover);
}
@media print {
  .back-to-top { display: none !important; }
}

/* ---- Çerez ve Yerel Veri Bilgilendirme Bandı ---- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
  min-width: 240px;
}
.cookie-banner-text a {
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 8px;
  transition: background var(--transition);
}
.cookie-btn-accept:hover {
  background: var(--brand-hover);
}
.cookie-btn-info {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
}
.cookie-btn-info:hover {
  background: var(--bg-hover);
  color: var(--brand-primary);
}
@media print {
  .cookie-banner { display: none !important; }
}

/* ---- Blog & Rehber Yazıları Stilleri ---- */
.blog-main { flex: 1; padding: 28px 0 60px; }
.blog-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.blog-breadcrumb a:hover { color: var(--brand-primary); text-decoration: underline; }
.blog-hero { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px 30px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.blog-hero h1 { font-size: 1.68rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--text-primary); }
.blog-hero p { font-size: 0.95rem; color: var(--text-secondary); max-width: 820px; }

.blog-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 14px 18px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.blog-cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-cat-btn { padding: 8px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; background: var(--bg-subtle); color: var(--text-secondary); transition: all var(--transition); }
.blog-cat-btn:hover { background: var(--bg-hover); color: var(--brand-primary); }
.blog-cat-btn.active { background: var(--brand-primary); color: #ffffff; }
.blog-search-input { min-width: 240px; flex: 0 1 300px; padding: 8px 13px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 0.88rem; color: var(--text-primary); background: var(--bg-page); }
.blog-search-input:focus { border-color: var(--brand-primary); background: #ffffff; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.blog-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #93c5fd; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.blog-cat-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; background: var(--brand-light); color: var(--brand-primary); }
.blog-cat-pill.cat-sinav { background: #fef3c7; color: #b45309; }
.blog-cat-pill.cat-calisma { background: #d1fae5; color: #047857; }
.blog-cat-pill.cat-veli { background: #ede9fe; color: #6d28d9; }
.blog-read-time { font-size: 0.76rem; font-weight: 600; color: var(--text-muted); }
.blog-card h2 { font-size: 1.08rem; font-weight: 800; line-height: 1.38; color: var(--text-primary); margin-bottom: 8px; }
.blog-card h2 a:hover { color: var(--brand-primary); }
.blog-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.56; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border-color); padding-top: 12px; font-size: 0.82rem; font-weight: 700; }
.blog-read-link { color: var(--brand-primary); display: inline-flex; align-items: center; gap: 4px; }
.blog-read-link:hover { text-decoration: underline; }
.blog-starter-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; background: #dcfce7; color: #15803d; }

/* Makale Detay Sayfası */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 26px; align-items: start; }
.article-wrap { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px 36px; box-shadow: var(--shadow-sm); }
.article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 24px; }
.article-header h1 { font-size: 1.75rem; font-weight: 800; line-height: 1.28; letter-spacing: -0.02em; color: var(--text-primary); margin: 12px 0 10px; }
.article-lead { font-size: 1.02rem; color: var(--text-secondary); line-height: 1.65; }
.article-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 0.82rem; color: var(--text-muted); margin-top: 12px; }

.article-body h2 { font-size: 1.28rem; font-weight: 800; color: var(--text-primary); margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border-color); }
.article-body h3 { font-size: 1.04rem; font-weight: 700; color: var(--brand-primary); margin: 20px 0 8px; }
.article-body p { font-size: 0.96rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.68; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body a { color: var(--brand-primary); font-weight: 600; text-decoration: underline; }
.article-callout { background: var(--bg-hover); border: 1px solid #bfdbfe; border-left: 4px solid var(--brand-primary); border-radius: 10px; padding: 15px 18px; margin: 18px 0; font-size: 0.92rem; color: var(--text-primary); line-height: 1.65; }
.article-table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 0.89rem; }
.article-table th, .article-table td { border: 1px solid var(--border-color); padding: 10px 12px; text-align: left; vertical-align: top; }
.article-table th { background: var(--bg-subtle); font-weight: 800; color: var(--text-primary); }

.cta-tool-box { margin: 26px 0 12px; padding: 20px 22px; border-radius: 12px; background: linear-gradient(135deg, #eff6ff, #f8fafc); border: 1.5px solid #93c5fd; }
.cta-tool-box h3 { font-size: 1.05rem; font-weight: 800; color: var(--brand-primary); margin-bottom: 6px; }
.cta-tool-box p { font-size: 0.89rem; color: var(--text-secondary); margin-bottom: 12px; }
.cta-tool-links { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-tool-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 8px; background: var(--brand-primary); color: #ffffff !important; text-decoration: none !important; font-size: 0.85rem; font-weight: 700; transition: background var(--transition); }
.cta-tool-btn:hover { background: var(--brand-hover); }
.cta-tool-btn.secondary { background: #ffffff; color: var(--brand-primary) !important; border: 1px solid #93c5fd; }
.cta-tool-btn.secondary:hover { background: var(--bg-hover); }

.article-sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 88px; }
.side-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 0.88rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-primary); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border-color); }
.side-list { display: flex; flex-direction: column; gap: 9px; }
.side-list a { font-size: 0.86rem; font-weight: 600; color: var(--text-secondary); line-height: 1.42; transition: color var(--transition); }
.side-list a:hover { color: var(--brand-primary); }

@media (max-width: 980px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-wrap { padding: 22px 20px; }
}
@media print {
  .site-header, .mobile-drawer, .search-modal-backdrop, .site-footer, .article-sidebar, .cta-tool-box, .no-print { display: none !important; }
  .article-grid { grid-template-columns: 1fr !important; }
  .article-wrap { border: none !important; box-shadow: none !important; padding: 0 !important; }
}

/* ---- Tema Değiştirici (Dark Mode) ---- */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--bg-hover);
  color: var(--brand-primary);
  border-color: #93c5fd;
}

[data-theme="dark"] {
  --bg-page: #0b1220;
  --bg-surface: #111b2e;
  --bg-subtle: #1e293b;
  --bg-hover: #172554;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --brand-primary: #60a5fa;
  --brand-hover: #3b82f6;
  --brand-light: #1e3a8a;
  --accent-emerald: #34d399;
  --accent-emerald-bg: #064e3b;
  --badge-new-bg: #064e3b;
  --badge-new-text: #6ee7b7;
  --border-color: #263449;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.55);
}
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background-color: #0f172a !important;
  color: #f1f5f9 !important;
  border-color: #334155 !important;
}
[data-theme="dark"] .oe-hero,
[data-theme="dark"] .cta-tool-box {
  background: linear-gradient(135deg, #172554 0%, #111b2e 100%) !important;
  border-color: #1e40af !important;
}
[data-theme="dark"] .card-front,
[data-theme="dark"] .flip-front,
[data-theme="dark"] .card-back,
[data-theme="dark"] .flip-back {
  background: #111b2e;
  border-color: #334155;
}
[data-theme="dark"] .alert-note,
[data-theme="dark"] .conflict-box,
[data-theme="dark"] .mev-note {
  background: #271f11 !important;
  border-color: #78350f !important;
  color: #fde68a !important;
}
[data-theme="dark"] .goal-box {
  background: #062c1e !important;
  border-color: #065f46 !important;
  color: #a7f3d0 !important;
}
[data-theme="dark"] .theme-toggle .icon-moon { display: none !important; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block !important; }

/* ---- Gelişmiş Arama Modalı (Klavye & Son Ziyaret Edilenler) ---- */
.search-group-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}
.search-result-item.is-active-result {
  background: var(--bg-hover);
  outline: 1.5px solid var(--brand-primary);
}
.search-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 9px 16px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-page);
  font-size: 0.74rem;
  color: var(--text-muted);
}
.search-modal-footer kbd {
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.7rem;
}

/* ---- Anlık Bildirim (Toast) Sistemi ---- */
.toast-container {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 340px;
}
.toast-item {
  pointer-events: auto;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #334155;
  border-left: 4px solid #3b82f6;
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.toast-item.is-shown {
  opacity: 1;
  transform: translateY(0);
}
.toast-item.toast-success { border-left-color: #10b981; }
.toast-item.toast-warn { border-left-color: #f59e0b; }

/* ---- Okuma İlerleme Çubuğu & Otomatik İçindekiler (TOC) ---- */
.reading-progress-bar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), #10b981);
  z-index: 1050;
  transition: width 0.08s linear;
  pointer-events: none;
}
.auto-toc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.auto-toc-card h3 {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-primary);
  margin-bottom: 9px;
}
.auto-toc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auto-toc-list a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: color var(--transition);
}
.auto-toc-list a:hover { color: var(--brand-primary); text-decoration: underline; }

@media print {
  [data-theme="dark"] {
    --bg-page: #ffffff !important;
    --bg-surface: #ffffff !important;
    --bg-subtle: #f1f5f9 !important;
    --text-primary: #0f172a !important;
    --text-secondary: #334155 !important;
    --border-color: #cbd5e1 !important;
  }
  .toast-container, .reading-progress-bar, .auto-toc-card, .theme-toggle { display: none !important; }
}

/* ---- Otomatik & Manuel Öne Çıkan Kapak Görselleri ---- */
.featured-card-cover,
.blog-card-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
}
.featured-card-cover img,
.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.feature-card:hover .featured-card-cover img,
.blog-card:hover .blog-card-cover img {
  transform: scale(1.025);
}
.article-featured-cover {
  margin: 0 0 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 1200 / 630;
  background: var(--bg-subtle);
}
.article-featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- WhatsApp & Bağlantı Kopyalama Paylaşım Çubuğu ---- */
.share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
}
.share-bar-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.share-bar-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.share-btn-wa {
  background: #16a34a;
  color: #ffffff !important;
  text-decoration: none !important;
}
.share-btn-wa:hover { background: #15803d; }
.share-btn-copy {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.share-btn-copy:hover {
  background: var(--bg-hover);
  color: var(--brand-primary);
  border-color: #93c5fd;
}
.footer-util-btn {
  font-size: inherit;
  font-weight: 700;
  color: var(--brand-primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.footer-util-btn:hover { text-decoration: underline; }
@media print {
  .share-bar { display: none !important; }
}

/* ---- Cusdis Yorum Alanı ---- */
.comments-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
}
.comments-section h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.comments-privacy-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.comments-placeholder {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.comments-placeholder a {
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: underline;
}
#cusdis_thread iframe {
  width: 100% !important;
  min-height: 260px;
}

/* ---- Kişisel Favorilerim (Yıldızla) ---- */
.fav-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.fav-toggle:hover {
  background: var(--bg-hover);
  color: #d97706;
  border-color: #fcd34d;
}
.fav-toggle.is-fav {
  background: #fef3c7;
  color: #d97706;
  border-color: #f59e0b;
}
.fav-toggle.is-fav svg {
  fill: #f59e0b;
}
.fav-home-section {
  padding: 16px 0 4px;
}
.fav-home-box {
  background: var(--bg-surface);
  border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.fav-home-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #b45309;
  white-space: nowrap;
}
[data-theme="dark"] .fav-home-title { color: #fcd34d; }
.fav-home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fav-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: all var(--transition);
}
.fav-chip:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--bg-hover);
}
@media print {
  .fav-toggle, .fav-home-section { display: none !important; }
}

/* ---- Rol Bazlı Hızlı Başlangıç ("Ben Kimim?") ---- */
.role-filter-section {
  padding: 18px 0 4px;
}
.role-filter-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.role-filter-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.role-filter-label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
}
.role-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.role-tab {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.81rem;
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.role-tab:hover {
  background: var(--bg-hover);
  color: var(--brand-primary);
}
.role-tab.active {
  background: var(--brand-primary);
  color: #ffffff;
}
.role-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.role-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 9px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: all var(--transition);
}
.role-pill:hover {
  border-color: var(--brand-primary);
  background: var(--bg-hover);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

/* ---- Yüzer Aksiyon Butonları (Yukarı Çık & Hızlı Yazdır) ---- */
.floating-utils {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.floating-utils.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.float-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--transition);
}
.float-btn:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

/* ---- Mikro Etkileşim & Odak İncelikleri ---- */
.feature-card, .calc-card, .dir-card, .oe-card, .blog-card, .cd-card, .act-card {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature-card:hover, .calc-card:hover, .oe-card:hover, .blog-card:hover, .cd-card:hover, .act-card:hover {
  transform: translateY(-3px);
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}
[data-theme="dark"] .scale-frame-wrap,
[data-theme="dark"] .scale-iframe {
  background: #111b2e !important;
}
@media print {
  .floating-utils, .role-filter-section { display: none !important; }
}


/* ---- KVKK / Çerez Onay ve Tercih Yönetimi ---- */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  z-index: 2500;
  display: none;
  flex-direction: column;
  gap: 12px;
}
.consent-banner.is-open { display: flex; }
.consent-title { font-size: 0.96rem; font-weight: 800; color: var(--text-primary); }
.consent-text { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.55; }
.consent-text a { color: var(--brand-primary); font-weight: 700; text-decoration: underline; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.c-btn { padding: 8px 14px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.c-btn-pri { background: var(--brand-primary); color: #ffffff; }
.c-btn-pri:hover { background: var(--brand-hover); }
.c-btn-sec { background: var(--bg-subtle); color: var(--text-primary); border: 1px solid var(--border-color); }
.c-btn-sec:hover { background: var(--bg-hover); color: var(--brand-primary); }
.consent-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  z-index: 2600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.consent-modal-backdrop.is-open { display: flex; }
.consent-modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  padding: 20px 22px;
  box-shadow: var(--shadow-lg);
}
.consent-opt {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}

/* ---- Mobil üst çubuk taşma düzeltmesi ---- */
.nav-container > * { min-width: 0; }
.ad-slot { margin: 24px auto; min-height: 0; overflow: hidden; text-align: center; }
/* v48.5: every visitor sees an ad/promotional area; opt-out remains tracking-free. */
.ad-slot [hidden] { display: none !important; }
.ad-contextual { width: 100%; max-width: 860px; margin: 0 auto; padding: 14px 18px; border: 1px solid var(--border-color); border-radius: 14px; background: var(--bg-surface); text-align: left; }
.ad-contextual-label { font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--text-muted); }
.ad-contextual-link { display: flex; align-items: center; gap: 14px; margin-top: 7px; text-decoration: none; color: var(--text-primary); min-height: 56px; }
.ad-contextual-link:hover strong, .ad-contextual-link:focus-visible strong { text-decoration: underline; }
.ad-contextual-link:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 3px; border-radius: 8px; }
.ad-contextual-symbol { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 11px; background: rgba(37,99,235,.12); color: var(--brand-primary); font-size: 26px; }
.ad-contextual-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.ad-contextual-copy strong { font-size: .95rem; }
.ad-contextual-copy small { font-size: .82rem; line-height: 1.4; color: var(--text-secondary); }
.ad-contextual-arrow { font-size: 24px; color: var(--text-muted); }
.ad-google { width: 100%; min-height: 90px; }
@media (max-width: 375px) { .ad-contextual { padding: 12px; } .ad-contextual-link { gap: 9px; } .ad-contextual-symbol { flex-basis: 38px; height: 38px; } }

@media (max-width: 560px) {
  .nav-container { gap: 8px; }
  .nav-actions { gap: 6px; }
  .search-trigger { padding: 0; width: 36px; height: 36px; justify-content: center; }
  .search-trigger span { display: none; }
  .brand-sub { display: none; }
}
@media (max-width: 360px) {
  .fav-toggle { display: none; }
}
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.hero-search-bar input { min-width: 0; }
.hero-search-btn { flex-shrink: 0; }

/* v45 — mobil odaklı erişilebilirlik ve kararlı görünüm */
body.mobile-nav-open, body.consent-modal-open { overflow: hidden; }
.mobile-drawer { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.search-modal-backdrop { padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
.search-results { overscroll-behavior: contain; }
.search-result-item.is-active-result { background: var(--brand-light); outline: 2px solid var(--brand-primary); outline-offset: -2px; }
.footer-consent-link { color: var(--brand-primary); font-weight: 600; text-decoration: underline; font-size: inherit; }
.consent-banner { padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
.consent-modal { max-height: min(90vh, 90dvh); overflow-y: auto; }
.mobile-table-scroll { display: block; width: 100%; min-width: 0; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.mobile-table-scroll > table { min-width: max-content; }
.mobile-table-scroll:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
main, main .container, main section, .calc-layout, .calc-card { min-width: 0; }
img, video, iframe { max-width: 100%; }
@media (max-width: 600px) {
  :root { --header-height: 62px; }
  .nav-container { min-height: 62px; }
  .mobile-drawer { top: var(--header-height); bottom: 0; height: calc(100dvh - var(--header-height)); }
  .mobile-trigger, .mobile-sublink { min-height: 44px; }
  .mobile-toggle, .search-trigger, .fav-toggle, .theme-toggle { min-width: 44px; min-height: 44px; }
  .search-modal-backdrop { padding: max(8px, env(safe-area-inset-top, 0px)) 8px max(8px, env(safe-area-inset-bottom, 0px)); align-items: flex-start; }
  .search-modal { max-height: calc(100dvh - 24px); display: flex; flex-direction: column; }
  .search-results { max-height: none; min-height: 0; overflow-y: auto; flex: 1; }
  .search-modal-footer { display: none; }
  .cookie-banner-actions, .consent-btns { width: 100%; justify-content: stretch; }
  .consent-btns button { flex: 1 1 125px; min-height: 44px; }
  .consent-banner { left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom, 0px)); max-height: 66dvh; overflow-y: auto; }
  .consent-modal { width: 100%; padding: 16px; }
}
@media print { .mobile-table-scroll { overflow: visible !important; } .mobile-table-scroll > table { min-width: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

@media (max-width: 768px) { .calc-layout { grid-template-columns: minmax(0, 1fr); } .calc-layout > * { min-width: 0; } }

/* v47 — Hedef kitleye göre giriş, sade navigasyon ve kişisel alan */
.desktop-nav { max-width:780px; }
.nav-list { flex-wrap:nowrap; }
.v47-dropdown { min-width:255px; max-height:min(68vh,520px); overflow-y:auto; }
.v47-dropdown .mega-col-header { margin-bottom:4px; }
.v47-role-section{padding:28px 0 14px;background:var(--bg-page)}
.v47-section-heading{text-align:center;margin:0 auto 22px;max-width:680px}
.v47-section-heading span{font-size:.78rem;color:var(--brand-primary);letter-spacing:.06em;font-weight:850;text-transform:uppercase}
.v47-section-heading h2{font-size:clamp(1.45rem,3vw,2rem);margin:6px 0;color:var(--text-primary);font-weight:850}
.v47-section-heading p{color:var(--text-secondary);font-size:.94rem}
.v47-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.v47-role-card{display:flex;flex-direction:column;min-width:0;gap:10px;padding:23px;background:var(--bg-surface);border:1px solid var(--border-color);border-radius:18px;box-shadow:var(--shadow-sm);transition:transform .2s,border-color .2s}
.v47-role-card:hover{border-color:#93c5fd;transform:translateY(-2px)}
.v47-role-icon{width:45px;height:45px;border-radius:12px;display:grid;place-items:center;font-size:1.6rem;font-weight:700;background:#dbeafe;color:#1d4ed8}
.v47-student .v47-role-icon{background:#d1fae5;color:#047857}.v47-parent .v47-role-icon{background:#f3e8ff;color:#7c3aed}
.v47-role-card h3{font-size:1.22rem;font-weight:850;color:var(--text-primary)}
.v47-role-card p{font-size:.88rem;line-height:1.5;color:var(--text-secondary);min-height:2.8em}
.v47-role-links{display:flex;flex-wrap:wrap;gap:7px;margin:4px 0 6px}
.v47-role-links a{font-size:.76rem;border-radius:999px;padding:7px 10px;background:var(--bg-subtle);border:1px solid var(--border-color);color:var(--text-primary);font-weight:700}
.v47-role-links a:hover{color:var(--brand-primary);border-color:var(--brand-primary)}
.v47-role-main-link{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid var(--border-color);padding-top:15px;font-weight:850;color:var(--brand-primary);font-size:.88rem}
.v47-personal-section{padding:10px 0 18px}.v47-personal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.v47-personal-box{border:1px solid var(--border-color);border-radius:13px;padding:17px;background:var(--bg-surface);min-width:0}
.v47-personal-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;margin-bottom:12px}
.v47-personal-head h2{font-size:.97rem;font-weight:850;color:var(--text-primary)}.v47-personal-head span,.v47-empty{color:var(--text-muted);font-size:.8rem}
.v47-chip-list{display:flex;flex-wrap:wrap;gap:7px}.v47-chip-list a{border-radius:8px;border:1px solid var(--border-color);background:var(--bg-subtle);padding:9px 11px;font-size:.82rem;font-weight:700;color:var(--text-primary);max-width:100%;overflow-wrap:anywhere}
.v47-chip-list a:hover{color:var(--brand-primary);border-color:var(--brand-primary)}
.v47-clear-recent{font-size:.8rem;font-weight:700;color:var(--brand-primary);border-radius:6px;padding:7px;min-height:36px}
.v47-related{margin:32px auto 24px;max-width:1180px;padding:18px 20px;background:var(--bg-surface);border:1px solid var(--border-color);border-radius:14px}
.v47-related h2{font-size:1.08rem;font-weight:800;margin-bottom:12px}.v47-related-links{display:flex;flex-wrap:wrap;gap:8px}
.v47-related-links a{border:1px solid var(--border-color);border-radius:8px;padding:9px 12px;font-size:.86rem;font-weight:700;color:var(--text-primary)}.v47-related-links a:hover{border-color:var(--brand-primary);color:var(--brand-primary)}
.v47-source-note {margin:18px 0;border-left:4px solid #2563eb;background:var(--bg-surface);border-radius:10px;padding:15px 18px;color:var(--text-secondary);font-size:.87rem;line-height:1.6}
.v47-source-note strong {color:var(--text-primary)}.v47-source-note a{color:var(--brand-primary);text-decoration:underline;text-underline-offset:2px}
@media(max-width:1060px){.nav-list{flex-wrap:wrap}}
@media(max-width:760px){.v47-role-grid{grid-template-columns:1fr}.v47-personal-grid{grid-template-columns:1fr}.v47-role-card p{min-height:0}.v47-role-card{padding:18px}.v47-role-section{padding-top:22px}}
@media(max-width:480px){.v47-section-heading{text-align:left}.v47-role-links a{min-height:40px;display:inline-flex;align-items:center}.v47-personal-section{padding-top:6px}.v47-source-note{padding:13px}}
@media print{.v47-personal-section,.v47-role-section,.v47-related{display:none!important}}


/* UzmanPDR v48 — connected static tools; responsive and theme-aware */
.v48-main{padding:32px 0 72px;min-height:60vh}.v48-wrap{max-width:1120px;margin:auto;padding:0 20px}.v48-hero{border:1px solid var(--border-color);background:var(--bg-surface);padding:28px;border-radius:18px;margin-bottom:22px}.v48-hero h1{font-size:clamp(1.55rem,3vw,2.25rem);font-weight:850;color:var(--text-primary);line-height:1.2;margin:0 0 8px}.v48-hero p{color:var(--text-secondary);max-width:840px;line-height:1.6}.v48-eyebrow{font-size:.74rem;font-weight:800;color:var(--brand-primary);text-transform:uppercase;letter-spacing:.05em}.v48-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.v48-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.v48-card{padding:21px;border:1px solid var(--border-color);border-radius:14px;background:var(--bg-surface);min-width:0}.v48-card h2{font-size:1.12rem;font-weight:800;color:var(--text-primary);margin-bottom:13px}.v48-card h3{font-size:1rem;font-weight:800;color:var(--text-primary);margin:10px 0}.v48-card p,.v48-help{font-size:.88rem;line-height:1.6;color:var(--text-secondary)}.v48-card a:not(.v48-btn){color:var(--brand-primary);text-decoration:underline}.v48-field{display:flex;flex-direction:column;gap:6px;min-width:0}.v48-field label{font-size:.83rem;font-weight:750;color:var(--text-primary)}.v48-field input,.v48-field textarea,.v48-field select,.v48-search{width:100%;min-width:0;padding:11px;border:1px solid var(--border-color);border-radius:9px;background:var(--bg-page);color:var(--text-primary);font:inherit;font-size:.91rem}.v48-field textarea{min-height:100px;resize:vertical}.v48-row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.v48-row>.v48-field{flex:1;min-width:140px}.v48-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:9px;padding:10px 15px;min-height:44px;border:1px solid var(--brand-primary);font:inherit;font-size:.86rem;font-weight:750;cursor:pointer;background:var(--brand-primary);color:white!important;text-decoration:none!important}.v48-btn.secondary{border-color:var(--border-color);background:var(--bg-surface);color:var(--text-primary)!important}.v48-btn.danger{background:#991b1b;border-color:#991b1b}.v48-btn:disabled{opacity:.5;cursor:not-allowed}.v48-btn:focus-visible,.v48-field :focus-visible,.v48-chip:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}.v48-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.v48-notice{border-left:4px solid var(--brand-primary);background:var(--bg-subtle);padding:12px 15px;border-radius:7px;font-size:.85rem;color:var(--text-secondary);line-height:1.6;margin:0 0 20px}.v48-privacy{border-left-color:#b45309}.v48-list{display:grid;gap:9px}.v48-item{border:1px solid var(--border-color);background:var(--bg-page);border-radius:10px;padding:12px 14px;min-width:0}.v48-item.done{opacity:.7}.v48-item strong{display:block;color:var(--text-primary);overflow-wrap:anywhere}.v48-meta{font-size:.76rem;color:var(--text-muted);margin-top:4px}.v48-item-foot{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.v48-chip{border:1px solid var(--border-color);background:var(--bg-subtle);border-radius:8px;padding:7px 9px;font-size:.78rem;color:var(--text-primary);cursor:pointer}.v48-stat{font-size:1.6rem;font-weight:850;color:var(--brand-primary)}.v48-stat small{font-size:.77rem;display:block;font-weight:550;color:var(--text-secondary)}.v48-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.v48-stats>div{border-radius:12px;padding:15px;background:var(--bg-subtle)}.v48-chart{display:grid;gap:10px;margin:14px 0}.v48-barline{display:grid;grid-template-columns:minmax(80px,1fr) minmax(90px,3fr) 62px;gap:8px;align-items:center;font-size:.85rem}.v48-track{height:14px;border-radius:10px;background:var(--bg-subtle);overflow:hidden}.v48-track span{display:block;height:100%;background:var(--brand-primary);border-radius:10px}.v48-barline label{overflow-wrap:anywhere}.v48-chat{display:grid;gap:14px;margin:16px 0}.v48-answer{padding:18px;border:1px solid var(--border-color);background:var(--bg-page);border-radius:12px}.v48-answer h3{font-size:1.03rem;font-weight:800}.v48-answer p{font-size:.89rem;color:var(--text-secondary)}.v48-results{display:grid;gap:10px}.v48-hit{display:block;padding:14px;border:1px solid var(--border-color);border-radius:11px;background:var(--bg-surface);text-decoration:none!important}.v48-hit strong{display:block;color:var(--text-primary);font-size:.93rem}.v48-hit span{display:block;color:var(--text-secondary);font-size:.8rem;margin-top:4px;overflow-wrap:anywhere}.v48-kicker{color:var(--brand-primary)!important;font-weight:700}.v48-empty{font-size:.87rem;color:var(--text-secondary);padding:14px;border:1px dashed var(--border-color);border-radius:9px}.v48-sample{margin:12px 0;padding:18px;background:var(--bg-page);border:1px solid var(--border-color);border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:var(--text-primary);font-size:.88rem}.v48-tips{padding-left:20px;color:var(--text-secondary);line-height:1.8}.v48-tips li{margin:5px 0}.v48-update{border-left:3px solid var(--brand-primary);padding:5px 0 9px 16px;margin:12px 0}.v48-update h3{font-weight:750}.v48-update time{font-size:.78rem;color:var(--text-muted)}.v48-mode{display:flex;align-items:center;gap:12px}.v48-mode label{font-size:.85rem;color:var(--text-secondary)}.v48-breadcrumb{margin-bottom:12px;font-size:.81rem}.v48-breadcrumb a{color:var(--brand-primary)}.v48-check{display:flex;align-items:center;gap:8px;font-size:.86rem;color:var(--text-primary)}.v48-check input{height:18px;width:18px}.v48-file{font-size:.8rem;color:var(--text-secondary)}
@media(max-width:760px){.v48-grid,.v48-grid.three{grid-template-columns:1fr}.v48-wrap{padding:0 13px}.v48-hero,.v48-card{padding:17px}.v48-row{align-items:stretch}.v48-row>.v48-field{min-width:min(100%,190px)}.v48-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.v48-barline{grid-template-columns:minmax(60px,1fr) minmax(60px,2fr) 48px;font-size:.75rem}.v48-actions .v48-btn{flex:1}.v48-item-foot .v48-chip{min-height:40px}}
@media(max-width:360px){.v48-stats{grid-template-columns:1fr 1fr}.v48-stat{font-size:1.3rem}}
@media print{.v48-actions,.v48-hero nav,.site-header,.site-footer,.v48-field,.v48-btn,.v48-privacy{display:none!important}.v48-main{padding:0}.v48-grid{display:block}.v48-card{break-inside:avoid;border:0}.v48-sample{border:0}}

@media print {
.v48-main:has(#docPreview) .v48-hero,
.v48-main:has(#docPreview) .v48-card:not(.v48-print-target),
.v48-main:has(#docPreview) .v48-breadcrumb,
.v48-main:has(#docPreview) .v48-notice,
.v48-main:has(#docPreview) .v48-print-target h2 {display:none!important}
.v48-main:has(#docPreview) .v48-print-target{border:0;padding:0;margin:0!important}
.v48-main:has(#docPreview) #docPreview{font-family:"Times New Roman",serif;font-size:12pt;background:#fff!important;color:#000!important;white-space:pre-wrap;line-height:1.5}
}

/* v48.1: Blog kütüphanesi görünürlüğü ve filtre deneyimi */
.blog-nav-count { font-size: .68rem; font-weight: 800; color: var(--brand-primary); background: var(--brand-light); padding: 1px 7px; border-radius: 999px; }
.mobile-blog-link { color: var(--brand-primary); }
.mobile-blog-link span { font-size: .73rem; background: var(--brand-light); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.blog-library-home { padding: 34px 0; background: var(--bg-surface); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.blog-library-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.blog-library-eyebrow { color: var(--brand-primary); font-size: .75rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.blog-library-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.25; color: var(--text-primary); margin: 6px 0 5px; }
.blog-library-head p { color: var(--text-secondary); font-size: .91rem; max-width: 690px; }
.blog-library-all { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex-shrink: 0; background: var(--brand-primary); color: #fff; border-radius: 10px; font-weight: 800; font-size: .84rem; padding: 12px 16px; }
.blog-library-all:hover { background: var(--brand-hover); }
.blog-library-categories { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.blog-library-cat { position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0; background: var(--bg-page); border: 1px solid var(--border-color); border-radius: 12px; padding: 15px 17px 18px; transition: transform .2s, border-color .2s; }
.blog-library-cat:hover { transform: translateY(-2px); border-color: #93c5fd; }
.blog-library-count { align-self: flex-start; background: var(--brand-light); color: var(--brand-primary); font-size: .72rem; padding: 3px 8px; border-radius: 999px; font-weight: 800; }
.blog-library-cat strong { color: var(--text-primary); line-height: 1.35; font-size: 1rem; }
.blog-library-cat small { color: var(--text-secondary); line-height: 1.35; font-size: .78rem; }
.blog-library-arrow { position: absolute; right: 15px; bottom: 15px; color: var(--brand-primary); font-size: 1.2rem; font-weight: 700; }
.blog-search-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.blog-reset-btn { font-size: .78rem; font-weight: 750; color: var(--brand-primary); background: var(--brand-light); border-radius: 8px; min-height: 36px; padding: 7px 10px; }
.blog-results-status { font-size: .84rem; font-weight: 750; color: var(--text-secondary); margin: 0 0 16px; }
@media(max-width:900px) {
  .blog-library-head { align-items: flex-start; flex-direction: column; }
  .blog-library-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:540px) {
  .blog-library-home { padding: 26px 0; }
  .blog-library-categories { gap: 10px; }
  .blog-library-cat { padding: 12px 12px 24px; }
  .blog-library-cat strong { font-size: .9rem; }
  .blog-library-cat small { font-size: .72rem; }
  .blog-search-actions, .blog-search-actions .blog-search-input { width: 100%; }
  .blog-library-all { width: 100%; }
}

/* v48.2: progressive blog archive rendering and visible focus targets */
.blog-card[hidden] {display:none!important}
.blog-more-tools {display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:24px 0 14px}
.blog-more-hint {font-size:.86rem;color:var(--text-secondary)}
.blog-grid>.blog-card {content-visibility:auto;contain-intrinsic-size:auto 400px}
:where(.blog-cat-btn,.blog-reset-btn,.v48-btn,.nav-link,.mobile-trigger):focus-visible {outline:3px solid #0b73c5;outline-offset:3px}
@media(max-width:600px){.blog-more-tools #blogLoadMore{min-height:44px;padding:12px 20px}}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* v48.4 - Daha az yer kaplayan, tercihi zorlamayan çerez bildirim alanı */
.consent-banner.consent-banner-compact {
  left: auto; right: 18px; bottom: max(12px,env(safe-area-inset-bottom,0px));
  max-width: min(540px,calc(100vw - 24px)); margin: 0;
  padding: 12px 14px; gap: 8px;
  border-radius: 12px; box-shadow: 0 5px 22px rgba(0,0,0,.14);
}
.consent-banner-compact .consent-title { font-size: .86rem; }
.consent-banner-compact .consent-text { font-size: .78rem; line-height: 1.4; }
.consent-banner-compact .consent-btns { justify-content: flex-end; gap: 6px; }
.consent-banner-compact .c-btn { padding: 7px 10px; font-size: .76rem; }
@media (max-width: 600px) {
  .consent-banner.consent-banner-compact {left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom,0px));max-width:none;max-height:min(38dvh,220px);padding:10px 12px;gap:6px;}
  .consent-banner-compact .consent-btns { width:100%; flex-wrap:nowrap; gap:5px; }
  .consent-banner-compact .consent-btns .c-btn { min-width:0; flex:1 1 0; padding:8px 3px; font-size:.70rem; min-height:40px; }
}
