/* ============================================================
   NOVARA — Insights / Blog page
   ============================================================ */

body.blog-body {
  background: #F0F4F2;
  color: #1A2B27;
}

/* ── HERO ─────────────────────────────────────────────────── */
.bp-hero {
  background:
    radial-gradient(ellipse at 75% 0%,  rgba(43,168,138,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(201,162,74,0.14) 0%, transparent 55%),
    linear-gradient(160deg, #062B22 0%, #0D4438 55%, #14695A 100%);
  padding: 140px var(--pad-page) 72px;
}
.bp-eyebrow {
  font-family: var(--font-mono-mod);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 20px;
}
.bp-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #F7F1E6;
  margin-bottom: 20px;
  max-width: 820px;
}
.bp-title em {
  font-style: italic;
  font-family: var(--font-stylish);
  background: linear-gradient(120deg, #C9A24A 0%, #E0BF72 60%, #F7F1E6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bp-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(247,241,230,0.65);
  max-width: 560px;
}

/* ── BODY ─────────────────────────────────────────────────── */
.bp-body {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--pad-page) 96px;
}

/* ── Category filter pills ── */
.bp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.bp-pill {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: #1A2B27;
  background: #fff;
  border: 1px solid rgba(20,105,90,0.18);
  border-radius: 999px;
  padding: 9px 18px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bp-pill:hover { border-color: #14695A; }
.bp-pill.active {
  background: #0D4438;
  border-color: #0D4438;
  color: #F7F1E6;
}

/* ── Grid ── */
.bp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.bp-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20,105,90,0.1);
  transition: transform 0.25s, box-shadow 0.25s;
}
.bp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(13,68,56,0.12);
}
.bp-card-media {
  height: 180px;
  background: linear-gradient(135deg, #C9A24A 0%, #14695A 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 16px;
}
.bp-card-tag {
  font-family: var(--font-mono-mod);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 5px 10px;
  border-radius: 6px;
}
.bp-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.bp-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: #0D4438;
}
.bp-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: #5A6B66;
  flex: 1;
}
.bp-card-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono-mod);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #94A39E;
  margin-top: auto;
}

.bp-empty {
  font-family: var(--font-body);
  color: #5A6B66;
  padding: 60px 0;
  text-align: center;
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .bp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bp-hero { padding: 120px 20px 52px; }
  .bp-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   NOVARA — Insights / Blog detail page
   ============================================================ */

body.blog-post-body {
  background: #F0F4F2;
  color: #1A2B27;
}

.bp-post-hero {
  background:
    radial-gradient(ellipse at 75% 0%,  rgba(43,168,138,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(201,162,74,0.14) 0%, transparent 55%),
    linear-gradient(160deg, #062B22 0%, #0D4438 55%, #14695A 100%);
  padding: 140px var(--pad-page) 64px;
}
.bp-post-hero .bp-eyebrow,
.bp-post-title,
.bp-post-meta {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.bp-post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #F7F1E6;
  margin-bottom: 18px;
}
.bp-post-meta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(247,241,230,0.6);
}
.bp-dot { margin: 0 8px; }

.bp-post-feature {
  max-width: var(--maxw);
  margin: -36px auto 0;
  height: 380px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-color: #C9A24A;
  position: relative;
  z-index: 1;
}

.bp-post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px var(--pad-page) 0;
}
.bp-post-excerpt {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: #5A6B66;
  margin-bottom: 28px;
}
.bp-post-content {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1A2B27;
}
.bp-post-content p { margin-bottom: 22px; }
.bp-post-content h2, .bp-post-content h3 {
  font-family: var(--font-display);
  color: #0D4438;
  margin: 36px 0 16px;
}
.bp-post-content img { max-width: 100%; border-radius: 14px; }
.bp-post-content a { color: #14695A; text-decoration: underline; }

.bp-author-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(20,105,90,0.14);
}
.bp-author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #0D4438;
  color: #F7F1E6;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono-mod);
  font-size: 0.8rem;
}
.bp-author-name {
  font-family: var(--font-body);
  font-weight: 500;
  color: #1A2B27;
}

.bp-related {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px var(--pad-page);
  text-align: center;
}
.bp-eyebrow-center { display: flex; justify-content: center; }
.bp-eyebrow-center::before { display: none; }
.bp-related-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 300;
  color: #0D4438;
  margin-bottom: 48px;
}
.bp-related-title em {
  font-style: italic;
  font-family: var(--font-stylish);
  background: linear-gradient(120deg, #C9A24A 0%, #14695A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bp-related .bp-grid { text-align: left; }

@media (max-width: 640px) {
  .bp-post-feature { margin-top: -20px; height: 220px; border-radius: 14px; }
  .bp-post-body { padding-top: 36px; }
}
