/* Scenarios page in the new navy look, matching the home page (navy.css): six quiet cards with no outlines or coloured
   top edges, no boxes inside the cards, Inter titles, IBM Plex Mono labels. Loaded last on scenarios.html; every rule
   is scoped to html:not(.kdc-classic) so the classic look is untouched. The page carries data-styled, so
   site-chrome.js's colour pass leaves it alone. The cards are built by the page script with inline colours, sizes and a
   coloured top border, so most rules here need !important. Card parts, in order: label, title, description, result,
   sources. */

/* Page frame: full width with the header's side padding. */
html:not(.kdc-classic) body.page-scenarios .page-main { max-width: none; margin: 0; padding: 12px var(--kdc-pad) 16px; color: #d4dde8; }
html:not(.kdc-classic) body.page-scenarios .page-main a { color: #7cc4ff !important; text-decoration: none; }
html:not(.kdc-classic) body.page-scenarios .page-main a:hover { text-decoration: underline; }

/* Heading: mono eyebrow, 28px white title, body-size intro. */
html:not(.kdc-classic) body.page-scenarios .section-header { text-align: left; margin: 0 0 12px; }
html:not(.kdc-classic) body.page-scenarios .page-eyebrow { font: 500 11px/1.4 'IBM Plex Mono', monospace !important; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa1b7; margin: 0 0 4px; }
html:not(.kdc-classic) body.page-scenarios .page-main .page-title { font: 800 28px/1.15 'Inter', sans-serif !important; letter-spacing: -0.02em; color: #f2f5f9; margin: 0 0 6px; }
html:not(.kdc-classic) body.page-scenarios .section-header p { max-width: 1100px; font-size: 14px; line-height: 1.55; color: #d4dde8; }

/* Six cards: three across at desktop width, two on mid-size screens, one on phones. */
html:not(.kdc-classic) body.page-scenarios .projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
html:not(.kdc-classic) body.page-scenarios .project-card { display: flex; flex-direction: column; background: rgba(19, 38, 61, 0.65) !important; border: 0 !important;
  border-radius: 12px !important; box-shadow: none !important; padding: 16px 18px !important; opacity: 1; }
/* Label ("SCENARIO 1"). */
html:not(.kdc-classic) body.page-scenarios .project-card > div:first-child { font: 500 11px/1.4 'IBM Plex Mono', monospace !important; letter-spacing: 0.08em !important;
  text-transform: uppercase; color: #8fa1b7 !important; margin: 0 0 4px !important; }
/* Title. */
html:not(.kdc-classic) body.page-scenarios .project-card .project-name { font: 800 16px/1.3 'Inter', sans-serif !important; color: #f2f5f9 !important; margin: 0 0 6px !important; }
/* Description. */
html:not(.kdc-classic) body.page-scenarios .project-card .project-detail { font-size: 13.5px !important; line-height: 1.5 !important; color: #d4dde8 !important; margin: 0 0 10px !important; }
/* Result: the card's headline, set off by a thin divider instead of a grey box; key figures in bold white. */
html:not(.kdc-classic) body.page-scenarios .project-card > div:nth-child(4) { background: none !important; border: 0 !important; border-top: 1px solid #243950 !important; border-radius: 0 !important;
  padding: 10px 0 0 !important; margin: 0 0 10px !important; font-size: 14px !important; line-height: 1.5 !important; color: #d4dde8 !important; }
html:not(.kdc-classic) body.page-scenarios .project-card > div:nth-child(4) strong { color: #f2f5f9; font-weight: 800; }
/* Sources: small print at the foot of the card (pushed down so the cards in a row end level). */
html:not(.kdc-classic) body.page-scenarios .project-card .project-source { background: none !important; border: 0 !important; border-top: 1px solid #243950 !important; border-radius: 0 !important;
  padding: 8px 0 0 !important; margin: auto 0 0 !important; font-size: 12px !important; line-height: 1.5 !important; color: #8fa1b7 !important; }

/* The closing caveat under the cards. */
html:not(.kdc-classic) body.page-scenarios #whatIfGrid + div { font-size: 12px !important; line-height: 1.5 !important; color: #8fa1b7 !important; text-align: left !important; margin-top: 12px !important; }

@media (max-width: 1180px) {
  html:not(.kdc-classic) body.page-scenarios .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  html:not(.kdc-classic) body.page-scenarios .projects-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 600px) {
  html:not(.kdc-classic) body.page-scenarios .page-main { padding: 14px 16px 16px; }
  html:not(.kdc-classic) body.page-scenarios .page-main .page-title { font-size: 26px !important; }
  html:not(.kdc-classic) body.page-scenarios .section-header p { font-size: 13.5px; }
  html:not(.kdc-classic) body.page-scenarios .project-card { padding: 14px !important; }
}
