/* ============================================================================
   Linga Chat webpromo — AEO/GEO sayfa stilleri (answer / answers / faq).
   style.css değişkenlerini kullanır; light/dark otomatik. AI'ın okuduğu ham
   yapı (h1 soru, .aeo-short alıntı kutusu, ol adımlar) görsel olarak da net.
   ========================================================================== */
.aeo-article {
  max-width: 760px;
  padding-top: 96px;
  padding-bottom: 72px;
}
.container-narrow { max-width: 820px; }

/* Breadcrumb — hem görsel hem BreadcrumbList schema ile eşleşir. */
.aeo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 18px;
}
.aeo-breadcrumb a { color: var(--text-3); text-decoration: none; }
.aeo-breadcrumb a:hover { color: var(--brand-600); text-decoration: underline; }
.aeo-breadcrumb .sep { opacity: .5; }

.aeo-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 10px;
}
.aeo-question {
  font-family: var(--font-brand, inherit);
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--text);
}

/* .aeo-short — AI'ın birebir alıntıladığı doğrudan cevap. Görsel olarak da
   öne çıkan bir kutu: kullanıcı da tek bakışta net cevabı görür (speakable). */
.aeo-short {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-500);
  border-radius: var(--radius-lg, 14px);
  padding: 18px 20px;
  margin: 0 0 28px;
}

.aeo-answer-body { color: var(--text-2); font-size: 16.5px; line-height: 1.72; }
.aeo-answer-body h2 {
  font-family: var(--font-brand, inherit);
  font-size: 22px;
  color: var(--text);
  margin: 34px 0 12px;
}
.aeo-answer-body h3 { font-size: 18px; color: var(--text); margin: 22px 0 8px; }
.aeo-answer-body p { margin: 0 0 14px; }
.aeo-answer-body ul, .aeo-answer-body ol { margin: 0 0 16px; padding-left: 22px; }
.aeo-answer-body li { margin: 0 0 8px; }
.aeo-answer-body strong { color: var(--text); }

/* HowTo adımları — ordered list; her adım ayrı kart (schema HowToStep ile 1:1). */
.aeo-steps { list-style: none; counter-reset: step; margin: 8px 0 28px; padding: 0; }
.aeo-steps:empty { display: none; }
.aeo-steps > li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 60px;
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 14px);
  box-shadow: var(--card-shadow);
}
.aeo-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 16px; top: 16px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: var(--radius-full, 999px);
  background: var(--grad-brand, var(--brand-500));
  color: var(--on-accent); font-weight: 700; font-size: 15px;
}
.aeo-steps .step-name { display: block; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.aeo-steps .step-text { color: var(--text-2); line-height: 1.6; }

/* CTA */
.aeo-cta {
  margin: 40px 0 8px;
  padding: 28px;
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl, 20px);
}
.aeo-cta-title { font-family: var(--font-brand, inherit); font-size: 22px; margin: 0 0 8px; color: var(--text); }
.aeo-cta-text { color: var(--text-2); margin: 0 0 18px; }

/* İlgili cevaplar — iç linkleme (AI + SEO topical cluster). */
.aeo-related { margin-top: 40px; }
.aeo-related:empty { display: none; }
.aeo-related h2 { font-size: 18px; color: var(--text); margin: 0 0 14px; }
.aeo-related-links { display: grid; gap: 10px; }
.aeo-related-links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: border-color .15s, transform .15s;
}
.aeo-related-links a:hover { border-color: var(--brand-500); transform: translateY(-1px); }

/* Hub — cevap kartları grid */
.aeo-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 32px; }
.aeo-hub-group { margin-top: 8px; }
.aeo-hub-group-title { grid-column: 1 / -1; font-family: var(--font-brand, inherit); font-size: 20px; color: var(--text); margin: 26px 0 4px; }
.aeo-card {
  display: block;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl, 18px);
  box-shadow: var(--card-shadow);
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.aeo-card:hover { border-color: var(--brand-500); transform: translateY(-2px); box-shadow: var(--card-shadow-lg); }
.aeo-card-q { font-weight: 700; font-size: 16.5px; margin: 0 0 8px; line-height: 1.35; }
.aeo-card-a { color: var(--text-3); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* FAQ — <details> akordeon; ham HTML'de soru+cevap görünür (FAQPage schema). */
.aeo-faq-list { margin-top: 28px; display: grid; gap: 10px; }
.aeo-faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 14px);
  background: var(--surface);
  overflow: hidden;
}
.aeo-faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.aeo-faq-item > summary::-webkit-details-marker { display: none; }
.aeo-faq-item > summary::after { content: "+"; font-size: 22px; color: var(--brand-600); font-weight: 400; }
.aeo-faq-item[open] > summary::after { content: "\2212"; }
.aeo-faq-answer { padding: 0 20px 18px; color: var(--text-2); line-height: 1.65; }
.aeo-faq-answer a { color: var(--brand-600); }

@media (max-width: 640px) {
  .aeo-article { padding-top: 84px; }
  .aeo-short { font-size: 17px; }
}
