/* =========================================================
   THEME LAYER — dark, quiet, light type (inspired by the
   "AI & Data Science Consulting" Dribbble shot),
   in the Acuitas navy / teal / blue colours.
   Loaded after main.css. Delete the <link> in header.php
   to go back to the old look.
   ========================================================= */

:root {
  --ink:       #061226;   /* deepest navy background */
  --ink-2:     #0B1F3A;   /* Acuitas navy */
  --steel:     #0D9B8A;   /* Acuitas teal */
  --mist:      #9FB3C8;   /* muted label text */
  --ember:     #C8962A;   /* Acuitas gold, rare accent */
  --line:      #E6E9ED;
  --radius:    10px;
  --radius-lg: 14px;
  --shadow-sm: none;
  --shadow:    0 10px 30px rgba(6,18,38,.08);
  --shadow-lg: 0 24px 60px rgba(6,18,38,.18);
}

body { font-family: var(--font-sans); font-weight: 400; color: var(--text); letter-spacing: -.005em; }

/* ── Type: light, tight, no heavy serif ── */
h1, h2, h3, h4, h5,
.section-title, .offer-title, .post-title, .report-title, .hp-name,
.stat-num, .stat-number, .logo-text, .vf-word { font-family: var(--font-sans); font-weight: 400; }
h1, .section-title, .offer-title, .hero h1 { letter-spacing: -.025em; line-height: 1.1; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.offer-title  { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.stat-num     { font-weight: 300; letter-spacing: -.02em; }
strong, b { font-weight: 500; }

/* Second-tone words (".horizon"): muted blue-grey, a slow sheen instead of a rainbow */
.horizon { background-image: linear-gradient(90deg, var(--teal), var(--blue-light), var(--teal-light), var(--teal)); }
.hero .horizon, .page-hero .horizon { background-image: linear-gradient(90deg, var(--teal-light), #7FC4FF, #5EEAD4, var(--teal-light)); }

/* Small labels: quiet grey, sentence case, no rule */
.section-label { font-size: .78rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mist); }
.section-label::before { display: none; }
.page-hero .section-label, .hero .section-label { color: var(--mist); }

/* ── Buttons: thin pills ── */
.btn { padding: 10px 22px; font-size: .86rem; font-weight: 500; border-width: 1px; letter-spacing: 0; }
.btn-primary { background: var(--ink-2); color: #fff; }
.btn-primary:hover { background: var(--blue); box-shadow: none; transform: none; }
.btn-outline { color: var(--ink-2); border-color: #CDD3DA; }
.btn-outline:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn-teal { background: var(--ink-2); }
.btn-teal:hover { background: var(--blue); }
.btn-white { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-white:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ── Navbar: dark glass ── */
.navbar { background: rgba(6,18,38,.97); border-bottom: 1px solid rgba(255,255,255,.06); box-shadow: none; backdrop-filter: blur(14px) saturate(140%); }
.navbar.scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.06); }

/* When a page opens with a dark hero, the bar floats over it: see-through at the top,
   solid navy once you scroll (main.js adds .scrolled after 20px). */
body:has(> .navbar + .hero, > .navbar + .page-hero) .navbar {
  margin-bottom: -69px;                       /* bar height: the hero slides up under it */
  background: rgba(6,18,38,.18);
  border-bottom-color: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}
body:has(> .navbar + .hero, > .navbar + .page-hero) .navbar.scrolled {
  background: rgba(6,18,38,.96);
  border-bottom-color: rgba(255,255,255,.06);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.navbar + .hero      { padding-top: 69px; }
.navbar + .page-hero { padding-top: 149px; }
@media (prefers-reduced-motion: reduce) { .navbar { transition: none !important; } }
/* Logos are made by tools/logo-build.ps1 from the brand files in uploads/brand/ */
.logo-text { color: #fff; }
/* Nav logo: "ACUITAS" in white (uploads/logo-nav-white.png, no "HEALTH ANALYTICS").
   On hover or focus the same word with a teal arrow (uploads/logo-nav.png, same canvas) fades in on top,
   so only the arrow in the A changes colour. */
.logo-tick { position: relative; }
.logo-tick .logo-img { height: 30px; width: auto; }
.logo-tick .logo-tick-on { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.logo-tick:is(:hover, :focus-visible) .logo-tick-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .logo-tick .logo-tick-on { transition: none !important; } }
/* ── Nav links and menus (includes/header.php). All the nav rules are here; the light / dark switch is in dark.css. ──
   The row: Expertise, Insights, About Us, a thin line, then Dashboard, Reports (outlined) and Consult Us (filled).
   The light / dark switch sits on its own in the bar's far right corner. Expertise, Insights and Reports open one panel as wide as the row, in columns, so every big menu
   opens in the same place. About Us opens a short list under its tab. Up to 1100px wide: the menu button instead. */
.nav-inner { gap: 14px; }
.nav-links { position: relative; margin-left: auto; gap: 2px; }
.nav-links a { padding: 8px 12px; font-size: .9rem; font-weight: 400; color: rgba(255,255,255,.78); }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.07); }
.nav-links .nav-chev { font-size: .6rem; margin-left: 5px; opacity: .75; vertical-align: 1px; transition: transform .2s ease; }
.nav-dropdown:is(:hover, :focus-within) > a .nav-chev { transform: rotate(180deg); }
/* The tools group starts after a thin line */
.nav-links > li.nav-split { margin-left: 8px; padding-left: 10px; }
.nav-links > li.nav-split::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 22px; transform: translateY(-50%); background: rgba(255,255,255,.18); }
.nav-links a.nav-dash i { color: #3FD3BF; margin-right: 4px; font-size: .8rem; }
/* Site search: an icon in the bar (the word shows in the phone menu) */
.nav-links a.nav-search { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 50px; }
.nav-links a.nav-search i { font-size: .92rem; color: #3FD3BF; }
.nav-links a.nav-search .nav-search-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Reports (outlined) and Consult Us (filled) are the same height, so the two buttons line up */
.nav-links a.nav-highlight, .nav-links a.nav-consult { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 50px; }
.nav-links a.nav-highlight { color: #fff; background: rgba(13,155,138,.14); border: 1px solid rgba(13,155,138,.38); font-weight: 400; }
.nav-links a.nav-highlight:hover, .nav-links a.nav-highlight.active { background: rgba(13,155,138,.26); border-color: rgba(13,155,138,.6); color: #fff; }
.nav-links a.nav-highlight .fa-chart-line { margin: 0; font-size: .8rem; color: #3FD3BF; }
.nav-links a.nav-highlight .nav-chev { margin-left: 0; }
.nav-links a.nav-consult { background: var(--btn-teal); color: #fff; font-weight: 500; margin-left: 6px; }
.nav-links a.nav-consult:hover, .nav-links a.nav-consult.active { background: var(--btn-teal-hover); color: #fff; }
.nav-links a.nav-consult .fa-arrow-right { font-size: .78rem; transition: transform .25s ease; }
.nav-links a.nav-consult:hover .fa-arrow-right { transform: translateX(3px); }

/* Menus: the panel sits 8px below the row. An invisible bridge fills that gap, so it stays open
   while the cursor moves down to it. Keyboard users get it on focus. */
.nav-dropdown .dropdown-menu { background: #0B1F3A; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.45); padding: 8px; min-width: 230px; }
.nav-dropdown .dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li a { padding: 8px 12px; font-size: .9rem; color: rgba(255,255,255,.8); border-radius: 8px; }
.dropdown-menu li a:hover, .dropdown-menu li a:focus-visible { background: rgba(255,255,255,.06); color: #fff; }
/* Big menus: one panel the width of the row (the row is its frame), in two columns (.mega-3: three) */
.nav-links > li.nav-mega { position: static; }
.nav-dropdown .mega-menu { left: 0; right: 0; min-width: 0; padding: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; align-items: start; }
.nav-dropdown .mega-menu.mega-3 { grid-template-columns: repeat(3, auto); }   /* columns as wide as their words, so no link wraps */
.nav-dropdown:is(:hover, :focus-within) .mega-menu { display: grid; }
.mega-col { min-width: 0; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
/* Column headings: small capitals in teal. A heading that is a link has an arrow. */
.dropdown-menu .mega-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px 10px; margin-bottom: 6px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #3FD3BF;
  border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 8px 8px 0 0; white-space: nowrap; }
.dropdown-menu a.mega-head .fa-arrow-right { font-size: .7rem; transition: transform .15s; }
.dropdown-menu a.mega-head:hover, .dropdown-menu a.mega-head:focus-visible { color: #fff; background: rgba(255,255,255,.06); }
.dropdown-menu a.mega-head:hover .fa-arrow-right { transform: translateX(3px); }
.mega-col .dd-topics + .mega-head { margin-top: 6px; }
/* Links with an icon: the icons in one column, in teal */
.dropdown-menu li a.dd-ic { display: flex; align-items: center; gap: 10px; }
.dropdown-menu li a.dd-ic i { flex: none; width: 16px; font-size: .8rem; text-align: center; color: #3FD3BF; }
/* Nested links under a menu item (Insights > Market reports: Markets, Countries, Companies …).
   A thin guide line under the item's icon and a short tick to each link, like a folder tree. */
.dropdown-menu li.dd-tree-wrap { padding: 0 0 6px; }
.dropdown-menu .dd-tree { list-style: none; margin: -2px 0 0 20px; padding: 2px 0; border-left: 1px solid rgba(255,255,255,.18); }
.dropdown-menu .dd-tree li { position: relative; }
.dropdown-menu .dd-tree li::before { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: rgba(255,255,255,.18); }
.dropdown-menu .dd-tree li a { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 18px; font-size: .875rem; color: rgba(255,255,255,.74); border-radius: 0 8px 8px 0; }
.dropdown-menu .dd-tree li a i { width: 14px; font-size: .74rem; color: #3FD3BF; text-align: center; }
.dropdown-menu .dd-tree li a:hover, .dropdown-menu .dd-tree li a:focus-visible { color: #fff; background: rgba(63,211,191,.10); }
/* Reports > By topic: popular topics as small chips */
.dropdown-menu .dd-topics { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 12px 10px; }
.dropdown-menu .dd-topics a { padding: 4px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .82rem; color: rgba(255,255,255,.88); white-space: nowrap; }
.dropdown-menu .dd-topics a:hover, .dropdown-menu .dd-topics a:focus-visible { border-color: #3FD3BF; color: #3FD3BF; background: transparent; }
/* "+70 more topics": dashed and teal, so it reads as a door to more, not one more topic */
.dropdown-menu .dd-topics a.dd-topics-more { border-style: dashed; border-color: rgba(63,211,191,.55); color: #3FD3BF; font-weight: 600; }
.dropdown-menu .dd-topics a.dd-topics-more i { font-size: .62rem; margin-left: 2px; }
.dropdown-menu .dd-topics a.dd-topics-more:hover, .dropdown-menu .dd-topics a.dd-topics-more:focus-visible { background: rgba(63,211,191,.12); border-style: solid; }
/* One link along the bottom of a panel, under all its columns (Expertise: the free dashboard; Reports: the free sample) */
.dropdown-menu a.mega-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px;
  border-top: 1px solid rgba(255,255,255,.1); border-radius: 0 0 8px 8px; color: #3FD3BF; font-weight: 500; }
.dropdown-menu a.mega-foot i { font-size: .8rem; }
.dropdown-menu a.mega-foot .fa-arrow-right { font-size: .72rem; transition: transform .15s; }
.dropdown-menu a.mega-foot:hover, .dropdown-menu a.mega-foot:focus-visible { color: #fff; background: rgba(63,211,191,.10); }
.dropdown-menu a.mega-foot:hover .fa-arrow-right { transform: translateX(3px); }
.nav-toggle span { background: #fff; }

/* Phones AND tablets (iPad up to 1100px wide): the menu button instead of the full link row.
   Below 1100px the links no longer fit on one line. The menus open as lists inside the panel. */
@media (max-width: 1100px) {
  .nav-inner { position: relative; }
  .nav-toggle { display: flex; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: 100%; left: 0; right: 0; margin-left: 0;
    background: #0B1F3A; border-top: 1px solid rgba(255,255,255,.08); padding: 12px 24px 20px; box-shadow: 0 20px 40px rgba(0,0,0,.35);
    max-height: calc(100vh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-links.open { display: flex; }
  .nav-links > li, .nav-links > li.nav-mega { width: 100%; position: relative; }
  .nav-links a { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: .95rem; white-space: nowrap; }
  .nav-links > li.nav-split { margin: 6px 0 0; padding: 6px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
  .nav-links > li.nav-split::before { display: none; }
  /* Reports is a row like the others here; Consult Us is the one full-width button, at the bottom */
  .nav-links a.nav-highlight { display: flex; height: auto; padding: 12px 14px; background: none; border-color: transparent; border-radius: var(--radius); }
  .nav-links a.nav-highlight:hover, .nav-links a.nav-highlight.active { background: rgba(255,255,255,.07); border-color: transparent; }
  .nav-links a.nav-consult { display: flex; justify-content: center; height: 46px; margin: 10px 0 0; }
  .nav-links a.nav-search { justify-content: flex-start; height: auto; gap: 10px; padding: 12px 14px; border-radius: var(--radius); }
  .nav-links a.nav-search .nav-search-txt { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .nav-dropdown .dropdown-menu { position: static; box-shadow: none; border: none; background: rgba(255,255,255,.04); margin: 2px 0 6px; padding: 4px 0 4px 10px; min-width: 0; border-radius: 10px; }
  .nav-dropdown .mega-menu, .nav-dropdown .mega-menu.mega-3 { grid-template-columns: 1fr; }
  .dropdown-menu li a { padding: 10px 14px; font-size: .9rem; white-space: normal; }
  .dropdown-menu .mega-head { padding: 10px 14px; margin-top: 6px; }
  .dropdown-menu .dd-tree { margin-left: 22px; }
}
@media (prefers-reduced-motion: reduce) { .nav-links .nav-chev, .dropdown-menu a.mega-head .fa-arrow-right, .dropdown-menu a.mega-foot .fa-arrow-right { transition: none; } }

/* ── Hero + inner page hero: near-black with a low blue glow ── */
.hero, .page-hero {
  background:
    radial-gradient(ellipse 75% 55% at 50% 108%, rgba(26,95,168,.55) 0%, rgba(19,46,82,.22) 45%, transparent 75%),
    radial-gradient(ellipse 40% 35% at 15% 85%, rgba(13,155,138,.25) 0%, transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #0A1A33 60%, #0F2A4C 100%);
}
.hero::before, .page-hero::before { background: none; }
.hero-grid { display: none; }
.hero-aurora i { opacity: .28; filter: blur(90px); }
.hero-net { opacity: .55; }
.hero h1 { font-weight: 400; }

/* Glass bits inside the hero: thinner, calmer */
.hero-panel { border-radius: 16px; background: linear-gradient(170deg, rgba(13,155,138,.16), rgba(255,255,255,.03)); border-color: rgba(255,255,255,.12); }
.hp-live { font-weight: 500; letter-spacing: .4px; }
.hp-name { font-weight: 400; }
.hp-figs strong { font-weight: 300; }
.hero-strip { background: rgba(255,255,255,.03); border-top-color: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.stat-list li { border-right-color: rgba(255,255,255,.08); }
/* Counter icons: a small teal badge above each number */
.stat-ic { margin-right: 6px; color: #3FD3BF; font-size: .8em; opacity: .85; }
.stat-link:hover .stat-ic, .stat-link:focus-visible .stat-ic { opacity: 1; }
.stat-link:hover .stat-lbl, .stat-link:focus-visible .stat-lbl { color: #fff; }
/* Numbers: a little bigger and bolder, with a soft teal glow so they stand out */
.hero-strip .stat-num { font-size: 1.95rem; font-weight: 500; letter-spacing: -.03em;
  background: linear-gradient(180deg, #FFFFFF 30%, #BFF3EA); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(63,211,191,.25)); }
/* As many columns as the page has numbers (includes/stat-strip.php sets --stat-n) */
.stat-list[style*="--stat-n"] { grid-template-columns: repeat(var(--stat-n), minmax(0, 1fr)); }
@media (max-width: 1000px) { .stat-list[style*="--stat-n"] { grid-template-columns: repeat(min(var(--stat-n), 4), minmax(0, 1fr)); row-gap: 18px; }
  .stat-list[style*="--stat-n"] li:nth-child(4n) { border-right: none; } }
@media (max-width: 600px) { .stat-list[style*="--stat-n"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-list[style*="--stat-n"] li:nth-child(2n) { border-right: none; } .stat-list[style*="--stat-n"] li:nth-child(4n) { border-right: none; } }
.stat-lbl { font-weight: 400; letter-spacing: .4px; text-transform: none; font-size: .78rem; color: var(--mist); }
/* Counter bar layout: a wider row, labels on one line, the arrow beside the label, every item the same height */
.hero-strip > .container { max-width: 1280px; }
.stat-list li { padding: 4px 6px; justify-content: center; }
.stat-list .stat-link { width: 100%; padding: 8px 6px 10px; }
/* Labels: every word capitalised, small, with room above. Scoped to the bar so the shared label rule further down can't undo it. */
.hero-strip .stat-lbl { white-space: nowrap; letter-spacing: .3px; font-size: .86rem; font-weight: 400; margin-top: 10px; text-transform: capitalize; }
/* Six or seven numbers don't fit one row on smaller screens: use two rows */
@media (max-width: 1240px) and (min-width: 1001px) {
  .stat-list[style*="--stat-n:6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .stat-list[style*="--stat-n:7"] { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
  .stat-list[style*="--stat-n:6"] li:nth-child(3n), .stat-list[style*="--stat-n:7"] li:nth-child(4n) { border-right: none; } }
@media (max-width: 600px) { .hero-strip .stat-lbl { white-space: normal; } }
/* Six numbers on a tablet (iPad): two even rows of three, not four and two */
@media (max-width: 1000px) and (min-width: 601px) {
  .stat-list[style*="--stat-n:6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-list[style*="--stat-n:6"] li:nth-child(4n) { border-right: 1px solid rgba(255,255,255,.08); }
  .stat-list[style*="--stat-n:6"] li:nth-child(3n) { border-right: none; } }
/* Five numbers (the bars no longer show a report count): three above two, centred, on tablets and small laptops;
   on phones the fifth takes the whole last row */
@media (max-width: 1120px) and (min-width: 601px) {
  .stat-list[style*="--stat-n:5"] { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 14px; }
  .stat-list[style*="--stat-n:5"] li { grid-column: span 2; }
  .stat-list[style*="--stat-n:5"] li:nth-child(3) { border-right: none; }
  .stat-list[style*="--stat-n:5"] li:nth-child(4) { grid-column: 2 / span 2; border-right: 1px solid rgba(255,255,255,.08); } }
@media (max-width: 600px) { .stat-list[style*="--stat-n:5"] li:nth-child(5) { grid-column: 1 / -1; } }
/* Long labels ("Healthcare Markets Covered") may take two lines on smaller screens instead of running into the next
   number; the numbers stay level */
@media (max-width: 1000px) { .hero-strip .stat-lbl { white-space: normal; text-wrap: balance; } .hero-strip .stat-list li { justify-content: flex-start; } }

/* ── Sections: white and soft grey, so bands still look apart ── */
.section-light, .band-co { background: var(--off-white); }
.band-offer { background: #FFFFFF; }
.band-care  { background: var(--off-white); }
.band-lib   { background: #FFFFFF; }
.band-cov   { background: var(--off-white); }
.band-blog  { background: #FFFFFF; }
.band-co    { border-color: var(--line); }
.band-blog .post { border-color: var(--line); }

/* ── Cards: hairline borders, soft corners ── */
.report-card, .filter-box, .map-card, .growth-card, .post, .offer-card, .lib-card, .bento-card, .quote, .service-card, .ph-card {
  border-color: var(--line) !important; box-shadow: none;
}
.report-card:hover, .post:hover, .lib-card:hover { box-shadow: var(--shadow); }
.tag-cat, .post-date { font-weight: 500; letter-spacing: .3px; }
/* Report catalogue cards: "Updated <Month Year>" at the end of the tag row, the same date as the report page */
.report-meta .rc-updated { margin-left: auto; font-size: .88rem; color: var(--text-muted); white-space: nowrap; }
.report-meta .rc-updated i { margin-right: 5px; color: var(--teal); }
html[data-theme="dark"] .report-meta .rc-updated i { color: #4FD8C4; }

/* ── Footer: deepest ink ── */
.footer { background: var(--ink); color: rgba(255,255,255,.7); }
.footer-contact i { color: var(--steel); }
/* Our LinkedIn page: a round icon under the contact lines (includes/footer.php) */
.footer-social { margin-top: 16px; }
.footer-social a { color: #fff; background: rgba(255,255,255,.1); }
.footer-social a:hover, .footer-social a:focus-visible { background: var(--teal); color: #fff; }
.footer-social a:focus-visible { outline: 2px solid var(--teal-light, #2DD4BF); outline-offset: 2px; }

/* Hero right side (index.php): the tabs, the views panel (.hero-panel-wrap), then the search box */
.hero-visual { padding-top: 0; padding-bottom: 0; }   /* the counter strip shows without scrolling on a laptop screen */
.hero-panel-wrap { position: relative; margin-bottom: 14px; }
.hero-visual .hero-search { margin-top: 0; }
/* ───────────── Blog page ───────────── */
.blog-hero-sub { color: rgba(255,255,255,.7); max-width: 560px; margin: 0; font-size: 1.02rem; }
.blog-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.blog-topics a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 50px; font-size: .84rem;
  color: rgba(255,255,255,.78); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); transition: background .25s ease, border-color .25s ease; }
.blog-topics a span { font-size: .7rem; color: rgba(255,255,255,.5); }
.blog-topics a:hover { color: #fff; background: rgba(255,255,255,.1); }
.blog-topics a[aria-current] { color: #fff; background: rgba(13,155,138,.22); border-color: rgba(18,181,162,.55); }
.blog-topics a[aria-current] span { color: #A7F0E6; }

.blog-kicker { font-size: .72rem; font-weight: 500; letter-spacing: .4px; text-transform: uppercase; color: var(--teal); }
.blog-meta-line { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; font-size: .78rem; color: var(--text-muted); }
.blog-meta-line i { margin-right: 4px; opacity: .7; }

/* Featured story: image left, text right */
.blog-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); margin-bottom: 28px; background: #fff; }
.blog-lead .post-img-link { aspect-ratio: 16 / 10; }
.blog-lead .post-body { padding: 36px 40px; justify-content: center; gap: 14px; }
.blog-lead .post-title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; }
.blog-lead .post-excerpt { -webkit-line-clamp: 5; font-size: .98rem; }

/* The rest: three-up cards */
.blog-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-item { flex-direction: column; background: #fff; }
.blog-item .post-img-link { aspect-ratio: 16 / 10; }
.blog-item .post-body { flex: 1; }
.blog-item .post-title { font-size: 1.12rem; }
.blog-item .blog-meta-line { margin-top: auto; padding-top: 6px; }

/* Bridge to reports */
.blog-cta { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(ellipse 60% 90% at 100% 100%, rgba(13,155,138,.35), transparent 70%), linear-gradient(135deg, var(--ink), var(--navy-mid)); }
.blog-cta h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 4px 0 6px; color: #fff; }
.blog-cta p { margin: 0; color: rgba(255,255,255,.7); font-size: .92rem; }

@media (max-width: 960px) {
  .blog-lead { grid-template-columns: 1fr; }
  .blog-lead .post-body { padding: 26px 24px; }
  .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) { .blog-list { grid-template-columns: 1fr; } .blog-cta { padding: 28px 24px; } }

/* ───────────── Public Health + Health Care listing pages ───────────── */
.offer-hero-sub { color: rgba(255,255,255,.7); max-width: 600px; margin: 0; font-size: 1.02rem; }
.offer-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; max-width: 980px; }
.offer-jump a { padding: 7px 14px; border-radius: 50px; font-size: .82rem; color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); transition: background .25s ease, border-color .25s ease, color .25s ease; }
.offer-jump a:hover, .offer-jump a:focus-visible { color: #fff; background: rgba(13,155,138,.2); border-color: rgba(18,181,162,.5); }

/* One row per service, image and text swap sides each row */
.offer-rows .container { display: grid; gap: 88px; }
.offer-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; scroll-margin-top: 110px; }
.offer-row.flip .offer-row-media { order: 2; }
.offer-row-media { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); box-shadow: var(--shadow); }
.offer-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.offer-row:hover .offer-row-media img { transform: scale(1.04); }
.offer-row-empty { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3);
  background: linear-gradient(135deg, var(--navy), var(--blue)); }
.offer-row-body h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; margin: 2px 0 14px; }
.offer-row-body h2 a { color: var(--navy); }
.offer-row-body h2 a:hover { color: var(--teal); }
.offer-row-body p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin: 0 0 24px; max-width: 520px; }
.offer-row-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Closing band */
.offer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 40px;
  border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(ellipse 60% 90% at 100% 100%, rgba(13,155,138,.35), transparent 70%), linear-gradient(135deg, var(--ink), var(--navy-mid)); }
.offer-cta h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 4px 0 6px; color: #fff; }
.offer-cta p { margin: 0; color: rgba(255,255,255,.7); font-size: .92rem; }
.offer-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .offer-rows .container { gap: 56px; }
  .offer-row { grid-template-columns: 1fr; gap: 24px; }
  .offer-row.flip .offer-row-media { order: 0; }
}
@media (prefers-reduced-motion: reduce) { .offer-row-media img { transition: none; } }

/* ───────────── Knowledge pages: FAQ, Glossary, How we estimate, Sample, Markets, Companies ───────────── */
.kb-body { max-width: 1040px; }
.kb-h2 { font-size: 1.35rem; color: var(--navy); margin: 40px 0 16px; letter-spacing: -.01em; scroll-margin-top: 110px; }
.kb-h2:first-child { margin-top: 0; }
.kb-card-title { font-size: 1.05rem; color: var(--navy); margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.kb-card-title .fa { color: var(--teal); }
.kb-sub { font-size: .9rem; color: var(--navy); margin: 22px 0 0; }
.kb-note { font-size: .84rem; color: var(--text-muted); }
.notice { background: #FFF7E6; border: 1px solid #F4DDA6; color: #6B5317; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 24px; }

.kpi-row { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi-row li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.kpi-row strong { display: block; font-size: 1.7rem; font-weight: 300; color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
.kpi-row span { font-size: .78rem; color: var(--text-muted); }

/* How we estimate */
.kb-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.kb-steps article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.kb-steps h2 { font-size: 1.1rem; color: var(--navy); margin: 12px 0 8px; }
.kb-steps p { color: var(--text-muted); font-size: .94rem; margin: 0 0 8px; }
/* The "choose a full report" box under the steps: the same width as the step cards, with a gap above */
.kb-steps + .market-lock-panel { max-width: none; margin: 28px 0 40px; }
.kb-step-ico { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(13,155,138,.14), rgba(26,95,168,.14)); color: var(--teal); }
.kb-formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem !important; color: var(--navy) !important;
  background: var(--off-white); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.kb-example { margin-top: 28px; padding: 28px; border-radius: var(--radius-lg); background: var(--off-white); border: 1px solid var(--line); }
.kb-example h2 { font-size: 1.3rem; color: var(--navy); margin: 4px 0 14px; }
.kb-table { border-collapse: collapse; margin-bottom: 10px; min-width: 320px; }
.kb-table th, .kb-table td { text-align: left; padding: 8px 18px 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.kb-table th { font-weight: 400; color: var(--text-muted); }
/* How we estimate: the team's research method (tbl_configuration row 6). Diagrams keep a white card in dark mode too. */
.kb-method { margin: 44px 0 8px; }
.kb-method h2 { font-size: 1.35rem; color: var(--navy); margin: 0 0 12px; letter-spacing: -.01em; }
.kb-method h3 { font-size: 1.1rem; color: var(--navy); margin: 30px 0 10px; }
.kb-method p, .kb-method li { color: var(--text-muted); font-size: .97rem; line-height: 1.65; }
.kb-method p { margin: 0 0 12px; max-width: 78ch; }
.kb-method ul { margin: 0 0 14px; padding-left: 1.3em; list-style: disc outside; }
.kb-method li { margin: 4px 0; }
.kb-method li::marker { color: var(--teal); }
.kb-method strong { color: var(--navy); }
.kb-method figure { margin: 18px 0 8px; background: #0B1F3A; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0; overflow-x: auto; }   /* the figures are drawn in the site's dark style (tools/method-figures.ps1) */
.kb-method img { display: block; width: 100%; height: auto; }
/* Phones: the diagrams keep a readable size and scroll sideways */
@media (max-width: 720px) { .kb-method img { width: 680px; max-width: none; } }
.kb-table td { color: var(--navy); font-weight: 500; font-variant-numeric: tabular-nums; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding: 12px 16px 12px 44px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--text-muted); font-size: .92rem; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 16px; top: 13px; color: var(--teal); }
.check-list strong { display: block; color: var(--navy); font-weight: 500; }

/* Glossary */
.kb-search { margin-top: 24px; max-width: 420px; }
.kb-search input { width: 100%; padding: 12px 18px; border-radius: 50px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font: inherit; }
.kb-search input::placeholder { color: rgba(255,255,255,.55); }
.gloss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.gloss-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; scroll-margin-top: 110px; }
.gloss-item:target { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,155,138,.15); }
.gloss dt { font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.gloss dd { margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; color: var(--navy); font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fa { color: var(--teal); transition: transform .25s ease; }
.faq-item[open] summary .fa { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; border-radius: 12px; }
.faq-a { padding: 0 20px 18px; color: var(--text-muted); font-size: .94rem; line-height: 1.7; }

/* Sample */
.sample-grid { gap: 48px; align-items: start; }
.sample-report { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.sample-report h2 { font-size: 1.25rem; color: var(--navy); margin: 4px 0 10px; }
.sample-report p { color: var(--text-muted); font-size: .92rem; }

/* Markets + Companies */
.geo-grid, .co-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.geo-tile, .co-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--navy);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.geo-tile:hover, .co-tile:hover, .geo-tile:focus-visible, .co-tile:focus-visible { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy); }
.geo-tile .fa-globe { color: var(--teal); font-size: 1.1rem; }
.geo-tile .flag { width: 24px; height: 18px; }
.geo-tile strong, .co-tile strong { font-weight: 500; }
.geo-tile span, .co-tile span { font-size: .78rem; color: var(--text-muted); }
.co-tile img, .co-initial { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); margin-bottom: 4px; }
.co-initial { display: inline-flex; align-items: center; justify-content: center; color: var(--teal); font-weight: 600; }
.geo-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.growth-vals { grid-column: 1 / -1; font-size: .72rem; color: var(--text-muted); }
.cat-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.cat-list li { border-bottom: 1px solid var(--line); padding: 8px 0; }
.cat-list a { display: flex; justify-content: space-between; gap: 12px; color: var(--navy); }
.cat-list a span { color: var(--text-muted); font-size: .84rem; }
.cat-list em { display: block; font-style: normal; font-size: .78rem; color: var(--teal); margin-top: 2px; }
.bar-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.bar-list li { display: grid; grid-template-columns: 150px 1fr 44px; align-items: center; gap: 10px; font-size: .84rem; color: var(--navy); }
.bar-list b { height: 8px; border-radius: 4px; background: var(--gray-100); position: relative; overflow: hidden; }
.bar-list b::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--blue-light)); }
.bar-list em { font-style: normal; text-align: right; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.mini-reports { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mini-reports a { display: flex; gap: 10px; align-items: center; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--navy); font-size: .92rem; }
.mini-reports a:hover { border-color: var(--teal); }
.mini-reports .tag-cat { flex-shrink: 0; font-size: .66rem; }
.geo-title .flag { width: 44px; height: 33px; vertical-align: middle; border-radius: 4px; }
.co-hero { display: flex; align-items: center; gap: 22px; }
.co-hero-logo { width: 84px; height: 84px; border-radius: 18px; background: #fff; padding: 10px; object-fit: contain; flex-shrink: 0; }
/* Country / region page (pages/market.php): the flag in a tile, the same size as a company logo */
.geo-hero-badge { display: grid; place-items: center; width: 84px; height: 84px; flex-shrink: 0; border-radius: 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.geo-hero-badge .flag { width: 56px; height: 42px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.geo-hero-badge .fa-globe { font-size: 2.2rem; color: #3FD3BF; }
.geo-data-h { display: flex; align-items: center; gap: 10px; margin: 18px 0 12px; font-size: 1.05rem; font-weight: 500; color: var(--navy); }
.geo-data-h i { color: var(--teal); font-size: .95rem; }
html[data-theme="dark"] .geo-data-h { color: var(--text); }
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 36px 0 8px; }
.az-nav a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: .84rem; }
.az-nav a:hover { border-color: var(--teal); color: var(--teal); }
.az-letter { font-size: 1.2rem; color: var(--teal); margin: 28px 0 10px; scroll-margin-top: 110px; }
.az-list { list-style: none; margin: 0; padding: 0; columns: 3 240px; column-gap: 28px; }
.az-list li { break-inside: avoid; padding: 4px 0; }
.az-list a { color: var(--navy); font-size: .9rem; }
.az-list a span { color: var(--text-muted); font-size: .74rem; margin-left: 4px; }

/* Homepage hero actions */
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; }
.hero-actions .btn-consult { background: var(--btn-teal); color: #fff; }
.hero-actions .btn-consult:hover { background: var(--btn-teal-hover); color: #fff; }

@media (max-width: 860px) {
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-steps, .gloss, .geo-cols { grid-template-columns: 1fr; }
  .bar-list li { grid-template-columns: 110px 1fr 40px; }
  .co-hero { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .geo-tile, .co-tile, .faq-item summary .fa { transition: none; } }

/* Report catalogue in "pick a report for your free sample" mode */
.btn-consult { background: var(--btn-teal); color: #fff; }   /* the button teal: white text stays readable in both themes */
.btn-consult:hover { background: var(--btn-teal-hover); color: #fff; }
.sample-pick { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 16px;
  border-radius: var(--radius-lg); background: rgba(13,155,138,.08); border: 1px solid rgba(13,155,138,.35); color: var(--navy); }
.sample-pick > .fa { font-size: 1.3rem; color: var(--teal); }
.sample-pick div { flex: 1; min-width: 220px; }
.sample-pick strong { display: block; font-weight: 500; }
.sample-pick span { font-size: .86rem; color: var(--text-muted); }
.sample-pick-x { font-size: .84rem; color: var(--text-muted); text-decoration: underline; }

/* ───────────── Contact page ───────────── */
.intent-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; max-width: 980px; }
.intent { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; color: #fff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px);
  transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.intent:hover, .intent:focus-visible { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(18,181,162,.5); transform: translateY(-2px); }
.intent strong { display: block; font-weight: 500; }
.intent small { display: block; font-size: .76rem; color: rgba(255,255,255,.65); }
.intent-go { margin-left: auto; opacity: .6; transition: transform .25s ease, opacity .25s ease; }
.intent:hover .intent-go { transform: translateX(4px); opacity: 1; }
.intent-ico { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(18,181,162,.16); color: #7FD8CC; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.contact-side { display: grid; gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.contact-card h2 { font-size: 1.05rem; color: var(--navy); margin: 0 0 14px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--navy); border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; }
.contact-line small { display: block; font-size: .72rem; color: var(--text-muted); }
.contact-line .intent-ico, .quick-links .fa { background: rgba(13,155,138,.1); color: var(--teal); }
.contact-line:hover { color: var(--teal); }
.quick-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.quick-links a { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: center; padding: 8px 6px; border-radius: 10px; color: var(--navy); font-weight: 500; }
.quick-links a:hover { background: var(--off-white); color: var(--teal); }
.quick-links .fa { grid-row: span 2; width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.quick-links span { grid-column: 2; font-size: .76rem; font-weight: 400; color: var(--text-muted); }
.contact-grid .contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .intent-row, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .contact-form { order: -1; }   /* phones: the form first */
}
@media (prefers-reduced-motion: reduce) { .intent, .intent-go, .nav-links a.nav-consult .fa-arrow-right { transition: none; } }

/* ───────────── About page ───────────── */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-text { line-height: 1.85; color: var(--text); }
.about-text h2, .about-text h3, .about-text h4 { color: var(--navy); margin: 28px 0 10px; }
.about-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); position: sticky; top: 100px; }
.about-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
/* The "intent" cards are built for dark heroes; on white they take the navy look */
.about-side { background: linear-gradient(135deg, var(--ink), var(--navy-mid)); border-color: transparent; }
.about-side:hover, .about-side:focus-visible { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); }
@media (max-width: 900px) { .about-grid, .about-sides { grid-template-columns: 1fr; } .about-img { position: static; } }
.team-line { font-size: .88rem; color: var(--text-muted); margin-top: 12px; line-height: 1.65; font-style: italic; }

/* Newsletter signup (blog) */
.newsletter { position: relative; margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center;
  padding: 30px 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.section-sm .newsletter { margin-top: 0; }
.newsletter-copy { display: flex; gap: 16px; align-items: flex-start; }
.newsletter-ico { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(13,155,138,.14), rgba(26,95,168,.14)); color: var(--teal); font-size: 1.15rem; }
.newsletter h2 { font-size: 1.25rem; color: var(--navy); margin: 0 0 4px; }
.newsletter p { margin: 0; color: var(--text-muted); font-size: .9rem; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row input { flex: 1; min-width: 0; padding: 12px 18px; border-radius: 50px; border: 1px solid var(--gray-200); font: inherit; background: var(--off-white); }
.newsletter-row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,155,138,.15); background: #fff; }
.newsletter-msg { min-height: 1.2em; margin-top: 8px !important; font-size: .84rem; }
.newsletter-msg.is-ok { color: var(--teal); }
.newsletter-msg.is-error { color: #C0392B; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; padding: 24px; } }
@media (max-width: 480px) { .newsletter-row { flex-direction: column; } }
/* Line of text, then the Consult us button under it */
.hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; max-width: 600px; }

/* ───────────── Small labels everywhere: the theme's quiet style ─────────────
   Same look as "Research Coverage": small, sentence case, no letter-spacing, muted colour.
   On light backgrounds they use --text-muted; on dark ones the soft --mist. */
.filter-box h2, .side-box h2, .growth-card h3, .side-growth h4, .tracked-title,
.kpi-label, .dash-eyebrow, .lib-growth-label, .stat-label, .blog-tag, .blog-kicker,
.post-date, .growth-box h2, .kb-card-title {
  text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .9rem; color: var(--gray-600);
}
.footer-col h4, .hero-stat-label, .hp-live, .stat-lbl {
  text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .88rem; color: #C3D1E0;
}
/* The section eyebrows ("Research Coverage", "What we offer", …): same size, readable contrast.
   --mist on white was too faint (about 2:1); gray-600 is about 7:1. */
.section-label { font-size: .9rem; font-weight: 500; color: var(--gray-600); }
.page-hero .section-label, .hero .section-label, .offer-cta .section-label, .blog-cta .section-label { color: #C3D1E0; }
/* Labels that are chips or carry a colour cue keep their colour, only lose the shouting */
.tag-cat { text-transform: none; letter-spacing: 0; font-weight: 500; }
.hp-live { color: #7FD8CC; }
.post-date { background: transparent; padding: 0; }
.blog-kicker { color: var(--teal); }
/* Card headings that were labels keep a small icon beside them */
.growth-card h3 .fa, .filter-box h2 .fa, .kb-card-title .fa { color: var(--teal); margin-right: 4px; }
.footer-col h4 { font-size: .9rem; margin-bottom: 14px; color: #fff; }

/* ───────────── Buy page + related reports ───────────── */
.buy-steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #C3D1E0; font-size: .92rem; }
.buy-steps li { display: inline-flex; align-items: flex-start; gap: 10px; line-height: 26px; }   /* number beside the first line when a step wraps */
.buy-steps span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(18,181,162,.18); color: #7FD8CC; font-size: .8rem; font-weight: 600; }
.buy-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.buy-summary { display: grid; gap: 18px; position: sticky; top: 100px; }
.buy-name { font-size: 1.05rem; color: var(--navy); margin: 0 0 12px; line-height: 1.35; }
.buy-table { width: 100%; min-width: 0; }
.buy-table th { white-space: nowrap; }   /* row names on one line ("Report period"), whatever rows a report has */
.buy-price { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.buy-price strong { font-size: 2rem; font-weight: 400; color: var(--navy); letter-spacing: -.02em; }
.buy-price span { font-size: .84rem; color: var(--gray-600); }
.buy-custom p { margin: 0 0 16px; font-size: .92rem; line-height: 1.6; color: var(--text); }   /* "Need it customized?" card */
.buy-grid .contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.kw-chips li span { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--off-white); font-size: .78rem; color: var(--gray-600); }

.side-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; background: #fff; }
/* Report page sidebar: the same gap under every card; sticky, and scrolls on its own when taller than the screen */
.rd-side > .side-card, .rd-side > .side-growth { margin-bottom: 20px; }
.rd-side > :last-child { margin-bottom: 0; }
@media (min-width: 901px) {
  .rd-side { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
}
/* Topic and keyword chips in the sidebar */
.chip-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 6px; background: rgba(26,95,168,.08); color: var(--blue); font-size: .75rem; font-weight: 600; line-height: 1.4; text-decoration: none; }
.chip:hover, .chip:focus-visible { background: rgba(26,95,168,.16); }
.chip-topic { background: rgba(13,155,138,.1); color: var(--teal); }
.chip-topic:hover, .chip-topic:focus-visible { background: rgba(13,155,138,.2); }
.side-card-title { font-size: .9rem; font-weight: 500; color: var(--gray-600); margin: 0 0 12px; }
.rel-geo { border: 0; padding: 0; margin: 0 0 10px; }
.rel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.rel-card h3 { font-size: 1.02rem; line-height: 1.35; margin: 0; }
.rel-card h3 a { color: var(--navy); }
.rel-card h3 a:hover { color: var(--teal); }
.rel-card p { margin: 0; font-size: .82rem; color: var(--gray-600); }
.rel-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.rel-actions .btn { padding: 8px 16px; font-size: .82rem; }
@media (max-width: 960px) { .buy-grid { grid-template-columns: 1fr; } .buy-summary { position: static; } .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .rel-grid { grid-template-columns: 1fr; } }

/* ───────────── Report text tabs: Summary, Table of Contents, Segmentation ───────────── */
.rc-body { color: var(--text); font-size: 1rem; line-height: 1.6; max-width: 760px; }
.rc-body > p:first-child strong:only-child { display: block; font-size: 1.12rem; font-weight: 500; line-height: 1.55; color: var(--navy);
  padding: 16px 20px; border-left: 3px solid var(--teal); background: var(--off-white); border-radius: 0 var(--radius) var(--radius) 0; }
/* Three clear heading steps, same as blog posts: big + line under (h2), teal (h3), small bold (h4) */
.rc-body h2, .rc-body h3, .rc-body h4 { color: var(--navy); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.rc-body h2 { font-size: 1.6rem; margin: 36px 0 12px; padding-bottom: .3em; border-bottom: 2px solid var(--line); }
/* The place's own paragraph in the Summary: rules, payment and research there (includes/place-facts.php) */
.rc-body .rc-place { margin: 14px 0 24px; padding: 16px 20px; border-left: 3px solid var(--teal); background: var(--off-white); border-radius: 0 var(--radius) var(--radius) 0; }
.rc-body .rc-place h4 { margin: 0 0 8px; }
.rc-body .rc-place p { margin: 0; }
.rc-body .rc-place sup { font-size: .7em; line-height: 0; }
.rc-body .rc-place .cite-list { margin-top: 12px; }
.rc-body .rc-place .cite { font-size: .86rem; }
/* Company names in report text: link to the profile, small logo in front */
.rc-body a.co-link { color: var(--blue); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(26,95,168,.3); text-underline-offset: 3px; white-space: nowrap; }
.rc-body a.co-link:hover, .rc-body a.co-link:focus-visible { text-decoration-color: currentColor; }
.rc-body img.co-logo { display: inline-block; width: 16px; height: 16px; max-width: none; margin: 0 5px 0 0; object-fit: contain; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px var(--gray-200); vertical-align: -3px; }
/* A list made only of company links (the "Key Players" list) shows as chips */
.rc-body ul:has(> li > a.co-link:only-child) { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rc-body ul:has(> li > a.co-link:only-child) > li { margin: 0; padding: 0; }
.rc-body ul:has(> li > a.co-link:only-child) > li::before { content: none; }
.rc-body li > a.co-link:only-child { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border: 1px solid var(--gray-200); border-radius: 50px; background: var(--white); color: var(--gray-600); text-decoration: none; font-size: .88rem; line-height: 1.4; }
.rc-body li > a.co-link:only-child:hover, .rc-body li > a.co-link:only-child:focus-visible { border-color: var(--blue); color: var(--blue); }
.rc-body li > a.co-link:only-child img.co-logo { width: 22px; height: 22px; margin: 0; vertical-align: 0; }
/* No logo: first letter in a circle, like .company-initial in the Key Players tab */
.rc-body .co-initial { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-right: 5px; border-radius: 50%; background: var(--gray-100); color: var(--navy); font-size: .62rem; font-weight: 700; line-height: 1; vertical-align: -2px; }
.rc-body li > a.co-link:only-child .co-initial { width: 22px; height: 22px; margin: 0; font-size: .72rem; vertical-align: 0; }
.rc-body h3 { font-size: 1.22rem; margin: 30px 0 8px; color: var(--teal-dark, #0B7A6B); }
.rc-body h4 { font-size: 1.04rem; margin: 22px 0 6px; }
.rc-body p { margin: 0 0 16px; }
html[data-theme="dark"] .rc-body :is(h2, h4) { color: var(--text); }
html[data-theme="dark"] .rc-body h3 { color: #3FD3BF; }
/* Report Summary: its headings are the page's h2/h3 sections (pages/report-detail.php), with the look the h3/h4 had */
.rc-body.rc-sum h2 { font-size: 1.22rem; margin: 30px 0 8px; padding-bottom: 0; border-bottom: 0; color: var(--teal-dark, #0B7A6B); }
.rc-body.rc-sum h3 { font-size: 1.04rem; margin: 22px 0 6px; color: var(--navy); }
.rc-body.rc-sum .rc-place :is(h2, h3) { margin: 0 0 8px; }
html[data-theme="dark"] .rc-body.rc-sum h2 { color: #3FD3BF; }
html[data-theme="dark"] .rc-body.rc-sum h3 { color: var(--text); }
.rc-body ul, .rc-body ol { margin: 0 0 16px; padding-left: 22px; }
.rc-body li { margin-bottom: 6px; }
.rc-body li p { margin: 0; }
.rc-body li::marker { color: var(--teal); }
.rc-body strong { font-weight: 600; color: var(--navy); }

/* Table of contents: numbered sections in two columns */
.toc-list { list-style: none; padding: 0; margin: 0; columns: 2 320px; column-gap: 28px; max-width: none; }
.rc-body:has(.toc-list) { max-width: none; }
.toc-sec { break-inside: avoid; margin: 0 0 18px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.toc-sec h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin: 0 0 8px; display: flex; gap: 10px; align-items: baseline; }
.toc-sec h3 .toc-num { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; border-radius: 8px;
  background: rgba(13,155,138,.12); color: var(--teal); font-size: .82rem; font-weight: 600; }
.toc-sec ul { list-style: none; padding: 0; margin: 0; }
.toc-sec li { font-size: .9rem; color: var(--gray-600); line-height: 1.5; padding: 5px 0; border-top: 1px solid var(--gray-100); margin: 0; }
.toc-sec li:first-child { border-top: 0; }
.toc-sec li .toc-num { display: inline-block; min-width: 38px; color: var(--gray-400); font-variant-numeric: tabular-nums; font-size: .82rem; }
.toc-sec li.toc-l3 { padding-left: 38px; font-size: .86rem; }
.toc-sec li small { display: block; padding-left: 38px; font-size: .78rem; color: var(--gray-400); }

/* Segmentation: one card per dimension */
.rc-body:has(.seg-grid) { max-width: none; }
.seg-intro { max-width: 760px; color: var(--gray-600); }
.seg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.seg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; }
.seg-card h3 { font-size: 1rem; font-weight: 600; margin: 0 0 10px; color: var(--navy); }
.seg-card ul { list-style: none; padding: 0; margin: 0; }
.seg-card li { position: relative; padding: 5px 0 5px 18px; font-size: .9rem; color: var(--gray-600); line-height: 1.45; margin: 0; }
.seg-card li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.seg-card li small { display: block; font-size: .78rem; color: var(--gray-400); margin-top: 2px; }

/* ═══════════════════ Speed (2026-11-08) ═══════════════════
   The home page lagged because the browser had to redraw large blurred shapes on every frame:
   three 760px glows with blur(90px) moving behind the hero, and "frosted glass" boxes
   (backdrop-filter) on top of them that had to re-blur whatever moved underneath.
   The glows are soft gradients already, so they need no blur; the glass boxes get a solid tint. */
.hero-aurora i { filter: none; mix-blend-mode: normal; will-change: transform; }
.hero-aurora i:nth-child(1) { background: radial-gradient(circle, rgba(13,155,138,.55), rgba(13,155,138,.18) 35%, transparent 68%); }
.hero-aurora i:nth-child(2) { background: radial-gradient(circle, rgba(43,124,211,.5), rgba(43,124,211,.16) 35%, transparent 68%); }
.hero-aurora i:nth-child(3) { background: radial-gradient(circle, rgba(94,234,212,.35), rgba(94,234,212,.12) 35%, transparent 68%); }
.navbar, .navbar.scrolled,
body:has(> .navbar + .hero, > .navbar + .page-hero) .navbar,
body:has(> .navbar + .hero, > .navbar + .page-hero) .navbar.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
body:has(> .navbar + .hero, > .navbar + .page-hero) .navbar { transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.hero-strip, .care-link, .hero-chips li, .hero-panel, .btn-white, .intent { backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero-panel { background-color: rgba(10,26,48,.86); }
.hero-chips li, .intent, .btn-white { background-color: rgba(255,255,255,.08); }
/* These two repainted text and a dot on every frame (background-position and box-shadow
   cannot be handed to the graphics card). The gradient words stay; they just hold still. */
.horizon { animation: none; background-position: 0% 50%; }
.hp-live i { animation: none; box-shadow: 0 0 0 3px rgba(94,234,212,.25); }

/* ═══ Home page: Data playground teaser (includes/playground-teaser.php). Dark in both themes (.keep-dark). ═══ */
.pg-teaser { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 400px at 85% 10%, rgba(13,155,138,.28), transparent 60%),
              radial-gradient(700px 380px at 0% 100%, rgba(26,95,168,.30), transparent 60%), #071528; }
.pg-teaser-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.pg-teaser .section-label { color: #7EE8D7; }
.pg-teaser .offer-title { color: #fff; }
.pg-teaser-copy > p { color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.65; margin: 14px 0 20px; max-width: 520px; }
.pg-teaser-topics { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 26px; }
.pg-teaser-topics a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 50px; font-size: .82rem;
  color: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); transition: background .15s, border-color .15s; }
.pg-teaser-topics a i { color: #3FD3BF; font-size: .78rem; }
.pg-teaser-topics a:hover, .pg-teaser-topics a:focus-visible { background: rgba(63,211,191,.14); border-color: #3FD3BF; color: #fff; }
.pg-teaser-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pg-teaser-link { color: #7EE8D7; font-weight: 500; font-size: .92rem; }
.pg-teaser-link:hover { color: #fff; }

.pg-teaser-board { padding: 16px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.pg-teaser-bar { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 12px; font-size: .78rem; color: rgba(255,255,255,.7); }
.pg-teaser-bar i.fa { color: #3FD3BF; margin-right: 5px; }
.pg-teaser-live { display: inline-flex; align-items: center; gap: 6px; }
.pg-teaser-live i { width: 7px; height: 7px; border-radius: 50%; background: #3FD3BF; box-shadow: 0 0 0 4px rgba(63,211,191,.18); }
.pg-teaser-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pg-teaser-tile, .pg-teaser-rank { display: grid; gap: 2px; padding: 12px 12px 8px; border-radius: 14px; color: #fff;
  background: rgba(7,21,40,.65); border: 1px solid rgba(255,255,255,.10); transition: border-color .15s, transform .15s; }
.pg-teaser-tile:hover, .pg-teaser-rank:hover, .pg-teaser-tile:focus-visible, .pg-teaser-rank:focus-visible { border-color: #3FD3BF; color: #fff; transform: translateY(-2px); }
.pg-teaser-tname { font-size: .72rem; color: rgba(255,255,255,.7); line-height: 1.35; min-height: 2.7em; }
.pg-teaser-tname i { color: #3FD3BF; margin-right: 3px; }
.pg-teaser-tile strong { font-size: 1.7rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.pg-teaser-unit { font-size: .66rem; color: rgba(255,255,255,.55); }
.pg-teaser-ch { font-size: .7rem; font-weight: 600; }
.pg-teaser-ch.is-up { color: #3FD3BF; } .pg-teaser-ch.is-down { color: #FF8A80; }
.pg-teaser-tile svg { width: 100%; height: 40px; margin-top: 6px; }
.pg-teaser-area { fill: rgba(63,211,191,.16); }
.pg-teaser-line { fill: none; stroke: #3FD3BF; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pg-teaser-rank { margin-top: 10px; padding-bottom: 12px; }
.pg-teaser-rank .pg-teaser-tname { min-height: 0; margin-bottom: 6px; }
.pg-teaser-rank ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.pg-teaser-rank li { display: grid; grid-template-columns: minmax(0, 150px) 1fr 70px; align-items: center; gap: 10px; font-size: .8rem; }
.pg-teaser-place { display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-teaser-place .flag { width: 18px; height: 13px; }
.pg-teaser-barwrap { height: 8px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.pg-teaser-barwrap span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #16807A, #3FD3BF); }
.pg-teaser-val { text-align: right; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.85); }
/* The source of every figure above, on the dark board */
.pg-teaser-cites { margin: 10px 4px 0; }
.pg-teaser-cites .cite { margin: 4px 0 0; font-size: .8rem; color: rgba(255,255,255,.7); }
.pg-teaser-cites .cite a { color: rgba(255,255,255,.88); text-decoration-color: rgba(255,255,255,.35); }
.pg-teaser-cites .cite a:hover, .pg-teaser-cites .cite a:focus-visible { color: #3FD3BF; }
@media (max-width: 980px) { .pg-teaser-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .pg-teaser-tiles { grid-template-columns: 1fr; } .pg-teaser-rank li { grid-template-columns: minmax(0, 1fr) 70px 60px; } }
@media (prefers-reduced-motion: reduce) { .pg-teaser-tile, .pg-teaser-rank, .pg-teaser-topics a { transition: none; transform: none !important; } }

/* ═══ Hero tabs: "Reports" / "Public data" / "Companies" above the views panel (index.php) ═══ */
.hero-switch { position: relative; display: flex; width: fit-content; gap: 4px; padding: 4px; margin: 0 auto 14px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }   /* centred over the panel */
.hero-switch [role=tab] { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 0; border-radius: 9px; cursor: pointer; white-space: nowrap;
  background: none; color: rgba(255,255,255,.7); font: inherit; font-size: .82rem; font-weight: 500; transition: background .2s, color .2s; }
.hero-switch [role=tab] i { font-size: .76rem; }
.hero-switch [role=tab]:hover { color: #fff; }
.hero-switch [role=tab][aria-selected="true"] { background: rgba(63,211,191,.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(63,211,191,.45); }
.hero-switch [role=tab]:focus-visible { outline: 2px solid #3FD3BF; outline-offset: 2px; }
/* "Healthcare Topics" is a long tab and search choice: in a narrow hero column (desktop, two columns) the tabs and the
   search choices get a little tighter so each still fits on one row */
.hero-visual { container-type: inline-size; }
@container (max-width: 520px) {
  .hero-switch { gap: 2px; }
  .hero-switch [role=tab] { padding: 7px 8px; gap: 5px; font-size: .8rem; }
  .hero-visual .hero-scope { gap: 4px; }
  .hero-visual .hero-scope button { padding: 5px 7px; gap: 4px; font-size: .79rem; }
}
.hero-panel[hidden] { display: none; }
.hero-panel.slide-in { animation: hero-slide-in .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes hero-slide-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
/* Health data slide: blue accents so it reads as a different view */
.hero-data .hp-live i { background: #82B4F0; box-shadow: 0 0 0 4px rgba(130,180,240,.2); }
.hero-data .hp-figs strong { color: #A3C8F5; }
.hero-data .hp-figs span { font-size: .72rem; }
.hero-data .hp-dots i.on { background: #82B4F0; }
.hd-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .78rem; font-weight: 500; color: #A3C8F5; }
.hd-open:hover { color: #fff; }

/* Hero charts. Each column is a full-height box; the bar or stem inside is placed absolutely,
   so the percentage heights always work whatever height the panel gives the chart. */
.hd-lolli { position: relative; display: flex; align-items: stretch; gap: 2px; padding: 20px 4px 0; box-sizing: border-box;
  background: repeating-linear-gradient(to top, rgba(255,255,255,.07) 0 1px, transparent 1px 25%); }
.hd-lolli i { position: relative; flex: 1; min-width: 0; }
.hd-lolli i::before { content: ''; position: absolute; left: calc(50% - 1px); width: 2px; bottom: 0; height: var(--h);
  background: linear-gradient(180deg, rgba(130,180,240,.75), rgba(130,180,240,.08)); animation: hd-stem .6s cubic-bezier(.2,.8,.2,1) var(--d) both; }
.hd-lolli i::after { content: ''; position: absolute; left: 50%; bottom: var(--h); width: 7px; height: 7px; margin: 0 0 -3.5px -3.5px; border-radius: 50%;
  background: #A3C8F5; box-shadow: 0 0 0 2px rgba(11,31,58,.6); animation: hd-dot .6s cubic-bezier(.2,.8,.2,1) var(--d) both; }
.hd-lolli i.lo::after { background: #5B8FD0; }
.hd-lolli i.last::after { width: 11px; height: 11px; margin: 0 0 -5.5px -5.5px; background: #fff; box-shadow: 0 0 0 3px rgba(130,180,240,.45);
  animation: hd-dot .6s cubic-bezier(.2,.8,.2,1) var(--d) both, hd-pulse 2.2s ease-out 1s infinite; }
.hd-base { position: absolute; left: 0; right: 0; bottom: calc((100% - 20px) * var(--b, 0) / 100); border-top: 1px dashed rgba(255,255,255,.35); pointer-events: none; }
@keyframes hd-stem { from { height: 0; } }
@keyframes hd-dot  { from { bottom: 0; opacity: 0; } }
@keyframes hd-pulse { 0% { box-shadow: 0 0 0 3px rgba(130,180,240,.45); } 70% { box-shadow: 0 0 0 9px rgba(130,180,240,0); } 100% { box-shadow: 0 0 0 3px rgba(130,180,240,0); } }

/* Health style 2: colour stripes, one per year (darker = lower, lighter = higher) */
.hd-lolli.hd-stripes { gap: 0; padding-top: 6px; }
.hd-stripes i::before { left: 0; right: -1px; width: auto; height: 100%; border-radius: 0;
  background: rgba(130,180,240, calc(.1 + var(--k) * .9)); animation: hd-fade .5s ease-out var(--d) both; }
.hd-stripes i:first-child::before { border-radius: 6px 0 0 6px; }
.hd-stripes i.last::before { border-radius: 0 6px 6px 0; box-shadow: 0 0 14px rgba(163,200,245,.6); }
.hd-stripes i::after, .hd-stripes i.last::after { content: none; }
.hd-stripes .hd-base, .hd-steps .hd-base { display: none; }
@keyframes hd-fade { from { opacity: 0; transform: scaleY(.3); } }

/* Health style 3: a stepped area, columns touching, with a bright top edge */
.hd-lolli.hd-steps { gap: 0; }
.hd-steps i::before { left: 0; width: 100%; border-radius: 0;
  background: linear-gradient(180deg, rgba(130,180,240,.55), rgba(130,180,240,.05)); border-top: 2px solid #A3C8F5; }
.hd-steps i::after { content: none; }
.hd-steps i.last::after { content: ''; width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px; }

@media (prefers-reduced-motion: reduce) {
  .hd-lolli i::before, .hd-lolli i::after, .hd-lolli i.last::after { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-panel.slide-in { animation: none; } .hero-switch [role=tab] { transition: none; } }

/* ═══ Page pop-up in the bottom corner (includes/nudge.php, js/main.js) ═══ */
.nudge { position: fixed; right: 20px; bottom: 20px; z-index: 1500; width: min(370px, calc(100vw - 32px)); padding: 18px 18px 14px;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(11,31,58,.25);
  opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease; }
.nudge.is-in { opacity: 1; transform: none; }
.nudge[hidden] { display: none; }
.nudge-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--text-muted); cursor: pointer; }
.nudge-x:hover { background: var(--gray-100); color: var(--text); }
.nudge-x:focus-visible, .nudge a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.nudge-head { display: flex; gap: 12px; padding-right: 26px; margin-bottom: 14px; }
.nudge-ic { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  color: var(--teal); background: rgba(13,155,138,.12); font-size: .95rem; }
.nudge-head h2 { margin: 0 0 3px; font-size: 1rem; font-weight: 600; color: var(--navy); letter-spacing: 0; line-height: 1.3; }
.nudge-head p { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--text-muted); }
.nudge-main { width: 100%; justify-content: center; gap: 8px; padding: 10px 16px; font-size: .88rem; }
.nudge .newsletter-row input { padding: 9px 14px; font-size: .86rem; }
.nudge .newsletter-row .btn { padding: 9px 16px; font-size: .84rem; }
.nudge .newsletter-msg { margin-top: 6px !important; font-size: .78rem; min-height: 0; }
.nudge .newsletter-msg:empty { display: none; }
.nudge-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8rem; }
.nudge-links a { color: var(--teal); font-weight: 500; }
.nudge-links i { margin-right: 4px; font-size: .74rem; }
html[data-theme="dark"] .nudge { background: #0F1A2B; border-color: var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.6); }
html[data-theme="dark"] .nudge-head h2 { color: var(--text); }
html[data-theme="dark"] .nudge .newsletter-row input { background: #0B1424; border-color: var(--line); color: var(--text); }
@media (max-width: 480px) { .nudge { right: 8px; bottom: 8px; } }
@media (prefers-reduced-motion: reduce) { .nudge { transition: none; transform: none; } }

/* Hero views: all of them share one grid cell, so the box is always as tall as the tallest view
   and nothing below it moves when the tab changes. A view not showing keeps its space but is invisible
   (visibility also takes it out of the tab order and screen readers). The chart grows to fill. */
.hero-panel-wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-panel-wrap > .hero-panel { grid-area: 1 / 1; display: flex; flex-direction: column; }
.hero-panel-wrap > .hero-panel[hidden] { display: flex; visibility: hidden; }
.hero-panel-wrap .hp-chart { flex: 1 1 110px; min-height: 110px; }
/* Market names are kept to two lines so the panel never changes height while it cycles */
.hp-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

/* Home pop-up: a 2×2 menu of places to go */
.nudge-choices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nudge-choices a { display: flex; align-items: flex-start; gap: 9px; height: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); transition: border-color .15s, background .15s; }
.nudge-choices a:hover, .nudge-choices a:focus-visible { border-color: var(--teal); background: rgba(13,155,138,.06); color: var(--text); }
.nudge-choices i { margin-top: 2px; color: var(--teal); font-size: .9rem; width: 16px; text-align: center; }
.nudge-choices span { display: grid; gap: 1px; min-width: 0; }
.nudge-choices strong { font-size: .82rem; font-weight: 600; line-height: 1.3; color: var(--navy); }
.nudge-choices small { font-size: .7rem; color: var(--text-muted); line-height: 1.35; }
html[data-theme="dark"] .nudge-choices strong { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .nudge-choices a { transition: none; } }

/* Footer logo: larger (the file is 4x size, so it stays sharp) */
.footer-logo-img { height: 72px; margin-bottom: 18px; }
@media (max-width: 600px) { .footer-logo-img { height: 60px; } }

/* Public Health pages: links to the free Public Health Dashboard */
.ph-data-band { display: flex; align-items: center; gap: 16px; margin: 28px 0 0; padding: 18px 20px; border-radius: 14px;
  background: linear-gradient(135deg, #0B1F3A, #0F3B4A); color: #fff; text-decoration: none; border: 1px solid rgba(63,211,191,.25); }
.ph-data-band:hover { border-color: rgba(63,211,191,.6); }
.ph-data-band strong { display: block; font-size: 1rem; color: #fff; }
.ph-data-band small { display: block; margin-top: 3px; color: rgba(255,255,255,.72); font-size: .85rem; line-height: 1.5; }
.ph-data-band > .fa-arrow-right { margin-left: auto; color: #3FD3BF; transition: transform .2s ease; }
.ph-data-band:hover > .fa-arrow-right { transform: translateX(4px); }
.ph-data-ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(63,211,191,.15); color: #3FD3BF; font-size: 1.15rem; }
.ph-data-band-wide { margin: 0; padding: 22px 26px; }
.ph-data p { margin: 0 0 10px; color: var(--text-muted); font-size: .88rem; }
.ph-data h2 i { color: var(--teal); margin-right: 4px; }
.offer-row-data { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--teal); }
.offer-row-data:hover { text-decoration: underline; }
@media (max-width: 600px) { .ph-data-band { align-items: flex-start; } .ph-data-band > .fa-arrow-right { display: none; } }
@media (prefers-reduced-motion: reduce) { .ph-data-band > .fa-arrow-right { transition: none; } }

/* ═══ Report page: research, trials and patients (pages/report-detail.php, includes/public-data.php) ═══ */
.pd { margin: 36px 0 0; padding: 24px; background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--text); scroll-margin-top: 90px; }
.pd-head { margin-bottom: 16px; }
.pd-lead { margin: 6px 0 0; color: var(--text-muted); font-size: .92rem; }
.pd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pd-card, .pd-papers { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.pd-papers { margin-top: 14px; }
.pd h3 { font-family: var(--font-sans); font-size: .98rem; font-weight: 600; color: var(--navy); margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pd h3 i { color: var(--teal); }
.pd h3 small { font-size: .78rem; font-weight: 400; color: var(--text-muted); }
.pd-big { margin: 0; font-size: .95rem; color: var(--text); }
.pd-big strong { font-size: 1.9rem; font-weight: 300; color: var(--teal); margin-right: 4px; font-variant-numeric: tabular-nums; }
.pd-sub { margin: 0; font-size: .84rem; color: var(--text-muted); line-height: 1.5; }
.pd-pp { padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 6px; }
.pd-pp strong { color: var(--text); }
.pd-list { margin: 6px 0 4px; padding-left: 18px; display: grid; gap: 8px; font-size: .86rem; line-height: 1.45; }
.pd-list a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.pd-list a:hover, .pd-list a:focus-visible { color: var(--teal); text-decoration-color: currentColor; }
.pd-list small { display: block; color: var(--text-muted); font-size: .76rem; }
.pd-more { margin-top: auto; padding-top: 6px; font-size: .84rem; font-weight: 600; color: var(--teal); }
.pd-more:focus-visible, .pd-list a:focus-visible, .rd-next-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
/* Citation line under every number from an outside source (includes/sources.php cite()) */
.cite { margin: 6px 0 0; font-size: .76rem; line-height: 1.45; color: var(--text-muted); }
.cite a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.cite a:hover, .cite a:focus-visible { color: var(--teal); text-decoration-color: currentColor; }
.cite sup { font-weight: 700; }
.cite-list { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 4px; }
.cite-list .cite { margin: 0; }

/* Companies from free public records (includes/company-public.php): report page and company page */
.co-active { margin-top: 30px; }
/* Space below as well, on any page where another section follows the block (e.g. every /top-companies/<market> page).
   At the end of a report page tab it is the last thing in the tab, and the tab's own padding is enough. */
.co-active:not(:last-child) { margin-bottom: 34px; }
.co-active-h { margin: 0 0 4px; font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.co-active-lead { margin: 0 0 12px; font-size: .86rem; color: var(--text-muted); max-width: 760px; }
.co-ev { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.co-ev li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-weight: 500; }
.co-ev i { width: 16px; color: var(--teal); text-align: center; }
.co-ev a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.co-ev a:hover, .co-ev a:focus-visible { color: var(--teal); text-decoration-color: currentColor; }
.co-ev small { color: var(--text-muted); font-size: .74rem; font-weight: 400; }
.pd-sponsors-h { margin: 14px 0 6px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.pd-sponsors-h small { font-weight: 400; color: var(--text-muted); }
.pd-sponsors { margin: 0; padding-left: 20px; display: grid; gap: 3px; font-size: .84rem; }
.pd-sponsors a { color: var(--text); }
.pd-sponsors a:hover, .pd-sponsors a:focus-visible { color: var(--teal); }
.pd-sponsor-n { margin-left: 6px; font-size: .76rem; color: var(--text-muted) !important; }
.co-facts dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 18px; margin: 10px 0 0; }
.co-facts dt { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.co-facts dd { margin: 2px 0 0; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.co-chart { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding: 8px 0 0; }
.co-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.co-bar-stack { display: flex; flex-direction: column-reverse; width: 100%; max-width: 44px; min-height: 2px; border-radius: 6px 6px 0 0; overflow: hidden; }
.co-bar-stack i { display: block; min-height: 2px; }
.co-bar-n { font-size: .7rem; color: var(--text-muted); margin-bottom: 3px; }
.co-bar-y { font-size: .7rem; color: var(--text-muted); margin-top: 4px; }
.co-p1 { background: #7FC8E8; } .co-p2 { background: #1A5FA8; } .co-p3 { background: #0D9B8A; } .co-p4 { background: #7C5CC4; } .co-other { background: #C9D3DF; }
.co-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .78rem; color: var(--text-muted); }
.co-key i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
@media (max-width: 640px) { .co-bar-n { display: none; } .co-bar-y { font-size: .6rem; writing-mode: vertical-rl; transform: rotate(180deg); } }
html[data-theme="dark"] .co-active-h, html[data-theme="dark"] .pd-sponsors-h { color: var(--text); }
.pd-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.pd-table caption { text-align: left; font-size: .8rem; color: var(--text-muted); margin-bottom: 6px; }
.pd-table th, .pd-table td { padding: 5px 4px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.pd-table thead th { font-size: .74rem; color: var(--text-muted); }
.pd-table td { font-variant-numeric: tabular-nums; }
.pd-sources { margin: 14px 0 0; font-size: .78rem; color: var(--text-muted); line-height: 1.55; }
.pd-sources a { color: var(--teal); text-decoration: underline; }   /* a link inside a sentence shows by more than its colour */

/* What next: sample, consult, public data (same look as the dashboard's next-step cards) */
.rd-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.rd-next-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--white); color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.rd-next-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,31,58,.08); color: var(--text); }
.rd-next-ic { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: var(--teal); background: rgba(13,155,138,.12); }
.rd-next-card strong { font-size: 1rem; font-weight: 600; color: var(--navy); }
.rd-next-text { font-size: .84rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.rd-next-go { margin-top: 4px; font-size: .84rem; font-weight: 600; color: var(--teal); }
@media (max-width: 900px) { .rd-next { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .rd-next-card { transition: none; transform: none !important; } }
html[data-theme="dark"] .pd { background: #0D1726; }
html[data-theme="dark"] .pd-card, html[data-theme="dark"] .pd-papers, html[data-theme="dark"] .rd-next-card { background: #0F1A2B; }
/* Report page: "Updated <month year>" under the title, and the questions block (includes/report-faq.php) */
.rd-updated { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 10px 0 0; font-size: .9rem; color: rgba(255,255,255,.78); }
.rd-updated i { margin-right: 6px; color: var(--teal-light, #2DD4BF); }
/* Who reviewed the report (tbl_report_reviewers): round face, name linked to the team on the About page */
.rd-reviewer { display: inline-flex; align-items: center; gap: 8px; }
.rd-reviewer img { flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.2); }
.rd-reviewer a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.rd-reviewer a:hover, .rd-reviewer a:focus-visible { color: #fff; text-decoration-color: currentColor; }
/* The same reviewer in the Report Details box (sidebar): small round face, name linked to the team */
.rd-det-rv { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.rd-det-rv img { flex: none; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.rd-det-rv:hover, .rd-det-rv:focus-visible { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Key Players tab: the link to the market's top companies page (pages/top-companies.php) */
.rd-tc-link { margin: 0 0 14px; font-size: .95rem; font-weight: 600; }
.rd-tc-link a { color: var(--teal); }
.rd-tc-link a:hover, .rd-tc-link a:focus-visible { text-decoration: underline; }
/* "Report snapshot" and the chart picture inside the Summary (includes/report-snapshot.php) */
.rc-body .rd-snap { margin: 6px 0 26px; }
.rd-snap-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.rd-snap-table th, .rd-snap-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.5; }
.rd-snap-table tr:last-child th, .rd-snap-table tr:last-child td { border-bottom: 0; }
.rd-snap-table th { width: 34%; font-weight: 600; color: var(--navy); background: var(--off-white); }
.rd-snap-table tr:first-child th { border-top-left-radius: var(--radius); }
.rd-snap-table tr:last-child th { border-bottom-left-radius: var(--radius); }
.rd-snap-table .cite { display: block; margin-top: 4px; font-size: .86rem; }
.rd-est { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; border: 1px solid #FEDF89; background: #FFFAEB; color: #93370D; font-size: .88rem; font-weight: 600; line-height: 1.5; }
.rd-muted { color: var(--text-muted); }
.rd-snap-note { margin: 10px 0 0; font-size: .9rem; color: var(--text-muted); }
.rd-snap-note i { margin-right: 4px; color: #B54708; }
.rc-body .rd-fig { margin: 18px 0 26px; }
.rd-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.rd-fig figcaption { margin-top: 8px; font-size: .9rem; color: var(--text-muted); }
html[data-theme="dark"] .rd-snap-table { background: #0F1A2B; }
html[data-theme="dark"] .rd-snap-table th { background: #0D1726; color: var(--text); }
html[data-theme="dark"] .rd-est { border-color: rgba(254,200,75,.4); background: rgba(254,200,75,.12); color: #FEC84B; }
html[data-theme="dark"] .rd-snap-note i { color: #FEC84B; }
.rd-faq { margin: 36px 0 0; padding: 24px; background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--text); scroll-margin-top: 90px; }
.rd-faq-list { margin: 0; }
.rd-faq-list > div { padding: 14px 0; border-top: 1px solid var(--line); }
.rd-faq-list > div:first-child { padding-top: 2px; border-top: 0; }
.rd-faq-list dt { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--navy); }
.rd-faq-list dd { margin: 4px 0 0; line-height: 1.6; }
.rd-faq-list .cite { display: block; margin-top: 4px; font-size: .86rem; }
html[data-theme="dark"] .rd-faq { background: #0D1726; }
html[data-theme="dark"] .rd-faq-list dt { color: var(--text); }
html[data-theme="dark"] .pd h3, html[data-theme="dark"] .rd-next-card strong { color: var(--text); }

/* Insights hub: menu headings jump to these groups; keep them clear of the fixed bar */
#research, #data, #help { scroll-margin-top: 80px; }
.ab-next.ab-next-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
@media (max-width: 900px) { .ab-next.ab-next-2 { grid-template-columns: 1fr; } }
/* Reports banner: counters that open Markets by country / Companies */
.stat-link { display: flex; flex-direction: column; align-items: center; padding: 2px 14px; color: inherit; text-decoration: none; border-radius: 10px; transition: background .15s; }
.stat-link:hover, .stat-link:focus-visible { background: rgba(255,255,255,.06); color: inherit; }
.stat-link .stat-lbl .fa-arrow-right { font-size: .7rem; margin-left: 4px; opacity: .6; transition: transform .15s, opacity .15s; }
.stat-link:hover .stat-lbl .fa-arrow-right, .stat-link:focus-visible .stat-lbl .fa-arrow-right { transform: translateX(3px); opacity: 1; color: var(--teal-light); }
@media (prefers-reduced-motion: reduce) { .stat-link, .stat-link .fa-arrow-right { transition: none; } }

/* ═══ Home: "Our expertise" — Public Health and Health Care carousels side by side (index.php) ═══ */
.xp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.xp-col { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.xp-ph { border-top: 3px solid var(--teal); }
.xp-hc { border-top: 3px solid var(--blue); }
.xp-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.xp-top-text { flex: 1; min-width: 0; }
.xp-top h3 { font-size: 1.2rem; margin: 0 0 2px; }
.xp-top h3 a { color: var(--navy); }
.xp-top h3 a:hover, .xp-top h3 a:focus-visible { color: var(--teal); }
.xp-top p { margin: 0; font-size: .9rem; color: var(--text-muted); }
.xp-top .slider-controls { flex: none; }
.xp-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.xp-ph .xp-icon { background: rgba(13,155,138,.1); color: var(--teal); }
.xp-hc .xp-icon { background: rgba(26,95,168,.1); color: var(--blue); }
/* Two cards per column on wide screens (a narrower column than the old full-width slider) */
.slider.xp-slider { grid-auto-columns: calc((100% - 24px) / 2); }
.xp-slider .offer-body { padding: 18px; }
.xp-slider .offer-body h4 { font-family: var(--font-sans); font-weight: 400; font-size: 1.08rem; line-height: 1.25; color: var(--white); margin: 0; }
.xp-top .xp-all { flex: none; margin: 0; font-size: .88rem; }
/* Bottom row: Prev (left) · dots · Next (right) — small text pills, no arrows */
.xp-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.slider-btn.xp-step { width: auto; height: auto; padding: 7px 16px; border-radius: 50px; font: inherit; font-size: .82rem; font-weight: 500;
  letter-spacing: .02em; color: var(--navy); background: transparent; border: 1px solid var(--line); }
.slider-btn.xp-step:hover, .slider-btn.xp-step:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }
.xp-dots { display: flex; gap: 6px; }
.xp-dots i { width: 6px; height: 6px; border-radius: 50px; background: var(--line); transition: width .25s, background .25s; }
.xp-ph .xp-dots i.on { width: 20px; background: var(--teal); }
.xp-hc .xp-dots i.on { width: 20px; background: var(--blue); }
@media (prefers-reduced-motion: reduce) { .xp-dots i { transition: none; } }
html[data-theme="dark"] .slider-btn.xp-step { color: #E6EDF6; border-color: rgba(255,255,255,.18); }
html[data-theme="dark"] .slider-btn.xp-step:hover { background: var(--teal); border-color: var(--teal); }
@media (max-width: 1100px) { .xp-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .slider.xp-slider { grid-auto-columns: 80%; } .xp-top { flex-wrap: wrap; } }
html[data-theme="dark"] .xp-col { background: #0F1A2B; }

/* Home: coverage map now sits inside the Research Library band */
.lib-cov-head { text-align: center; margin: 64px auto 28px; max-width: 720px; }
.lib-cov-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--navy); margin: 0 0 8px; }
.lib-cov-head p { color: var(--text-muted); margin: 0; }
/* Home: companies strip now closes the Research Library band */
.band-lib .tracked { margin-top: 56px; padding-top: 32px; }
.tracked-title a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* ═══ Home: each band gets its own background: light gradients in different tints, with dark bands between ═══
   Banner (dark) → Expertise (soft glow) → Research Library (white-to-cool-grey) → Dashboard (dark)
   → Insights (soft glow) → Trusted by (white-to-cool-grey) → Consult us (dark). Only brand teal and blue tints.
   No dividing lines: the change of background marks each band. */
.band-xp   { background: radial-gradient(ellipse 60% 70% at 100% 0%, rgba(13,155,138,.07), transparent 60%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(26,95,168,.06), transparent 60%), #F8FAFC; }
.band-lib  { background: linear-gradient(180deg, #FFFFFF 0%, #EEF3F9 100%); }
.band-blog { background: radial-gradient(ellipse 55% 70% at 0% 0%, rgba(26,95,168,.06), transparent 60%), radial-gradient(ellipse 50% 60% at 100% 100%, rgba(13,155,138,.05), transparent 60%), #F8FAFC; }
.trust     { background: linear-gradient(180deg, #FFFFFF 0%, #EEF3F9 100%); }
.trust::before { opacity: .55; }
/* Dark theme: same rhythm in dark shades */
html[data-theme="dark"] body .band-xp   { background: linear-gradient(180deg, #0C1D2B 0%, #0B1424 100%); }
html[data-theme="dark"] body .band-lib  { background: linear-gradient(180deg, #0D1830 0%, #0B1424 100%); }
html[data-theme="dark"] body .band-blog { background: linear-gradient(180deg, #13182A 0%, #0F1A2B 100%); }
html[data-theme="dark"] body .trust     { background: linear-gradient(135deg, #0B1424 0%, #0E1E33 55%, #0D2A2A 100%); }

/* ═══ Home: tighter spacing (about a third less empty space between and inside sections) ═══ */
.home-band.section, .trust.section, .pg-teaser.section { padding: 60px 0; }
.cta-banner { padding: 60px 0; }
.home-band .care-head { margin-bottom: 26px; }
.home-band .slider-head { margin-bottom: 24px; }
.lib-cov-head { margin: 44px auto 22px; }
.band-lib .tracked { margin-top: 40px; padding-top: 24px; }
@media (max-width: 720px) { .home-band.section, .trust.section, .pg-teaser.section, .cta-banner { padding: 44px 0; } }

/* ═══ Home: "Why Acuitas" — a short dark band between Expertise and the Research Library ═══ */
.band-why { position: relative; overflow: hidden; color: #fff; padding: 44px 0;
  background: radial-gradient(700px 300px at 90% 0%, rgba(13,155,138,.22), transparent 60%),
              linear-gradient(135deg, var(--ink, #061226) 0%, #0B1F3A 60%, #0E2A44 100%); }
.why-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.why-title { font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; margin: 0; }
.why-more { color: #3FD3BF; font-size: .9rem; font-weight: 500; }
.why-more:hover, .why-more:focus-visible { color: #fff; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.why-list li { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.why-icon { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; align-items: center; justify-content: center;
  background: rgba(63,211,191,.14); color: #3FD3BF; margin-bottom: 12px; }
.why-list h3 { font-size: .95rem; line-height: 1.3; color: #fff; margin: 0 0 6px; }
.why-list p { font-size: .82rem; line-height: 1.55; color: #B9C6D6; margin: 0; }
@media (max-width: 1100px) { .why-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .why-list { grid-template-columns: 1fr 1fr; } .why-list li { padding: 14px; } }

/* ═══ Home: "Biggest markets" — one card per field, between the Research Library and the Dashboard ═══ */
.band-big { padding: 48px 0;
  background: radial-gradient(ellipse 50% 80% at 100% 0%, rgba(26,95,168,.06), transparent 60%), #F8FAFC; }
.big-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.big-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--navy); margin: 4px 0 0; }
.big-note { margin: 0; font-size: .84rem; color: var(--text-muted); }
.big-note a { color: var(--blue); }
.big-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.big-card { display: flex; flex-direction: column; height: 100%; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.big-card:hover, .big-card:focus-visible { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.big-cat { font-size: .74rem; color: var(--teal); font-weight: 500; margin-bottom: 6px; }
.big-name { font-size: .92rem; line-height: 1.35; color: var(--navy); flex: 1; margin-bottom: 12px; }
.big-val { font-size: 1.5rem; font-weight: 400; color: var(--navy); letter-spacing: -.01em; }
.big-meta { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.big-meta b { color: var(--teal); font-weight: 500; }
@media (max-width: 1100px) { .big-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .big-list { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .big-card { transition: none; } .big-card:hover { transform: none; } }
html[data-theme="dark"] body .band-big { background: linear-gradient(180deg, #0D1830 0%, #0B1424 100%); }
html[data-theme="dark"] .big-card { background: #0F1A2B; }

/* Section labels sit right on top of their heading. As inline boxes they were padded by a full line
   of body text above the heading; as their own line they take only their own height. All pages. */
.section-label { display: flex; width: fit-content; line-height: 1.3; margin-bottom: 6px; }
.text-center .section-label { margin-left: auto; margin-right: auto; }
.section-label + .offer-title, .section-label + .section-title, .section-label + h1, .section-label + h2 { margin-top: 0; }
/* Report page: "<place> at a glance" facts (World Bank) */
.pd-facts { margin: 4px 0 0; display: grid; gap: 0; }
.pd-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.pd-facts dt a { color: var(--text); }
.pd-facts dt a:hover, .pd-facts dt a:focus-visible { color: var(--teal); }
.pd-facts dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); }
.pd-facts dd small { display: block; font-weight: 400; font-size: .72rem; color: var(--text-muted); }

/* Newsletter unsubscribe page (pages/unsubscribe.php) */
.unsub-card { max-width: 620px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.unsub-card p { margin: 0 0 16px; color: var(--text); line-height: 1.7; }
.unsub-card form { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 20px; }
.unsub-card .unsub-more { margin: 8px 0 0; font-size: .9rem; color: var(--text-muted); }
html[data-theme="dark"] .unsub-card { background: #0F1A2B; }

/* "Keep me posted" box above each form's send button (form_consent_box() in includes/forms.php) */
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 16px; font-size: .86rem; line-height: 1.5; color: var(--text-muted); cursor: pointer; }
.form-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); cursor: pointer; }
.form-consent:hover span { color: var(--text); }

/* Dropdowns in every form (order country, contact topic, careers): our own arrow, 16px in from the right edge like the
   text, the same in every browser and in both themes (dark.css only changes the background colour) */
.form-group select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237186A1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }

/* ═══ Blog post (pages/blog-detail.php): date / reading time / writer, contents list, "Go deeper" links ═══ */
.bd-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: .84rem; color: rgba(255,255,255,.62); }
.bd-meta i { margin-right: 5px; color: #3FD3BF; }
.blog-body h2, .blog-body h3 { scroll-margin-top: 90px; }
.blog-body h2 { font-size: 1.45rem; line-height: 1.3; }
.blog-body h3 { font-size: 1.12rem; line-height: 1.35; }
.bd-toc { margin: 0 0 32px; padding: 20px 24px; background: var(--off-white); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 12px; }
.bd-toc-title { margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.bd-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.bd-toc a { color: var(--navy); font-size: .93rem; }
.bd-toc a:hover, .bd-toc a:focus-visible { color: var(--teal); }
.bd-deeper { margin: 40px 0 0; }
.bd-deeper-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bd-deeper-links a { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text-muted); font-size: .82rem; line-height: 1.45; transition: border-color .15s, box-shadow .15s; }
.bd-deeper-links a:hover, .bd-deeper-links a:focus-visible { border-color: var(--teal); box-shadow: var(--shadow); }
.bd-deeper-links i { color: var(--teal); margin-top: 3px; }
.bd-deeper-links strong { display: block; color: var(--navy); font-size: .9rem; font-weight: 500; margin-bottom: 2px; }
@media (max-width: 900px) { .bd-deeper-links { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .bd-deeper-links a { transition: none; } }
html[data-theme="dark"] .bd-toc { background: #0F1A2B; }
html[data-theme="dark"] .bd-deeper-links a { background: #0F1A2B; }
/* ═══ Blog post text (pages/blog-detail.php): one look for every post ═══
   Lines kept to about 70 characters, real bullets, the same spacing for every heading level, readable tables. */
.blog-body { color: var(--text); font-size: 1.02rem; line-height: 1.6; }
.blog-body > :is(p, ul, ol, h2, h3, h4, blockquote) { max-width: 70ch; }
.blog-body p { margin: 0 0 1em; }
/* Three clear heading steps: big + bold + line under (h2), medium bold teal (h3), small bold (h4) */
/* Same look as report text (.rc-body): teal section headings, navy bold sub headings */
/* Blog hierarchy: page h1 is white; article h2 is teal; article h3 and h4 are navy. */
.blog-body h2 { margin: 30px 0 8px; font-size: 1.3rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--teal); }
.blog-body h3 { margin: 24px 0 7px; font-size: 1.18rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--navy); }
.blog-body h4 { margin: 18px 0 6px; font-size: 1.02rem; font-weight: 700; line-height: 1.3; color: var(--navy); }
.blog-body :is(h2, h3, h4) { font-family: var(--font-serif); }
.blog-body strong { color: var(--navy); }
.blog-body img { margin: 20px 0; }
.blog-body tr:hover td { background: var(--off-white); }
html[data-theme="dark"] .blog-body strong { color: var(--text); }
.blog-body h2 + h3, .blog-body h3 + h4 { margin-top: .6em; }
.blog-body ul, .blog-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.blog-body ul { list-style: disc; }
.blog-body ol { list-style: decimal; }
.blog-body li { margin: 0 0 .4em; padding-left: .2em; }
.blog-body li::marker { color: var(--teal); }
.blog-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.blog-body blockquote { margin: 1.4em 0; padding: .4em 0 .4em 1.1em; border-left: 3px solid var(--teal); color: var(--text-muted); font-style: italic; }
.blog-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .92rem; line-height: 1.5; }
.blog-body th { background: var(--navy); color: #fff; text-align: left; font-weight: 600; padding: 10px 12px; }
.blog-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.blog-body img { max-width: 100%; height: auto; border-radius: 10px; }
.blog-body .blog-shot { max-width: 100%; margin: 1.5em 0 2em; }
.blog-body .blog-shot img { display: block; width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }   /* figures carry their own rounded shape */
.blog-body .blog-shot-narrow { max-width: 640px; }
.blog-body .blog-shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.blog-body .blog-shot-pair figcaption { grid-column: 1 / -1; }
@media (max-width: 600px) { .blog-body .blog-shot-pair { grid-template-columns: 1fr; } }
.blog-body .blog-shot figcaption { max-width: 70ch; margin-top: .65em; color: var(--text-muted); font-size: .86rem; line-height: 1.5; }
html[data-theme="dark"] .blog-body :is(h3, h4) { color: var(--text); }
html[data-theme="dark"] .blog-body h2 { color: #3FD3BF; }
html[data-theme="dark"] .blog-body th { background: #16243A; }
@media (max-width: 640px) { .blog-body { font-size: 1rem; } .blog-body table { font-size: .85rem; } }
/* Blog post page: text column + 300px sidebar; one column below 900px */
.bd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .bd-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 600px) { .blog-body table { display: block; max-width: 100%; overflow-x: auto; } }
.blog-body img { max-width: 100%; height: auto; }
.blog-body { overflow-wrap: anywhere; }   /* long source links break instead of pushing the page sideways */

/* Cookie choice: first-party analytics only. Hidden after Allow or No thanks. */
.cookie-box { position: fixed; z-index: 1200; left: 20px; right: 20px; bottom: 20px; max-width: 920px; margin: auto; display: flex; gap: 22px; align-items: center; justify-content: space-between; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--text); box-shadow: 0 16px 50px rgba(11,31,58,.22); }
.cookie-box[hidden] { display: none; }
.cookie-box strong { display: block; color: var(--navy); margin-bottom: 4px; }
.cookie-box p { margin: 0 0 4px; font-size: .9rem; line-height: 1.5; }
.cookie-box a { font-size: .82rem; }
.cookie-actions { display: flex; flex: none; gap: 8px; }
.footer-cookie-btn { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }
html[data-theme="dark"] .cookie-box { background: #152033; }
html[data-theme="dark"] .cookie-box strong { color: var(--text); }
@media (max-width: 700px) { .cookie-box { align-items: stretch; flex-direction: column; } .cookie-actions { display: grid; grid-template-columns: 1fr; } }

/* Report pages: the place compared, questions answered with public data, and topic data links (includes/report-public-text.php) */
.rpt-more h3 { margin: 18px 0 8px; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.rpt-more p { line-height: 1.6; margin: 0 0 8px; }
.rpt-more sup { font-size: .7em; color: var(--text-muted); }
.rpt-cmp { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 6px; line-height: 1.55; }
.rpt-faq { margin: 0; display: grid; gap: 10px; }
.rpt-faq dt { font-weight: 700; }
.rpt-faq dd { margin: 2px 0 0; line-height: 1.55; }
.rpt-more .tp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.rpt-more .tp-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; color: var(--text); background: var(--white); }
.rpt-more .tp-chips a:hover, .rpt-more .tp-chips a:focus-visible { border-color: var(--teal); color: var(--teal); }

/* ═══ Home hero (redesign 2026-11-13, index.php): a line of what we do, the tagline, four jobs (one per offering),
   two buttons, a short team line; on the right three views the visitor picks (Reports, Public data, Companies)
   and one search box for reports, companies, topics and countries. Nothing floats over the views. ═══ */
.hero-kicker { margin: 0 0 14px; font-size: .95rem; font-weight: 500; letter-spacing: .01em; color: #7FD8CC; }
.hero-kicker span { margin: 0 6px; color: rgba(255,255,255,.45); }
.hero-content .hero-title { margin-bottom: 26px; }
.hero-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; margin-bottom: 24px; position: relative; z-index: 2; }
.job { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; border-radius: 14px; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  transition: background .25s ease, border-color .25s ease, transform .25s cubic-bezier(.2,.8,.2,1); }
.job:hover, .job:focus-visible { color: #fff; background: rgba(255,255,255,.11); border-color: rgba(63,211,191,.55); transform: translateY(-2px); }
.job:focus-visible { outline: 2px solid #3FD3BF; outline-offset: 3px; }
.job-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }
.job-ph .job-icon { background: rgba(242,139,155,.16); color: #F7A8B4; }
.job-hc .job-icon { background: rgba(94,234,212,.15); color: #5EEAD4; }
.job-rp .job-icon { background: rgba(130,180,240,.16); color: #A3C8F5; }
.job-dt .job-icon { background: rgba(245,196,107,.15); color: #F5C46B; }
.job-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.job-text strong { font-size: 1.02rem; font-weight: 600; color: #fff; }
.job-text span { margin-top: 2px; font-size: .86rem; color: rgba(255,255,255,.72); }
.job-go { margin-left: auto; flex: none; font-size: .8rem; opacity: .55; transition: transform .25s ease, opacity .25s ease; }
.job:hover .job-go { transform: translateX(3px); opacity: 1; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; position: relative; z-index: 2; }
.hero-cta .btn-consult { background: var(--btn-teal); color: #fff; }
.hero-cta .btn-consult:hover { background: var(--btn-teal-hover); color: #fff; }
.hero-cta .btn i { margin-right: 2px; }
.hero-team { margin: 0; max-width: 600px; font-size: .92rem; line-height: 1.55; color: rgba(255,255,255,.72); position: relative; z-index: 2; }
.hero-team a { color: #7EE8D7; font-weight: 500; white-space: nowrap; }
.hero-team a:hover { color: #fff; }
.hero-team a i { margin-left: 4px; font-size: .74rem; }

/* Reports view: four worldwide reports. Row 1: category and region dots. Row 2: the market (the card's link,
   stretched over the card). Row 3: health topics (own links), free data icon, key company logos. */
.hr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; }
.hr-list { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.hr-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 6px; padding: 8px 12px; border-radius: 12px; color: #fff;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .2s ease, border-color .2s ease; }
.hr-card:hover, .hr-card:focus-within { background: rgba(255,255,255,.08); border-color: rgba(63,211,191,.45); }
.hr-cat { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
  border-radius: 7px; font-size: .74rem; color: #7FD8CC; background: rgba(63,211,191,.12); }   /* the category, named in its tooltip */
.hr-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; text-decoration: none; }
.hr-name::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }   /* the whole card opens the report */
.hr-name:hover, .hr-name:focus-visible { color: #fff; }
.hr-name:focus-visible { outline: none; }
.hr-card:has(.hr-name:focus-visible) { outline: 2px solid #3FD3BF; outline-offset: 2px; }
.hr-name strong { font-size: .95rem; font-weight: 500; line-height: 1.3; }
.hr-regions { flex: none; display: inline-flex; gap: 3px; }
.hr-regions i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.16); }
.hr-regions i.on { background: var(--rc); box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.hr-mid { display: flex; align-items: center; gap: 9px; }
.hr-low { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 24px; }
.hr-topics { position: relative; z-index: 1; display: flex; gap: 5px; min-width: 0; overflow: hidden; }
.hr-topics a.hr-free { flex: none; }
.hr-topics a { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 9px; border-radius: 999px;
  font-size: .8rem; color: rgba(255,255,255,.88); text-decoration: none; background: rgba(63,211,191,.12); border: 1px solid rgba(63,211,191,.28); }
.hr-topics a:first-child { flex-shrink: .3; }   /* the main topic keeps more of its name */
.hr-topics a i { font-size: .7rem; margin-right: 3px; color: #7FD8CC; }
.hr-topics a:hover, .hr-topics a:focus-visible { color: #fff; background: rgba(63,211,191,.24); }
.hr-free { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0 !important; border-radius: 50% !important;
  color: #82B4F0 !important; background: rgba(130,180,240,.12) !important; border: 1px solid rgba(130,180,240,.3) !important; text-decoration: none; }
.hr-free i { margin: 0 !important; color: inherit !important; font-size: .72rem !important; }
.hr-free:hover, .hr-free:focus-visible { color: #fff !important; background: rgba(130,180,240,.28) !important; }
.hr-cos { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; margin-left: auto; cursor: default; }   /* above the card link, so its names show on hover */
.hr-cos img { width: 24px; height: 24px; object-fit: contain; padding: 2px; border-radius: 50%; background: #fff; border: 2px solid #12233B;
  margin-left: -7px; filter: grayscale(1); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.hr-cos img:first-child { margin-left: 0; }
.hr-card:hover .hr-cos img, .hr-card:focus-within .hr-cos img { filter: none; opacity: 1; }   /* its companies light up */
.hr-cos small { margin-left: 5px; font-size: .8rem; color: rgba(255,255,255,.7); }
.hr-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 12px; font-size: .86rem; }
.hr-foot a { color: #A3C8F5; font-weight: 500; }
.hr-foot a:hover { color: #fff; }
.hr-foot i { font-size: .74rem; margin: 0 3px; }
/* Companies view: bars of the companies named in the most markets. Topics view: the same bars for topics. */
.hc-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; flex: 1; align-content: space-between; }
.hc-bars li { display: flex; align-items: center; gap: 6px; }
.hc-bars li > a:first-child { flex: 1; min-width: 0; display: grid; grid-template-columns: 22px minmax(0, 150px) 1fr 30px; align-items: center; gap: 8px;
  padding: 3px 6px; border-radius: 8px; color: #fff; text-decoration: none; }
.hc-bars li > a:first-child:hover, .hc-bars li > a:first-child:focus-visible { background: rgba(255,255,255,.07); color: #fff; }
.hc-bars img { width: 22px; height: 22px; object-fit: contain; padding: 2px; border-radius: 6px; background: #fff; }
.hc-bars li > a > i { justify-self: center; font-size: .8rem; color: #7FD8CC; }
.hc-ini { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px;
  font-size: .64rem; font-weight: 600; color: #0B1F3A; background: #fff; }
.hc-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .86rem; }
.hc-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.hc-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, #C99A3E, #F5C46B); }
.hc-tbars .hc-bar::before { background: linear-gradient(90deg, #0D9B8A, #3FD3BF); }
.hc-bars b { font-size: .86rem; font-weight: 500; text-align: right; color: rgba(255,255,255,.85); }
.hc-bars .hr-free-none { flex: none; width: 24px; }
.hero-reps .hp-live i { background: #3FD3BF; }
.hero-cos .hp-live i { background: #F5C46B; box-shadow: 0 0 0 4px rgba(245,196,107,.18); }
.hero-tops .hp-live i { background: #82B4F0; box-shadow: 0 0 0 4px rgba(130,180,240,.2); }

/* One search box with a choice of what to search in */
.hero-scope { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hero-scope button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .86rem; color: rgba(255,255,255,.8); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); }
.hero-scope button i { font-size: .74rem; color: #7FD8CC; }
.hero-scope button:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.hero-scope button[aria-pressed="true"] { color: #fff; background: rgba(63,211,191,.18); border-color: rgba(63,211,191,.55); }
.hero-scope button:focus-visible { outline: 2px solid #3FD3BF; outline-offset: 2px; }

/* Short screens (most laptops): tighter spacing, so the hero and its counter strip fit in one screen */
@media (min-width: 641px) and (max-height: 920px) {
  .hero > .container { padding-top: 12px; padding-bottom: 12px; }
  .hr-card { gap: 4px; padding: 7px 12px; }
  .hero-kicker { margin-bottom: 10px; }
  .hero .hero-content .hero-title { font-size: clamp(2.2rem, 3.9vw, 3.2rem); line-height: 1.12; margin-bottom: 18px; }
  .hero-jobs { gap: 10px; margin-bottom: 18px; }
  .job { padding: 11px 14px; }
  .hero-cta { margin-bottom: 14px; }
  .hero-switch { margin-bottom: 10px; }
  .hero-switch [role=tab] { padding: 6px 11px; }
  .hero-panel { padding: 16px 16px 12px; }
  .hp-head { margin-bottom: 8px; }
  .hr-list { gap: 6px; }
  .hr-foot { margin-top: 8px; }
  .hero .hero-strip { padding: 12px 0; }
  .hero .hero-strip .stat-num { font-size: 1.7rem; }
  .hero .hero-strip .stat-lbl { margin-top: 6px; }
}
/* Very short screens (1366 x 768 laptops): the parts that repeat a link elsewhere step aside. The search box still
   suggests reports, topics, countries and companies while typing; the jobs link to the same places as the footer. */
@media (min-width: 641px) and (max-height: 720px) {
  .hero-scope, .hero-reps .hr-foot, .hero-team { display: none; }
  .hero-panel-wrap { margin-bottom: 10px; }
  .hero-cta { margin-bottom: 0; }
}

/* Phones: one column. The search moves up under the jobs, and the views (tabs and panel) come last.
   Order: kicker, headline, jobs, search, buttons, team line, tabs, panel. */
@media (max-width: 640px) {
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-content, .hero-visual { display: contents; }
  .hero-kicker { order: 1; }
  .hero-content .hero-title { order: 2; }
  .hero-jobs { order: 3; }
  .hero-search { order: 4; }
  .hero-scope { order: 5; margin-bottom: 22px; }
  .hero-cta { order: 6; }
  .hero-team { order: 7; }
  .hero-switch { order: 8; margin: 26px auto 12px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .hero-switch::-webkit-scrollbar { display: none; }
  .hero-panel-wrap { order: 9; margin-bottom: 4px; }
}
@media (max-width: 440px) {
  .hero-switch [role=tab] { padding: 7px 9px; font-size: .84rem; }
  .hero-switch [role=tab] i { display: none; }   /* the four tab names fit one row */
  .hr-topics a:not(.hr-free) ~ a:not(.hr-free) { display: none; }   /* one topic per report card, so its name can be read */
}
@media (max-width: 560px) {
  .hero-jobs { grid-template-columns: 1fr; gap: 8px; }
  .job { padding: 11px 14px; }
  .hero-kicker { font-size: .88rem; }
  .hero-scope button { padding: 5px 10px; font-size: .8rem; }   /* the four choices fit one row on most phones */
  .hero-scope button i { display: none; }
}
@media (prefers-reduced-motion: reduce) { .job, .job-go, .hr-card, .hr-cos img { transition: none; } }

/* Missing page (pages/not-found.php): places to start, then a line to report a broken link */
.nf-title { font-size: 1.2rem; color: var(--navy); margin: 0 0 16px; }
.nf-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.nf-links a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 16px 15px; border-radius: 14px; text-decoration: none;
  background: var(--white); border: 1px solid var(--gray-100); color: var(--navy); }
.nf-links a:hover, .nf-links a:focus-visible { border-color: var(--teal); }
.nf-links a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.nf-links i { color: var(--teal); font-size: 1.1rem; margin-bottom: 6px; }
.nf-links strong { font-size: .98rem; font-weight: 600; }
.nf-links span { font-size: .86rem; color: var(--text-muted); }
.nf-note { margin-top: 26px; font-size: .95rem; color: var(--text-muted); }
.nf-note a { color: var(--teal); font-weight: 500; }
