*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.hero{
  width: 100%;
  min-height: 20vh;

  /* Background Image + Dark Overlay */
  background:
   
    url("/images/bgimage.webp");

  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;

  padding: 80px 8%;

  color: #fff;
}

.hero-content{
  max-width: 600px;
}

.hero h1{
  font-size: 40px;
  line-height: 1.8;
  font-weight: 400;
 
  margin-bottom: 25px;
}



/* Responsive */

@media(max-width: 768px){

  .hero{
    padding: 60px 6%;
  }

  .hero h1{
    font-size: 38px;
  }

  
}
.blog-section{
  padding: 70px 8%;
}

.container{
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* LEFT BLOG AREA */

.blog-left{
  flex: 2;
}

.blog-card{
  background: #f3f2f7;

  padding: 40px;

  margin-bottom: 40px;
}

.blog-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  margin-bottom: 25px;

  font-size: 14px;
  color: #ff5a1f;
}

.blog-meta i{
  margin-right: 6px;
}

.blog-card h2{
  font-size: 25px;
  line-height: 1.3;
  font-weight: 300;

  margin-bottom: 25px;

  color: #1a1a1a;
}

.blog-card p{
  font-size: 16px;
  line-height: 1.8;

  color: #666;

  margin-bottom: 35px;
}

.blog-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 15px 28px;

  background: #ff5a1f;
  color: #fff;

  text-decoration: none;
  font-weight: bold;

  transition: 0.3s;
}

.blog-btn:hover{
  background: #ff7848;
}

/* SIDEBAR */

.sidebar{
  flex: 1;
}

.sidebar-box{
  background: #fff;

  padding: 35px;

  margin-bottom: 40px;

  border: 1px solid #e3e3e3;
}

/* SEARCH BOX */

.search-box{
  display: flex;
}

.search-box input{
  flex: 1;

  height: 55px;

  border: 1px solid #ddd;
  outline: none;

  padding: 0 15px;

  font-size: 16px;
}

.search-box button{
  width: 60px;

  border: none;

  background: #ff5a1f;
  color: #fff;

  cursor: pointer;

  font-size: 18px;
}

/* SIDEBAR TITLE */

.sidebar-box h3{
  font-size: 28px;

  margin-bottom: 30px;

  position: relative;
}

.sidebar-box h3::after{
  content: "";

  width: 50px;
  height: 3px;

  background: #ff5a1f;

  position: absolute;
  left: 0;
  bottom: -10px;
}

/* RECENT POSTS */

.recent-posts{
  list-style: none;
}

.recent-posts li{
  padding: 18px 0;

  border-bottom: 1px solid #ececec;
}

.recent-posts a{
  text-decoration: none;
font-size: 14px;
  color: #444;

  line-height: 1.7;

  transition: 0.3s;
}

.recent-posts a:hover{
  color: #ff5a1f;
}

/* RESPONSIVE */

@media(max-width: 991px){

  .container{
    flex-direction: column;
  }

  .blog-card h2{
    font-size: 32px;
  }

  .sidebar{
    width: 100%;
  }
}

@media(max-width: 768px){

  .blog-card{
    padding: 30px;
  }

  .blog-card h2{
    font-size: 26px;
  }

  .blog-card p{
    font-size: 16px;
  }

  .sidebar-box{
    padding: 25px;
  }

  .sidebar-box h3{
    font-size: 28px;
  }
}
/* PAGINATION */

.pagination{
  display:flex;
  gap:10px;
  margin-top:40px;
}

.pagination button{
  width:45px;
  height:45px;
  border:none;
  background:#eee;
  cursor:pointer;
  font-size:16px;
  transition:0.3s;
}

.pagination button:hover{
  background:#ff5a1f;
  color:#fff;
}

.pagination button.active{
  background:#ff5a1f;
  color:#fff;
}
/* IMAGE WRAPPER */
.blog-image-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
 
  background: #f5f5f5;
  margin-bottom: 40px;
}

/* IMAGE */
.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* HOVER ZOOM EFFECT */
.blog-card:hover .blog-image {
  transform: scale(1.08);
}
.category-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
  font-size: 14px;
  color: #444;
  cursor: pointer;
  transition: 0.3s;
 
}

.category-list li:hover {
  color: #ff4a17;
  padding-left: 8px;
}
/* TAGS */

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.tags a{
  text-decoration:none;

  padding:8px 12px;

  border:1px solid #e2e2e2;

  color:#555;

  font-size:14px;

  line-height:1.5;

  transition:0.3s;

  background:#fff;
}

.tags a:hover{
  background:#ff5a1f;
  color:#fff;

  border-color:#ff5a1f;
}