/* ============================================================
   Container — shared responsive layout constraint
   Provides 1024px max content width with responsive side padding.
   Import this in any component that uses the .container class.
   ============================================================ */

.container {
  position:   relative;
  width:      100%;
  max-width:  calc(1024px + 160px); /* 1024px content + 80px × 2 */
  padding:    0 80px;
  margin:     0 auto;
  box-sizing: border-box;
}

/* Tablet (≤991px): 60px sides */
@media (max-width: 991px) {
  .container {
    padding: 0 60px;
  }
}

/* Landscape mobile (≤767px): 2rem sides */
@media (max-width: 767px) {
  .container {
    padding: 0 2rem;
  }
}



/* ============================================================
   Wide container — 1360px content + 48px side padding
   Used for full-bleed section content blocks (slider, big cards)
   that need to be wider than the standard 1024px text container.
   ============================================================ */

.container-wide {
  width:      100%;
  max-width:  calc(1384px + 96px);   /* 1384px content + 48px × 2 */
  padding:    0 3rem;                /* 48px sides */
  margin:     0 auto;
  box-sizing: border-box;
}

/* Tablet (≤991px): 16px less than .container (60px → 44px) */
@media (max-width: 991px) {
  .container-wide {
    padding: 0 44px;
  }
}

/* Landscape mobile (≤767px): 16px less than .container (2rem → 1rem) */
@media (max-width: 767px) {
  .container-wide {
    padding: 0 1rem;
  }
}


/* ============================================================
   DataReportInsideSection — Figma 6JdV8D0ZGECx2whzGAnTrs, node 6797:2320.
   Spec: DataReportInsideSection.figma.md.
   ============================================================ */

.data-report-inside {
  /* White ground — NOT `var(--background)`; this page inverts the site's
     scheme. See `--background-white` (src/styles/tokens.css). */
  background: var(--background-white);
}

/* The section-header + sticky-badge convention: THIS stack owns the
   header → content gap (docs/conventions.md). Figma's 64px = 4rem. */
.data-report-inside__content {
  display:        flex;
  flex-direction: column;
  gap:            4rem;   /* 64px, flat at every width */
}

/* 6797:2331 — body then cards, 24px apart */
.data-report-inside__notes {
  display:        flex;
  flex-direction: column;
  gap:            var(--spacing-6);   /* 24px */
}

.data-report-inside__body {
  margin:      0;
  max-width:   900px;                 /* Figma text-node max-width */
  font-size:   var(--font-size-xl);   /* 20px */
  line-height: var(--line-height-xl); /* 28px */
  color:       var(--foreground);
}

/* `align-items: stretch` so both cards match height when one wraps to more
   lines than the other. */
.data-report-inside__cards {
  display:     flex;
  align-items: stretch;
  gap:         var(--spacing-4);      /* 16px */
}


/* ---- Responsive ------------------------------------------- */

/* Mobile is MEASURED against Figma CRrdcRif8N6jgEWK28BDb5 node 6853:13905
   — see ../DataReportPage.mobile.figma.md. Same rhythm as the methodology
   section, which shares this frame's layout. */
@media (max-width: 767px) {
  /* Figma: heading ends y=4771, body starts 4807. */
  .data-report-inside__content {
    gap: 2.25rem;   /* 36px */
  }

  .data-report-inside__notes {
    gap: var(--spacing-8);   /* 32px — body ends y=4891, cards start 4987 */
  }

  /* 18px/28px — see `--background-white` (src/styles/tokens.css). */
  .data-report-inside__body {
    font-size:   var(--font-size-lg);
    line-height: var(--line-height-lg);
  }

  /* Cards sit on the frame's 16px MEDIA inset, not `.container`'s 32px. */
  .data-report-inside__cards {
    flex-direction: column;
    gap:            var(--spacing-3);   /* 12px */
    margin-inline:  -1rem;
  }
}

/* ============================================================
   DataReportNoteCard — Figma "Feature (medium)" (e.g. node 6797:2672).
   ============================================================ */

.data-report-note {
  display:       flex;
  align-items:   flex-start;
  gap:           14px;                 /* Figma spacing-3.5; no 14px token */
  flex:          1 1 0;
  min-width:     0;
  padding:       var(--spacing-6);     /* 24px */
  background:    var(--panel-cream);
  border-radius: 12px;                 /* no 12px radius token — scale is 8/16/24 */
  box-sizing:    border-box;
}

.data-report-note__icon {
  display:     flex;
  flex-shrink: 0;
  width:       24px;
  height:      24px;
  color:       var(--foreground);
}

.data-report-note__text {
  margin:      0;
  font-size:   var(--font-size-base);    /* 16px */
  line-height: var(--line-height-base);  /* 24px */
  color:       var(--foreground);
}

.data-report-note__text > strong {
  font-weight: var(--font-weight-bold);
}

