:root{
  --bg:#fbf7f0;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --card:#f9fafb;
  --accent:#111827;
  --radius:16px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo{
  width:36px;
  height:36px;
  border:1px solid var(--line);
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:14px;
  letter-spacing:0.5px;
  background:var(--card);
}


a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(980px, 92%);
  margin:0 auto;
}

/* Header */
.site-header{
  border-bottom:1px solid var(--line);
  background:var(--bg);
  position:sticky;
  top:0;
  z-index:10;
}

.site-header .container{
  padding:18px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.subtitle{
  margin:6px 0 0;
  color:var(--muted);
  font-size:14px;
}

/* Logo */
.site-logo img{
  height:48px;
  width:auto;
  display:block;
}

@media (max-width:768px){
  .site-logo img{ height:40px; }
}

/* Nav */
nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

nav a{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--muted);
}

nav a:hover{
  color:var(--text);
  border-color:var(--line);
  text-decoration:none;
}

nav a.active{
  font-weight:700;
  text-decoration:underline;
  color:var(--text);
}

/* Sections / Typography */
.section{ padding:46px 0; }

.section.light{
  background:var(--card);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

h1{ margin:0; font-size:26px; letter-spacing:-0.2px; }
h2{ margin:0 0 14px; font-size:22px; letter-spacing:-0.2px; }
h3{ margin:0 0 10px; font-size:18px; letter-spacing:-0.1px; }

p{ margin:0 0 12px; color:var(--text); }
ul{ margin:0; padding-left:18px; }
li{ margin:8px 0; color:var(--text); }

.page-lead{
  margin-top:10px;
  font-size:18px;
  font-weight:600;
  letter-spacing:-0.1px;
}

.page-desc{
  margin-top:6px;
  color:var(--muted);
  font-size:14px;
  max-width:820px;
}

/* Blog list cards */
.post-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:14px;
  margin-top:16px;
}

.post-card{
  display:block;
  padding:16px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  text-decoration:none;
  color: inherit;
}

.post-card h3{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.25;
}

.post-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.post-cta{
  display:inline-block;
  margin-top:10px;
  font-weight:600;
  font-size:14px;
}

/* Blog post page */
.back-link{
  display:inline-block;
  margin-bottom:12px;
  text-decoration:none;
  color:inherit;
  opacity:.8;
}

.post{ max-width: 860px; }

.post-title{ margin-top:0; }

.post-content p{
  line-height:1.75;
  margin: 10px 0;
}

.post-content h2{
  margin:22px 0 10px;
  font-size:20px;
}

.post-content h3{
  margin:16px 0 8px;
  font-size:18px;
}

.post-content ul{
  margin:10px 0 14px;
  padding-left:18px;
}

.post-content .note{
  margin-top:18px;
  padding:12px 14px;
  border:1px solid rgba(0,0,0,.10);
  border-radius:12px;
  background:rgba(255,255,255,.6);
}

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  color:var(--muted);
  font-size:14px;
}
/* FORCE: SH kutusu (blog dahil her yerde) */
.brand .logo{
  width:36px !important;
  height:36px !important;
  border:1px solid var(--line) !important;
  border-radius:12px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:700 !important;
  font-size:14px !important;
  letter-spacing:0.5px !important;
  background:var(--card) !important;
}
html, body { background: #fbf7f0 !important; }
