/* ============================================================
   blog.css — Blog Listesi Sayfası
   ============================================================ */

/* ── Blog Grid ──────────────────────────────── */
.blog-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2px;
  background: var(--brd);
  margin-bottom: 2px;
}
@media (max-width: 820px) { .blog-hero-grid { grid-template-columns: 1fr; } }

.blog-hero-card {
  position: relative; overflow: hidden; cursor: pointer;
  display: block; text-decoration: none; color: inherit;
  background: var(--dark);
}
.blog-hero-card__img {
  width: 100%; height: 480px; overflow: hidden;
}
.blog-hero-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--e), filter .5s;
  filter: brightness(.75) saturate(.9);
}
.blog-hero-card:hover .blog-hero-card__img img { transform: scale(1.04); filter: brightness(.65) saturate(1); }

.blog-hero-card__body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 36px 36px 32px;
  background: linear-gradient(to top, rgba(19,14,11,.9) 0%, transparent 100%);
}
.blog-hero-card__cat {
  font-size: .58rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.blog-hero-card__title {
  font-family: var(--ff-d); font-size: 1.9rem; font-weight: 400;
  color: #fff; line-height: 1.2; margin-bottom: 10px;
}
.blog-hero-card--sm .blog-hero-card__title { font-size: 1.35rem; }
.blog-hero-card--sm .blog-hero-card__img { height: 239px; }
.blog-hero-card__meta {
  font-size: .68rem; font-weight: 300; color: rgba(255,255,255,.45);
}

/* Standard blog list grid */
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--brd);
}
@media (max-width: 860px) { .blog-list-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px)  { .blog-list-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--bg);
  display: block; text-decoration: none; color: inherit;
  cursor: pointer; transition: background .3s;
}
.blog-card:hover { background: var(--surf); }
.blog-card__img {
  width: 100%; aspect-ratio: 16/10; overflow: hidden;
}
.blog-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--e);
}
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__body { padding: 24px 24px 28px; }
.blog-card__cat {
  font-size: .56rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--rose); margin-bottom: 8px;
}
.blog-card__title {
  font-family: var(--ff-d); font-size: 1.15rem; font-weight: 500;
  line-height: 1.35; color: var(--ink); margin-bottom: 8px; transition: color .3s;
}
.blog-card:hover .blog-card__title { color: var(--rose); }
.blog-card__exc {
  font-size: .8rem; font-weight: 300; line-height: 1.7;
  color: var(--ink2); margin-bottom: 12px;
}
.blog-card__meta { font-size: .68rem; color: var(--ink3); font-weight: 300; }

/* Filter */
.blog-filter {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 32px;
}
.blog-filter-btn {
  font-size: .62rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; padding: 7px 18px;
  border: 1px solid var(--brd); color: var(--ink2); background: transparent;
  cursor: pointer; transition: border-color .3s, color .3s, background .3s;
}
.blog-filter-btn:hover { border-color: var(--rose); color: var(--rose); }
.blog-filter-btn.active { background: var(--rose); border-color: var(--rose); color: #fff; }

/* ── Google Yorumlar Carousel ───────────────── */
.reviews-sec { padding: 80px 0; background: var(--surf); overflow: hidden; }
.reviews-sec .sec-head { margin-bottom: 0; }

.reviews-carousel-wrap {
  position: relative;
  margin-top: 44px;
}

/* scroll container */
.reviews-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 44px 20px;
  scrollbar-width: none;
  cursor: grab;
}
.reviews-track:active { cursor: grabbing; }
.reviews-track::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .reviews-track { padding: 4px 22px 16px; } }

/* Google-style review card */
.grev {
  flex: 0 0 300px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px 20px 16px;
  scroll-snap-align: start;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow .3s;
}
.grev:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); }

.grev--feature {
  flex: 0 0 240px;
  background: #1a1a1a;
  border-color: #333;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 20px;
  border-radius: 12px;
}
.grev--feature .google-logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}
.grev--feature .google-logo span:nth-child(1) { color: #4285F4; }
.grev--feature .google-logo span:nth-child(2) { color: #EA4335; }
.grev--feature .google-logo span:nth-child(3) { color: #FBBC04; }
.grev--feature .google-logo span:nth-child(4) { color: #4285F4; }
.grev--feature .google-logo span:nth-child(5) { color: #34A853; }
.grev--feature .google-logo span:nth-child(6) { color: #EA4335; }
.grev--feature-score {
  font-size: 3.2rem;
  font-weight: 300;
  font-family: var(--ff-d);
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.grev--feature-label {
  font-size: .68rem;
  font-weight: 400;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
}

/* Card header */
.grev__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.grev__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 600; color: #fff;
  flex-shrink: 0;
  font-family: var(--ff-b);
}
.grev__name { font-size: .84rem; font-weight: 600; color: #1a1a1a; }
.grev__source {
  display: flex; align-items: center; gap: 4px;
  font-size: .68rem; color: #888; margin-top: 1px;
}
.grev__source-logo { font-size: .68rem; font-weight: 700; }
.grev__source-logo .b { color: #4285F4; }
.grev__source-logo .r { color: #EA4335; }
.grev__source-logo .y { color: #FBBC04; }
.grev__source-logo .g { color: #34A853; }

.grev__stars { display: flex; gap: 2px; margin-bottom: 8px; }
.grev__star { color: #FBBC04; font-style: normal; font-size: .78rem; }

.grev__text {
  font-size: .8rem; font-weight: 400; line-height: 1.65;
  color: #444; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}

.grev__date { font-size: .66rem; color: #aaa; margin-top: 10px; padding-top: 10px; border-top: 1px solid #f0f0f0; }

/* nav arrows */
.reviews-nav {
  display: flex; gap: 8px;
  justify-content: center;
  margin-top: 8px;
}
.reviews-nav-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--brd);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .3s, background .3s;
}
.reviews-nav-btn:hover { border-color: var(--rose); background: var(--rose-p); }
.reviews-nav-btn svg { width: 15px; height: 15px; stroke: var(--ink2); fill: none; stroke-width: 2; stroke-linecap: round; }
.reviews-nav-btn:hover svg { stroke: var(--rose); }