/* ============================================================
   Lodeva Advisory — Insights (blog) layer
   Extends styles.css. Loaded after it on /blog pages.
   Article reading typography + listing cards.
   ============================================================ */

/* ---------- Insights listing ---------- */
.insights-hero {
  position: relative;
  padding: 104px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(217,164,65,0.15), transparent 55%),
    radial-gradient(90% 70% at 0% 0%, rgba(29,58,85,0.06), transparent 50%);
}
.insights-hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
}
.insights-hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); max-width: 18ch; }
.insights-hero .lead {
  font-size: clamp(1.12rem, 2.2vw, 1.28rem); color: var(--slate);
  max-width: 56ch; margin-bottom: 0; font-weight: 400;
}

/* ---------- Post list ---------- */
.post-list {
  list-style: none; margin: 0; padding: 64px 0 100px;
  display: grid; gap: 28px;
}
.post-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 36px;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.post-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--foil); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.post-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow);
  border-color: var(--line-strong); text-decoration: none;
}
.post-card:hover::before { transform: scaleX(1); }

.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  font-size: 0.82rem; color: var(--slate); margin-bottom: 16px;
}
.post-meta time { font-weight: 500; }
.post-tag {
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.7rem; color: var(--gold-text);
  display: inline-flex; align-items: center; gap: 8px;
}
.post-tag::before { content: "✦"; color: var(--gold); }
.post-card h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 0.4em; color: var(--navy);
}
.post-card p { color: var(--slate); margin-bottom: 1.1rem; font-size: 1.02rem; }
.post-card .read-more {
  font-weight: 600; font-size: 0.92rem; color: var(--gold-text);
  display: inline-flex; align-items: center; gap: 7px;
}
.post-card .read-more::after {
  content: "→"; transition: transform .3s var(--ease);
}
.post-card:hover .read-more::after { transform: translateX(4px); }

/* ---------- Single article ---------- */
.article-head {
  position: relative;
  padding: 92px 0 8px;
  background:
    radial-gradient(120% 90% at 84% -10%, rgba(217,164,65,0.13), transparent 55%);
}
.article-head .container { max-width: 760px; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  font-size: 0.86rem; color: var(--slate); margin-bottom: 22px;
}
.article-head h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem); max-width: 22ch; margin-bottom: 0.5em;
}
.article-standfirst {
  font-family: var(--serif); font-size: clamp(1.18rem, 2.3vw, 1.4rem);
  font-style: italic; color: var(--slate); line-height: 1.5;
  max-width: 60ch; margin: 0 0 8px;
}
.article-byline {
  display: flex; align-items: center; gap: 12px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 0.92rem; color: var(--slate);
}
.article-byline .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1rem;
  color: var(--gold-light);
}
.article-byline strong { color: var(--ink); font-weight: 600; }

/* article body: comfortable single measure */
.article-body {
  max-width: 720px; margin: 0 auto; padding: 40px 28px 64px;
}
.article-body > * { max-width: 68ch; }
.article-body p,
.article-body li { font-size: 1.12rem; line-height: 1.78; color: var(--ink); }
.article-body p { margin: 0 0 1.5rem; }
.article-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.6rem 0 0.9rem;
}
.article-body h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin: 2rem 0 0.7rem;
}
.article-body ul, .article-body ol { margin: 0 0 1.5rem; padding-left: 1.3em; }
.article-body li { margin-bottom: 0.5rem; }
.article-body li::marker { color: var(--gold-deep); }
.article-body a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body strong { color: var(--navy); font-weight: 600; }

.article-body blockquote {
  margin: 2rem 0; padding: 4px 0 4px 28px;
  border-left: 3px solid var(--gold);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem); line-height: 1.45; color: var(--navy);
}
.article-body blockquote cite {
  display: block; margin-top: 12px; font-family: var(--sans); font-style: normal;
  font-size: 0.92rem; color: var(--slate); font-weight: 500;
}

/* a pull "stat" callout */
.stat-band {
  margin: 2.4rem 0; padding: 30px 32px; border-radius: var(--radius);
  background: linear-gradient(140deg, #ffffff 0%, #fbf6ea 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}
.stat-band .stat-num {
  font-family: var(--serif); font-weight: 600; font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1;
  color: var(--gold-text);
  background: var(--foil-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-band p { margin: 10px 0 0; font-size: 1rem; color: var(--slate); }

/* sources / footnotes */
.article-sources {
  max-width: 720px; margin: 0 auto; padding: 0 28px 40px;
}
.article-sources h2 { font-size: 1.1rem; letter-spacing: 0.02em; }
.article-sources ol { padding-left: 1.3em; }
.article-sources li { font-size: 0.92rem; color: var(--slate); margin-bottom: 0.5rem; line-height: 1.5; }
.article-sources a { word-break: break-word; }

/* end CTA reuse of contact panel, plus a compact share row */
.article-cta {
  max-width: 760px; margin: 12px auto 0; padding: 0 28px 90px;
}
.back-to-insights {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem; margin-bottom: 40px;
}
.back-to-insights::before { content: "←"; }

@media (max-width: 720px) {
  .insights-hero { padding: 80px 0 44px; }
  .post-list { padding: 44px 0 72px; }
  .post-card { padding: 26px 24px; }
  .article-head { padding-top: 72px; }
  .article-body { padding: 32px 22px 48px; }
}
