/* ==========================================================================
   Focus Area Articles V2 — Editorial Design
   A magazine-style article layout with left-aligned prose, distinctive
   typography, and asymmetric sections. Designed to feel like reading a
   well-crafted editorial, not a marketing landing page.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page wrapper
   -------------------------------------------------------------------------- */
.fa2-page {
  --fa2-measure: 42rem;       /* max prose width for readability */
  --fa2-wide: 64rem;          /* wider content (cards, columns) */
  --fa2-full: 72rem;          /* full-width sections */
  --fa2-gutter: max(1.25rem, 4vw);
  --fa2-navy: #003366;
  --fa2-navy-deep: #001a33;
  --fa2-coral: #FF3333;
  --fa2-warm-bg: #f8f6f3;
  --fa2-text: #2d3748;
  --fa2-text-light: #64748b;
  --fa2-border: #e2e0db;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--fa2-text);
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Header — compact, editorial masthead feel
   -------------------------------------------------------------------------- */
.fa2-header {
  background: var(--fa2-navy);
  padding: 2rem 0 2.5rem;
}

.fa2-header-inner {
  max-width: var(--fa2-full);
  margin: 0 auto;
  padding: 0 var(--fa2-gutter);
}

.fa2-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.15s ease;
}

.fa2-back:hover {
  color: rgba(255, 255, 255, 0.75);
}

.fa2-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: end;
}

@media (min-width: 768px) {
  .fa2-header-grid {
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }
}

.fa2-header-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fa2-coral);
  margin-bottom: 0.75rem;
}

.fa2-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

.fa2-header-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.75rem 0 0;
  max-width: 36rem;
}

.fa2-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--fa2-coral);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.fa2-header-cta:hover {
  background: #e62e2e;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Article body — left-aligned, readable prose
   -------------------------------------------------------------------------- */
.fa2-article {
  padding: var(--fa2-gutter) 0;
}

.fa2-article-inner {
  max-width: var(--fa2-full);
  margin: 0 auto;
  padding: 0 var(--fa2-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 1024px) {
  .fa2-article-inner {
    grid-template-columns: var(--fa2-measure) 1fr;
    gap: 4rem;
  }
}

.fa2-prose {
  padding: 2.5rem 0 3rem;
}

.fa2-prose h2 {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--fa2-navy);
  line-height: 1.2;
  margin: 0 0 1.5rem;
  letter-spacing: -0.015em;
}

.fa2-prose p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--fa2-text);
  margin: 0 0 1.25rem;
}

.fa2-prose p:last-child {
  margin-bottom: 0;
}

/* Sidebar — sticky key facts / at-a-glance */
.fa2-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .fa2-sidebar {
    display: block;
    padding-top: 2.5rem;
  }
}

.fa2-sidebar-card {
  position: sticky;
  top: 6rem;
  background: var(--fa2-warm-bg);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--fa2-border);
}

.fa2-sidebar-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fa2-text-light);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--fa2-navy);
}

.fa2-sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.fa2-sidebar-item + .fa2-sidebar-item {
  border-top: 1px solid var(--fa2-border);
}

.fa2-sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--fa2-navy);
  color: white;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.fa2-sidebar-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fa2-navy);
  line-height: 1.4;
}

.fa2-sidebar-desc {
  font-size: 0.8125rem;
  color: var(--fa2-text-light);
  line-height: 1.5;
  margin-top: 0.125rem;
}

/* --------------------------------------------------------------------------
   "Why It Matters" — numbered editorial list, not cards
   -------------------------------------------------------------------------- */
.fa2-evidence {
  background: var(--fa2-warm-bg);
  padding: 4rem 0;
  border-top: 1px solid var(--fa2-border);
  border-bottom: 1px solid var(--fa2-border);
}

.fa2-evidence-inner {
  max-width: var(--fa2-full);
  margin: 0 auto;
  padding: 0 var(--fa2-gutter);
}

.fa2-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fa2-coral);
  margin-bottom: 0.5rem;
}

.fa2-section-title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--fa2-navy);
  margin: 0 0 2.5rem;
  letter-spacing: -0.015em;
}

.fa2-evidence-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .fa2-evidence-list {
    grid-template-columns: 1fr 1fr;
  }
}

.fa2-evidence-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

@media (min-width: 640px) {
  .fa2-evidence-item {
    padding: 1.5rem;
  }

  .fa2-evidence-item:nth-child(odd) {
    border-right: 1px solid var(--fa2-border);
  }

  /* Border between all rows — every item gets a bottom border except the last row */
  .fa2-evidence-item {
    border-bottom: 1px solid var(--fa2-border);
  }

  /* Remove bottom border from the last row:
     - If even count: last 2 items are the final row
     - If odd count: last item alone is the final row */
  .fa2-evidence-item:last-child,
  .fa2-evidence-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  /* When odd count, the solo last item also shouldn't have a right border */
  .fa2-evidence-item:last-child:nth-child(odd) {
    border-right: none;
  }
}

.fa2-evidence-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fa2-navy);
  opacity: 0.12;
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.fa2-evidence-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fa2-navy);
  margin: 0 0 0.375rem;
  line-height: 1.3;
}

.fa2-evidence-content p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--fa2-text-light);
  margin: 0;
}

/* --------------------------------------------------------------------------
   "How We Help" — horizontal solution showcase
   -------------------------------------------------------------------------- */
.fa2-solutions {
  padding: 4.5rem 0;
  background: white;
}

.fa2-solutions-inner {
  max-width: var(--fa2-full);
  margin: 0 auto;
  padding: 0 var(--fa2-gutter);
}

.fa2-solutions-intro {
  max-width: var(--fa2-measure);
  margin-bottom: 3rem;
}

.fa2-solutions-intro p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--fa2-text-light);
  margin: 0.75rem 0 0;
}

.fa2-solutions-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--fa2-border);
  border: 1px solid var(--fa2-border);
  border-radius: 0.75rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .fa2-solutions-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .fa2-solutions-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fa2-solution {
  background: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}

.fa2-solution:hover {
  background: var(--fa2-warm-bg);
}

.fa2-solution-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fa2-navy);
  color: white;
  border-radius: 0.5rem;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.fa2-solution h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fa2-navy);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.fa2-solution p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--fa2-text-light);
  margin: 0;
  flex-grow: 1;
}

.fa2-solution-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fa2-coral);
  text-decoration: none;
  margin-top: 1rem;
  transition: gap 0.2s ease;
}

.fa2-solution:hover .fa2-solution-link {
  gap: 0.625rem;
}

.fa2-solution-link i {
  font-size: 0.6875rem;
}

/* --------------------------------------------------------------------------
   Two-column detail section
   -------------------------------------------------------------------------- */
.fa2-details {
  padding: 4rem 0;
  background: var(--fa2-navy);
  color: white;
}

.fa2-details-inner {
  max-width: var(--fa2-full);
  margin: 0 auto;
  padding: 0 var(--fa2-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .fa2-details-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.fa2-details-col h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1.5rem;
}

.fa2-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fa2-details-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fa2-details-list li:last-child {
  border-bottom: none;
}

.fa2-details-list li::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  background: var(--fa2-coral);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Related articles strip
   -------------------------------------------------------------------------- */
.fa2-related {
  padding: 4rem 0;
  background: var(--fa2-warm-bg);
  border-top: 1px solid var(--fa2-border);
}

.fa2-related-inner {
  max-width: var(--fa2-full);
  margin: 0 auto;
  padding: 0 var(--fa2-gutter);
}

.fa2-related-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.fa2-related-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fa2-navy);
  margin: 0;
}

.fa2-related-header a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fa2-coral);
  text-decoration: none;
}

.fa2-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .fa2-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fa2-related-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--fa2-border);
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fa2-related-card:hover {
  border-color: var(--fa2-navy);
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.08);
}

.fa2-related-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fa2-navy);
  color: white;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.fa2-related-card-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fa2-navy);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   CTA — simple, editorial
   -------------------------------------------------------------------------- */
.fa2-cta {
  padding: 4rem 0;
  background: white;
  text-align: center;
  border-top: 1px solid var(--fa2-border);
}

.fa2-cta-inner {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 var(--fa2-gutter);
}

.fa2-cta h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fa2-navy);
  margin: 0 0 0.75rem;
}

.fa2-cta p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fa2-text-light);
  margin: 0 0 1.5rem;
}

.fa2-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--fa2-coral);
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.fa2-cta-btn:hover {
  background: #e62e2e;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Pullquote
   -------------------------------------------------------------------------- */
.fa2-pullquote {
  border-left: 3px solid var(--fa2-coral);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
}

.fa2-pullquote p {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--fa2-navy);
  margin: 0;
  font-style: italic;
}
