/* =========================
   BLOG PREMIUM
========================= */

.blog-hero{
  padding:72px 0 28px;
}

.blog-hero .section-head{
  max-width:860px;
  margin:0 auto;
}

.blog-toolbar{
  margin:0 0 28px;
}

.blog-filter-form{
  display:grid;
  grid-template-columns:2fr 1fr auto;
  gap:16px;
  align-items:end;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:24px;
  padding:20px;
  box-shadow:0 14px 34px rgba(15,23,42,.06);
}

.blog-filter-form .field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.blog-filter-form label{
  font-size:.92rem;
  font-weight:700;
  color:#0f172a;
}

.blog-filter-form input,
.blog-filter-form select{
  height:48px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:14px;
  padding:0 14px;
  background:#fff;
  color:#0f172a;
  outline:none;
}

.blog-filter-form input:focus,
.blog-filter-form select:focus{
  border-color:#0f172a;
}

.blog-filter-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.blog-featured{
  margin:0 0 32px;
}

.blog-featured-card{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:0;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:28px;
  box-shadow:0 18px 48px rgba(15,23,42,.08);
}

.blog-featured-media{
  position:relative;
  min-height:360px;
  background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);
}

.blog-featured-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.blog-featured-body{
  padding:32px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}

.blog-meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  color:#64748b;
  font-size:.92rem;
}

.blog-category-badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:#eef4ff;
  color:#1d4ed8;
  font-size:.8rem;
  font-weight:700;
}

.blog-featured-body h2,
.blog-card-body h2{
  margin:0;
  line-height:1.35;
  color:#0f172a;
}

.blog-featured-body h2{
  font-size:2rem;
}

.blog-featured-body h2 a,
.blog-card-body h2 a{
  color:inherit;
  text-decoration:none;
}

.blog-featured-body p{
  margin:0;
  color:#475569;
  line-height:1.8;
  font-size:1rem;
}

.blog-grid.premium-blog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
  align-items:start;
}

.blog-card.premium-blog-card{
  position:relative;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 16px 42px rgba(15,23,42,.08);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display:flex;
  flex-direction:column;
  height:100%;
}

.blog-card.premium-blog-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 48px rgba(15,23,42,.14);
  border-color:rgba(37,99,235,.16);
}

.blog-card-image{
  display:block;
  position:relative;
  aspect-ratio:16/10;
  background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);
  overflow:hidden;
}

.blog-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}

.blog-card:hover .blog-card-image img{
  transform:scale(1.04);
}

.blog-card-body{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
}

.blog-card-body p{
  margin:0;
  color:#475569;
  line-height:1.7;
  flex:1;
}

.blog-card-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:auto;
  padding-top:6px;
}

.blog-read-time{
  color:#64748b;
  font-size:.9rem;
  font-weight:600;
}

.blog-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:34px;
}

.blog-page-numbers{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.blog-page-number,
.blog-page-nav{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0 14px;
  border-radius:12px;
  text-decoration:none;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  color:#0f172a;
  font-weight:700;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  transition:.2s ease;
}

.blog-page-number:hover,
.blog-page-nav:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 28px rgba(15,23,42,.1);
}

.blog-page-number.active{
  background:#0f172a;
  color:#fff;
  border-color:#0f172a;
}

/* blog detail */
.blog-detail-hero{
  padding:54px 0 26px;
}

.blog-detail-wrap{
  max-width:980px;
  margin:0 auto;
}

.blog-detail-cover{
  margin:0 0 26px;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 18px 48px rgba(15,23,42,.08);
  background:#fff;
}

.blog-detail-cover img{
  width:100%;
  display:block;
  max-height:560px;
  object-fit:cover;
}

.blog-detail-header{
  margin:0 0 24px;
}

.blog-detail-header h1{
  margin:12px 0 0;
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.2;
  color:#0f172a;
}

.blog-detail-excerpt{
  margin:16px 0 0;
  color:#475569;
  font-size:1.08rem;
  line-height:1.8;
}

.blog-content-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:28px;
  padding:34px;
  box-shadow:0 16px 42px rgba(15,23,42,.08);
}

.blog-content-card h2,
.blog-content-card h3,
.blog-content-card h4{
  color:#0f172a;
  margin:1.4em 0 .6em;
  line-height:1.3;
}

.blog-content-card p{
  color:#334155;
  line-height:1.9;
  margin:0 0 1.1em;
}

.blog-content-card ul,
.blog-content-card ol{
  padding-left:22px;
  margin:0 0 1.2em;
  color:#334155;
  line-height:1.9;
}

.blog-content-card blockquote{
  margin:1.5em 0;
  padding:20px 22px;
  border-left:4px solid #0f172a;
  background:#f8fafc;
  border-radius:16px;
  color:#334155;
}

.blog-content-card img{
  max-width:100%;
  height:auto;
  border-radius:18px;
  margin:16px 0;
}

.blog-author-box{
  margin-top:26px;
  display:grid;
  grid-template-columns:72px 1fr;
  gap:18px;
  align-items:center;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:24px;
  padding:20px;
  box-shadow:0 14px 34px rgba(15,23,42,.06);
}

.blog-author-box img{
  width:72px;
  height:72px;
  border-radius:50%;
  object-fit:cover;
}

.blog-author-box h4{
  margin:0 0 6px;
  color:#0f172a;
}

.blog-author-box p{
  margin:0;
  color:#475569;
  line-height:1.7;
}

.blog-related{
  margin-top:40px;
}

.blog-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.blog-empty-state{
  text-align:center;
  padding:64px 20px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:24px;
  box-shadow:0 16px 42px rgba(15,23,42,.08);
}

@media (max-width:1200px){
  .blog-grid.premium-blog-grid,
  .blog-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:992px){
  .blog-filter-form,
  .blog-featured-card{
    grid-template-columns:1fr;
  }

  .blog-featured-media{
    min-height:260px;
  }
}

@media (max-width:640px){
  .blog-grid.premium-blog-grid,
  .blog-related-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .blog-content-card{
    padding:24px 18px;
  }

  .blog-author-box{
    grid-template-columns:1fr;
    text-align:center;
  }
}