/* Variables */
@import url("/assets/css/base/tokens.css");

:root {
  --brand-dark: var(--surface-dark);
  --brand: var(--accent);
  --text: var(--text);
}

body {
  background: var(--surface-dark);
  color: var(--text);
}

/* Hero */
.blog-hero {
  position: relative;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 100%);
  color: var(--ink);
  padding: 120px 0 110px;
  text-align: center;
  overflow: hidden;
}

.blog-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 12px;
}

.blog-hero .lead {
  font-size: 18px;
  color: var(--te);
  max-width: 720px;
  margin: 0 auto;
}

.blog-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 90px;
  background: var(--surface-dark);
  clip-path: polygon(0 65%, 100% 0, 100% 100%, 0% 100%);
}

/* Filtre çubuğu */
.filter-bar {
  margin-top: -28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 18px;
}

.cat-chip {
  border: 1px solid #e5eef5;
  background: #fff;
  color: #1d3b53;
}

.cat-chip.active,
.cat-chip:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Kart */
.post-card {
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.post-img {
  height: 200px;
  object-fit: cover;
}

.badge-cat {
  background: #f0efea;
  color: #7a5a15;
}

/* Link & pager */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.pagination .page-link {
  color: var(--brand);
}

.pagination .active .page-link {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff; /* aktif sayfa numarası görünür olsun */
}
.navbar .nav-menu li a {
  color: var(--text);
}
