/* ===== EverLabs Design — Blog styles (complements styles.css) ===== */

.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---- Blog listing ---- */
.blog-head {
  background:
    radial-gradient(circle at 20% 10%, rgba(59,130,246,0.30) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(139,92,246,0.22) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; text-align: center; padding: 64px 20px 56px;
}
.blog-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 14px; }
.blog-head h1 .hl { background: linear-gradient(135deg,#60a5fa,#a78bfa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.blog-head p { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto; font-size: 1.1rem; line-height: 1.6; }

.post-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  background: #fff; border: 1px solid var(--grey-border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(2,6,23,0.12); border-color: var(--blue); text-decoration: none; }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--grey-bg); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .pc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.18rem; font-weight: 800; color: var(--dark); line-height: 1.3; margin: 0; }
.post-card p { font-size: 0.93rem; color: var(--grey); margin: 0; line-height: 1.6; }
.post-card .pc-meta { margin-top: auto; padding-top: 6px; font-size: 0.8rem; color: var(--grey-light); }

.post-tag {
  display: inline-block; align-self: flex-start;
  background: var(--blue-light); color: var(--blue-dark);
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}

/* ---- Article hero ---- */
.article-hero {
  background:
    radial-gradient(circle at 20% 10%, rgba(59,130,246,0.30) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(139,92,246,0.22) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 52px 0 0;
}
.article-head { max-width: 820px; margin: 0 auto; padding: 0 20px; text-align: center; }
.article-tag {
  display: inline-block; background: rgba(96,165,250,0.16); color: #93c5fd;
  border: 1px solid rgba(96,165,250,0.3); padding: 5px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.article-hero h1 { font-size: clamp(1.8rem, 4.6vw, 2.7rem); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; margin: 16px 0 14px; }
.article-meta { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.article-meta a { color: rgba(255,255,255,0.85); }
.hero-figure { max-width: 1000px; margin: 36px auto -90px; padding: 0 20px; position: relative; z-index: 2; }
.hero-figure img { width: 100%; border-radius: 18px; box-shadow: 0 24px 60px rgba(2,6,23,0.45); border: 1px solid rgba(255,255,255,0.12); }

/* ---- Article body ---- */
.article-body { background: #fff; padding: 120px 0 64px; }
.article-body .lede { font-size: 1.22rem; color: var(--dark); font-weight: 500; line-height: 1.6; margin-bottom: 28px; }
.article-body h2 { font-size: 1.55rem; font-weight: 800; color: var(--dark); letter-spacing: -0.01em; margin: 42px 0 14px; }
.article-body h3 { font-size: 1.18rem; font-weight: 700; color: var(--dark); margin: 26px 0 8px; }
.article-body p { font-size: 1.07rem; color: var(--dark-light); line-height: 1.8; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 1.4em; }
.article-body li { margin-bottom: 9px; color: var(--dark-light); line-height: 1.7; }
.article-body a { color: var(--blue); font-weight: 600; }
.article-body strong { color: var(--dark); }
.article-body figure { margin: 32px 0; }
.article-body figure img { width: 100%; border-radius: 14px; border: 1px solid var(--grey-border); box-shadow: 0 10px 30px rgba(2,6,23,0.08); }
.article-body figcaption { font-size: 0.84rem; color: var(--grey); text-align: center; margin-top: 10px; }

.callout {
  background: var(--blue-light); border-left: 4px solid var(--blue);
  border-radius: 10px; padding: 18px 22px; margin: 28px 0;
}
.callout p { margin: 0; font-size: 1rem; color: var(--dark); }
.callout strong { color: var(--blue-dark); }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 24px 0; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.cmp-table th, .cmp-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--grey-border); }
.cmp-table th { background: var(--grey-bg); font-weight: 700; color: var(--dark); }
.cmp-table td { color: var(--dark-light); }

/* In-article CTA */
.article-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #6366F1 100%);
  color: #fff; border-radius: 18px; padding: 34px 30px; text-align: center; margin: 44px 0 8px;
}
.article-cta h3 { color: #fff; font-size: 1.45rem; margin: 0 0 10px; }
.article-cta p { color: rgba(255,255,255,0.9); margin: 0 0 20px; }
.article-cta .btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue); padding: 14px 26px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.article-cta .btn-white:hover { transform: translateY(-1px); text-decoration: none; }

/* Breadcrumb + back link */
.crumb { padding: 16px 0 0; font-size: 0.85rem; color: var(--grey); }
.crumb a { color: var(--grey); }
.crumb a:hover { color: var(--blue); }

/* Related posts */
.related { background: var(--grey-bg); }
.related h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; color: var(--dark); }
