/* CMS ile eklenen ortak bileşenler. home.css ve audience-landing.css ile birlikte yüklenir. */

.section-title a {
  color: inherit;
  text-decoration: none;
}

.section-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.section-link {
  color: #4e5790;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.section-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.empty-state {
  margin: 0;
  padding: 28px;
  border: 1px dashed #dcdce6;
  border-radius: 12px;
  color: #6d6d78;
  font-size: 15px;
  text-align: center;
}

.badge-soon {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #f1f2fa;
  color: #5b6196;
  font-size: 11px;
  letter-spacing: 0.01em;
  vertical-align: 1px;
}

.quick-label .badge-soon {
  margin-left: 0;
}

.guide-card.is-planned,
.quick-card.is-planned {
  cursor: default;
}

.guide-card.is-planned:hover,
.quick-card.is-planned:hover {
  border-color: #e8e8e8;
  box-shadow: none;
  transform: none;
}

.guide-card.is-planned .guide-art {
  opacity: 0.72;
}

.guide-card.is-planned .card-action {
  color: #8a8a96;
}

/* Kategori / odak alanı gezinmesi */
.term-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.term-nav-label {
  margin-right: 4px;
  color: #737373;
  font-size: 13px;
}

.term-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid #e5e5ee;
  border-radius: 999px;
  color: #3a3a46;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.term-nav a span {
  color: #8a8a96;
  font-size: 12px;
}

.term-nav a:hover {
  border-color: #bec4df;
  background: #f6f7fc;
}

.term-nav a[aria-current="page"] {
  border-color: #171717;
  background: #171717;
  color: #fff;
}

.term-nav a[aria-current="page"] span {
  color: #c9c9d6;
}

.blog-section {
  margin-top: 36px;
}

/* Blog kartları */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.post-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 10px 10px 22px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.post-card:hover {
  border-color: #bfc7df;
  transform: translateY(-2px);
}

.post-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 760 / 360;
  margin-bottom: 16px;
  border-radius: 7px;
  object-fit: cover;
}

.post-card .guide-meta,
.post-card .guide-title,
.post-card .guide-copy {
  margin-right: 8px;
  margin-left: 8px;
}

.post-card .guide-title {
  font-size: 20px;
}

.post-card .guide-copy {
  margin-bottom: 0;
  font-size: 15px;
}

/* Anasayfa haber kartı görseli */
.news-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 760 / 300;
  margin-bottom: 18px;
  border-radius: 7px;
  object-fit: cover;
}

.author-button {
  display: inline-flex;
  margin-top: 22px;
  color: #3e4790;
  font-size: 15px;
  text-underline-offset: 4px;
}

/* Markdown içerik */
.prose {
  margin-top: 30px;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 42px 0 16px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  scroll-margin-top: 28px;
}

.prose h3 {
  margin: 30px 0 12px;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  scroll-margin-top: 28px;
}

.prose h4 {
  margin: 24px 0 10px;
  font-size: 16px;
}

.prose p,
.prose li {
  color: #484852;
  font-size: 17px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 4px;
}

.prose a {
  color: #3e4790;
  text-underline-offset: 3px;
}

.prose strong {
  color: #26262e;
  font-weight: 600;
}

.prose blockquote {
  margin: 24px 0;
  padding: 18px;
  border-left: 3px solid #8b91ce;
  border-radius: 0 8px 8px 0;
  background: #f6f7fc;
}

.prose blockquote p {
  margin: 0;
  color: #51516b;
  font-size: 15px;
  line-height: 1.65;
}

.prose blockquote p + p {
  margin-top: 10px;
}

.prose code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #f3f3f7;
  font-size: 0.88em;
}

.prose pre {
  margin: 0 0 20px;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: 10px;
  background: #15151c;
  color: #ececf3;
  font-size: 14px;
  line-height: 1.6;
}

.prose pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}

.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border: 1px solid #e8e8ee;
  border-radius: 10px;
}

.prose table {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 15px;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid #e8e8ee;
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: #26262e;
  font-weight: 600;
}

.prose hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid #e8e8ee;
}

/* Bilgi kutuları: > [!TIP] */
.prose .callout {
  --callout: #8b91ce;
  --callout-bg: #f6f7fc;
  --callout-ink: #3e4790;
  border-left-color: var(--callout);
  background: var(--callout-bg);
}

.prose .callout p {
  color: #484852;
}

.prose .callout .callout-title {
  margin-bottom: 6px;
  color: var(--callout-ink);
  font-family: Lexend, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.prose .callout ul,
.prose .callout ol {
  margin: 8px 0 0;
}

.prose .callout li {
  font-size: 15px;
  line-height: 1.65;
}

.prose .callout-summary {
  --callout: #26262e;
  --callout-bg: #f7f7f9;
  --callout-ink: #26262e;
}

.prose .callout-tip {
  --callout: #3f9b6e;
  --callout-bg: #f2f9f5;
  --callout-ink: #24734e;
}

.prose .callout-why,
.prose .callout-example {
  --callout: #c8a24a;
  --callout-bg: #fcf8ee;
  --callout-ink: #8a6a1d;
}

.prose .callout-important,
.prose .callout-warning {
  --callout: #d0674f;
  --callout-bg: #fdf4f1;
  --callout-ink: #a3412b;
}

/* Kod ve prompt blokları */
.code-block {
  position: relative;
  margin: 0 0 20px;
}

.code-block pre {
  margin: 0;
}

.code-block-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 18px;
  border-radius: 10px 10px 0 0;
  background: #24242e;
  color: #a9a9bb;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.code-block-bar + pre {
  border-radius: 0 0 10px 10px;
}

.code-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #3a3a48;
  border-radius: 6px;
  background: transparent;
  color: #ececf3;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.code-copy:hover,
.code-copy:focus-visible {
  border-color: #8b91ce;
}

.code-copy[data-copied] {
  border-color: #3f9b6e;
  color: #9fe0bf;
}

.code-block.is-prompt .code-block-bar {
  background: #eceefa;
  color: #3e4790;
  font-weight: 600;
}

.code-block.is-prompt .code-copy {
  border-color: #c9cdee;
  background: #fff;
  color: #3e4790;
}

.code-block.is-prompt .code-copy[data-copied] {
  border-color: #3f9b6e;
  color: #24734e;
}

.code-block.is-prompt pre {
  border: 1px solid #e3e5f5;
  border-top: 0;
  background: #f8f9fe;
  color: #2c2c3a;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* SSS */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid #e8e8ee;
  border-radius: 10px;
  background: #fff;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  color: #26262e;
  font-family: Lexend, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 1.6px solid #6a6a7a;
  border-bottom: 1.6px solid #6a6a7a;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
  content: "";
}

.faq-item[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq-answer {
  padding: 0 18px 4px;
}

.faq-answer p {
  margin: 0 0 14px;
  color: #484852;
  font-size: 16px;
  line-height: 1.75;
}

.article-cover + .prose,
.news-figure + .prose {
  margin-top: 30px;
}

.guide-article .news-figure {
  margin: 0;
}

.references {
  margin-top: 40px;
}

.source-date {
  color: #777;
}

/* İçindekiler */
.guide-toc .toc-level-3 a {
  padding-left: 22px;
  font-size: 13px;
}

.guide-layout.no-toc {
  grid-template-columns: minmax(0, 1fr) 180px;
}

.page-layout.no-toc {
  grid-template-columns: minmax(0, 760px);
}

.note-layout {
  grid-template-columns: 44px minmax(0, 1fr) 180px;
  transition: grid-template-columns 200ms ease;
}

.note-layout.toc-open {
  grid-template-columns: 180px minmax(0, 1fr) 180px;
}

.note-layout.no-toc {
  grid-template-columns: minmax(0, 1fr) 180px;
}

.note-toc {
  padding-top: 8px;
}

.toc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #e5e5ee;
  border-radius: 9px;
  background: #fff;
  color: #3e4790;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.toc-toggle:hover {
  border-color: #bec4df;
  background: #f6f7fc;
}

.toc-toggle svg {
  flex: 0 0 20px;
}

.note-layout:not(.toc-open) .toc-toggle {
  width: 40px;
  padding: 0;
  justify-content: center;
}

.note-layout:not(.toc-open) .toc-toggle-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.note-toc-panel {
  margin-top: 14px;
}

/* Footer */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  font-size: 14px;
}

.site-footer a:not(.footer-brand),
.privacy-links a,
.privacy-links button {
  color: #b45309;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.site-footer a:not(.footer-brand):hover,
.privacy-links a:hover,
.privacy-links button:hover {
  color: #92400e;
}

.site-arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}

.error-page {
  min-height: 40vh;
}

@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-layout.no-toc {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-layout.no-toc .author-sidebar {
    grid-column: 1;
  }

  .note-layout,
  .note-layout.toc-open {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .note-layout:not(.toc-open) {
    grid-template-columns: 44px minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .note-layout,
  .note-layout.toc-open,
  .note-layout:not(.toc-open) {
    grid-template-columns: minmax(0, 1fr);
  }

  .note-toc {
    padding: 0;
    border: 0;
  }

  .note-layout:not(.toc-open) .toc-toggle {
    width: auto;
    padding: 0 12px;
  }

  .note-layout:not(.toc-open) .toc-toggle-text {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
  }

  .note-toc-panel {
    padding: 14px;
    border: 1px solid #e8e8ee;
    border-radius: 12px;
  }

  .term-nav {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }

  .section-link {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-card,
  .note-layout,
  .term-nav a {
    transition: none;
    transform: none;
  }
}
.site-header .header-cta { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:11px 17px; border:1px solid #d4d4d8; border-radius:9px; color:#27272a; font-size:14px; font-weight:600; text-decoration:none; flex-shrink:0; }
.site-header .header-cta:hover { background:#f4f4f5; }
.site-header .header-cta:focus-visible { outline:3px solid #6366f1; outline-offset:3px; }
@media(max-width:700px) {
  .site-header { flex-wrap:wrap; gap:20px; }
  .site-header .header-cta { font-size:13px; padding:9px 14px; }
}
