.blog-hero {
  background: radial-gradient(circle at 88% 18%, rgba(20, 168, 0, .06), transparent 28%), linear-gradient(145deg, #f8fafc 0%, #fff 52%, #f8fafc 100%);
}

.blog-hero-glow {
  position: absolute;
  width: 20rem;
  height: 20rem;
  border-radius: 9999px;
  filter: blur(75px);
  opacity: .12;
  pointer-events: none;
}

.blog-hero-glow-green { right: 8%; top: 4%; background: #14a800; }
.blog-hero-glow-red { right: 25%; bottom: -35%; background: #ed1c23; opacity: .07; }

.blog-eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #14a800;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.blog-eyebrow span { width: 1.5rem; height: 2px; background: #ed1c23; }

.blog-hero-note {
  position: absolute;
  right: 4rem;
  bottom: 3rem;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.2rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .88);
  color: #64748b;
  font-size: .8rem;
  line-height: 1.5;
  box-shadow: 0 15px 40px rgba(15, 23, 42, .08);
}

.blog-hero-note strong { color: #0f172a; }

.blog-note-icon,
.article-sidebar-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: .9rem;
  background: #ecfdf5;
  color: #14a800;
  font-size: 1.1rem;
}

.blog-search {
  display: flex;
  width: 100%;
  max-width: 21rem;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.blog-search:focus-within { border-color: #14a800; box-shadow: 0 0 0 3px rgba(20, 168, 0, .1); }
.blog-search input { width: 100%; border: 0; outline: 0; color: #0f172a; font-size: .875rem; }
.blog-search input::placeholder { color: #94a3b8; }

.blog-filters { display: flex; gap: .65rem; overflow-x: auto; padding: .1rem .1rem .5rem; }

.blog-filter {
  flex: 0 0 auto;
  padding: .6rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #fff;
  color: #475569;
  font-size: .8rem;
  font-weight: 700;
  transition: all .2s;
}

.blog-filter:hover,
.blog-filter.is-active { border-color: #14a800; background: #14a800; color: #fff; }

.blog-card {
  overflow: hidden;
  border: 1px solid #e8edf2;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .035);
}

.blog-card-image { position: relative; display: block; height: 13rem; overflow: hidden; background: #f8fafc; }
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.02); }

.blog-category {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #138b05;
  padding: .38rem .75rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.blog-card-image .blog-category {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .1);
}

.blog-card-content { padding: 1.35rem 1.4rem 1.5rem; }
.blog-meta { display: flex; gap: .65rem; color: #94a3b8; font-size: .72rem; font-weight: 600; }
.blog-meta span + span::before { content: "•"; margin-right: .65rem; color: #cbd5e1; }

.blog-card h3 {
  margin-top: .85rem;
  color: #0f172a;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.45;
}

.blog-card h3 a { transition: color .2s; }
.blog-card h3 a:hover { color: #14a800; }
.blog-card-content > p:not(.blog-meta) { margin-top: .65rem; color: #64748b; font-size: .88rem; line-height: 1.7; }

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.15rem;
  color: #138b05;
  font-size: .8rem;
  font-weight: 800;
}

.blog-read-more i { font-size: .68rem; transition: transform .2s; }
.blog-read-more:hover i { transform: translateX(3px); }
.blog-cta { background: radial-gradient(circle at 85% 0%, rgba(20, 168, 0, .24), transparent 30%), #0f172a; }
.article-top { background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.article-content-section { padding-bottom: 5rem; }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #64748b;
  font-size: .84rem;
  font-weight: 700;
  transition: color .2s;
}

.article-back:hover { color: #14a800; }
.article-heading { max-width: 52rem; margin: 2rem 0 1.5rem; text-align: left; }
.article-heading h1 { margin-top: 1.1rem; }
.article-heading > p { max-width: 42rem; }
.article-category { position: static; }

.article-author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .75rem;
  margin-top: 1.5rem;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.6;
  text-align: left;
}

.article-author strong { color: #0f172a; }

.article-author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #fff;
  object-fit: contain;
  padding: .2rem;
}

.article-cover {
  display: block;
  width: 100%;
  max-width: 64rem;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 1.5rem;
  background: #f1f5f9;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .1);
}

.article-body { max-width: 46rem; color: #475569; font-size: 1rem; line-height: 1.9; }
.article-body > * + * { margin-top: 1.25rem; }

.article-layout {
  grid-template-columns: minmax(0, 1fr);
}

.article-body h2 {
  margin-top: 2.35rem;
  color: #0f172a;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
}

.article-callout {
  display: flex;
  gap: .9rem;
  margin: 2rem 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid #bbf7d0;
  border-radius: 1rem;
  background: #f0fdf4;
  color: #334155;
  font-size: .92rem;
  line-height: 1.7;
}

.article-callout > i { flex: 0 0 auto; margin-top: .2rem; color: #14a800; }
.article-callout strong { color: #0f172a; }
.article-sidebar { display: flex; flex-direction: column; gap: 1.2rem; }

.article-sidebar-card,
.article-sidebar-links,
.article-sidebar-latest { padding: 1.4rem; border: 1px solid #e8edf2; border-radius: 1.1rem; background: #fff; }
.article-sidebar-card { background: linear-gradient(145deg, #f0fdf4, #fff); }

.article-sidebar-card h2,
.article-sidebar-links h2,
.article-sidebar-latest h2 { color: #0f172a; font-family: Outfit, Inter, sans-serif; font-size: 1.1rem; font-weight: 800; }
.article-sidebar-card h2 { margin-top: 1rem; }

.article-sidebar-card p { margin-top: .5rem; color: #64748b; font-size: .85rem; line-height: 1.65; }
.article-sidebar-card > a { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; color: #138b05; font-size: .82rem; font-weight: 800; }

.latest-post-list { margin-top: .75rem; }
.latest-post {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.latest-post:first-child { padding-top: .25rem; }
.latest-post:last-child { padding-bottom: 0; border-bottom: 0; }
.latest-post img { width: 3.5rem; height: 3.5rem; flex: 0 0 auto; border-radius: .65rem; background: #f1f5f9; object-fit: cover; }
.latest-post-details { display: grid; gap: .3rem; min-width: 0; }
.latest-post-details strong { color: #334155; font-size: .78rem; line-height: 1.45; transition: color .2s; }
.latest-post-details > span { color: #94a3b8; font-size: .68rem; line-height: 1.4; }
.latest-post:hover .latest-post-details strong { color: #14a800; }

.article-sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .85rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  font-size: .82rem;
  font-weight: 600;
  transition: color .2s;
}

.article-sidebar-links a:last-child { padding-bottom: 0; border-bottom: 0; }
.article-sidebar-links a:hover { color: #14a800; }
.article-sidebar-links a i { font-size: .68rem; }

@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }

  .article-sidebar { align-self: start; position: sticky; top: 7rem; }
}

@media (max-width: 640px) {
  .blog-card-image { height: 12rem; }
  .article-heading { margin-top: 2rem; }
  .article-cover { border-radius: 1rem; }
}
