/* blog/blog.css */

.blog-hero{
  position:relative;
  overflow:hidden;
  padding:145px 0 90px;
  background:
    radial-gradient(circle at 10% 100%, rgba(255,255,255,.10), transparent 18%),
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.10), transparent 22%),
    linear-gradient(135deg, #0b4a8b 0%, #0d6efd 100%);
  color:#fff;
}

.blog-hero::before{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  top:-180px;
  right:-140px;
  border-radius:50%;
  background:rgba(255,255,255,.06);
}

.blog-hero::after{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  left:-120px;
  bottom:-120px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
}

.blog-hero .section-title{
  color:#fff;
  margin-bottom:.9rem;
}

.blog-hero .section-subtitle{
  color:rgba(255,255,255,.84);
  max-width:820px;
}

.blog-shell{
  padding:80px 0;
}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:1.5rem;
}

.blog-card{
  height:100%;
  display:flex;
  flex-direction:column;
  border-radius:24px;
  overflow:hidden;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.6);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 18px 45px rgba(15,23,42,.08);
  transition:.28s ease;
}

.blog-card:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 55px rgba(15,23,42,.14);
}

.blog-card-image-wrap{
  display:block;
  aspect-ratio:16 / 10;
  overflow:hidden;
  background:#dfefff;
}

.blog-card-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}

.blog-card:hover .blog-card-image{
  transform:scale(1.04);
}

.blog-card-body{
  padding:1.4rem;
  display:flex;
  flex-direction:column;
  flex:1;
}

.blog-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  align-items:center;
  margin-bottom:.9rem;
  font-size:.92rem;
  color:var(--brand-muted);
}

.blog-chip{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  background:linear-gradient(135deg, rgba(11,74,139,.10), rgba(13,110,253,.12));
  color:var(--brand-blue);
  border:1px solid var(--brand-border);
  border-radius:999px;
  padding:.4rem .8rem;
  font-weight:700;
  font-size:.85rem;
}

.blog-card h2{
  font-size:1.3rem;
  line-height:1.3;
  font-weight:800;
  margin-bottom:.8rem;
  color:var(--brand-navy);
}

.blog-card h2 a{
  color:inherit;
}

.blog-card h2 a:hover{
  color:var(--brand-blue);
}

.blog-card p{
  color:var(--brand-muted);
  line-height:1.75;
  margin-bottom:1rem;
}

.blog-card-footer{
  margin-top:auto;
}

.blog-empty{
  padding:2rem;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--brand-border);
  box-shadow:var(--shadow-soft);
}

.blog-post-wrap{
  padding:140px 0 80px;
}

.blog-post-main{
  background:#fff;
  border:1px solid var(--brand-border);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}

.blog-post-featured{
  width:100%;
  aspect-ratio:16 / 7;
  object-fit:cover;
  display:block;
  background:#e8f1fb;
}

.blog-post-body{
  padding:2rem;
}

.blog-post-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  align-items:center;
  margin-bottom:1rem;
  color:var(--brand-muted);
  font-size:.95rem;
}

.blog-post-title{
  font-size:clamp(2rem, 4vw, 3rem);
  line-height:1.08;
  font-weight:800;
  color:var(--brand-navy);
  margin-bottom:1rem;
}

.blog-post-excerpt{
  font-size:1.08rem;
  line-height:1.85;
  color:var(--brand-muted);
  margin-bottom:1.5rem;
}

.blog-content{
  font-size:1.02rem;
  color:var(--brand-text);
}

.blog-content h2,
.blog-content h3,
.blog-content h4{
  color:var(--brand-navy);
  font-weight:800;
  margin-top:2rem;
  margin-bottom:.9rem;
}

.blog-content p,
.blog-content ul,
.blog-content ol{
  line-height:1.85;
  margin-bottom:1.1rem;
}

.blog-content img{
  max-width:100%;
  height:auto;
  border-radius:18px;
  margin:1.2rem 0;
}

.blog-content a{
  color:var(--brand-blue);
  font-weight:600;
}

.blog-content blockquote{
  margin:1.5rem 0;
  padding:1rem 1.2rem;
  border-left:4px solid var(--brand-blue);
  background:linear-gradient(135deg, rgba(11,74,139,.05), rgba(13,110,253,.07));
  border-radius:0 16px 16px 0;
  color:var(--brand-text);
}

.blog-sidebar{
  display:grid;
  gap:1.25rem;
}

.blog-sidebar-card{
  padding:1.5rem;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--brand-border);
  box-shadow:var(--shadow-soft);
}

.blog-sidebar-card h3{
  font-size:1.15rem;
  font-weight:800;
  color:var(--brand-navy);
  margin-bottom:1rem;
}

.blog-sidebar-list{
  list-style:none;
  padding:0;
  margin:0;
}

.blog-sidebar-list li + li{
  margin-top:.85rem;
  padding-top:.85rem;
  border-top:1px solid var(--brand-border);
}

.blog-sidebar-list a{
  color:var(--brand-text);
  font-weight:600;
}

.blog-sidebar-list a:hover{
  color:var(--brand-blue);
}

.blog-breadcrumb{
  font-size:.95rem;
  color:var(--brand-muted);
  margin-bottom:1rem;
}

.blog-breadcrumb a{
  color:var(--brand-blue);
  font-weight:600;
}

.blog-cta-panel{
  padding:1.5rem;
  border-radius:22px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 22%),
    linear-gradient(135deg, #0f172a 0%, #153764 100%);
  color:#fff;
  box-shadow:var(--shadow-medium);
}

.blog-cta-panel h3{
  color:#fff;
  font-weight:800;
  margin-bottom:.8rem;
}

.blog-cta-panel p{
  color:rgba(255,255,255,.84);
  line-height:1.8;
}

.blog-cta-panel .btn-outline-cta{
  border-color:rgba(255,255,255,.34);
}

@media (max-width: 1199.98px){
  .blog-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 991.98px){
  .blog-post-wrap{
    padding:120px 0 70px;
  }
}

@media (max-width: 767.98px){
  .blog-grid{
    grid-template-columns:1fr;
  }

  .blog-post-body{
    padding:1.35rem;
  }

  .blog-hero{
    padding:130px 0 80px;
  }
}