/* ══════════════════════════════════════════════════════════════════════
   articles.css — Shared article styles for all Storm Reply insight pages
   Loaded after base.css and site style.css on every /insights/ page.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Hero Banner ─────────────────────────────────────────────────────── */
.article-hero-banner {
  background: linear-gradient(135deg, #004149, #00A486);
  padding: 100px 32px 40px;
  text-align: center;
}
.article-hero-banner h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  max-width: 780px;
  margin: 0 auto 12px;
  line-height: 1.2;
  letter-spacing: -.5px;
}
.article-hero-banner .hero-subtitle {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}
.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 0 0 16px 16px;
}

/* ── Article Body ────────────────────────────────────────────────────── */
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 28px 32px 40px;
}
.article-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #004149;
  margin: 20px 0 6px;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #004149;
  margin: 14px 0 4px;
}
.article-body p {
  margin-bottom: 6px;
  line-height: 1.7;
  color: #444;
}
.article-body ul,
.article-body ol {
  margin: 0 0 10px 24px;
}
.article-body li {
  margin-bottom: 4px;
  line-height: 1.7;
  color: #444;
}

/* ── Definition Lists ────────────────────────────────────────────────── */
.article-body dl {
  margin: 14px 0;
}
.article-body dt {
  font-weight: 700;
  color: #004149;
  margin-top: 10px;
}
.article-body dd {
  margin: 4px 0 0 0;
  color: #444;
  line-height: 1.7;
}

/* ── Tables ──────────────────────────────────────────────────────────── */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
}
.article-body th,
.article-body td {
  padding: 8px 14px;
  border: 1px solid #E7E6E6;
  text-align: left;
  font-size: .92rem;
}
.article-body th {
  background: #F2F2F2;
  font-weight: 700;
  color: #004149;
}

/* ── Blockquotes ─────────────────────────────────────────────────────── */
.article-body blockquote {
  border-left: 4px solid #00A486;
  padding: 12px 20px;
  margin: 14px 0;
  background: rgba(0,164,134,.04);
}
.article-body blockquote p {
  margin-bottom: 0;
  color: #333;
  font-style: italic;
}

/* ── CTA Box ─────────────────────────────────────────────────────────── */
.article-cta {
  background: linear-gradient(135deg, #004149, #00A486);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin: 28px 0 0;
}
.article-cta h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.article-cta p {
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
  font-size: .95rem;
}
.article-cta a {
  display: inline-block;
  background: #fff;
  color: #004149;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
}
.article-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* ── Related Articles Grid ───────────────────────────────────────────── */
.article-related {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #E7E6E6;
}
.article-related h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.related-card {
  border: 1px solid #E7E6E6;
  border-radius: 12px;
  padding: 20px;
  transition: all .3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.related-card:hover {
  border-color: #00A486;
  box-shadow: 0 4px 16px rgba(0,65,73,.08);
  transform: translateY(-2px);
}
.related-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #004149;
  margin-bottom: 6px;
  line-height: 1.3;
}
.related-card p {
  font-size: .85rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .article-hero-banner { padding: 80px 20px 32px; }
  .article-body { padding: 20px 20px 32px; }
  .article-cta { padding: 24px 20px; }
}
