/* ==========================================
   BLOG PAGE STYLES
   ========================================== */

.blog-hero{
  padding:clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
}

.blog-hero-inner{
  background:
    radial-gradient(circle at 10% 10%, rgba(199,154,58,0.18) 0, transparent 38%),
    radial-gradient(circle at 90% 85%, rgba(15,59,47,0.18) 0, transparent 40%),
    linear-gradient(140deg, #ffffff 0%, #faf6ef 55%, #f2f8f4 100%);
  border:1px solid rgba(199,154,58,0.28);
  border-radius:28px;
  box-shadow:var(--shadow-lg);
  padding:clamp(1.6rem, 3.8vw, 3rem);
}

.blog-eyebrow{
  display:inline-block;
  background:linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color:#fff;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.75rem;
  font-weight:700;
  padding:.45rem .8rem;
  border-radius:999px;
  margin-bottom:1rem;
}

.blog-hero h1{
  margin-bottom:.6rem;
}

.blog-hero p{
  max-width:70ch;
}

.blog-hero-actions{
  display:flex;
  gap:.8rem;
  flex-wrap:wrap;
  margin-top:1rem;
}

.blog-hero-actions .btn{
  white-space:normal;
}

.blog-layout{
  display:grid;
  grid-template-columns:minmax(0, 2.2fr) minmax(260px, 1fr);
  gap:1.4rem;
  padding-bottom:3.5rem;
}

.blog-primary{
  min-width:0;
}

.featured-post{
  background:#fff;
  border:1px solid rgba(15,59,47,0.12);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  margin-bottom:1.2rem;
}

.featured-post-image{
  width:100%;
  height:auto;
  display:block;
}

.featured-post-body{
  padding:1.2rem 1.2rem 1.35rem;
}

.featured-kicker{
  color:var(--muted);
  font-size:.88rem;
  font-weight:600;
  margin-bottom:.4rem;
}

.featured-post h2{
  font-size:clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom:.5rem;
}

.featured-post p{
  margin-bottom:.9rem;
}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:1rem;
}

.blog-card{
  background:#fff;
  border:1px solid rgba(15,59,47,0.11);
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.blog-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  border-color:rgba(199,154,58,0.42);
}

.blog-card-image-wrap{
  aspect-ratio:16/9;
  background:linear-gradient(135deg, rgba(15,59,47,.9), rgba(199,154,58,.88));
}

.blog-card-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.blog-card-content{
  padding:1rem;
  min-width:0;
}

.blog-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin-bottom:.65rem;
}

.blog-pill{
  display:inline-block;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--text);
  background:rgba(199,154,58,0.2);
  border-radius:999px;
  padding:.3rem .55rem;
}

.blog-date{
  font-size:.82rem;
  color:var(--muted);
  font-weight:600;
}

.blog-card h3{
  font-size:1.1rem;
  line-height:1.35;
  margin-bottom:.55rem;
  overflow-wrap:anywhere;
}

.blog-card p,
.series-list a,
.quick-links a{
  overflow-wrap:anywhere;
}

.blog-card h3 a{
  color:var(--text);
  text-decoration:none;
}

.blog-card h3 a:hover{
  color:var(--accent-2);
}

.blog-read{
  text-decoration:none;
  font-weight:700;
  color:var(--accent-2);
}

.blog-read:hover{
  color:var(--accent);
}

.blog-sidebar{
  align-self:start;
  position:sticky;
  top:96px;
  display:grid;
  gap:1rem;
}

.sidebar-card{
  background:#fff;
  border:1px solid rgba(15,59,47,0.1);
  border-radius:20px;
  box-shadow:var(--shadow-sm);
  padding:1rem;
}

.sidebar-card h3{
  font-size:1.1rem;
  margin-bottom:.6rem;
}

.series-list{
  list-style:none;
  display:grid;
  gap:.45rem;
}

.series-list a{
  color:var(--text-soft);
  text-decoration:none;
  font-weight:600;
}

.series-list a:hover{
  color:var(--accent-2);
}

.quick-links{
  display:grid;
  gap:.55rem;
}

.quick-links a{
  text-decoration:none;
}

.blog-empty-image{
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:700;
  letter-spacing:.04em;
}

@media (max-width:1100px){
  .blog-layout{
    grid-template-columns:1fr;
  }

  .blog-sidebar{
    position:static;
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:920px){
  .blog-grid{
    grid-template-columns:1fr;
  }

  .blog-layout{
    gap:1rem;
  }

  .blog-hero-inner{
    padding:1.2rem;
  }
}

@media (max-width:760px){
  .blog-hero{
    padding:1.6rem 0 1.2rem;
  }

  .blog-hero-actions{
    gap:.6rem;
  }

  .blog-hero-actions .btn{
    width:100%;
    justify-content:center;
  }

  .blog-sidebar{
    grid-template-columns:1fr;
  }

  .blog-hero-inner{
    border-radius:20px;
  }
}
