/* ─── BLOG LISTING PAGE ─────────────────────────────────── */
.blog-hero {
  padding: 80px 0 48px;
  text-align: center;
  background: linear-gradient(180deg, rgba(38,139,255,.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,.1);
  color: #818cf8;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(99,102,241,.2);
  margin-bottom: 18px;
}
.blog-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 14px;
}
.blog-hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─── BLOG GRID ──────────────────────────────────────────── */
.blog-section {
  padding: 64px 0 96px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
}

.blog-card {
  background: #0f1623;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  border-color: rgba(99,102,241,.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  text-decoration: none;
}
.blog-card-lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
}
.blog-card-lang.tr {
  background: rgba(220,38,38,.12);
  color: #f87171;
  border: 1px solid rgba(220,38,38,.2);
}
.blog-card-lang.en {
  background: rgba(37,99,235,.12);
  color: #60a5fa;
  border: 1px solid rgba(37,99,235,.2);
}
.blog-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: #a78bfa;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.blog-card h2 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}
.blog-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.blog-card-readtime {
  font-size: .75rem;
  color: var(--text-dim, #6b7280);
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-card-arrow {
  font-size: .85rem;
  color: #6366f1;
  font-weight: 600;
  transition: transform .2s;
}
.blog-card:hover .blog-card-arrow { transform: translateX(4px); }

/* ─── ARTICLE PAGE ───────────────────────────────────────── */
.article-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(38,139,255,.05) 0%, transparent 100%);
}
.article-hero .container {
  max-width: 800px;
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--text-dim, #6b7280);
  margin-bottom: 20px;
}
.article-breadcrumb a {
  color: var(--text-dim, #6b7280);
  text-decoration: none;
  transition: color .15s;
}
.article-breadcrumb a:hover { color: #6366f1; }
.article-breadcrumb-sep { opacity: .4; }

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.article-lang-badge {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
}
.article-lang-badge.tr {
  background: rgba(220,38,38,.12);
  color: #f87171;
  border: 1px solid rgba(220,38,38,.2);
}
.article-lang-badge.en {
  background: rgba(37,99,235,.12);
  color: #60a5fa;
  border: 1px solid rgba(37,99,235,.2);
}
.article-cat-badge {
  font-size: .7rem;
  font-weight: 600;
  color: #a78bfa;
  letter-spacing: .05em;
}
.article-readtime {
  font-size: .75rem;
  color: var(--text-dim, #6b7280);
  margin-left: auto;
}

.article-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 16px;
}
.article-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ─── ARTICLE BODY ───────────────────────────────────────── */
.article-body-wrap {
  padding: 56px 0 80px;
}
.article-body-wrap .container {
  max-width: 800px;
}
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2.5rem 0 1rem;
  padding-top: .5rem;
  border-top: 1px solid var(--border);
}
.article-body h2:first-child { margin-top: 0; border-top: none; }
.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.8rem 0 .7rem;
}
.article-body p {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.article-body ul, .article-body ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}
.article-body li {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: .45rem;
}
.article-body strong { color: var(--text-main); }
.article-body a { color: #818cf8; text-decoration: underline; }
.article-body a:hover { color: #6366f1; }

.article-tip {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-left: 3px solid #6366f1;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 1.5rem 0;
}
.article-tip p { margin: 0; font-size: .93rem; color: #312e81; }
.article-tip strong { color: #4338ca; }

.article-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 3px solid #f59e0b;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 1.5rem 0;
}
.article-warning p { margin: 0; font-size: .93rem; color: #78350f; }

/* ─── INLINE CTA ─────────────────────────────────────────── */
.article-cta-inline {
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  border: 1px solid #c7d2fe;
  border-radius: 16px;
  padding: 28px 28px 24px;
  margin: 2.5rem 0;
  text-align: center;
}
.article-cta-inline h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px;
}
.article-cta-inline p {
  color: var(--text-muted);
  margin: 0 0 18px;
  font-size: .93rem;
}
.article-cta-inline .btn { display: inline-flex; }

/* ─── KEYWORDS ───────────────────────────────────────────── */
.article-keywords {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.article-keywords-title {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-dim, #6b7280);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.article-keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-keywords-list span {
  font-size: .72rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--text-dim, #6b7280);
  padding: 3px 10px;
  border-radius: 99px;
}

/* ─── RELATED ARTICLES ───────────────────────────────────── */
.related-articles {
  padding: 48px 0 80px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.015);
}
.related-articles h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 28px;
}
.related-articles .container { max-width: 800px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 580px) {
  .related-grid { grid-template-columns: 1fr; }
}
.related-card {
  background: var(--card-bg, #161b27);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 18px 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .2s, transform .15s;
}
.related-card:hover {
  border-color: rgba(99,102,241,.4);
  transform: translateY(-2px);
}
.related-card h3 {
  font-size: .93rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.4;
}
.related-card p {
  font-size: .8rem;
  color: var(--text-dim, #6b7280);
  margin: 0;
  line-height: 1.5;
}

/* ─── TABLE OF CONTENTS ──────────────────────────────────── */
.article-toc {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 2.5rem;
}
.article-toc-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim, #6b7280);
  margin-bottom: 12px;
}
.article-toc ol {
  padding-left: 1.2rem;
  margin: 0;
}
.article-toc li {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: .35rem;
  line-height: 1.5;
}
.article-toc a {
  color: #818cf8;
  text-decoration: none;
  transition: color .15s;
}
.article-toc a:hover { color: #6366f1; }

/* ─── HIGHLIGHT BOX ──────────────────────────────────────── */
.article-highlight {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 1.5rem 0;
}
.article-highlight p { margin: 0; color: #1e3a5f; }
.article-highlight strong { color: #1d4ed8; }

/* ─── STEP BOX ───────────────────────────────────────────── */
.article-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 1.5rem 0;
}
.article-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.article-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  color: #fff;
}
.article-step-content h4 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 4px;
}
.article-step-content p {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}
