/* Nigeria life decisions: payment recipients, timing and contract continuity. */
.ng-life h1 { max-width: 23ch; }
.ng-life-opening-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 48px; align-items: start; }
.ng-life-opening-grid > * { min-width: 0; }
.ng-life-opening-grid .lead { margin-top: 0; }
.ng-life-opening-grid .btn { display: inline-flex; min-height: 48px; align-items: center; margin: 0 0 12px; }
.ng-life-opening-side figure { margin: 0 0 24px; background: #f2f6fb; padding: 8px; border: 1px solid #c9d7e6; }
.ng-life-opening-side img { display: block; width: 100%; height: auto; }
.ng-life-opening-side figcaption { font-size: .82rem; line-height: 1.55; color: #465d73; padding: 8px 4px 3px; }
.ng-life-signposts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0; border-block: 1px solid #c8d7e8; padding: 14px 0; }
.ng-life-signposts span { display: inline-flex; gap: 7px; align-items: center; font-weight: 700; font-size: .88rem; }
.ng-life-signposts svg { width: 26px; height: 26px; fill: none; stroke: #164f86; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ng-life-four-lines { border-left: 3px solid #164f86; padding: 4px 0 4px 18px; }
.ng-life-four-lines h2 { font-size: 1.18rem; margin: 0; }
.ng-life-four-lines ol { padding-left: 24px; margin-block: 10px 0; }
.ng-life-four-lines li { padding: 4px 0 4px 3px; }
.ng-life-four-lines p { font-size: .9rem; margin-bottom: 0; color: #3b526a; }
.ng-life .edition-jumps { border-block: 1px solid #c9d7e6; padding-block: 8px; margin: 24px 0 34px; }
.ng-life .edition-jumps a { display: inline-flex; min-height: 44px; align-items: center; }
.ng-life #market-detail { background: #f6f9fc; border: 1px solid #d3e0ed; padding: 26px; }
.ng-life .ng-life-issuer-table { background: #fff; }
.ng-life-claim-route { border-top: 3px solid #164f86; background: #f3f7fc; padding: 22px; align-self: start; }
.ng-life-claim-route h3 { margin-top: 0; }
.ng-life-claim-route dl { margin: 0; }
.ng-life-claim-route dl > div { border-top: 1px solid #c6d8e8; padding: 12px 0; }
.ng-life-claim-route dt { font-weight: 700; }
.ng-life-claim-route dd { margin: 4px 0 0; line-height: 1.6; }
.ng-life-calendar { border-left: 4px solid #164f86; padding-left: 24px !important; }
.ng-life-cashflow-table td strong { display: block; font-size: 1.1em; }
.ng-life-calendar-reading { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; margin-top: 14px; }
.ng-life-budget { display: grid; grid-template-columns: 1.5fr 1fr; gap: 42px; }
.ng-life-quote-note { border-top: 3px solid #164f86; background: #f3f7fc; padding: 20px; align-self: start; }
.ng-life-quote-note h3 { margin-top: 0; }
.ng-life-quote-note dl { margin: 0; }
.ng-life-quote-note dl div { margin-block: 15px; }
.ng-life-quote-note dt { font-weight: 700; }
.ng-life-quote-note dd { margin: 4px 0 0; line-height: 1.7; }
.ng-life-quote-note p { font-size: .9rem; }
.ng-life-living-examples, .ng-life-payee-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.ng-life-living-examples article { border-top: 2px solid #bccfe2; }
.ng-life-living-examples a { display: inline-flex; min-height: 44px; align-items: center; }
.ng-life-payee { font-size: .85rem; color: #174f87; font-weight: 700; border-bottom: 2px solid #b8cfe6; padding: 10px 0; }
.ng-life-file { display: grid; grid-template-columns: 1.5fr 1fr; gap: 42px; align-items: start; }
.ng-life-handover { padding-left: 24px; }
.ng-life-handover li { padding: 4px 0 4px 10px; }
.ng-life-handover h3 { margin-bottom: 6px; }
.ng-life-handover p { margin-top: 0; }
.ng-life-source-check { max-width: 850px; }
.ng-life-closing { padding-top: 20px; border-top: 3px solid #164f86; }
@media (max-width: 750px) {
  .ng-life-opening-grid, .ng-life-calendar-reading, .ng-life-budget,
  .ng-life-living-examples, .ng-life-payee-columns, .ng-life-file { grid-template-columns: 1fr; gap: 22px; }
  .ng-life-four-lines { padding-left: 18px; }
  .ng-life-calendar { padding-left: 14px !important; }
  .ng-life-opening-side { max-width: 560px; }
  .ng-life #market-detail { padding: 18px; }
  .ng-life-issuer-table { overflow: visible; }
  .ng-life .ng-life-issuer-table table, .ng-life .ng-life-issuer-table caption { display: block; min-width: 0; width: 100%; }
  .ng-life-issuer-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ng-life-issuer-table tbody, .ng-life-issuer-table tr, .ng-life-issuer-table th, .ng-life-issuer-table td { display: block; width: 100%; min-width: 0; max-width: none; }
  .ng-life .ng-life-issuer-table tbody tr { border-top: 2px solid #b8cfe6; }
  .ng-life .ng-life-issuer-table tbody th { box-sizing: border-box; width: auto; min-width: 0; border-top: 0; border-left: 4px solid #164f86; background: #f1f6fc; }
  .ng-life-issuer-table tr + tr { margin-top: 18px; }
  .ng-life-issuer-table td::before { display: block; font-size: .875em; font-weight: 700; color: #355570; margin-bottom: 6px; }
  .ng-life-issuer-table td:nth-child(2)::before { content: "Public example"; }
  .ng-life-issuer-table td:nth-child(3)::before { content: "Accepted record to check"; }
  .ng-life-handover li { padding-left: 4px; }
  .ng-life .ng-life-design-table, .ng-life .ng-life-cashflow-table { min-width: 0; }
  .ng-life-design-table thead, .ng-life-cashflow-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ng-life-design-table tbody, .ng-life-design-table tr,
  .ng-life-cashflow-table tbody, .ng-life-cashflow-table tr { display: block; }
  .ng-life-design-table th, .ng-life-design-table td,
  .ng-life-cashflow-table th, .ng-life-cashflow-table td { display: block; width: 100%; min-width: 0; max-width: none; }
  .ng-life-design-table caption, .ng-life-cashflow-table caption { display: block; }
  .ng-life .ng-life-design-table tbody th, .ng-life .ng-life-cashflow-table tbody th { position: static; width: 100%; max-width: none; border-top: 3px solid #b8cfe6; }
  .ng-life-design-table tr + tr, .ng-life-cashflow-table tr + tr { margin-top: 24px; }
  .ng-life-design-table td, .ng-life-cashflow-table td { border-top: 0; }
  .ng-life-design-table td::before, .ng-life-cashflow-table td::before { display: block; font-size: .875em; font-weight: 700; color: #355570; margin-bottom: 6px; }
  .ng-life-design-table td:nth-child(2)::before { content: "Payment to identify"; }
  .ng-life-design-table td:nth-child(3)::before { content: "Useful for"; }
  .ng-life-design-table td:nth-child(4)::before { content: "Question that changes the choice"; }
  .ng-life-cashflow-table td:nth-child(2)::before { content: "Year 3"; }
  .ng-life-cashflow-table td:nth-child(3)::before { content: "Year 6"; }
  .ng-life-cashflow-table td:nth-child(4)::before { content: "Year 9"; }
  .ng-life-cashflow-table td:nth-child(5)::before { content: "Scheduled total"; }
}
