/* Runble blog — styles.css (landing) üzerine. Sayfalar scripts/site/site-uret.mjs ile üretilir. */

.b-top {
  background: var(--ink);
}
.b-navlink {
  font-weight: 600;
  font-size: 15px;
  opacity: 0.8;
}
.b-navlink:hover {
  opacity: 1;
  color: var(--lime);
}

/* Blog ana sayfası */
.b-hero {
  padding-block: 56px 72px;
}
.b-kicker,
.b-crumbs {
  color: var(--lime);
  margin-bottom: 20px;
}
.b-crumbs a:hover {
  text-decoration: underline;
}
.b-hero .lead {
  max-width: 560px;
  margin-top: 24px;
  opacity: 0.75;
}
.b-list {
  padding-block: 72px 96px;
}
.b-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px 32px;
}
.b-card a {
  display: grid;
  gap: 12px;
}
.b-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}
.b-card a:hover img {
  transform: scale(1.015);
}
.b-card h2,
.b-card h3 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.b-card a:hover :is(h2, h3) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.b-meta {
  opacity: 0.55;
}
.b-desc {
  font-size: 16px;
  opacity: 0.75;
}

/* Yazı başlığı */
.b-head {
  padding-block: 40px 64px;
}
.b-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: end;
}
.b-head .display {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.95;
}
.b-head .lead {
  margin-top: 24px;
  max-width: 640px;
  opacity: 0.75;
}
.b-head .b-meta {
  margin-top: 24px;
}
.b-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}

/* Yazı gövdesi */
.b-body {
  padding-block: 72px 96px;
}
.b-body-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 64px;
  justify-content: center;
}
.b-toc {
  position: sticky;
  top: 32px;
  align-self: start;
}
.b-toc .mono {
  color: var(--gray);
  margin-bottom: 12px;
}
.b-toc ol {
  display: grid;
  gap: 10px;
  counter-reset: toc;
}
.b-toc li {
  counter-increment: toc;
  font-size: 15px;
  line-height: 1.35;
}
.b-toc li::before {
  content: counter(toc, decimal-leading-zero) ' ';
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray);
}
.b-toc a:hover {
  text-decoration: underline;
}

.b-prose {
  font-size: 19px;
  line-height: 1.65;
}
.b-prose > * + * {
  margin-top: 1.1em;
}
.b-prose h2 {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-top: 2em;
  scroll-margin-top: 24px;
}
.b-prose h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 750;
  margin-top: 1.6em;
}
.b-prose ul,
.b-prose ol {
  padding-left: 1.3em;
  display: grid;
  gap: 0.5em;
}
.b-prose ul {
  list-style: disc;
}
.b-prose ol {
  list-style: decimal;
}
.b-prose li::marker {
  color: var(--gray);
}
.b-prose a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.b-prose strong {
  font-weight: 750;
}
.b-prose blockquote {
  border-left: 4px solid var(--lime);
  background: var(--white);
  padding: 18px 22px;
  border-radius: 0 16px 16px 0;
}

.b-cta {
  margin-top: 3em !important;
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: 36px;
  display: grid;
  gap: 14px;
  justify-items: start;
}
.b-cta .mono {
  color: var(--lime);
}
.b-cta h2 {
  margin: 0;
  font-size: 30px;
}
.b-cta p:not(.mono) {
  font-size: 17px;
  opacity: 0.75;
}
.b-cta .btn {
  margin-top: 6px;
}

.b-more {
  padding-block: 80px 96px;
}
.b-more .display {
  font-size: clamp(36px, 4.4vw, 60px);
  margin-bottom: 40px;
}
.b-more .b-desc {
  opacity: 0.6;
}

@media (max-width: 1080px) {
  .b-body-grid {
    grid-template-columns: minmax(0, 720px);
  }
  .b-toc {
    position: static;
  }
  .b-head-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }
}
@media (max-width: 640px) {
  .b-navlink {
    display: none;
  }
  .b-head-grid {
    grid-template-columns: 1fr;
  }
  .b-cover {
    aspect-ratio: 4 / 3;
    grid-row: 1;
  }
  .b-prose {
    font-size: 18px;
  }
  .b-prose h2 {
    font-size: 27px;
  }
  .b-cta {
    padding: 28px 24px;
  }
  .b-hero {
    padding-block: 32px 56px;
  }
}
