body{
  font-family:Poppins, Arial;
}

/* HERO */
.blogD-hero{
  height:320px;
  background:url('../images/blog/blog-banner.webp') center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}

.blogD-hero .overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}

.blogD-hero h1{
  position:relative;
  color:white;
  max-width:900px;
  text-align:center;
}

/* MAIN SECTION */
.blogD-section{
  max-width:900px;
  margin:auto;
  padding:30px 14px 70px;
}

.blogD-meta{
  color:#777;
  margin-bottom:10px;
  text-align:center;
}

.blogD-main-img{
  width:100%;
  border-radius:16px;
  margin:12px 0 16px;
}

.blogD-content{
  font-size:16px;
  line-height:1.8;
  color:#333;
}

/* PREV NEXT */
.blogD-nav{
  display:flex;
  justify-content:space-between;
  margin-top:30px;
}

.blogD-nav a{
  text-decoration:none;
  color:#ff6a00;
}

/* RELATED */
.rel-heading{
  margin-top:40px;
}

.rel-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:10px;
}

.rel-card{
  text-decoration:none;
  background:white;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  color:#222;
}

.rel-card img{
  width:100%;
  height:140px;
  object-fit:cover;
}

.rel-card p{
  padding:8px 10px 12px;
  font-size:14px;
}

@media(max-width:768px){
  .rel-grid{ grid-template-columns:repeat(2,1fr);}
}

@media(max-width:520px){
  .rel-grid{ grid-template-columns:1fr;}
}
