@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

/* =============== GLOBAL RESET =============== */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body{
  overflow-x: hidden;
  background: #fff;
  color: #111;
}

/* =============== BLOG HEADER (same as archive) =============== */
.blog-header{
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 10000;

  padding: 16px 22px;

  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left | center | right */
  align-items: center;
  gap: 10px;
}

.blog-header .site-title{
  text-decoration: none;
  color: #fff;
  font-size: 18px;       /* smaller */
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  justify-self: start;   /* left aligned */
}

.blog-header .page-title{
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  justify-self: center;
}

.blog-header .header-right{
  justify-self: end;
}

/* Navigation */
.navigation{
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}

.navigation li a{
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.navigation li a:hover{
  opacity: 0.8;
}

/* =============== BLOG HERO (BLACK TITLE BOX) =============== */
.blog-hero{
  width: 80%;
  max-width: 1000px;
  margin: 40px auto;
  padding: 60px 40px;

  background: #000;
  color: #fff;
  border-radius: 30px;
  text-align: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
}

.blog-hero h1{
  font-size: clamp(26px, 4vw, 52px);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.blog-hero .blog-author{
  font-size: 16px;
  color: rgba(255,255,255,0.75);
}

/* =============== BLOG CONTENT =============== */
.blog-content-container{
  width: 80%;
  max-width: 900px;
  margin: 40px auto 80px auto;
  padding: 40px;

  background: #fff;
  border-radius: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.12);

  line-height: 1.85;
  font-size: 17px;
  color: #333;
}

.blog-content-container p{
  margin-bottom: 20px;
}

/* optional headings inside content */
.blog-content-container h2{
  margin: 30px 0 12px;
  font-size: 24px;
  color: #111;
}

/* AUTHOR PROFILE IN HERO */
.author-profile{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.author-img{
  width: 150px;
  height: 150px;
  border-radius: 5%;
  object-fit: cover;

  border: 3px solid rgba(255,255,255,0.7);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.author-info{
  text-align: left;
}

.author-info h1{
  margin-bottom: 8px;
}

.blog-author{
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}


/* =============== FOOTER (same structure) =============== */
.footer{
  margin-top: 80px;
  background: #111;
  color: #fff;
  padding: 50px 0 0 0;
}

.footer-container{
  width: 80%;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-section h2,
.footer-section h3{
  margin-bottom: 15px;
}

.footer-section p{
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.footer-section ul{
  list-style: none;
  padding: 0;
}

.footer-section ul li{
  margin-bottom: 10px;
}

.footer-section ul li a{
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  transition: 0.25s ease;
}

.footer-section ul li a:hover{
  color: #fff;
}

.footer-bottom{
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 768px){
  .blog-header{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .blog-header .site-title{
    justify-self: center;
  }

  .blog-header .header-right{
    justify-self: center;
  }

  .navigation{
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .blog-hero{
    width: 90%;
    padding: 45px 20px;
  }

  .blog-content-container{
    width: 90%;
    padding: 28px 20px;
  }

  .footer-container{
    grid-template-columns: 1fr;
    text-align: center;
  }
}