/* =============================================
   TemizlikDelisi – Blog Stil Dosyası
   ============================================= */

/* Blog hero */
.blog-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(37,99,235,.25) 0%, transparent 65%);
  pointer-events: none;
}
.blog-hero-content { position: relative; z-index: 1; }
.blog-hero-tag {
  display: inline-block;
  background: rgba(96,165,250,.15);
  border: 1px solid rgba(96,165,250,.3);
  color: #93c5fd;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.blog-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.2;
}
.blog-hero p {
  font-size: 1rem; color: rgba(255,255,255,.65);
  max-width: 560px; margin: 0 auto 28px; line-height: 1.7;
}
.blog-hero-stats {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.blog-hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #60a5fa; }
.blog-hero-stat span  { font-size: .75rem; color: rgba(255,255,255,.5); font-weight: 500; }

/* Filtre çubuğu */
.blog-filter-bar {
  background: #fff;
  border-bottom: 1px solid #e8edf4;
  padding: 14px 0;
  position: sticky; top: 64px; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.blog-filter-inner {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.filter-btn {
  padding: 7px 18px; border-radius: 999px;
  font-size: .8rem; font-weight: 600;
  border: 1.5px solid #e2e8f0; background: #fff; color: #475569;
  cursor: pointer; transition: all .2s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: #2563eb; border-color: #2563eb; color: #fff;
}

/* Grid */
.blog-section { padding: 64px 0 96px; background: #f8faff; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Öne çıkan kart — full width */
.blog-card--featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

/* Kart */
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.12);
}

.blog-card__img {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
  flex-shrink: 0;
}
.blog-card--featured .blog-card__img {
  aspect-ratio: auto; height: 100%; min-height: 300px;
}
.blog-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.06); }

.blog-card__cat {
  position: absolute; top: 14px; left: 14px;
  background: #2563eb; color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.blog-card__cat--green  { background: #059669; }
.blog-card__cat--orange { background: #d97706; }
.blog-card__cat--red    { background: #dc2626; }
.blog-card__cat--purple { background: #7c3aed; }
.blog-card__cat--teal   { background: #0891b2; }

.blog-card__body {
  padding: 24px 26px 28px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.blog-card--featured .blog-card__body { padding: 36px 40px; justify-content: center; }

.blog-card__meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.blog-card__date, .blog-card__read {
  font-size: .72rem; font-weight: 600; color: #94a3b8;
  display: flex; align-items: center; gap: 5px;
}
.blog-card__date svg, .blog-card__read svg { flex-shrink: 0; }

.blog-card__title {
  font-size: 1.05rem; font-weight: 800;
  color: #0f172a; line-height: 1.35;
  transition: color .2s ease;
}
.blog-card--featured .blog-card__title { font-size: 1.45rem; }
.blog-card:hover .blog-card__title { color: #2563eb; }

.blog-card__excerpt {
  font-size: .875rem; color: #64748b; line-height: 1.7; flex: 1;
}

.blog-card__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.blog-card__tag {
  font-size: .68rem; font-weight: 600;
  background: #f1f5f9; color: #475569;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.blog-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700; color: #2563eb;
  margin-top: 4px; transition: gap .2s ease;
}
.blog-card:hover .blog-card__cta { gap: 10px; }

/* Pagination */
.blog-pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 56px;
}
.page-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid #e2e8f0; background: #fff; color: #475569;
  transition: all .2s ease;
}
.page-btn:hover, .page-btn.active {
  background: #2563eb; border-color: #2563eb; color: #fff;
}

/* ══════════════════
   MAKALE SAYFASI
══════════════════ */
.article-hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%);
  padding: 100px 0 56px;
}
.article-hero-inner { max-width: 820px; margin: 0 auto; }
.article-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.article-breadcrumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.article-breadcrumb a:hover { color: #fff; }
.article-breadcrumb span { color: rgba(255,255,255,.25); }

.article-cat {
  display: inline-block;
  background: rgba(96,165,250,.15); border: 1px solid rgba(96,165,250,.3);
  color: #93c5fd; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.article-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 18px;
}
.article-hero-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.article-hero-meta span {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: rgba(255,255,255,.55); font-weight: 500;
}

/* Makale içerik alanı */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 64px 0 96px;
  align-items: start;
}

.article-content {
  background: #fff; border-radius: 16px;
  border: 1px solid #e8edf4;
  overflow: hidden;
}
.article-content__cover img {
  width: 100%; max-height: 440px; object-fit: cover; display: block;
}
.article-content__body { padding: 40px 44px; }

/* Makale tipografi */
.article-content__body h2 {
  font-size: 1.35rem; font-weight: 800; color: #0f172a;
  margin: 36px 0 14px; line-height: 1.3;
  padding-left: 14px;
  border-left: 3px solid #2563eb;
}
.article-content__body h3 {
  font-size: 1.1rem; font-weight: 700; color: #1e293b;
  margin: 28px 0 10px;
}
.article-content__body p {
  font-size: .95rem; color: #475569; line-height: 1.85; margin-bottom: 16px;
}
.article-content__body ul, .article-content__body ol {
  padding-left: 20px; margin-bottom: 16px;
}
.article-content__body li {
  font-size: .92rem; color: #475569; line-height: 1.75; margin-bottom: 6px;
}
.article-content__body strong { color: #1e293b; }
.article-content__body a { color: #2563eb; text-decoration: underline; }

/* Info kutusu */
.article-info-box {
  background: #eff6ff; border: 1px solid #bfdbfe;
  border-left: 4px solid #2563eb;
  border-radius: 10px; padding: 18px 20px;
  margin: 24px 0;
}
.article-info-box p { font-size: .9rem; color: #1e40af; margin: 0; line-height: 1.65; }

/* CTA kutusu makale içi */
.article-cta-box {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  border-radius: 14px; padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin: 32px 0;
}
.article-cta-box h4 { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.article-cta-box p  { font-size: .85rem; color: rgba(255,255,255,.75); }
.article-cta-box .btn-wa { flex-shrink: 0; }

/* Sidebar */
.article-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 88px; }

.sidebar-card {
  background: #fff; border: 1px solid #e8edf4;
  border-radius: 14px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.sidebar-card h4 {
  font-size: .78rem; font-weight: 800; color: #0f172a;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

/* Hızlı iletişim sidebar */
.sidebar-contact { background: linear-gradient(135deg, #1e3a5f, #0f172a); border-color: transparent; }
.sidebar-contact h4 { color: rgba(255,255,255,.6); border-bottom-color: rgba(255,255,255,.08); }
.sidebar-contact p { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 16px; line-height: 1.65; }
.sidebar-contact .btn { width: 100%; justify-content: center; margin-bottom: 8px; }

/* İlgili yazılar */
.related-post {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid #f1f5f9; text-decoration: none; color: inherit;
  transition: background .2s;
}
.related-post:last-child { border-bottom: none; }
.related-post:hover .related-post__title { color: #2563eb; }
.related-post__img {
  width: 64px; height: 48px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
}
.related-post__img img { width: 100%; height: 100%; object-fit: cover; }
.related-post__title { font-size: .82rem; font-weight: 700; color: #1e293b; line-height: 1.35; margin-bottom: 4px; transition: color .2s; }
.related-post__date  { font-size: .7rem; color: #94a3b8; }

/* Bölgeler listesi */
.region-list { display: flex; flex-direction: column; gap: 4px; }
.region-list a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .83rem; font-weight: 500; color: #475569;
  padding: 8px 10px; border-radius: 8px; transition: all .2s; text-decoration: none;
}
.region-list a:hover { background: #eff6ff; color: #2563eb; }
.region-list a span { font-size: .7rem; font-weight: 700; background: #f1f5f9; color: #94a3b8; padding: 2px 8px; border-radius: 999px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card--featured { grid-column: span 2; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--featured { grid-column: span 1; grid-template-columns: 1fr; }
  .blog-card--featured .blog-card__img { min-height: 220px; }
  .article-content__body { padding: 24px 20px; }
  .article-cta-box { flex-direction: column; }
}
