/* ============================================================
   about.css — About page layout styles
   Extends main.css (design tokens already loaded)
   ============================================================ */

/* Page-level layout override — about page scrolls instead of being fixed */
body.about-page {
  overflow: auto;
  background: var(--ghost-gray);
  display: block;
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
.about-main {
  min-height: calc(100vh - var(--header-height));
  padding: 40px 24px 60px;
}

.about-container {
  max-width: 1080px;
  margin: 0 auto;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.about-hero {
  margin-bottom: 36px;
}

.about-hero-badge {
  display: inline-block;
  background: var(--light-blue);
  color: var(--dark-ben-franklin);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.about-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-ben-franklin);
  margin-bottom: 12px;
  line-height: 1.2;
}

.about-hero-sub {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.7;
  max-width: 720px;
}

/* ============================================================
   TWO-COLUMN GRID
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MAIN CONTENT CARDS
   ============================================================ */
.about-card {
  background: var(--white);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 20px;
}

.about-card:last-child {
  margin-bottom: 0;
}

.about-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-ben-franklin);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-blue);
}

.about-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--dark-gray);
  margin-bottom: 12px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-list {
  padding-left: 20px;
  margin: 12px 0;
}

.about-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 6px;
}

.about-note {
  background: var(--ghost-gray);
  border-left: 3px solid var(--ben-franklin);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 11px !important;
  color: var(--medium-gray) !important;
  font-style: italic;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

.about-note-label {
  margin-bottom: 6px;
  font-weight: 400;
}

.about-source-list {
  margin: 0;
  padding-left: 18px;
}

.about-source-list li {
  margin-bottom: 5px;
  line-height: 1.5;
  font-size: 11px;
  font-weight: 400;
}

.about-source-list li:last-child {
  margin-bottom: 0;
}

/* ============================================================
   METRICS GRID
   ============================================================ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
}

@media (max-width: 640px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metric-card {
  background: var(--light-blue);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
}

.metric-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-ben-franklin);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 10px;
  color: var(--ben-franklin);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  line-height: 1.3;
}

/* ============================================================
   INTERVENTION TABLE
   ============================================================ */
.about-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 16px 0;
}

.about-table thead tr {
  background: var(--dark-ben-franklin);
  color: var(--white);
}

.about-table th {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  text-align: left;
}

.about-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--ghost-gray);
  color: var(--dark-gray);
  line-height: 1.5;
  vertical-align: top;
}

.about-table tbody tr:last-child td {
  border-bottom: none;
}

.about-table tbody tr:nth-child(even) {
  background: var(--ghost-gray);
}

.about-table tbody tr:hover {
  background: var(--light-blue);
}

/* ============================================================
   SIDEBAR CARDS
   ============================================================ */
.about-sidebar-card {
  background: var(--white);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.about-sidebar-card:last-child {
  margin-bottom: 0;
}

.about-sidebar-card--note {
  border-left: 4px solid var(--bell-yellow);
  background: linear-gradient(135deg, #fffde8 0%, var(--white) 100%);
}

.sidebar-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--dark-ben-franklin);
  margin-bottom: 12px;
}

.sidebar-list {
  padding-left: 18px;
  margin: 0;
}

.sidebar-list li {
  font-size: 13px;
  line-height: 1.65;
  color: var(--dark-gray);
  margin-bottom: 5px;
}

.sidebar-list-numbered {
  list-style-type: decimal;
}

.sidebar-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.sidebar-text:last-child {
  margin-bottom: 0;
}

.about-link {
  color: var(--ben-franklin);
  text-decoration: none;
  font-weight: 400;
  font-size: 13px;
}

.about-note .about-link,
.sidebar-list .about-link {
  font-weight: 400;
}

.about-author-link {
  font-weight: 700;
}

.source-type,
.source-org,
.source-author-note {
  display: block;
}

.source-type {
  color: var(--dark-gray);
}

.source-org {
  margin-top: 1px;
}

.source-author-note {
  margin-top: 1px;
  font-weight: 700;
  color: var(--dark-gray);
}

.about-link:hover {
  color: var(--dark-ben-franklin);
  text-decoration: underline;
}

/* ============================================================
   REPORT REFERENCE LINE
   ============================================================ */
.about-report-ref {
  margin-top: 10px;
  font-size: 14px;
}

.about-report-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--ben-franklin);
}

/* ============================================================
   KEY STATISTICS BANNER
   ============================================================ */
.about-stats-banner {
  display: flex;
  align-items: stretch;
  background: var(--dark-ben-franklin);
  border-radius: var(--radius-md);
  margin-bottom: 36px;
  overflow: hidden;
}

.about-stat-item {
  flex: 1;
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--bell-yellow);
  line-height: 1;
}

.about-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.about-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  margin: 20px 0;
}

@media (max-width: 800px) {
  .about-stats-banner {
    flex-direction: column;
  }
  .about-stat-divider {
    width: auto;
    height: 1px;
    margin: 0 20px;
  }
}
