/* MedicareIntelAZ — Article Page Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --electric: #1e6bb5;
  --electric-light: #2e80d0;
  --gold: #f0a500;
  --gold-light: #f7be40;
  --white: #ffffff;
  --off-white: #f4f6f9;
  --text: #1a2332;
  --text-muted: #5a6a7e;
  --border: #dce3ed;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--electric);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo svg { display: block; height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600 !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ── ARTICLE HEADER ── */
.article-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 3rem 1.5rem 2.5rem;
}
.article-hero-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--electric);
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.article-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.01em;
  max-width: 780px;
  margin-bottom: 1.2rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.article-meta .dot { opacity: 0.3; }

/* ── ARTICLE LAYOUT ── */
.article-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

/* ── ARTICLE BODY ── */
.article-body { min-width: 0; }
.article-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2.2rem 0 0.8rem;
  letter-spacing: 0.01em;
  border-left: 4px solid var(--electric);
  padding-left: 0.85rem;
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.8rem 0 0.6rem;
  letter-spacing: 0.01em;
}
.article-body ul, .article-body ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
}
.article-body li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.article-body strong { color: var(--navy); font-weight: 600; }
.article-body a { color: var(--electric); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--electric-light); }

.callout {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
}
.callout p { margin-bottom: 0; color: var(--text); font-size: 0.95rem; }
.callout strong { color: var(--navy); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.data-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  text-align: left;
}
.data-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.data-table tr:nth-child(even) td { background: var(--off-white); }
.data-table tr:hover td { background: #eef2f8; }

/* ── SIDEBAR ── */
.article-sidebar { position: sticky; top: 80px; }

.sidebar-cta {
  background: linear-gradient(135deg, var(--electric) 0%, #0d4f8a 100%);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.sidebar-cta h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.sidebar-cta p { font-size: 0.83rem; color: rgba(255,255,255,0.75); margin-bottom: 1rem; line-height: 1.5; }
.sidebar-cta a {
  display: block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  text-align: center;
  transition: background 0.2s;
}
.sidebar-cta a:hover { background: var(--gold-light); text-decoration: none; }

.sidebar-related {
  background: var(--off-white);
  border-radius: 8px;
  padding: 1.3rem 1.4rem;
}
.sidebar-related h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--electric);
}
.related-item {
  display: block;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.4;
  transition: color 0.2s;
}
.related-item:last-child { border-bottom: none; }
.related-item:hover { color: var(--electric); }
.related-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 0.2rem;
}

/* ── ARTICLE BOTTOM CTA (mobile) ── */
.article-bottom-cta {
  background: linear-gradient(135deg, var(--electric) 0%, #0d4f8a 100%);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 2.5rem;
  display: none;
}
.article-bottom-cta h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.article-bottom-cta p { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-bottom: 1rem; }
.article-bottom-cta a {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  transition: background 0.2s;
}
.article-bottom-cta a:hover { background: var(--gold-light); text-decoration: none; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 3rem 1.5rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 1rem; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem; justify-content: space-between; }
.footer-bottom p { font-size: 0.78rem; line-height: 1.6; max-width: 680px; }
.footer-copyright { font-size: 0.78rem; white-space: nowrap; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 2rem; }
  .article-sidebar { position: static; display: none; }
  .article-bottom-cta { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 1rem 1.5rem 1.5rem; gap: 1rem; border-bottom: 2px solid var(--electric); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .data-table { font-size: 0.8rem; }
  .data-table th, .data-table td { padding: 0.5rem 0.65rem; }
}
