/* Vijas — Articles / Insights styling (Navy Trust + glassmorphism) */
:root {
  --navy-950: #0f1b3d;
  --navy-900: #1e3a5f;
  --navy-700: #3b6fa0;
  --navy-100: #e8edf3;
  --accent: #e85d3a;
  --accent-light: #ff8a6c;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --glass-bg: rgba(15, 27, 61, 0.45);
  --glass-border: rgba(255, 255, 255, 0.12);
}

.insights {
  background: linear-gradient(160deg, #0b1430 0%, var(--navy-950) 55%, #142palette 100%);
  background: linear-gradient(160deg, #0b1430 0%, var(--navy-950) 55%, #16294f 100%);
  padding: 90px 20px;
  font-family: var(--font-body);
  color: var(--navy-100);
}

.insights-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.insights-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.insights-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 10px;
}

.insights-head p {
  margin: 0;
  max-width: 560px;
  color: rgba(232, 237, 243, 0.75);
  font-size: 16px;
  line-height: 1.6;
}

.insights-link {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--accent-light);
  text-decoration: none;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all .25s ease;
}

.insights-link:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(232, 93, 58, 0.2);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 93, 58, 0.55);
  background: rgba(30, 58, 95, 0.5);
}

.article-tag {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.article-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}

.article-card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(232, 237, 243, 0.75);
  margin: 0 0 20px;
}

.article-meta {
  margin-top: auto;
  font-size: 13px;
  color: rgba(232, 237, 243, 0.55);
  display: flex;
  gap: 12px;
  align-items: center;
}

/* --- article hub + single article pages --- */
.article-page {
  margin: 0;
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--navy-100);
}

.article-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(15, 27, 61, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.article-topbar img { height: 42px; width: auto; }

.article-topbar nav a {
  font-family: var(--font-display);
  color: rgba(232, 237, 243, 0.8);
  text-decoration: none;
  font-size: 14px;
  margin-left: 22px;
}

.article-topbar nav a:hover { color: var(--accent-light); }

.article-hero {
  padding: 80px 20px 50px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(59, 111, 160, 0.35), transparent 60%);
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 auto 18px;
  max-width: 900px;
  line-height: 1.15;
}

.article-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(232, 237, 243, 0.75);
  font-size: 17px;
  line-height: 1.65;
}

.breadcrumbs {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 0 20px;
  font-size: 13px;
  color: rgba(232, 237, 243, 0.55);
}

.breadcrumbs a { color: var(--accent-light); text-decoration: none; }

.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 20px 90px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(232, 237, 243, 0.86);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: #fff;
  margin: 44px 0 14px;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  margin: 30px 0 10px;
}

.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--accent-light); }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}

.article-body th, .article-body td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body th {
  font-family: var(--font-display);
  color: #fff;
  background: rgba(30, 58, 95, 0.6);
}

.article-cta {
  margin: 50px auto 0;
  max-width: 820px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 30px;
  text-align: center;
}

.article-cta h2 { margin-top: 0; }

.article-cta .btn-accent {
  display: inline-block;
  margin-top: 12px;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
}

.article-cta .btn-accent:hover { background: var(--accent-light); }

.article-footer {
  border-top: 1px solid var(--glass-border);
  padding: 26px 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(232, 237, 243, 0.6);
}

.article-footer a { color: var(--accent-light); text-decoration: none; }

@media (max-width: 640px) {
  .insights { padding: 60px 16px; }
  .article-topbar { padding: 12px 16px; }
  .article-topbar nav a { margin-left: 14px; font-size: 13px; }
}

/* ============ light glassmorphism theme for standalone article pages ==== */
body.article-page {
  background: linear-gradient(155deg, #f6f8fc 0%, #eaf0f8 45%, #f3f1ea 100%) !important;
  color: #0f1b3d !important;
}
body.article-page .insights,
body.article-page .article-hero,
body.article-page .article-body,
body.article-page .article-cta,
body.article-page .article-footer,
body.article-page .article-topbar { background: transparent !important; color: #0f1b3d !important; }
body.article-page h1,
body.article-page h2,
body.article-page h3,
body.article-page .insights-head h2,
body.article-page .article-card h3 { color: #0f1b3d !important; }
body.article-page p,
body.article-page li,
body.article-page .insights-head p,
body.article-page .article-card p { color: #47547a !important; }
body.article-page .article-card,
body.article-page .article-body,
body.article-page .article-cta {
  background: rgba(255, 255, 255, 0.62) !important;
  border: 1px solid rgba(15, 27, 61, 0.10) !important;
  box-shadow: 0 18px 45px rgba(15, 27, 61, 0.10) !important;
  backdrop-filter: blur(18px) saturate(150%);
}
body.article-page .article-card:hover {
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 26px 60px rgba(15, 27, 61, 0.16) !important;
}
body.article-page .article-tag { color: #c14a29 !important; }
body.article-page .article-meta { color: #6b769a !important; }
body.article-page a { color: #1e3a5f; }
body.article-page .breadcrumbs,
body.article-page .breadcrumbs a { color: #6b769a !important; }
body.article-page .article-footer { border-top: 1px solid rgba(15,27,61,.10) !important; }

/* Author byline */
.article-page .article-byline{
  font-family:'DM Sans',sans-serif;
  font-size:.95rem;
  color:#5b6b85;
  margin-top:10px;
}
.article-page .article-byline strong{ color:#0f172a; }
