/* =========================
   Single Post
   ========================= */

.single-article{
  background:#fff;
}

.single-article__inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 20px 70px;
}

/* Hero */
.single-hero{
  background:#f2f2f2;
  overflow:hidden;
}

.single-hero__img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* Head */
.single-head{
  text-align:center;
  padding: 22px 0 0;
}

.single-title{
  margin: 10px auto 14px;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  max-width: 760px;
}

.single-meta{
  font-size: 12px;
  color:#666;
  display:flex;
  gap: 14px;
  justify-content:center;
  flex-wrap: wrap;
}

.single-meta a{
  color:#666;
  text-decoration: none;
  border-bottom: 1px solid #bbb;
}

.single-meta a:hover{
  border-bottom-color:#666;
}

/* Body typography */
.single-body{
  max-width: 760px;
  margin: 26px auto 0;
  font-size: 14px;
  line-height: 2.0;
  color:#222;
}

.single-body p{
  margin: 0 0 1.2em;
}

.single-body h2{
  margin: 2.2em 0 0.8em;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.single-body h3{
  margin: 1.8em 0 0.6em;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.single-body ul,
.single-body ol{
  margin: 0 0 1.2em 1.2em;
}

.single-body li{
  margin: 0.35em 0;
}

.single-body blockquote{
  margin: 1.6em 0;
  padding: 0.9em 1.1em;
  background:#f7f7f7;
  border-left: 4px solid #ccc;
}

.single-body img{
  max-width:100%;
  height:auto;
}

/* Prev/Next */
.single-nav{
  max-width: 760px;
  margin: 34px auto 0;
  display:flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0 0;
  border-top: 1px solid #e5e5e5;
}

.single-nav a{
  color:#111;
  text-decoration:none;
  border-bottom: 1px solid #999;
  padding-bottom: 2px;
}

.single-nav a:hover{
  border-bottom-color:#111;
}

/* Related */
.related{
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid #e5e5e5;
}

.related__title{
  text-align:center;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 24px;
  color:#111;
}

.related__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card (same style as list) */
.post-card__link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.post-card__thumb{
  overflow:hidden;
  background:#f2f2f2;
}

.post-card__img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card__img--placeholder{
  width:100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eee, #f7f7f7);
}

.post-card__title{
  margin: 12px 0 6px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.post-card__date{
  margin: 0 0 10px;
  font-size: 12px;
  color:#666;
}

.post-card__excerpt{
  margin: 0;
  font-size: 13px;
  color:#333;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px){
  .related__grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 560px){
  .single-article__inner{
    padding: 26px 16px 60px;
  }
  .single-title{
    font-size: 22px;
  }
  .single-body{
    font-size: 14px;
  }
  .related__grid{
    grid-template-columns: 1fr;
  }
}