
/* =====================================================
   BLOG LISTING — PREMIUM / GLASS QUALITY
===================================================== */

:root {
  --bg: #f7f8fa;
  --card: rgba(255, 255, 255, 0.75);
  --text: #0f172a;
  --muted: #64748b;
  --accent: #16a34a;

  --radius-lg: 20px;
  --radius-md: 14px;
}

#page-cover {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#page-cover {
  backdrop-filter: blur(8px);
}


html.is-navigating #page-cover {
  opacity: 1;
}

/* =====================================================
   PAGE BASE
===================================================== */

body {
  background:
    radial-gradient(
      1200px 400px at 50% -200px,
      rgba(22,163,74,0.08),
      transparent
    ),
    var(--bg);
}

/* =====================================================
   HEADER
===================================================== */

.blog-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.blog-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.blog-logo img {
  height: 32px;
}

/* Nav */
.blog-nav {
  display: flex;
  gap: 32px;
}

.blog-nav a {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--muted);
  position: relative;
}

.blog-nav a.active,
.blog-nav a:hover {
  color: var(--text);
}

/* =====================================================
   HERO (OPTIMIZED GAP + COLOR)
===================================================== */

.blogs-hero {
  padding: 96px 24px 72px;
}

.blogs-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(22,163,74,0.12);
  border-radius: 999px;
}

.blogs-hero h1 {
  font-size: 2.8rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.blogs-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =====================================================
   GRID (AIRY GAPS)
===================================================== */

.blogs-grid {
  max-width: 1200px;
  margin: 0 auto 140px;
  padding: 0 24px;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}

/* =====================================================
   CARD (GLASS FEEL)
===================================================== */

.blog-card {
  background: var(--card);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06),
    inset 0 0 0 1px rgba(255,255,255,0.4);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.6);
}

/* =====================================================
   IMAGE (FIXED + SOFT)
===================================================== */

.blog-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e5e7eb;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

/* =====================================================
   CONTENT
===================================================== */

.blog-content {
  padding: 22px 22px 26px;
}

.blog-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: inline-block;
}

.blog-content h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* =====================================================
   META
===================================================== */

.blog-meta {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  gap: 6px;
}
