/* ==========================================================================
   SınavaHazırlık.tr - Blog Makale & Kapsamlı SEO Rehber Sayfaları Stili
   ========================================================================== */

:root {
  --article-max-w: 1280px;
  --article-content-w: 800px;
  --article-font: 'DM Sans', -apple-system, sans-serif;
  --article-heading: 'Manrope', -apple-system, sans-serif;
  --article-primary: #0f766b;
  --article-primary-dark: #073832;
  --article-text: #1e293b;
  --article-muted: #64748b;
  --article-border: #e2e8f0;
  --article-bg-subtle: #f8fafc;
}

/* 1. Üst Okuma İlerleme Çubuğu (Sticky Top Progress) */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1000;
  pointer-events: none;
}
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981 0%, #0f766b 50%, #f59e0b 100%);
  transition: width 0.1s linear;
}

/* 2. Makale Hero Alanı */
.article-hero-section {
  background: linear-gradient(135deg, #073832 0%, #0c5c53 45%, #0f766b 100%);
  color: #ffffff;
  padding: 56px 24px 64px;
  position: relative;
  overflow: hidden;
}

.article-hero-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

.article-hero-inner {
  max-width: var(--article-max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #a7f3d0;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}
.article-breadcrumb a:hover {
  color: #6ee7b7;
  text-decoration: underline;
}
.article-breadcrumb span.sep {
  opacity: 0.6;
}

.article-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}

.article-main-title {
  font-family: var(--article-heading);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 980px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: #e2e8f0;
  flex-wrap: wrap;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item svg {
  width: 15px;
  height: 15px;
  stroke: #6ee7b7;
}

.article-read-badge {
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

/* 3. Makale Ana Kapsayıcı (2 Sütun) */
.article-container {
  max-width: var(--article-max-w);
  margin: -36px auto 100px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

/* Sol Ana İçerik Kartı */
.article-main-card {
  background: #ffffff;
  border: 1px solid var(--article-border);
  border-radius: 18px;
  padding: 40px clamp(24px, 4vw, 56px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.article-featured-media {
  width: 100%;
  max-height: 440px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Özet Vurgu Kutusu */
.article-lead-box {
  background: #f0fdf4;
  border-left: 4px solid #10b981;
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 16.5px;
  line-height: 1.75;
  color: #064e3b;
  margin-bottom: 36px;
  font-weight: 500;
}

/* İçindekiler Kutusu */
.table-of-contents-card {
  background: #f8fafc;
  border: 1px solid var(--article-border);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 40px;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--article-heading);
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.toc-header svg {
  width: 18px;
  height: 18px;
  stroke: var(--article-primary);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-list li a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: all 0.2s;
}

.toc-list li a:hover {
  color: var(--article-primary);
  transform: translateX(4px);
  font-weight: 600;
}

.toc-list li a span.toc-num {
  font-weight: 800;
  color: var(--article-primary);
  font-size: 12.5px;
}

/* Makale Metin Tipografisi */
.article-body-content {
  font-family: var(--article-font);
  font-size: 16.5px;
  line-height: 1.85;
  color: #334155;
}

.article-body-content h2 {
  font-family: var(--article-heading);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 48px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  line-height: 1.3;
}

.article-body-content h3 {
  font-family: var(--article-heading);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  color: #0f172a;
  margin: 32px 0 14px;
  line-height: 1.35;
}

.article-body-content p {
  margin: 0 0 20px;
}

.article-body-content ul,
.article-body-content ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.article-body-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.article-body-content strong {
  color: #0f172a;
  font-weight: 700;
}

/* Vurgu / İpucu Kutusu */
.article-callout {
  border-radius: 12px;
  padding: 22px 24px;
  margin: 32px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.article-callout.tip {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #14532d;
}

.article-callout.warning {
  background: #fefce8;
  border: 1px solid #fef08a;
  color: #713f12;
}

.article-callout.info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
}

.article-callout-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.article-callout-body b {
  display: block;
  font-family: var(--article-heading);
  font-size: 15.5px;
  margin-bottom: 6px;
}

/* ==========================================================================
   ÖĞRENCİLERİ ÜCRETSİZ KAYNAKLARA ÇEKEN CONVERSION ALANLARI (LEAD MAGNETS)
   ========================================================================== */
.lead-magnet-card {
  border-radius: 16px;
  padding: 28px 32px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.lead-magnet-green {
  background: linear-gradient(135deg, #073832 0%, #0c5c53 50%, #0f766b 100%);
  color: #ffffff;
}

.lead-magnet-blue {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0369a1 100%);
  color: #ffffff;
}

.lead-magnet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.lead-magnet-title {
  font-family: var(--article-heading);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px;
}

.lead-magnet-desc {
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 20px;
  max-width: 650px;
}

.lead-magnet-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-magnet-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: #ffffff;
  color: #073832;
  border-radius: 10px;
  font-family: var(--article-heading);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn-magnet-primary:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn-magnet-secondary {
  color: #ffffff;
  text-decoration: underline;
  font-size: 13.5px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.btn-magnet-secondary:hover {
  opacity: 0.8;
}

/* Bilgi Tabloları */
.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--article-border);
  border-radius: 12px;
}

.article-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
}

.article-data-table th {
  background: #f8fafc;
  color: #0f172a;
  font-family: var(--article-heading);
  font-weight: 800;
  padding: 14px 18px;
  border-bottom: 2px solid var(--article-border);
}

.article-data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--article-border);
  color: #334155;
}

.article-data-table tr:last-child td {
  border-bottom: none;
}

.article-data-table tr:hover td {
  background: #f8fafc;
}

/* Yazar Bilgi Kutusu */
.article-author-card {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid #f1f5f9;
  display: flex;
  gap: 20px;
  align-items: center;
}

.author-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #d1fae5;
  color: #065f46;
  font-family: var(--article-heading);
  font-weight: 800;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.author-info-content b {
  display: block;
  font-family: var(--article-heading);
  font-size: 17px;
  color: #0f172a;
  margin-bottom: 4px;
}

.author-info-content small {
  display: block;
  font-size: 13px;
  color: #0f766b;
  font-weight: 700;
  margin-bottom: 8px;
}

.author-info-content p {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
}

/* ==========================================================================
   4. SAĞ STICKY SIDEBAR
   ========================================================================== */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.sidebar-box {
  background: #ffffff;
  border: 1px solid var(--article-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.sidebar-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--article-heading);
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar-box-title svg {
  width: 16px;
  height: 16px;
  stroke: var(--article-primary);
}

/* Ücretsiz Kaynaklar Listesi */
.sidebar-resource-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-resource-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.sidebar-resource-item:hover {
  background: #ffffff;
  border-color: #0f766b;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.sidebar-resource-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #0f766b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-resource-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.sidebar-resource-text b {
  display: block;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 2px;
  font-weight: 700;
}

.sidebar-resource-text small {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
  display: block;
}

/* Sidebar CTA Banner */
.sidebar-cta-banner {
  background: linear-gradient(135deg, #073832 0%, #0c5c53 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.sidebar-cta-banner h4 {
  font-family: var(--article-heading);
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 800;
}

.sidebar-cta-banner p {
  font-size: 13px;
  color: #a7f3d0;
  margin: 0 0 16px;
  line-height: 1.5;
}

.sidebar-cta-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #10b981;
  color: #ffffff;
  font-family: var(--article-heading);
  font-weight: 800;
  font-size: 13.5px;
  border-radius: 10px;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transition: all 0.2s;
}

.sidebar-cta-btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

/* ==========================================================================
   5. RESPONSIVE DÜZEN
   ========================================================================== */
@media (max-width: 992px) {
  .article-container {
    grid-template-columns: 1fr;
    margin-top: -24px;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .article-hero-section {
    padding: 36px 16px 48px;
  }
  .article-main-card {
    padding: 28px 18px;
    border-radius: 14px;
  }
  .article-lead-box {
    padding: 16px 18px;
    font-size: 15px;
  }
  .lead-magnet-card {
    padding: 22px 20px;
  }
  .article-author-card {
    flex-direction: column;
    text-align: center;
  }
}
