/*==============================
	Blog: liste ve yazı sayfaları
	WordPress'ten taşınan yazılar için (Kasım 2026)
==============================*/
.blog-crumb {
  margin-left: auto;
  margin-right: auto;
}
.blog-crumb--post {
  max-width: 900px;
}
.blog-crumb .breadcrumb__item a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.blog-intro {
  max-width: 820px;
  margin: 20px 0 30px;
}
.blog-intro h1 {
  color: #1c374a;
  font-family: 'Roboto', sans-serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
}
.blog-intro p {
  color: #626f83;
  font-size: 16px;
  line-height: 26px;
  margin: 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid #e6eaf2;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  border-color: #e84432;
  box-shadow: 0 10px 30px rgba(28, 55, 74, 0.08);
}
.blog-card__img {
  display: block;
  aspect-ratio: 16 / 9;
  background: #0c0b0a;
  overflow: hidden;
}
.blog-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card__noimg {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1c374a 0%, #0c0b0a 100%);
}
.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.blog-card h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 19px;
  line-height: 27px;
  font-weight: 700;
  margin: 6px 0 10px;
}
.blog-card h2 a,
.blog-card h3 a {
  color: #1c374a;
}
.blog-card h2 a::after,
.blog-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-card:hover h2 a,
.blog-card:hover h3 a {
  color: #e84432;
}
.blog-card:focus-within {
  outline: 2px solid #e84432;
  outline-offset: 2px;
}
.blog-card p {
  color: #626f83;
  font-size: 14px;
  line-height: 22px;
  margin: 0 0 14px;
  flex: 1;
}
.blog-card__more {
  color: #e84432;
  font-size: 14px;
  font-weight: 700;
}
.blog-date {
  display: block;
  color: #5f6b7e;
  font-size: 13px;
}
/* Yazı sayfası */
.blog-post {
  max-width: 1140px;
  margin: 20px auto 40px;
}
/* Metin 900 px'te durur, gorsel ve videolar 1140 px'e kadar genisler */
.blog-post__head,
.blog-back,
.blog-body > *:not(figure):not(.blog-embed) {
  max-width: min(900px, 100%); /* dar ekranda görsel taşmasın */
  margin-left: auto;
  margin-right: auto;
}
.blog-post__head h1 {
  color: #1c374a;
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  line-height: 42px;
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-cover {
  margin: 24px 0;
}
.blog-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}
.blog-cover img,
.blog-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.blog-body {
  color: #444;
  font-size: 16px;
  line-height: 1.75;
}
.blog-body p {
  margin: 0 0 16px;
}
.blog-body h2,
.blog-body h3,
.blog-body h4 {
  color: #1c374a;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  margin: 32px 0 12px;
}
.blog-body h2 { font-size: 26px; line-height: 34px; }
.blog-body h3 { font-size: 21px; line-height: 30px; }
.blog-body h4 { font-size: 18px; line-height: 26px; }
.blog-body ul,
.blog-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.blog-body ul { list-style: disc; }
.blog-body ol { list-style: decimal; }
.blog-body li {
  margin-bottom: 6px;
}
.blog-body a {
  color: #e84432;
  font-weight: 600;
  text-decoration: underline;
}
.blog-body figure {
  margin: 24px 0;
}
.blog-body blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid #e84432;
  background: #fff;
  border-radius: 0 10px 10px 0;
}
.blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 15px;
}
.blog-body th,
.blog-body td {
  border: 1px solid #e6eaf2;
  padding: 8px 10px;
}
.blog-embed {
  position: relative;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0c0b0a;
}
.blog-embed--video {
  aspect-ratio: 16 / 9;
}
.blog-embed--spotify {
  height: 352px;
}
.blog-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.blog-back {
  margin-top: 30px;
}
.blog-back a {
  display: inline-block;
  padding: 10px 0;
  color: #e84432;
  font-weight: 700;
}
.blog-related {
  max-width: 1140px;
  margin: 10px auto 50px;
}
.blog-related > h2 {
  color: #1c374a;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
}
.blog-related__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.blog-card--mini h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  margin: 6px 0 0;
}
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .blog-body {
    font-size: 18px;
  }
  .blog-post__head h1 {
    font-size: 36px;
    line-height: 46px;
  }
}
