/* ===== ARTICLE TEMPLATE — article.css ===== */
/* Reusable editorial/blog styles. Link from any article page alongside site-nav.css. */

/* ===== LAYOUT ===== */
.article-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HERO ===== */
.article-hero {
  padding: 3.5rem 0 0;
  margin-bottom: 0;
}
.article-kicker {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent, #0019a8);
  margin-bottom: 1.25rem;
  display: inline-block;
  border-bottom: 2px solid var(--accent, #0019a8);
  padding-bottom: 0.25rem;
}
.article-hero h1 {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 900;
  letter-spacing: -0.035em; line-height: 1.1;
  color: var(--logo-navy, #132c56); margin-bottom: 1.5rem;
}
.article-hero .standfirst {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.65;
  color: var(--text-secondary, #4b5563); max-width: 660px;
  font-weight: 400;
}
.article-meta {
  margin-top: 1.75rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border, rgba(0,0,0,0.08));
  font-size: 0.85rem; color: var(--text-secondary, #4b5563); line-height: 1.5;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem;
}
.article-meta a { color: var(--accent, #0019a8); text-decoration: none; font-weight: 600; }
.article-meta a:hover { text-decoration: underline; }
.reading-time {
  font-size: 0.82rem; color: #9ca3af; white-space: nowrap;
}

/* ===== HERO IMAGE ===== */
.hero-image {
  margin: 2.5rem 0 0;
  border-radius: 16px;
  width: 100%; height: auto; display: block;
  object-fit: cover;
}

/* ===== READING PROGRESS BAR ===== */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 1001;
  background: #f59e0b; width: 0%; transition: width 50ms linear;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  width: 40px; height: 3px; background: var(--accent, #0019a8);
  border: none; margin: 1.75rem 0 2rem; border-radius: 2px;
}

/* ===== CONTENT AREA ===== */
.article-content {
  max-width: 100%;
  padding-bottom: 1rem;
}
.article-content > p:first-of-type::first-letter {
  font-family: "Nunito Sans", Georgia, serif;
  float: left; font-size: 3.6rem; font-weight: 900;
  line-height: 0.85; margin: 0.05em 0.12em 0 0;
  color: var(--accent, #0019a8);
}
.article-content p {
  font-size: 1.08rem; line-height: 1.8; margin-bottom: 1.5rem;
  color: #374151;
}
.article-content h2 {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem); font-weight: 900;
  letter-spacing: -0.02em; color: var(--logo-navy, #132c56);
  margin: 2.25rem 0 1.25rem;
  padding-top: 1rem;
}
.article-content h2:first-child { padding-top: 0; margin-top: 0; }
.article-content h3 {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: 1.2rem; font-weight: 800;
  color: var(--logo-navy, #132c56); margin: 2.25rem 0 0.75rem;
}

/* ===== PULLQUOTES ===== */
.pullquote {
  border-left: 4px solid var(--accent, #0019a8);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: transparent;
  font-size: 1.2rem; font-weight: 500; font-style: italic;
  color: var(--logo-navy, #132c56); line-height: 1.55;
}
.pullquote-source {
  display: block; font-style: normal; font-size: 0.85rem;
  font-weight: 600; color: var(--text-secondary, #4b5563); margin-top: 0.75rem;
}

/* ===== CALLOUT BOXES ===== */
.callout {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
}
.callout-title {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: #92400e; margin-bottom: 0.5rem;
}
.callout p { margin-bottom: 0; color: #78350f; font-size: 1.05rem; line-height: 1.7; }

/* ===== ARTICLE IMAGES ===== */
.article-image {
  border-radius: 12px;
  width: 100%; height: auto; display: block;
  object-fit: cover;
  margin: 2.5rem 0 0.75rem;
}
.image-caption {
  font-size: 0.82rem; color: #9ca3af; margin: 0 0 2rem;
  padding-left: 0.25rem; font-style: italic; line-height: 1.5;
}

/* ===== DATA TABLES ===== */
.article-table-wrap {
  overflow-x: auto; margin: 1.5rem 0 2rem;
  border-radius: 12px; border: 1px solid #e5e7eb;
}
.article-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.95rem;
}
.article-table th {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-weight: 800; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--accent, #0019a8);
  text-align: left; padding: 0.85rem 1.25rem;
  border-bottom: 2px solid var(--accent, #0019a8);
  background: var(--accent-light, rgba(0,25,168,0.04));
}
.article-table td {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}
.article-table tr:last-child td { border-bottom: none; }
.article-table tr:hover td { background: #f9fafb; }

/* ===== NUMBERED HEADINGS ===== */
.numbered-heading {
  display: flex; align-items: baseline; gap: 0.75rem;
}
.numbered-heading .num {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: 1.6rem; font-weight: 900; color: var(--accent, #0019a8); line-height: 1;
  flex-shrink: 0;
}

/* ===== BULLET LISTS ===== */
.article-content ul {
  padding-left: 1.25rem; margin: 1rem 0 1.5rem;
}
.article-content ul li {
  font-size: 1.05rem; line-height: 1.8; margin-bottom: 0.5rem; color: #374151;
}

/* ===== COMPARISON CARDS ===== */
.comparison-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin: 1.5rem 0 2rem;
}
.comparison-card {
  border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 1.25rem 1.5rem; background: #fafafa;
  transition: border-color 0.2s;
}
.comparison-card:hover { border-color: var(--accent, #0019a8); }
.comparison-card h4 {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: 1.05rem; font-weight: 800; color: var(--logo-navy, #132c56);
  margin-bottom: 0.5rem;
}
.comparison-card p {
  font-size: 0.92rem !important; line-height: 1.6 !important;
  margin-bottom: 0 !important; color: var(--text-secondary, #4b5563) !important;
}

/* ===== CONCLUSION BOX ===== */
.conclusion {
  background: var(--logo-navy, #132c56);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  margin: 3rem 0;
}
.conclusion-title {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.6); margin-bottom: 1rem;
}
.conclusion ul {
  list-style: none; padding: 0; margin: 0;
}
.conclusion ul li {
  padding: 0.75rem 0; font-size: 1.05rem; line-height: 1.65;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}
.conclusion ul li:last-child { border-bottom: none; }
.conclusion ul li strong { color: #ffffff; font-weight: 700; }

/* ===== ABOUT BOX ===== */
.about-box {
  border: 1px solid var(--border, rgba(0,0,0,0.08));
  border-left: 4px solid var(--accent, #0019a8);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 3rem 0 2rem;
  background: var(--accent-light, rgba(0,25,168,0.04));
}
.about-box-title {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent, #0019a8); margin-bottom: 0.6rem;
}
.about-box p {
  font-size: 0.98rem !important; line-height: 1.7 !important;
  color: #374151 !important; margin-bottom: 0.75rem !important;
}
.about-box-cta {
  display: inline-block; font-size: 0.95rem; font-weight: 700;
  color: var(--accent, #0019a8); text-decoration: none;
}
.about-box-cta:hover { text-decoration: underline; }

/* ===== FURTHER READING ===== */
.further-reading {
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border, rgba(0,0,0,0.08));
}
.further-reading-title {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent, #0019a8); margin-bottom: 1.25rem;
}
.further-reading-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.fr-card {
  border: 1px solid #e5e7eb; border-radius: 12px;
  overflow: hidden; background: #fff;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.fr-card:hover { border-color: var(--accent, #0019a8); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.fr-card-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block;
}
.fr-card-gradient {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0019a8, #132c56);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.fr-card-gradient span {
  color: #fff; font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: 0.95rem; font-weight: 800; text-align: center; line-height: 1.3;
}
.fr-card-body { padding: 1rem 1.25rem 1.25rem; }
.fr-card-pill {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.2rem 0.6rem;
  background: rgba(0,25,168,0.08); color: var(--accent, #0019a8);
  border-radius: 20px; display: inline-block; margin-bottom: 0.5rem;
}
.fr-card-body h3 {
  font-family: "Nunito Sans", "Raleway", sans-serif;
  font-size: 1rem; font-weight: 800; color: var(--logo-navy, #132c56);
  line-height: 1.35; margin-bottom: 0.4rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fr-card-body p {
  font-size: 0.85rem !important; line-height: 1.55 !important;
  color: var(--text-secondary, #4b5563) !important; margin-bottom: 0 !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 768px) {
  .further-reading-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .further-reading-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== END MATTER ===== */
.article-end {
  text-align: center; padding: 1.25rem 0 0.5rem;
  border-top: 1px solid var(--border, rgba(0,0,0,0.08));
  margin-top: 0.5rem;
}
.article-end p { font-size: 0.92rem !important; color: var(--text-secondary, #4b5563) !important; }
.article-end a { color: var(--accent, #0019a8); font-weight: 600; text-decoration: none; }
.article-end a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .article-hero { padding: 2.5rem 0 0; }
  .article-hero h1 { font-size: 1.8rem; }
  .article-content > p:first-of-type::first-letter { font-size: 3rem; }
  .pullquote { padding: 1.25rem 1.5rem; font-size: 1.05rem; }
  .comparison-grid { grid-template-columns: 1fr; }
  .article-meta { flex-direction: column; }
  .conclusion { padding: 1.5rem 1.25rem; }
}
