/* portal-flat.css — shared "flat funnel-light" shell for portal-zone pages
   converted to this style together: about-portal.html, how-it-works/provider/.
   Aligned to prov.css tokens (EU Commission style — flat, no shadows/gradients).
   Extracted from duplicated inline <style> blocks — see homepage refactor
   session notes. Do not add page-specific rules here; keep those inline. */

html { scrollbar-gutter: stable; overflow-y: scroll; }
body { background: var(--bg); }

/* Top padding clears the fixed site header (the platform reserves 80px for it
   via #scrollArea; these pages scroll the document itself, so they reserve it
   here). Without it the first line — the breadcrumb — renders under the bar. */
.wrap { padding: calc(80px + 2rem) 1.5rem 4rem; max-width: 1100px; margin: 0 auto; width: 100%; box-sizing: border-box; }

/* ── Breadcrumb ── */
.hiw-breadcrumb { display: flex; align-items: center; gap: .4rem; padding: 0 0 .9rem; font-size: .82rem; flex-wrap: wrap; }
.hiw-breadcrumb a { color: var(--text); text-decoration: none; }
.hiw-breadcrumb a:hover { color: var(--text-dark); }
.hiw-breadcrumb .bc-sep { color: var(--border); }
.hiw-breadcrumb .bc-current { color: var(--blue); font-weight: 600; }

.btn-hero { display: inline-flex; align-items: center; border-radius: 999px; padding: .65rem 1.4rem; font-weight: 700; font-size: .92rem; border: 0; cursor: pointer; text-decoration: none; font-family: inherit; transition: opacity .15s, transform .1s; line-height: 1; }
.btn-hero:hover { opacity: .88; transform: translateY(-1px); }
.btn-hero.secondary { background: #f1f5f9; color: var(--text-dark); border: 1px solid var(--border); }

.section { background: #ffffff; border-radius: 20px; padding: 1.5rem 1.6rem; box-shadow: 0 8px 32px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.08); }

/* ── Grid & cards ── */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.card { grid-column: span 6; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.1rem 1.25rem; }
body .section .card { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; box-shadow: none !important; color: #1e293b !important; }
.card h3 { margin: 0 0 .5rem; font-size: 1rem; font-weight: 700; color: #1e293b !important; }
.card p { margin: 0; color: #334155 !important; line-height: 1.6; }

@media (max-width: 720px) {
  .wrap { padding: 1.25rem 1rem 4rem; }
  .hero { padding: 1.6rem 1.25rem; border-radius: 16px; }
  .section { padding: 1rem 1.1rem; border-radius: 16px; }
  .card { padding: .75rem .9rem; border-radius: 10px; }
  .card h3 { font-size: .92rem !important; }
  .btn-hero { padding: .58rem 1.1rem; font-size: .85rem; }
}
