/* =========================================================
   pages.css — supplementary styles for blog & legal pages
   Load AFTER style.css on the same page (re-uses its CSS
   variables: --navy, --gold, --off-white, --font-* etc.)
   ========================================================= */

/* ---------- Generic inner-page hero ---------- */
.page-hero {
  background: linear-gradient(160deg, #0a1628 0%, #0f2040 40%, #08111f 100%);
  padding: 160px 0 70px;
  text-align: center;
}
.page-hero .section-eyebrow { color: var(--gold-light); }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.page-breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  margin-bottom: 18px; letter-spacing: 0.5px;
}
.page-breadcrumb a { color: var(--gold-light); text-decoration: none; }
.page-breadcrumb a:hover { text-decoration: underline; }

/* ---------- Blog listing ---------- */
.blog-section { background: var(--off-white); padding: 80px 0 100px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.blog-card:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(10,22,40,0.12);
  transform: translateY(-4px);
}
.blog-card-img {
  height: 170px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3a5c 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.blog-card-img svg { width: 46px; height: 46px; color: var(--gold); opacity: 0.85; }
.blog-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-tag {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 10px;
}
.blog-card h2, .blog-card h3 {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600;
  color: var(--navy); line-height: 1.3; margin-bottom: 10px;
}
.blog-card p.blog-excerpt { color: #5a7090; font-size: 0.92rem; line-height: 1.65; margin-bottom: 18px; flex: 1; }
.blog-readmore {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold-dark); text-decoration: none;
}
.blog-readmore:hover { color: var(--navy); }

/* ---------- Full article view (in-page anchor sections) ---------- */
.article {
  background: var(--white);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 70px 0;
}
.article:nth-child(even) { background: var(--off-white); }
.article-inner { max-width: 720px; margin: 0 auto; }
.article-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 14px; display: block;
}
.article h2 {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600; color: var(--navy); margin-bottom: 18px; line-height: 1.25;
}
.article h3 {
  font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600;
  color: var(--navy); margin: 28px 0 10px;
}
.article p { color: #4a6080; line-height: 1.85; margin-bottom: 16px; font-size: 1rem; }
.article ul { margin: 0 0 20px 20px; color: #4a6080; line-height: 1.85; }
.article ul li { margin-bottom: 8px; }
.article-meta {
  display: flex; gap: 14px; align-items: center; margin-bottom: 22px;
  font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.5px;
}
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); }
.back-to-blog {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-dark); text-decoration: none; font-size: 0.85rem;
  font-weight: 600; margin-top: 10px;
}
.back-to-blog:hover { color: var(--navy); }

/* ---------- Legal pages ---------- */
.legal-section { background: var(--white); padding: 70px 0 100px; }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 40px; }
.legal-content h2 {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600;
  color: var(--navy); margin: 38px 0 14px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: #4a6080; line-height: 1.85; margin-bottom: 14px; }
.legal-content ul { margin: 0 0 16px 22px; color: #4a6080; line-height: 1.85; }
.legal-content ul li { margin-bottom: 8px; }
.legal-content a { color: var(--gold-dark); text-decoration: underline; }
.legal-disclaimer {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.88rem;
  color: #5a4a20;
  margin-bottom: 40px;
}

@media (max-width: 640px) {
  .page-hero { padding: 130px 0 50px; }
  .blog-grid { grid-template-columns: 1fr; }
}