:root{
  --primary:#ff6a00;
  --primary-dark:#e55f00;
  --dark:#111;
  --text:#444;
  --light:#777;
  --bg:#f6f8fb;
  --white:#ffffff;
  --radius:18px;
}

/* =========================================================
   GLOBAL
========================================================= */

body{
  font-family:Poppins, Arial, sans-serif;
  margin:0;
  background:var(--bg);
  color:var(--dark);
  line-height:1.6;
}

/* =========================================================
   HERO SECTION
========================================================= */

.blog-hero{
  height:460px;
  background:url('../images/blog/blog-banner.webp') center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.blog-hero .overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(0,0,0,.7),
    rgba(0,0,0,.45)
  );
}

/* HERO CONTENT */

.hero-content{
  position:relative;
  max-width:900px;
  padding:20px;
  color:#fff;
}

.hero-content h1{
  font-size:52px;
  font-weight:700;
  margin-bottom:12px;
  letter-spacing:-0.5px;
}

.hero-content p{
  font-size:18px;
  opacity:.95;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb-wrap{
  background:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.05);
}

.breadcrumb{
  max-width:1200px;
  margin:auto;
  padding:14px 20px;
  font-size:14px;
  color:#777;
}

.breadcrumb a{
  text-decoration:none;
  color:var(--primary);
  font-weight:500;
}

.breadcrumb span{
  margin:0 6px;
}

.breadcrumb .active{
  color:#333;
  font-weight:600;
}

/* =========================================================
   MAIN SECTION
========================================================= */

.blog-section{
  max-width:1250px;
  margin:auto;
  padding:60px 20px 90px;
}

/* =========================================================
   TOP BAR
========================================================= */

.blog-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
}

.blog-top h2{
  font-size:30px;
  margin:0;
  font-weight:700;
}

/* =========================================================
   SEARCH TOOLBAR (GLASS STYLE)
========================================================= */

.blog-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(12px);
  padding:14px;
  border-radius:16px;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.blog-actions input,
.blog-actions select{
  padding:11px 14px;
  border-radius:10px;
  border:1px solid #e3e3e3;
  font-size:14px;
  outline:none;
  transition:.25s;
}

.blog-actions input:focus,
.blog-actions select:focus{
  border-color:var(--primary);
}

.blog-search-btn{
  background:var(--primary);
  color:#fff;
  border:none;
  padding:11px 22px;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
  transition:.25s;
}

.blog-search-btn:hover{
  background:var(--primary-dark);
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(255,106,0,.25);
}

/* =========================================================
   BLOG GRID
========================================================= */

.blog-grid{
  margin-top:35px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:28px;
}

/* =========================================================
   BLOG CARD
========================================================= */

.blog-card{
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 12px 35px rgba(0,0,0,.06);
  transition:.35s ease;
  display:flex;
  flex-direction:column;
}

.blog-card:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 55px rgba(0,0,0,.12);
}

/* IMAGE */

.blog-card img{
  width:100%;
  height:220px;
  object-fit:cover;
}

/* CONTENT */

.blog-info{
  padding:22px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.blog-date{
  color:var(--light);
  font-size:13px;
  margin-bottom:8px;
}

.blog-info h3{
  font-size:20px;
  margin:0 0 10px;
  line-height:1.4;
}

.short-desc{
  color:var(--text);
  font-size:15px;
  line-height:1.7;
  flex:1;
}

/* READ MORE */

.read-more{
  margin-top:16px;
  color:var(--primary);
  text-decoration:none;
  font-weight:600;
  transition:.2s;
}

.read-more:hover{
  letter-spacing:.3px;
}

/* =========================================================
   PAGINATION
========================================================= */

.pagination{
  margin-top:45px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
}

.pagination a{
  padding:10px 16px;
  background:#fff;
  border-radius:10px;
  text-decoration:none;
  color:#333;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
  transition:.25s;
}

.pagination a:hover{
  background:#f2f2f2;
}

.pagination a.active{
  background:var(--primary);
  color:#fff;
  font-weight:600;
}

/* =========================================================
   BACK BUTTON (DETAIL PAGE READY)
========================================================= */

.back-blog{
  max-width:820px;
  margin:10px auto 0;
  padding:0 20px 15px;
}

.back-blog a{
  display:inline-block;
  background:#fff;
  padding:10px 16px;
  border-radius:10px;
  text-decoration:none;
  color:var(--primary);
  font-weight:600;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  transition:.25s;
}

.back-blog a:hover{
  transform:translateX(-4px);
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media(max-width:992px){

  .hero-content h1{
    font-size:40px;
  }

}

@media(max-width:768px){

  .blog-hero{
    height:380px;
  }

  .hero-content h1{
    font-size:32px;
  }

  .blog-top{
    flex-direction:column;
    align-items:flex-start;
  }

}

@media(max-width:480px){

  .hero-content p{
    font-size:15px;
  }

}
