:root {
  --primary-color: #0d31bb;
  --text-color: #0b1226;
  --muted-color: #6b7280;
  --border-color: #e5e7eb;
  --bg-soft: #f7f8fb;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: var(--text-color);
  background: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-topbar {
  position: absolute; 
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent; 
  border-bottom: none;
  backdrop-filter: none;
}
.blog-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.blog-topbar .brand {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
}
.top-actions { display: flex; gap: 12px; }
.top-actions .lang { color: var(--muted-color); text-decoration: none; font-weight: 600; }
.top-actions .lang.active { color: var(--primary-color); }

.blog-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-image: url('../images/blog-giriş.jpg');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.60) 100%);
}
.hero-content {
  position: relative;
  padding: 64px 20px;
  color: #fff;
}
.hero-title {
  margin: 0 0 8px 0;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.breadcrumb a { color: rgba(255,255,255,0.9); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.8; }

.blog-main { padding: 28px 0 64px; }
.filters-search {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.filters { display: flex; gap: 12px; align-items: center; }
.filter-btn {
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: #cfd5e1; }
.filter-btn.active {
  background: #f59e0b; 
  border-color: #f59e0b;
  color: #fff;
}

.search {
  display: grid;
  grid-template-columns: 1fr 48px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.search input {
  border: 0;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
}
.search-btn {
  border: 0;
  background: #fff;
  color: var(--primary-color);
  font-weight: 700;
  cursor: pointer;
}
.search-btn:hover { background: var(--bg-soft); }

.posts-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0 0 16px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  overflow: hidden;
  height: 100%;
}
.post-thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px 10px 0 0; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-link { display: flex; flex-direction: column; align-items: stretch; text-align: left; height: 100%; padding: 16px 18px 18px; gap: 8px; }
.post-card:hover {
  border-color: #cfd5e1;
  box-shadow: 0 8px 24px rgba(5,16,66,0.08);
  transform: translateY(-2px);
}
.post-link { text-decoration: none; color: inherit; }
.post-title { font-size: 1.15rem; line-height: 1.35; font-weight: 700; margin: 12px 0 2px; color: var(--text-color);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-subtitle { font-size: 0.97rem; line-height: 1.55; color: var(--muted-color); margin: 0 0 6px; max-width: 60ch;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-date { font-size: 0.85rem; color: var(--primary-color); font-weight: 700; }
.post-subtitle { margin-bottom: auto; }
.post-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.post-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px;
  font-size: .9rem; font-weight: 600;
  color: #fff; background: var(--primary-color);
  padding: 10px 14px; border-radius: 8px;
  flex: 0 0 auto;
}
.post-cta:hover { background: #0b6ad8; }


.blog-footer { border-top: 1px solid var(--border-color); background: #fff; }
.blog-footer .container { padding: 24px 20px; color: var(--muted-color); text-align: center; }


@media (max-width: 1024px) {
  .hero-title { font-size: 40px; }
  .filters-search { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-title { font-size: 32px; }
  .posts-grid { grid-template-columns: 1fr; }
}


:root { --about-hero-height: 400px; }
.about-hero {
  position: relative; height: var(--about-hero-height);
  width: 100vw; 
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: url('../images/blog-giriş.jpg') center/cover no-repeat;
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  border-radius: 0;
}
.about-hero::after{ 
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 70%);
}
.about-hero-inner { position: relative; z-index: 1; padding: 32px 24px; }
.about-breadcrumb { font-size: 14px; opacity:.9; letter-spacing:.02em; margin-bottom:8px; }
.about-breadcrumb a { color:#fff; text-decoration:none; opacity:.95; }
.about-breadcrumb .sep { opacity:.8; margin: 0 .3rem; }
.about-title { font-size: 40px; line-height: 1.1; font-weight: 700; margin: 0; }

@media (min-width: 992px){ :root{ --about-hero-height: 460px } .about-hero-inner{ padding: 48px 40px } .about-title{ font-size: 56px } }
