/* Blog-specific styles — /varlik/css/blog.css */

.blog-article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.article-hero {
  text-align: left;
  padding: 30px 0 40px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 38px;
}

.article-hero .kicker {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}

.article-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.article-hero .lead {
  font-size: 1.08rem;
  color: var(--muted-2);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 22px;
}

.article-hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .82rem;
  color: var(--muted);
}
.article-hero .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-body {
  color: var(--muted-2);
  line-height: 1.85;
  font-size: 1.02rem;
}

.article-body h2 {
  color: #fff;
  font-size: 1.55rem;
  margin: 42px 0 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  scroll-margin-top: 80px;
}

.article-body h3 {
  color: #f5f5f5;
  font-size: 1.22rem;
  margin: 30px 0 12px;
  line-height: 1.35;
}

.article-body h4 {
  color: #eee;
  font-size: 1.05rem;
  margin: 22px 0 10px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 22px;
  color: var(--muted-2);
}
.article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-body a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,0,80,.45);
  transition: color .2s, border-color .2s;
}
.article-body a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.article-body strong { color: #fff; font-weight: 600; }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 20px;
  margin: 24px 0;
  color: #e5e5e5;
  background: rgba(255, 0, 80, .07);
  border-radius: 0 10px 10px 0;
  font-style: italic;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  background: #0f0f13;
  border-radius: 10px;
  overflow: hidden;
  font-size: .95rem;
}
.article-body table th,
.article-body table td {
  padding: 10px 14px;
  border-bottom: 1px solid #222;
  text-align: left;
}
.article-body table th {
  background: #1a1a20;
  color: #fff;
  font-weight: 600;
}
.article-body table tr:last-child td { border-bottom: 0; }
.article-body table tr:hover td { background: rgba(255,255,255,.02); }

.article-body .callout {
  background: linear-gradient(135deg, rgba(255,0,80,.08), rgba(249,115,22,.06));
  border: 1px solid rgba(255,0,80,.2);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0;
}
.article-body .callout strong { color: var(--primary-2); }

/* FAQ */
.faq {
  max-width: 1100px;
  margin: 40px auto 0;
}
.faq h2 {
  font-size: 1.4rem;
  margin: 0 0 18px;
  color: #fff;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}
.faq details {
  background: #0f0f13;
  border: 1px solid #26262b;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq details[open] { border-color: var(--accent-2); }
.faq details summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-2);
  font-size: 1.4rem;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details div,
.faq details p {
  margin-top: 10px;
  color: var(--muted-2);
  line-height: 1.7;
}

/* Related posts */
.related-posts {
  max-width: 1100px;
  margin: 40px auto 0;
}
.related-posts h2 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.related-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  transition: transform .2s, border-color .2s;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}
.related-card .cat {
  display: inline-block;
  padding: 3px 10px;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 10px;
}
.related-card h3 {
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 6px;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.related-card p {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* CTA */
.cta-box {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 40px 40px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2a1240 100%);
  border-radius: 16px;
  text-align: center;
  border: 1px solid #2a3a55;
}
.cta-box h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.cta-box p {
  color: var(--muted-2);
  margin-bottom: 22px;
}
.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-2) 100%);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 20px 40px rgba(255, 0, 80, .3);
}
.cta-btn:hover { transform: translateY(-2px); color: #fff !important; border-color: transparent !important; }

/* Blog index / category grid */
.blog-hero-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}
.blog-hero-list h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.blog-hero-list p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 30px 0 0;
}
.category-chips a {
  padding: 8px 18px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: .9rem;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.category-chips a:hover { border-color: var(--primary); color: var(--primary); }

.post-grid {
  max-width: 1400px;
  margin: 30px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.post-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px 26px;
  text-decoration: none;
  transition: transform .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.post-card .cat {
  align-self: flex-start;
  padding: 4px 12px;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 14px;
}
.post-card h3 {
  color: #fff;
  font-size: 1.14rem;
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 3em;
}
.post-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 14px;
}
.post-card .meta {
  display: flex;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted);
  border-top: 1px solid var(--card-border);
  padding-top: 12px;
}

@media (max-width: 720px) {
  .blog-article { padding: 24px 16px 40px; }
  .article-body h2 { font-size: 1.35rem; margin: 32px 0 14px; }
  .article-body h3 { font-size: 1.1rem; }
  .faq, .cta-box, .related-posts { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 1024px) {
  .blog-article, .faq, .related-posts, .cta-box, .post-grid, .blog-hero-list { max-width: 100%; }
}

/* İlgili Yazılar (related-posts) — Faz 8 */
.related-posts { max-width: 1100px; margin: 10px auto 30px; padding: 0 20px; }
.related-posts h2 { font-size: 1.4rem; margin: 0 0 16px; color: #fff; }
.related-posts .post-grid { margin: 0; }
