/* CIMA-market category drafts. The stylesheet supplies reading mechanics; the
   four country directories have independently authored page composition. */
.cm-category { max-width: 1120px; margin: 0 auto; padding: 24px 22px 74px; color: #25384a; }
.cm-category h1 { font-family: Georgia, serif; max-width: 18ch; font-size: clamp(2.35rem, 5vw, 4.45rem); line-height: 1.03; margin: 10px 0 18px; color: #173b59; }
.cm-category h2 { font-size: clamp(1.55rem, 2.5vw, 2.35rem); line-height: 1.12; color: #194b68; }
.cm-category h3 { color: #9a4b35; margin-bottom: 8px; }
.cm-category p, .cm-category li { line-height: 1.76; }
.cm-category .lead { max-width: 730px; font-size: 1.18rem; }
.cm-category .country-breadcrumb { display: flex; gap: 10px; font-size: .9rem; }
.cm-category a, .cm-category .country-breadcrumb a { color: #075fcb; }
.cm-opening { border-bottom: 1px solid #c4d0d8; padding: 12px 0 34px; }
.cm-opening-grid { display: grid; grid-template-columns: 1.42fr .8fr; gap: 42px; align-items: start; }
.cm-brief { background: #f8f2ed; border-left: 4px solid #a65a3f; padding: 19px 21px; }
.cm-brief h2 { font-size: 1.18rem; margin: 0 0 10px; }
.cm-brief p { margin: 0; font-size: .95rem; }
.cm-jumps { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 18px 0 4px; }
.cm-jumps a { display: inline-flex; align-items: center; min-height: 44px; }
.cm-section { margin-top: 60px; }
.cm-two { display: grid; grid-template-columns: 1.18fr .82fr; gap: 40px; align-items: start; }
.cm-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card { border-top: 3px solid #a65a3f; padding-top: 14px; }
.cm-card p { margin-top: 0; }
.cm-aside { padding: 21px; background: #f7f5ef; border: 1px solid #ddd7ca; }
.cm-aside ul, .cm-aside ol { padding-left: 22px; margin-bottom: 0; }
.cm-table-wrap { overflow-x: auto; margin-top: 20px; }
.cm-table-wrap table { width: 100%; min-width: 650px; border-collapse: collapse; }
.cm-table-wrap th, .cm-table-wrap td { border: 1px solid #c4d0d8; padding: 13px; text-align: left; vertical-align: top; }
.cm-table-wrap thead th { background: #f8ece7; }
.cm-table-wrap tbody th { background: #fafbf8; width: 23%; }
.cm-gap { background: #fff6e5; border-left: 4px solid #bd7900; padding: 17px 20px; margin-top: 22px; }
.cm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; counter-reset: cmstep; }
.cm-steps li { counter-increment: cmstep; border-top: 3px solid #a65a3f; padding-top: 12px; }
.cm-steps li::before { content: counter(cmstep, decimal-leading-zero); color: #a65a3f; font-size: .85rem; font-weight: 800; display: block; margin-bottom: 8px; }
.cm-steps p { margin-top: 0; }
.cm-faq { margin-top: 62px; }
.cm-faq details { border-top: 1px solid #c4d0d8; padding: 16px 0; }
.cm-faq details:last-child { border-bottom: 1px solid #c4d0d8; }
.cm-faq summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.cm-faq details p { max-width: 860px; margin: 12px 0 4px; }
.cm-close { border-top: 3px solid #a65a3f; padding-top: 18px; margin-top: 42px; }
@media (max-width: 760px) {
  .cm-category { padding-inline: 16px; }
  .cm-opening-grid, .cm-two { grid-template-columns: 1fr; gap: 22px; }
  .cm-three { grid-template-columns: 1fr; gap: 24px; }
  .cm-steps { grid-template-columns: 1fr 1fr; gap: 22px; }
  .cm-category h1 { max-width: 100%; font-size: clamp(2.2rem, 11vw, 3.6rem); }
  .cm-table-wrap table { min-width: 0; }
  .cm-table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cm-table-wrap tbody, .cm-table-wrap tr, .cm-table-wrap th, .cm-table-wrap td { display: block; width: auto; }
  .cm-table-wrap tr + tr { margin-top: 20px; }
  .cm-table-wrap tbody th { width: auto; border-bottom: 0; }
  .cm-table-wrap td { border-top: 0; }
  .cm-table-wrap td::before { display: block; font-size: .82rem; font-weight: 700; color: #355570; margin-bottom: 5px; }
  .cm-car-table td:nth-child(2)::before { content: "What to check"; }
  .cm-car-table td:nth-child(3)::before { content: "Question"; }
  .cm-health-table td:nth-child(2)::before { content: "Verify"; }
  .cm-health-table td:nth-child(3)::before { content: "Keep"; }
  .cm-life-table td:nth-child(2)::before { content: "Payment"; }
  .cm-life-table td:nth-child(3)::before { content: "Decision"; }
  .cm-funeral-table td:nth-child(2)::before { content: "Confirm"; }
  .cm-funeral-table td:nth-child(3)::before { content: "Consequence"; }
}
@media (max-width: 430px) { .cm-steps { grid-template-columns: 1fr; } .cm-brief { padding: 16px; } }
.cm-shortlist { padding-top: 34px; border-top: 1px solid #c4d0d8; }
.cm-shortlist-head { max-width: 820px; }
.cm-shortlist-head p:last-child { margin-bottom: 0; }
.cm-shortlist .country-catalogue { margin-top: 2rem; }
.cm-research-note { margin-top: 24px; }
.zm-health-stages { margin: 1.25rem 0; }
.zm-health-stages > div { border-top: 1px solid #c4d0d8; padding: 1rem 0; }
.zm-health-stages dt { font-weight: 750; color: #173b59; }
.zm-health-stages dd { margin: .5rem 0 0; line-height: 1.76; }
.zm-health #private-care th a { display: inline-flex; align-items: center; min-height: 44px; }

/* Zambia life: recipient, document version and claim task stay legible before
   and beside the retained private research comparison. */
.zm-life h1 { max-width: none; font-size: clamp(2.2rem, 4.3vw, 3.8rem); }
.zm-life .zm-life-start { display: inline-flex; align-items: center; min-height: 44px; }
.zm-life .cm-opening-grid { margin-top: 20px; grid-template-columns: minmax(0,1.25fr) minmax(240px,.75fr); gap: 30px; }
.zm-life .zm-life-evidence { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.zm-life .zm-life-visual { margin: 0; border: 1px solid #c4d0d8; background: #f5f8fc; }
.zm-life .zm-life-visual a, .zm-life .zm-life-visual img { display: block; }
.zm-life .zm-life-visual img { width: 100%; height: auto; }
.zm-life .zm-life-visual figcaption { padding: 10px 12px; font-size: .78rem; line-height: 1.5; }
.zm-life .cm-table-wrap caption { display: table-caption; text-align: left; font-weight: 750; padding: 13px; background: #edf3fc; color: #173b59; }
.zm-life .cm-table-wrap table { table-layout: fixed; overflow-wrap: anywhere; }
.zm-life .catalogue-dialog tbody th { min-width: 10em; max-width: none; }
.zm-life .zm-life-access-note { grid-column: 1 / -1; }
.zm-life .cm-jumps a:focus-visible, .zm-life [tabindex="0"]:focus-visible { outline: 3px solid #075fcb; outline-offset: 3px; }
@media (max-width: 760px) {
  .zm-life .cm-opening-grid { grid-template-columns: minmax(0,1fr); }
  .zm-life .cm-table-wrap table, .zm-life .cm-table-wrap caption,
  .zm-life .cm-table-wrap tbody, .zm-life .cm-table-wrap tr,
  .zm-life .cm-table-wrap th, .zm-life .cm-table-wrap td { display: block; width: auto; min-width: 0; }
  .zm-life .cm-table-wrap caption { border: 1px solid #c4d0d8; }
  .zm-life .cm-table-wrap td[data-label]::before,
  .zm-life #market-detail .cm-table-wrap tbody td[data-label]::before { content: attr(data-label); }
}

/* Zambia funeral: a usable first call, then relative-specific promises and
   document checks. Labels retain each table's actual column meaning. */
.zm-funeral .country-breadcrumb { flex-wrap: wrap; }
.zm-funeral .country-breadcrumb a { white-space: nowrap; }
.zm-funeral h1 { max-width: none; font-size: clamp(2.2rem, 4.3vw, 3.8rem); }
.zm-funeral .zm-funeral-start { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.zm-funeral .cm-opening-grid { margin-top: 20px; grid-template-columns: minmax(0,1.25fr) minmax(240px,.75fr); gap: 30px; }
.zm-funeral .zm-funeral-evidence { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.zm-funeral .zm-funeral-visual { margin: 0; border: 1px solid #c4d0d8; background: #f5f8fc; }
.zm-funeral .zm-funeral-visual a, .zm-funeral .zm-funeral-visual img { display: block; }
.zm-funeral .zm-funeral-visual img { width: 100%; height: auto; }
.zm-funeral .zm-funeral-visual figcaption { padding: 10px 12px; font-size: .78rem; line-height: 1.5; }
.zm-funeral .cm-table-wrap caption { display: table-caption; text-align: left; font-weight: 750; padding: 13px; background: #edf3fc; color: #173b59; }
.zm-funeral .cm-table-wrap table { table-layout: fixed; overflow-wrap: anywhere; }
.zm-funeral .catalogue-dialog tbody th { min-width: 10em; max-width: none; }
.zm-funeral .cm-jumps a:focus-visible, .zm-funeral [tabindex="0"]:focus-visible { outline: 3px solid #075fcb; outline-offset: 3px; }
@media (max-width: 760px) {
  .zm-funeral .cm-opening-grid { grid-template-columns: minmax(0,1fr); }
  .zm-funeral .cm-table-wrap table, .zm-funeral .cm-table-wrap caption,
  .zm-funeral .cm-table-wrap tbody, .zm-funeral .cm-table-wrap tr,
  .zm-funeral .cm-table-wrap th, .zm-funeral .cm-table-wrap td { display: block; width: auto; min-width: 0; }
  .zm-funeral .cm-table-wrap caption { border: 1px solid #c4d0d8; }
  .zm-funeral .cm-table-wrap td[data-label]::before,
  .zm-funeral #market-detail .cm-table-wrap tbody td[data-label]::before { content: attr(data-label); }
  .zm-funeral .ex-detail-grid { grid-template-columns: 1fr; }
}

/* Zambia's care routes use different column meanings from the shared
   category-draft table; keep each mobile label tied to its own decision. */
.zm-health .country-breadcrumb { flex-wrap: wrap; }
.zm-health .country-breadcrumb a { white-space: nowrap; }
.zm-health h1 { max-width: none; font-size: clamp(2.2rem, 4.3vw, 3.8rem); }
.zm-health .zm-health-start { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 4px; padding: 10px 16px; border-radius: 5px; background: #075fcb; color: #fff; font-weight: 700; text-decoration: none; }
.zm-health .zm-health-start:hover, .zm-health .zm-health-start:focus-visible { background: #034da9; color: #fff; }
.zm-health .cm-opening-grid { margin-top: 20px; grid-template-columns: minmax(0,1.25fr) minmax(240px,.75fr); gap: 30px; }
.zm-health .zm-health-status { font-size: .88rem; color: #4b6074; }
.zm-health .zm-health-visual { margin: 0; border: 1px solid #c4d0d8; background: #f5f8fc; }
.zm-health .zm-health-visual a, .zm-health .zm-health-visual img { display: block; }
.zm-health .zm-health-visual img { width: 100%; height: auto; }
.zm-health .zm-health-visual figcaption { padding: 10px 12px; font-size: .78rem; line-height: 1.5; }
.zm-health .cm-table-wrap caption { display: table-caption; text-align: left; font-weight: 750; padding: 13px; background: #edf3fc; color: #173b59; }
.zm-health .cm-table-wrap table { table-layout: fixed; overflow-wrap: anywhere; }
.zm-health .cm-jumps a:focus-visible, .zm-health [tabindex="0"]:focus-visible { outline: 3px solid #075fcb; outline-offset: 3px; }
@media (max-width: 760px) {
  .zm-health .cm-opening-grid { grid-template-columns: minmax(0,1fr); }
  .zm-health .cm-table-wrap table, .zm-health .cm-table-wrap caption,
  .zm-health .cm-table-wrap tbody, .zm-health .cm-table-wrap tr,
  .zm-health .cm-table-wrap th, .zm-health .cm-table-wrap td { display: block; width: auto; min-width: 0; }
  .zm-health .cm-table-wrap caption { border: 1px solid #c4d0d8; }
  .zm-health .cm-table-wrap td[data-label]::before { content: attr(data-label); }
  .zm-health #market-detail .ex-table-wrap tbody td[data-label]::before { content: attr(data-label); }
}
.zm-health .cm-research-note { padding: 16px 20px; background: #f5fafb; border-left: 4px solid #2c8490; }
.zm-health .ex-market-detail .ex-table-wrap { max-width: 100%; overflow-x: auto; }
.zm-health .ex-market-detail table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: left; }
.zm-health .ex-market-detail th, .zm-health .ex-market-detail td { padding: 12px 14px; border-bottom: 1px solid #c7dce2; vertical-align: top; overflow-wrap: anywhere; }
.zm-health .ex-market-detail thead th { background: #e9f2f5; }
.zm-health .ex-market-detail tbody th { width: 20%; background: #fff; }
@media (max-width: 650px) {
  .zm-health h1 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  .zm-health #route .cm-health-table td:nth-child(2)::before { content: "What it can address"; }
  .zm-health #route .cm-health-table td:nth-child(3)::before { content: "First question"; }
  .zm-health #private-care .cm-health-table td:nth-child(2)::before { content: "Published distinction"; }
  .zm-health #private-care .cm-health-table td:nth-child(3)::before { content: "Document to request"; }
  .zm-health #bill .cm-health-table td:nth-child(2)::before { content: "What can fail"; }
  .zm-health #bill .cm-health-table td:nth-child(3)::before { content: "Record to keep"; }
  .zm-health .ex-market-detail table { table-layout: auto; }
  .zm-health .ex-market-detail tbody, .zm-health .ex-market-detail tr, .zm-health .ex-market-detail th, .zm-health .ex-market-detail td { display: block; width: auto; }
  .zm-health .ex-market-detail tr + tr { margin-top: 16px; }
  .zm-health .ex-market-detail tbody th { width: auto; border: 1px solid #c7dce2; border-bottom: 0; }
  .zm-health .ex-market-detail td { border: 1px solid #c7dce2; border-top: 0; background: #fff; }
  .zm-health .ex-market-detail td::before { display: block; margin-bottom: 5px; color: #355570; font-size: .82rem; font-weight: 700; }
  .zm-health .ex-market-detail td:nth-child(2)::before { content: "What the source can establish"; }
  .zm-health .ex-market-detail td:nth-child(3)::before { content: "What the live record must answer"; }
}

/* Botswana life: independently authored needs-first desk, with table labels
   matching the three different decisions when column headers are stacked. */
.bw-life .country-breadcrumb { flex-wrap: wrap; }
.bw-life h1 { max-width: 20ch; font-size: clamp(2.15rem, 4.5vw, 3.8rem); overflow-wrap: anywhere; }
.bw-life .cm-opening { max-width: 920px; }
.bw-life .bw-life-start { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; margin: .45rem 0; padding: .65rem 1rem; border-radius: 5px; background: #075fcb; color: #fff; font-weight: 700; text-decoration: none; }
.bw-life .bw-life-start:hover, .bw-life .bw-life-start:focus-visible { background: #034da9; color: #fff; }
.bw-life .bw-life-status { max-width: 800px; margin: 1rem 0 0; padding-left: 1rem; border-left: 3px solid #bd7900; font-size: .92rem; }
.bw-life .bw-life-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.bw-life .bw-life-choices article { min-width: 0; border-top: 3px solid #075fcb; padding-top: .8rem; }
.bw-life .bw-life-choices article > span { display: block; color: #075fcb; font-weight: 800; }
.bw-life .bw-life-choices h3 { color: #173b59; }
.bw-life .bw-life-options { padding-top: 1.25rem; border-top: 1px solid #c4d0d8; }
.bw-life .bw-life-options > p { max-width: 900px; }
.bw-life .cm-table-wrap { max-width: 100%; }
.bw-life .cm-table-wrap table { table-layout: fixed; min-width: 0; }
.bw-life .cm-table-wrap th, .bw-life .cm-table-wrap td { overflow-wrap: anywhere; }
.bw-life .cm-table-wrap caption { caption-side: top; text-align: left; font-weight: 700; color: #173b59; padding: .75rem 0; }
.bw-life .cm-table-wrap thead th { background: #eaf2f9; color: #173b59; }
.bw-life .cm-table-wrap tbody th { background: #f9fbfd; width: 28%; }
.bw-life .bw-life-table-summary { max-width: 850px; font-size: .94rem; }
.bw-life .bw-life-ledger { padding: 1.5rem; background: #f7fafc; border-left: 4px solid #075fcb; }
.bw-life .bw-life-ledger h2 { margin-top: .2rem; }
.bw-life .bw-life-list { padding-left: 1.4rem; }
.bw-life .bw-life-list li + li { margin-top: .75rem; }
.bw-life .bw-life-claim-note { padding: 1rem 1.25rem; background: #f7f5ef; }
.bw-life .cm-faq summary { min-height: 44px; }
@media (max-width: 900px) {
  .bw-life .bw-life-choices { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bw-life .cm-table-wrap tbody th { width: auto; }
  .bw-life .bw-life-option-table td:nth-child(2)::before { content: "Benefit job"; }
  .bw-life .bw-life-option-table td:nth-child(3)::before { content: "Decisive term"; }
  .bw-life .bw-life-terms-table td:nth-child(2)::before { content: "Published example"; }
  .bw-life .bw-life-terms-table td:nth-child(3)::before { content: "Request in writing"; }
  .bw-life .bw-life-ledger-table td:nth-child(2)::before { content: "Teaching amount"; }
  .bw-life .bw-life-ledger-table td:nth-child(3)::before { content: "Check before relying on it"; }
}
@media (max-width: 430px) {
  .bw-life h1 { font-size: clamp(1.85rem, 9vw, 2.8rem); }
  .bw-life .bw-life-start { max-width: 100%; }
  .bw-life .bw-life-ledger { padding: 1rem; }
}

/* Botswana funeral: distinct plan facts stay readable as labelled table cards
   at mobile widths; no provider/product logo is implied by shared artwork. */
.bw-funeral .country-breadcrumb { flex-wrap: wrap; }
.bw-funeral h1 { max-width: 19ch; font-size: clamp(2.1rem, 4.5vw, 3.8rem); overflow-wrap: anywhere; }
.bw-funeral .cm-opening { max-width: 930px; }
.bw-funeral .bw-funeral-start { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; margin: .35rem 0; padding: .65rem 1rem; border-radius: 5px; background: #075fcb; color: #fff; font-weight: 700; text-decoration: none; }
.bw-funeral .bw-funeral-start:hover, .bw-funeral .bw-funeral-start:focus-visible { background: #034da9; color: #fff; }
.bw-funeral .bw-funeral-status { max-width: 800px; margin: 1rem 0 0; padding-left: 1rem; border-left: 3px solid #bd7900; font-size: .92rem; }
.bw-funeral .cm-table-wrap { max-width: 100%; }
.bw-funeral .cm-table-wrap table { table-layout: fixed; min-width: 0; }
.bw-funeral .cm-table-wrap th, .bw-funeral .cm-table-wrap td { overflow-wrap: anywhere; }
.bw-funeral .cm-table-wrap caption { caption-side: top; text-align: left; font-weight: 700; color: #173b59; padding: .75rem 0; }
.bw-funeral .cm-table-wrap thead th { background: #eaf2f9; color: #173b59; }
.bw-funeral .cm-table-wrap tbody th { background: #f9fbfd; width: 27%; }
.bw-funeral .bw-funeral-table-summary { max-width: 850px; font-size: .94rem; }
.bw-funeral .cm-faq summary { min-height: 44px; }
@media (max-width: 760px) {
  .bw-funeral .cm-table-wrap tbody th { width: auto; }
  .bw-funeral .bw-funeral-plan-table td:nth-child(2)::before { content: "Published distinction"; }
  .bw-funeral .bw-funeral-plan-table td:nth-child(3)::before { content: "Confirm in issued terms"; }
  .bw-funeral #family-census .cm-funeral-table td:nth-child(2)::before { content: "Accepted record"; }
  .bw-funeral #family-census .cm-funeral-table td:nth-child(3)::before { content: "Keep separate"; }
  .bw-funeral .bw-funeral-timing-table td:nth-child(2)::before { content: "Published signal"; }
  .bw-funeral .bw-funeral-timing-table td:nth-child(3)::before { content: "Request in writing"; }
  .bw-funeral #promise .cm-funeral-table td:nth-child(2)::before { content: "Research route"; }
  .bw-funeral #promise .cm-funeral-table td:nth-child(3)::before { content: "Boundary"; }
}
@media (max-width: 430px) {
  .bw-funeral h1 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .bw-funeral .bw-funeral-start { max-width: 100%; }
}
