/* Site theme (2026-12-04, owner's request): one look for every page, in the site's own colours:
   red #D31145 (primary), light grey, white, and the dark colour #333D47 in a few places (the --t-navy names are kept
   from the first round; the colour itself is the site's own charcoal, owner 2026-12-04).
   - page heads (hero) are LIGHT: white into a faint red wash with thin red rings; the English name of the
     product is red, the rest of the title dark. (Owner, 2026-12-04: no dark or blue hero; white-red or red.)
   - white cards with a thin border and a soft layered shadow on a light grey or white ground;
   - calm headings in the dark colour, red kept for actions, markers, product names and prices;
   - the dark colour as a fill only for table heads, a few call boxes and the footer;
   - the premium calculator is a "quote slip" in strong colours: one dark card, lighter input boxes, red result, see below;
   - pills for labels, 10-20px corner radius.
   Fonts stay AIA Heading / AIA Body (brand fonts, see fonts/aia/aia-fonts.css).
   This file loads after afa-site.css and only changes surfaces and colours; widths, spacing rules and
   table behaviour stay with afa-site.css. Selectors repeat the earlier files' weight (#content, !important)
   because those files use them. */
:root {
  --t-red: #D31145; --t-red-dark: #B30E3A; --t-red-tint: #FBEAEF;
  --t-navy: #333D47; --t-navy-2: #2A323B; --t-navy-3: #47535F;
  --t-ink: #333D47; --t-text: #414B56; --t-muted: #646E79;
  --t-bg: #F4F5F6; --t-bg-2: #ECEEF0; --t-card: #FFFFFF;
  --t-line: #E3E5E8; --t-line-strong: #CBD0D6;
  --t-on-navy: #FFFFFF; --t-on-navy-2: #D7DBE0; --t-on-navy-muted: #B6BDC5; --t-navy-line: rgba(255, 255, 255, .14);
  --t-line-green: #05883F; --t-line-green-dark: #047736;
  --t-r-sm: 10px; --t-r: 14px; --t-r-lg: 20px;
  --t-sh-1: 0 1px 1px rgba(51, 61, 71, .04), 0 8px 18px -12px rgba(51, 61, 71, .22);
  --t-sh-2: 0 2px 3px rgba(51, 61, 71, .06), 0 20px 36px -20px rgba(51, 61, 71, .36);
  --t-sh-3: 0 3px 6px rgba(24, 29, 34, .2), 0 28px 48px -22px rgba(24, 29, 34, .55);
  /* dark panel: rings (thin ellipses, as on the fund hero) over a soft light and a dark gradient */
  --t-rings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 440' fill='none' stroke='%23ffffff' stroke-opacity='.09'%3E%3Cg transform='rotate(-14 500 170)'%3E%3Cellipse cx='500' cy='170' rx='52' ry='30'/%3E%3Cellipse cx='494' cy='176' rx='104' ry='62'/%3E%3Cellipse cx='486' cy='184' rx='160' ry='98'/%3E%3Cellipse cx='476' cy='194' rx='220' ry='138'/%3E%3Cellipse cx='464' cy='206' rx='286' ry='182'/%3E%3Cellipse cx='450' cy='220' rx='358' ry='230'/%3E%3Cellipse cx='434' cy='236' rx='436' ry='282'/%3E%3Cellipse cx='416' cy='254' rx='520' ry='338'/%3E%3C/g%3E%3C/svg%3E");
  /* light page head: red rings over a faint red light, white into a red-tinted white */
  --t-red-line: #F2D5DD;
  --t-rings-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 440' fill='none' stroke='%23D31145' stroke-opacity='.11'%3E%3Cg transform='rotate(-14 500 170)'%3E%3Cellipse cx='500' cy='170' rx='52' ry='30'/%3E%3Cellipse cx='494' cy='176' rx='104' ry='62'/%3E%3Cellipse cx='486' cy='184' rx='160' ry='98'/%3E%3Cellipse cx='476' cy='194' rx='220' ry='138'/%3E%3Cellipse cx='464' cy='206' rx='286' ry='182'/%3E%3Cellipse cx='450' cy='220' rx='358' ry='230'/%3E%3Cellipse cx='434' cy='236' rx='436' ry='282'/%3E%3Cellipse cx='416' cy='254' rx='520' ry='338'/%3E%3C/g%3E%3C/svg%3E");
  --t-hero: var(--t-rings-red) right -40px top -30px / 760px auto no-repeat,
    radial-gradient(720px 360px at 88% -14%, rgba(211, 17, 69, .10), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FFF5F7 100%);
  /* red page head, for the guide pages whose head is written with white type */
  --t-hero-red: var(--t-rings) right -40px top -30px / 760px auto no-repeat,
    radial-gradient(760px 380px at 86% -18%, rgba(255, 255, 255, .14), transparent 68%),
    linear-gradient(135deg, #8E0B2E 0%, #B30E3A 55%, #D31145 100%);
  --t-panel: var(--t-rings) right -40px top -30px / 760px auto no-repeat,
    radial-gradient(760px 380px at 86% -18%, rgba(255, 255, 255, .13), transparent 68%),
    linear-gradient(180deg, #3B4651 0%, #2B333C 100%);
}

/* ===== Product and article pages (.aia-fa-page) =================================================== */
.aia-fa-page {
  --aia-fa-dark: var(--t-ink); --aia-fa-gray: var(--t-bg); --aia-fa-gray-2: #F8F9FA; --aia-fa-border: var(--t-line);
  --aia-fa-pink: var(--t-bg); --aia-fa-red-dark: var(--t-red-dark);
  --aia-fa-radius-sm: var(--t-r-sm); --aia-fa-radius-md: var(--t-r); --aia-fa-radius-lg: var(--t-r-lg);
  --aia-fa-shadow-sm: var(--t-sh-1); --aia-fa-shadow-md: var(--t-sh-2); --aia-fa-shadow-lg: var(--t-sh-3);
}
.aia-fa-page strong { color: var(--t-ink); }
/* bold inside a box that sets its own colours (dark panels, boxes coloured in the page text) follows that box */
.aia-fa-page :where(a, [style*="color"], [style*="background"], .aia-calc-card-v2, .aia-fa-cta-box, .copay-hero-box, .copay-calc-formula, .aia-subpage-hero, .term-hub-box, .ci-hub-box, .ul-hub-box, .comp-cta-section, .tax-hero-banner, .k-hero-banner, .k-lead-section, .k-filter-panel, .prop-top-bar, .prop-d-right, .prop-tax-calc, .ci-footer-disclaimer, .aia-download-card, .aia-club-card, .aia-addon-item) strong { color: inherit; }

/* Hero: light panel; the product's English name in red, the rest of the title dark */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) {
  padding: clamp(1.5rem, 3.4vw, 3rem) !important; border: 1px solid var(--t-red-line) !important; border-radius: var(--t-r-lg) !important;
  background: var(--t-hero) !important; box-shadow: var(--t-sh-1) !important; color: var(--t-text);
}
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"])::before { content: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-brochure-label,
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 11px !important; border: 1px solid var(--t-red-line);
  border-radius: 999px; background: #fff !important; color: var(--t-ink) !important; letter-spacing: .04em;
}
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-brochure-label::before,
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-kicker::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--t-red); }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-title { color: var(--t-ink) !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-title .afa-pname { color: var(--t-red) !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-highlight { color: var(--t-ink) !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) :is(.aia-fa-hero-description, .aia-fa-lead, p):not(.aia-fa-hero-badge):not(.aia-fa-brochure-label):not(.aia-fa-hero-highlight) { color: var(--t-text) !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-content strong { color: var(--t-ink) !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) a:not(.wp-block-button__link) { color: var(--t-red) !important; }
/* picture card and its two floating figures */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-image-wrap { padding: .55rem !important; border: 1px solid var(--t-line) !important; border-radius: 18px !important; background: #fff !important; box-shadow: var(--t-sh-2) !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-image { border-radius: 13px !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-badge { border: 1px solid var(--t-line) !important; border-radius: 12px !important; background: #fff !important; box-shadow: var(--t-sh-2) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-badge strong { color: var(--t-red) !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-badge span { color: var(--t-muted) !important; }
/* facts: one white band, figures side by side with hairlines between */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-facts { gap: 0 !important; margin: clamp(1.25rem, 2.6vw, 1.9rem) 0 0 !important; padding: 1rem .25rem !important; border: 1px solid var(--t-red-line); border-radius: var(--t-r); background: #fff; box-shadow: var(--t-sh-1); }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-facts li { min-height: 0 !important; padding: 0 1.25rem !important; border: 0 !important; border-left: 1px solid var(--t-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-facts li:first-child { border-left: 0 !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-facts li::before { content: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-fact-text { display: flex !important; flex-direction: column-reverse; gap: 2px !important; max-width: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-fact-label { color: var(--t-muted) !important; font-size: .86rem !important; line-height: 1.45 !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-fact-text strong { color: var(--t-ink) !important; font-size: clamp(1.15rem, 1.6vw, 1.42rem) !important; line-height: 1.3 !important; }
@media (max-width: 1100px) {
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-facts { grid-template-columns: 1fr !important; padding: .2rem 1rem !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-facts li { padding: .7rem 0 !important; border-left: 0 !important; border-top: 1px solid var(--t-line) !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-facts li:first-child { border-top: 0 !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-fa-hero:not([style*="background"]) .aia-fa-hero-fact-text { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; gap: 12px !important; }
}

/* Text sections */
body #content .aia-fa-page h2.wp-block-heading:not([style*="color"]) { color: var(--t-ink) !important; }
body #content .aia-fa-page h2.wp-block-heading::after { width: 36px; height: 3px; margin-top: .55rem; }
body #content .aia-fa-page h3.wp-block-heading:not([style*="color"]) { color: var(--t-ink) !important; }
/* short answer: a tinted panel with a leading mark */
body #content .aia-fa-page .aia-fa-summary-box { position: relative; padding: 18px 22px 18px 64px !important; border: 1px solid var(--t-red-line) !important; border-radius: var(--t-r) !important; background: #FFF6F8 !important; color: var(--t-ink) !important; font-size: 1.04rem; line-height: 1.75; }
body #content .aia-fa-page .aia-fa-summary-box::before { content: ""; position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23D31145' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 5.5h12M4 10h12M4 14.5h7'/%3E%3C/svg%3E") center / 17px 17px no-repeat; box-shadow: 0 0 0 1px var(--t-red-line); }
body #content .aia-fa-page .aia-fa-summary-box > strong:first-child { color: var(--t-red-dark); }
body #content .aia-fa-page .aia-fa-lead { border: 1px solid var(--t-line) !important; border-radius: var(--t-r) !important; background: var(--t-bg) !important; }
/* who wrote it, what it was checked against, when: a ruled strip, not a box */
body #content .aia-fa-page .aia-fa-article-meta { margin: 1.1rem 0 2rem !important; padding: 12px 2px !important; border: 0 !important; border-top: 1px solid var(--t-line) !important; border-bottom: 1px solid var(--t-line) !important; border-radius: 0 !important; background: none !important; color: var(--t-text); }
body #content .aia-fa-page .aia-fa-article-meta > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; gap: 8px 32px; }
body #content .aia-fa-page .aia-fa-article-meta p { max-width: 100%; margin: 0 !important; font-size: .92rem !important; line-height: 1.5 !important; }
body #content .aia-fa-page .aia-fa-article-meta p > strong:first-child { display: block; margin: 0; color: var(--t-muted) !important; font-size: .8rem; font-weight: 500; }
/* lists in the page text: ruled rows with a small red mark */
body #content .aia-fa-page > .wp-block-group__inner-container > ul.wp-block-list { margin: 0 0 1.6rem !important; padding: 0 !important; border-top: 1px solid var(--t-line); list-style: none !important; }
body #content .aia-fa-page > .wp-block-group__inner-container > ul.wp-block-list > li { position: relative; margin: 0 !important; padding: 11px 4px 11px 30px !important; border-bottom: 1px solid var(--t-line); }
body #content .aia-fa-page > .wp-block-group__inner-container > ul.wp-block-list > li::before { content: ""; position: absolute; left: 9px; top: calc(11px + .68em); width: 7px; height: 7px; border-radius: 2px; background: var(--t-red); }

/* Tables: dark head, grey bands */
body #content .aia-fa-page .aia-fa-table { border: 1px solid var(--t-line) !important; border-radius: var(--t-r) !important; box-shadow: var(--t-sh-1) !important; font-variant-numeric: tabular-nums; }
body #content .aia-fa-page .aia-fa-table thead th { background: var(--t-navy) !important; color: #fff !important; border-color: rgba(255, 255, 255, .12) !important; }
body #content .aia-fa-page .aia-fa-table thead th strong { color: inherit !important; }
body #content table tbody th { background: var(--t-bg) !important; color: var(--t-ink) !important; }
body #content .aia-fa-page .aia-fa-table tbody tr:nth-child(even) td { background: #F8F9FA !important; }
body #content .aia-fa-page .aia-fa-comparison-table thead th:first-child { background: var(--t-navy-2) !important; }
body #content .aia-fa-page .aia-fa-table + .has-small-font-size,
body #content .aia-fa-page .aia-fa-brochure-note { border: 1px solid var(--t-line) !important; border-radius: var(--t-r-sm) !important; background: var(--t-bg) !important; color: var(--t-text) !important; }

/* Questions: one ruled list, the open one marked in red */
body #content .aia-fa-faq-item { margin: 0 !important; border: 0 !important; border-top: 1px solid var(--t-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
body #content .aia-fa-faq-item:not(:has(+ .aia-fa-faq-item)) { margin-bottom: 1.8rem !important; border-bottom: 1px solid var(--t-line) !important; }
body #content .aia-fa-faq-item summary { padding: 16px 52px 16px 2px !important; color: var(--t-ink) !important; font-weight: 600 !important; line-height: 1.5; transition: color .15s; }
body #content .aia-fa-faq-item summary:hover, body #content .aia-fa-faq-item[open] summary { color: var(--t-red-dark) !important; }
body #content .aia-fa-faq-item summary:focus-visible { outline: 2px solid var(--t-red); outline-offset: 2px; border-radius: 6px; }
body #content .aia-fa-faq-item summary::after { right: 4px !important; width: 28px !important; height: 28px !important; border: 1px solid var(--t-line-strong); background: #fff !important; color: var(--t-ink) !important; font-size: 17px !important; font-weight: 400; transition: background-color .15s, border-color .15s, color .15s; }
body #content .aia-fa-faq-item[open] summary::after { border-color: var(--t-red); background: var(--t-red) !important; color: #fff !important; }
body #content .aia-fa-faq-item > :not(summary) { padding-left: 2px !important; padding-right: 52px !important; color: var(--t-text); }

/* Source and warning under the article */
body #content :is(.aia-fa-source-note, .aia-fa-review-note) { margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--t-muted) !important; line-height: 1.65; }
body #content .aia-fa-warning-note { padding: 12px 16px !important; border: 1px solid var(--t-line-strong) !important; border-radius: var(--t-r-sm) !important; background: var(--t-bg) !important; color: var(--t-text) !important; line-height: 1.65; }
body #content :is(.aia-fa-source-note, .aia-fa-review-note, .aia-fa-warning-note) strong { color: var(--t-ink) !important; }

/* Brochure: a document card (the page icon stands where the red side bar was) */
body #content .aia-fa-page .aia-fa-brochure-box { position: relative; padding: 22px 24px 22px 100px !important; border: 1px solid var(--t-line) !important; border-radius: 16px !important; background: #fff !important; box-shadow: var(--t-sh-1) !important; }
body #content .aia-fa-page .aia-fa-brochure-box::before { content: "" !important; position: absolute; inset: 24px auto auto 24px !important; width: 52px !important; height: 64px !important; border-radius: 0 !important; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 64' fill='none'%3E%3Cpath d='M6 1.5h27.5l13 13V58a4.5 4.5 0 0 1-4.5 4.5H6A4.5 4.5 0 0 1 1.5 58V6A4.5 4.5 0 0 1 6 1.5Z' fill='%23fff' stroke='%23CBD0D6' stroke-width='1.5'/%3E%3Cpath d='M33.5 1.5v9a4 4 0 0 0 4 4h9' stroke='%23CBD0D6' stroke-width='1.5'/%3E%3Cpath d='M10 24h24M10 31h28M10 38h18' stroke='%23CBD0D6' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='8' y='45' width='30' height='12' rx='3' fill='%23D31145'/%3E%3Cpath d='M14 54.3v-6.6h2.3a2 2 0 0 1 0 4H14M20.8 54.3v-6.6h1.7a3.3 3.3 0 0 1 0 6.6h-1.7ZM28.8 54.3v-6.6h3.7M28.8 51.2h3' stroke='%23fff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat !important; }
body #content .aia-fa-page .aia-fa-brochure-box > .wp-block-group__inner-container { display: flex; flex-direction: column; align-items: flex-start; }
body #content .aia-fa-page .aia-fa-brochure-box > .wp-block-group__inner-container > * { order: 3; max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
body #content .aia-fa-page .aia-fa-brochure-box h2.aia-fa-brochure-title { order: 1; margin: 0 0 .15rem !important; }
body #content .aia-fa-page .aia-fa-brochure-box .aia-fa-brochure-label { order: 2; margin: 0 0 .6rem !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--t-muted) !important; font-size: .9rem !important; font-weight: 500 !important; }
body #content .aia-fa-page .aia-fa-brochure-box .aia-fa-brochure-buttons { margin: .9rem 0 0 !important; }
body #content .aia-fa-page .aia-fa-brochure-button .wp-block-button__link { border-radius: var(--t-r-sm) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 18px -12px rgba(179, 14, 58, .9) !important; }
body #content .aia-fa-page .aia-fa-brochure-button .wp-block-button__link:hover { transform: none !important; }
body #content .aia-fa-page .aia-fa-brochure-box .aia-fa-brochure-note { align-self: stretch; margin-top: .9rem !important; }
/* Author: a byline card */
body #content .aia-fa-page .aia-fa-author-box { border: 1px solid var(--t-line) !important; border-radius: 16px !important; background: #fff !important; box-shadow: none !important; }
body #content .aia-fa-page .aia-fa-author-label { margin: 0 0 .2rem !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--t-muted) !important; font-size: .86rem !important; font-weight: 500 !important; }
body #content .aia-fa-page .aia-fa-author-image img { border: 0 !important; box-shadow: 0 0 0 1px var(--t-line), var(--t-sh-1) !important; }

/* Table of contents */
body #content .aia-fa-product-toc { border: 1px solid var(--t-line) !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important; }
body #content .aia-fa-product-toc > summary { color: var(--t-ink) !important; }
@media (max-width: 600px) {
  body #content .aia-fa-page .aia-fa-summary-box { padding: 14px 16px 14px 52px !important; font-size: 1rem; }
  body #content .aia-fa-page .aia-fa-summary-box::before { left: 12px; top: 14px; width: 28px; height: 28px; background-size: 15px 15px; }
  body #content .aia-fa-page .aia-fa-article-meta > .wp-block-group__inner-container { gap: 8px; flex-direction: column; }
  body #content .aia-fa-faq-item summary { padding-right: 44px !important; }
  body #content .aia-fa-faq-item > :not(summary) { padding-right: 6px !important; }
  body #content .aia-fa-page .aia-fa-brochure-box { padding: 18px 16px 18px 16px !important; }
  body #content .aia-fa-page .aia-fa-brochure-box::before { inset: 16px 16px auto auto !important; width: 36px !important; height: 44px !important; }
  body #content .aia-fa-page .aia-fa-brochure-box h2.aia-fa-brochure-title, body #content .aia-fa-page .aia-fa-brochure-box .aia-fa-brochure-label { padding-right: 48px !important; }
}

/* ===== Footer: dark ================================================================================= */
.site-footer, .footer-widgets, .footer-bar, .inside-footer-widgets, .footer-widgets-container { background: var(--t-navy-2) !important; background-color: var(--t-navy-2) !important; }
.site-info { background: #232A31 !important; background-color: #232A31 !important; }

/* ===== Premium calculators (.aia-calc-card-v2): a dark quote card ====================================
   Owner, 2026-12-04: the calculator keeps the dark colour of the old panel, in a new, tighter design. One
   dark card (#333D47): product name with a red chip, the inputs as lighter boxes on the left, a red slip with
   the yearly premium on the right (stacked on a phone). About half the height of the old panel. Every page
   keeps its own markup and script; the - / + buttons beside the age list and the tick on the figure come
   from afa-ux.js. Prestige pages keep their gold calculator. Most declarations are !important because the
   imported page styles are. Focus rings are white here: red does not show on the dark ground. */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 { margin: 28px 0 !important; padding: 18px 22px 22px !important; border: 1px solid #262D35 !important; border-radius: 18px !important; background: linear-gradient(180deg, #37424D 0%, #2B333C 100%) !important; box-shadow: 0 2px 3px rgba(51, 61, 71, .1), 0 24px 40px -22px rgba(31, 38, 45, .6) !important; color: var(--t-on-navy-2) !important; font-family: inherit !important; overflow: hidden; }
/* head: product name, the tool's label as a red chip beside it, one line of description, a hairline */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 > div:first-child:not(.aia-calc-main-wrapper) { display: flex !important; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 0 0 14px !important; padding: 0 0 12px !important; border: 0; border-bottom: 1px solid var(--t-navy-line); background: none; text-align: left !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-title { order: 1; margin: 0 !important; color: #fff !important; font-size: 25px !important; line-height: 1.3 !important; letter-spacing: 0 !important; text-shadow: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-badge { order: 2; margin: 0 !important; padding: 2px 9px !important; border: 0 !important; border-radius: 7px !important; background: var(--t-red) !important; color: #fff !important; font-size: 12.5px !important; font-weight: 600 !important; line-height: 1.5 !important; letter-spacing: 0 !important; box-shadow: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-subtitle { order: 3; flex: 1 0 100%; margin: 0 !important; color: var(--t-on-navy-muted) !important; font-size: 13.5px !important; line-height: 1.5 !important; opacity: 1 !important; text-shadow: none !important; }
/* inputs | slip */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-main-wrapper { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; align-items: stretch !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; align-content: start; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-field { min-width: 0; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-label { gap: 8px; margin: 0 0 5px !important; color: #fff !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.45 !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-label span { color: inherit; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-age-hint { color: var(--t-on-navy-muted) !important; font-size: 12.5px !important; font-weight: 400 !important; white-space: nowrap; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 :is(.aia-calc-select, select.aia-calc-input) { height: 44px; padding: 0 38px 0 13px !important; border: 1px solid #5A6672 !important; border-radius: 10px !important; background: #3E4955 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat !important; box-shadow: none !important; color: #fff !important; color-scheme: dark; font-family: inherit !important; font-size: 16px !important; font-weight: 500; line-height: 1.2 !important; -webkit-appearance: none; appearance: none; transition: border-color .15s, background-color .15s; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 input.aia-calc-input:not([type="range"]):not([type="checkbox"]):not([type="radio"]) { height: 44px; padding: 0 13px !important; border: 1px solid #5A6672 !important; border-radius: 10px !important; background: #3E4955 !important; box-shadow: none !important; color: #fff !important; color-scheme: dark; font-family: inherit !important; font-size: 16px !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 input.aia-calc-input::placeholder { color: var(--t-on-navy-muted); opacity: 1; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 :is(.aia-calc-select, .aia-calc-input):hover { border-color: #93A0AC !important; box-shadow: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 :is(.aia-calc-select, .aia-calc-input):focus-visible { border-color: #fff !important; outline: 2px solid #fff; outline-offset: 2px; box-shadow: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-select option { background: #2B333C; color: #fff; }
/* choice between two or three (sex, plan type): a darker well, the chosen one solid red */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-seg-group { gap: 3px !important; padding: 3px !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 10px !important; background: #272E36 !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-seg-radio-box { height: 38px !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-seg-btn-inner { border-radius: 8px !important; background: transparent !important; color: var(--t-on-navy-2) !important; font-family: inherit !important; font-size: 15px !important; font-weight: 600 !important; box-shadow: none !important; transition: background-color .15s, color .15s, box-shadow .15s !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-seg-radio-box:hover .aia-seg-btn-inner { color: #fff !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-seg-radio-box input[type="radio"]:checked + .aia-seg-btn-inner { background: var(--t-red) !important; color: #fff !important; font-weight: 700 !important; box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .55) !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-seg-radio-box input[type="radio"]:focus-visible + .aia-seg-btn-inner { outline: 2px solid #fff; outline-offset: 2px; }
/* plan and age as buttons (Health Happy; markup from [...path].astro) */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-plan-btn { padding: 7px 10px; border: 1px solid #5A6672; border-radius: 10px; background: #3E4955; color: #fff; box-shadow: none; transition: border-color .15s, background-color .15s; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-plan-btn b { color: #fff; font-size: 15.5px; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-plan-btn span { color: var(--t-on-navy-muted); }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-plan-btn:hover { border-color: #93A0AC; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-plan-btn[aria-checked="true"] { border-color: var(--t-red); background: var(--t-red); box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .55); }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-plan-btn[aria-checked="true"] b { color: #fff; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-plan-btn[aria-checked="true"] span { color: #FFE7EC; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-plan-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* - / + beside the age list (added by afa-ux.js) */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-step { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 6px; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-step-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #5A6672; border-radius: 10px; background: #3E4955; color: #fff; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-step-btn svg { width: 16px; height: 16px; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-step-btn:hover:not(:disabled) { border-color: #fff; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-step-btn:active:not(:disabled) { background: var(--t-red); border-color: var(--t-red); }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-step-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-step-btn:disabled { border-color: rgba(255, 255, 255, .12); background: transparent; color: #74808B; cursor: default; }
/* the slip, in solid red so the eye lands on it: cover chosen, a dashed rule, the yearly premium in white, a note, LINE */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-box { display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; height: auto !important; min-height: 0 !important; padding: 14px 16px 16px !important; border: 0 !important; border-radius: 14px !important; background: linear-gradient(160deg, #D31145 0%, #B30E3A 100%) !important; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .2) !important; color: #fff !important; text-align: left !important; overflow: visible !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-box :not(.aia-calc-cta):not(.aia-calc-cta *) { color: #fff !important; text-shadow: none !important; }
/* (the :not() pairs below repeat the weight of the rule above) */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-box :is(.aia-calc-res-title, .aia-sum-highlight-label):not(.aia-calc-cta):not(.aia-calc-cta *),
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-box :is(.aia-calc-res-title, .aia-sum-highlight-label) *:not(.aia-calc-cta):not(.aia-calc-cta *) { color: #FFE7EC !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-sum-highlight-box { display: flex !important; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; width: auto !important; margin: 0 0 10px !important; padding: 0 0 10px !important; border: 0 !important; border-bottom: 1px dashed rgba(255, 255, 255, .5) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; text-align: left !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-sum-highlight-label { margin: 0 !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.5 !important; letter-spacing: 0 !important; text-transform: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-sum-highlight-amount { margin-left: auto; font-family: inherit !important; font-size: 17px !important; font-weight: 700 !important; line-height: 1.4 !important; letter-spacing: 0 !important; font-variant-numeric: tabular-nums; text-align: right; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-title { margin: 0 !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.5 !important; letter-spacing: 0 !important; text-transform: none !important; opacity: 1 !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-price { margin: 0 0 6px !important; font-size: clamp(30px, 3.2vw, 38px) !important; line-height: 1.2 !important; letter-spacing: 0 !important; font-variant-numeric: tabular-nums; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-subprice { margin: -3px 0 6px !important; font-size: 13.5px !important; font-weight: 600 !important; line-height: 1.5 !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-pill { display: block !important; width: auto !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; font-size: 13.5px !important; font-weight: 400 !important; line-height: 1.5 !important; text-align: left !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-box > div:last-child { margin-top: auto; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-cta { gap: 8px !important; min-height: 46px; padding: 7px 16px !important; border-radius: 10px !important; background: #fff !important; box-shadow: 0 10px 18px -12px rgba(60, 4, 19, .9) !important; transition: background-color .15s !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-cta:hover { background: #EFFAF3 !important; transform: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-cta img { width: 26px !important; height: 26px !important; margin-right: 0 !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-cta span { color: var(--t-line-green-dark) !important; font-size: 16.5px !important; font-weight: 700 !important; line-height: 1.3; letter-spacing: 0 !important; text-align: center; text-wrap: balance; }
/* structure the shared classes need wherever a page does not load its own calculator sheet */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-field { display: flex; flex-direction: column; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-select { width: 100%; box-sizing: border-box; cursor: pointer; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-seg-group { display: flex; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-seg-radio-box { position: relative; flex: 1; display: block; margin: 0; padding: 0; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-seg-radio-box input[type="radio"] { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: .0001; cursor: pointer; -webkit-appearance: none; appearance: none; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-seg-btn-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; -webkit-user-select: none; user-select: none; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; color: #fff !important; text-decoration: none !important; cursor: pointer; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-cta svg { flex: none; width: 24px; height: 24px; color: var(--t-line-green); }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-price { font-family: "AIA-Heading", "AIA Heading Fallback", "AIA-Heading-Fast", var(--wp--preset--font-family--aia-heading), Tahoma, Arial, sans-serif !important; font-weight: 400; }
/* a short choice of two (sex) sits on one line with its label; the class is set by scripts/calc-ui.mjs */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-field.afa-field-inline { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-field.afa-field-inline > .aia-calc-label { flex: 0 1 auto; margin: 0 !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-field.afa-field-inline > .aia-seg-group { flex: 1 1 176px; max-width: 280px; margin-left: auto; }
/* guaranteed-benefit summary and the note under the figure (Endowment 15/25) */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-box { margin: 0 !important; padding: 10px 13px !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 12px !important; background: #272E36 !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-title { margin: 0 0 4px; color: #fff !important; font-size: 14px; font-weight: 600; line-height: 1.45; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-list { display: grid !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-list li { display: flex !important; flex-wrap: wrap; align-items: baseline !important; justify-content: space-between !important; gap: 0 12px; margin: 0 !important; padding: 3px 0 !important; border: 0; color: var(--t-on-navy-2) !important; font-size: 13.5px !important; line-height: 1.5; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-list li::before, body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-list li::marker { content: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-list li span { color: var(--t-on-navy-2) !important; font-size: 13.5px !important; font-weight: 400 !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-list li strong { margin-left: auto; color: #fff !important; font-size: 14px !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; text-align: right; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-list li.aia-calc-benefit-total { margin-top: 4px !important; padding-top: 7px !important; border-top: 1px dashed rgba(255, 255, 255, .3) !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-list li.aia-calc-benefit-total :is(span, strong) { color: #fff !important; font-weight: 700 !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-note { margin: 0 0 12px; padding-top: 9px; border-top: 1px dashed rgba(255, 255, 255, .5); font-size: 13.5px; line-height: 1.5; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-note strong { font-weight: 700; }
/* tick boxes for add-ons, the slider and the phone button (group insurance) */
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-addon-checks { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-addon-item { display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px; margin: 0 !important; padding: 6px 12px !important; border: 1px solid #5A6672 !important; border-radius: 10px !important; background: #3E4955 !important; box-shadow: none !important; color: #fff !important; font-size: 14.5px !important; font-weight: 500 !important; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-addon-item span { color: inherit !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-addon-item input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--t-red); }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-addon-item:hover { border-color: #93A0AC !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-addon-item:has(input:checked) { border-color: #fff !important; box-shadow: 0 0 0 1px #fff !important; color: #fff !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-addon-item:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 input[type="range"] { height: 28px; margin: 0; accent-color: var(--t-red); color-scheme: dark; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-call-btn { display: flex !important; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; padding: 7px 16px !important; border: 1px solid rgba(255, 255, 255, .75) !important; border-radius: 10px !important; background: transparent !important; box-shadow: none !important; color: #fff !important; font-size: 15px !important; font-weight: 600 !important; text-decoration: none !important; transition: background-color .15s; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-call-btn:hover { background: rgba(255, 255, 255, .12) !important; transform: none !important; }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-call-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* the figure ticks when it changes (class set by afa-ux.js) */
@keyframes afa-tick { from { opacity: .3; transform: translateY(5px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-tick { animation: afa-tick .32s cubic-bezier(.16, 1, .3, 1); }
@media (prefers-reduced-motion: reduce) { body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .afa-tick { animation: none; } }
@media (min-width: 860px) {
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-main-wrapper { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr) !important; gap: 22px !important; }
}
/* phone: everything a step tighter, and a list with short choices sits beside its label (class from afa-ux.js) */
@media (max-width: 600px) {
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 { margin: 22px 0 !important; padding: 12px 12px 12px !important; border-radius: 16px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 > div:first-child:not(.aia-calc-main-wrapper) { gap: 1px 8px; margin: 0 0 9px !important; padding: 0 0 8px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-title { font-size: 21px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-badge { padding: 1px 8px !important; font-size: 11.5px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-subtitle { font-size: 12.5px !important; line-height: 1.45 !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-main-wrapper { gap: 10px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-grid { gap: 8px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-label { margin: 0 0 3px !important; line-height: 1.35 !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-age-hint { font-size: 12px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-field.afa-field-row { flex-direction: row; align-items: center; gap: 10px; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-field.afa-field-row > .aia-calc-label { flex: 1 1 0; min-width: 0; margin: 0 !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-field.afa-field-row > select { flex: 0 0 56%; width: 56% !important; padding: 0 34px 0 12px !important; background-position: right 12px center !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-box { padding: 8px 12px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-benefit-list li { padding: 2px 0 !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-box { padding: 11px 13px 13px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-sum-highlight-box { margin: 0 0 8px !important; padding: 0 0 8px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 :is(.aia-sum-highlight-label, .aia-calc-res-title) { font-size: 13px !important; line-height: 1.45 !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-sum-highlight-amount { font-size: 16px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-price { margin: 0 0 4px !important; font-size: 30px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-subprice { margin: -2px 0 5px !important; font-size: 13px !important; line-height: 1.45 !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-pill { margin: 0 0 9px !important; font-size: 12.5px !important; line-height: 1.45 !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-res-note { margin: 0 0 10px; padding-top: 8px; font-size: 12.5px; line-height: 1.45; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-cta { padding: 6px 12px !important; }
  body #content .aia-fa-page:not(.aia-prestige-page) .aia-calc-card-v2 .aia-calc-cta span { font-size: 15.5px !important; }
}
/* ===== Shortcut bar under the header and the phone bottom bar (built by afa-ux.js) ================= */
.afa-jump { position: fixed; z-index: 990; left: 0; right: 0; top: 61px; border-bottom: 1px solid var(--t-line); background: rgba(255, 255, 255, .97); box-shadow: 0 10px 18px -16px rgba(51, 61, 71, .5); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .28s cubic-bezier(.16, 1, .3, 1), visibility 0s .28s; }
.afa-jump.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .28s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.afa-jump-row { display: flex; align-items: stretch; gap: 2px; max-width: 1240px; margin: 0 auto; padding: 0 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.afa-jump-row::-webkit-scrollbar { display: none; }
.afa-jump-link { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; color: var(--t-text) !important; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none !important; white-space: nowrap; transition: color .15s; }
.afa-jump-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--t-red); transform: scaleX(0); transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.afa-jump-link:hover { color: var(--t-ink) !important; }
.afa-jump-link.is-current { color: var(--t-red-dark) !important; }
.afa-jump-link.is-current::after { transform: scaleX(1); }
.afa-jump-link:focus-visible { outline: 2px solid var(--t-red); outline-offset: -2px; border-radius: 6px; }
.afa-jump-calc { margin-right: 6px; padding-right: 14px; color: var(--t-red-dark) !important; }
.afa-jump-calc::before { content: ""; position: absolute; right: 0; top: 12px; bottom: 12px; width: 1px; background: var(--t-line); }
.afa-jump-calc svg { width: 18px; height: 18px; flex: none; }
/* a jump lands below the header and the bar */
html.afa-has-jump #content :is(h2[id], .aia-calc-card-v2, .aia-calc-res-box) { scroll-margin-top: 122px; }
/* shown and hidden with display, and never moved as a whole: the live chat measures this box (data-avoid on its
   script tag, scripts/chat-embed.mjs) to lift its button above it, and it measures when the box appears */
.afa-dock { position: fixed; z-index: 995; left: 0; right: 0; bottom: 0; display: none; align-items: stretch; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--t-line); background: #fff; box-shadow: 0 -10px 22px -18px rgba(51, 61, 71, .6); }
@keyframes afa-dock-in { from { opacity: .2; } to { opacity: 1; } }
@keyframes afa-dock-rise { from { transform: translateY(14px); } to { transform: none; } }
.afa-dock a { text-decoration: none !important; }
.afa-dock-calc { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 12px; border: 1px solid var(--t-line-strong); border-radius: 10px; background: #fff; color: var(--t-ink) !important; }
.afa-dock-calc svg { flex: none; width: 22px; height: 22px; color: var(--t-red); }
.afa-dock-text { display: grid; min-width: 0; line-height: 1.3; }
.afa-dock-label { color: var(--t-muted); font-size: 12px; font-weight: 500; }
.afa-dock-figure { overflow: hidden; color: var(--t-ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.afa-dock-line { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 4px 16px; border-radius: 10px; background: var(--t-line-green); color: #fff !important; font-size: 15.5px; font-weight: 700; white-space: nowrap; }
.afa-dock-line img { width: 24px; height: 24px; border-radius: 5px; }
.afa-dock a:focus-visible { outline: 2px solid var(--t-ink); outline-offset: 2px; }
@media (max-width: 782px) {
  .afa-dock.is-on { display: flex; animation: afa-dock-in .25s ease-out; }
  .afa-dock.is-on > * { animation: afa-dock-rise .32s cubic-bezier(.16, 1, .3, 1); }
  html.afa-dock-on body { padding-bottom: 66px; }
  .afa-jump-row { padding: 0 6px; }
  .afa-jump-link { padding: 0 10px; font-size: 13.5px; }
  .afa-jump-link::after { left: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .afa-jump, .afa-jump-link::after { transition: none !important; } .afa-dock.is-on, .afa-dock.is-on > * { animation: none !important; } }
@media print { .afa-jump, .afa-dock { display: none !important; } }

/* closing call box written in the page with a dark slate ground */
body #content .aia-fa-cta-box { border: 0 !important; border-radius: var(--t-r-lg) !important; background: var(--t-panel) !important; box-shadow: var(--t-sh-2) !important; }

/* ===== Home page (.aia-hub; its own rules sit in the page, so these repeat their weight) ============ */
body .aia-hub { --hub-ink: var(--t-ink); --hub-body: var(--t-text); --hub-muted: var(--t-muted); --hub-soft: var(--t-bg); --hub-line: var(--t-line); --hub-shadow: var(--t-sh-2); }
body .aia-hub p { color: var(--t-text); }
body .aia-hub .hub-kicker { border: 1px solid var(--t-line) !important; background: #fff !important; color: var(--t-ink) !important; }
body .aia-hub .hub-kicker::before { box-shadow: none !important; }
/* hero: light band across the page; "AIA" in red as the page wrote it */
body .aia-hub .hub-hero { border-bottom: 1px solid var(--t-red-line); background: var(--t-hero) !important; }
body .aia-hub .hub-hero .hub-kicker { border-color: var(--t-red-line) !important; }
body .aia-hub .hub-hero h1 { color: var(--t-ink) !important; }
body .aia-hub .hub-hero h1 .hub-title-red { color: var(--t-red) !important; }
body .aia-hub .hub-hero .hub-lead { color: var(--t-text) !important; }
body .aia-hub .hub-hero .hub-note, body .aia-hub .hub-hero .hub-note span { color: var(--t-text) !important; }
body .aia-hub .hub-btn { border-radius: var(--t-r-sm) !important; background: var(--t-red) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 18px -12px rgba(179, 14, 58, .9) !important; }
body .aia-hub .hub-btn:hover { background: var(--t-red-dark) !important; }
body .aia-hub .hub-btn.alt { border-color: var(--t-line-strong) !important; background: #fff !important; color: var(--t-ink) !important; box-shadow: none !important; }
body .aia-hub .hub-btn.alt:hover { border-color: var(--t-red) !important; background: #fff !important; color: var(--t-ink) !important; }
body .aia-hub .hub-visual::before { background: none !important; }
body .aia-hub .hub-orbit { border-color: rgba(211, 17, 69, .2) !important; }
body .aia-hub .hub-orbit-inner { border-color: rgba(211, 17, 69, .12) !important; }
body .aia-hub .hub-orbit::before, body .aia-hub .hub-orbit::after { box-shadow: none !important; }
body .aia-hub .hub-orbit-badge { border: 1px solid var(--t-line) !important; color: var(--t-ink) !important; box-shadow: var(--t-sh-2) !important; }
body .aia-hub .hub-dash { border: 1px solid var(--t-line) !important; background: #fff !important; box-shadow: var(--t-sh-2) !important; }
body .aia-hub .hub-brandmark { background: var(--t-red) !important; box-shadow: none !important; }
body .aia-hub .hub-live { background: var(--t-bg) !important; color: var(--t-ink) !important; }
body .aia-hub .hub-dash-item span:first-child { box-shadow: none !important; border: 1px solid var(--t-line); }
body .aia-hub a.hub-dash-item:hover { border-color: var(--t-line-strong) !important; box-shadow: var(--t-sh-1) !important; }
body .aia-hub .hub-dash-cta { border-radius: var(--t-r-sm) !important; background: var(--t-navy) !important; }
body .aia-hub .hub-dash-cta:hover { background: var(--t-red) !important; }
/* cards */
body .aia-hub .hub-trust-grid { border: 1px solid var(--t-line) !important; border-radius: var(--t-r) !important; box-shadow: var(--t-sh-2) !important; }
body .aia-hub :is(.hub-trust-icon, .hub-faq summary::after) { background: var(--t-bg) !important; }
body .aia-hub .hub-faq summary::after { background: var(--t-bg) !important; color: var(--t-ink) !important; }
body .aia-hub .hub-faq details[open] summary::after { background: var(--t-red) !important; color: #fff !important; }
body .aia-hub .hub-faq details { border-radius: var(--t-r) !important; }
body .aia-hub .hub-faq details[open] { border-color: var(--t-line-strong) !important; box-shadow: var(--t-sh-1); }
body .aia-hub .hub-trust-item b { color: var(--t-ink) !important; }
body .aia-hub :is(.hub-trust-item small, .hub-section-head p, .hub-prod-desc, .hub-category p, .hub-step p) { color: var(--t-muted) !important; }
body .aia-hub .hub-happy-card { border: 1px solid var(--t-line) !important; border-radius: var(--t-r-lg) !important; background: var(--t-bg) !important; box-shadow: none !important; }
body .aia-hub .hub-happy-points span { border-color: var(--t-line) !important; color: var(--t-ink) !important; }
body .aia-hub .hub-happy-img-wrap { border: 0 !important; box-shadow: var(--t-sh-3) !important; }
body .aia-hub .hub-happy-floating-badge { background: var(--t-navy) !important; box-shadow: var(--t-sh-2) !important; }
body .aia-hub :is(.hub-prod-card, .hub-category, .hub-step) { border: 1px solid var(--t-line) !important; border-radius: var(--t-r) !important; box-shadow: var(--t-sh-1) !important; }
body .aia-hub :is(.hub-prod-card, .hub-category):hover { border-color: var(--t-line-strong) !important; box-shadow: var(--t-sh-2) !important; }
body .aia-hub .hub-prod-thumb { background: var(--t-navy) !important; }
body .aia-hub .hub-prod-tag { background: var(--t-navy) !important; box-shadow: none !important; }
body .aia-hub .hub-prod-features li { color: var(--t-text) !important; }
body .aia-hub .hub-prod-cta { border-color: var(--t-line) !important; border-radius: var(--t-r-sm) !important; background: var(--t-bg) !important; }
body .aia-hub .hub-category::after { background: var(--t-bg) !important; }
body .aia-hub .hub-step::after { background: var(--t-line-strong) !important; }
body .aia-hub .hub-article-box { border-radius: var(--t-r-lg) !important; background: var(--t-panel) !important; box-shadow: var(--t-sh-2) !important; }
body .aia-hub .hub-article-box > p { color: var(--t-on-navy-muted) !important; }
body .aia-hub .hub-article { border-color: var(--t-navy-line) !important; border-radius: var(--t-r-sm) !important; background: rgba(255, 255, 255, .06) !important; }
body .aia-hub .hub-article:hover { border-color: rgba(255, 255, 255, .4) !important; background: rgba(255, 255, 255, .12) !important; }
body .aia-hub .hub-advisor { border: 1px solid var(--t-line) !important; border-radius: var(--t-r-lg) !important; background: var(--t-bg) !important; box-shadow: none !important; }
body .aia-hub .hub-avatar { background: var(--t-navy) !important; box-shadow: var(--t-sh-1) !important; }
/* closing call: a light band, so it does not sit as a second dark block on the navy footer */
body .aia-hub .hub-final { border-top: 1px solid var(--t-line); background: var(--t-bg) !important; }
body .aia-hub .hub-final h2 { color: var(--t-ink) !important; }
body .aia-hub .hub-final p { color: var(--t-muted) !important; }
body .aia-hub .hub-final .hub-btn { border-color: var(--t-red) !important; background: var(--t-red) !important; color: #fff !important; }
body .aia-hub .hub-final .hub-btn.alt { border-color: var(--t-line-strong) !important; background: #fff !important; color: var(--t-ink) !important; }

/* ===== Category pages (lists of articles) ========================================================== */
body.archive { background: var(--t-bg); }
body.archive #content .page-header { margin-bottom: 22px; padding: clamp(1.5rem, 3.4vw, 2.6rem) !important; border: 1px solid var(--t-red-line); border-radius: var(--t-r-lg); background: var(--t-hero) !important; box-shadow: var(--t-sh-1); }
body.archive #content .page-header .page-title { margin: 0; color: var(--t-ink) !important; }
body.archive #content .page-header .page-title::after { content: ""; display: block; width: 36px; height: 3px; margin-top: .6rem; border-radius: 2px; background: var(--t-red); }
body.archive #content .page-header .taxonomy-description, body.archive #content .page-header .taxonomy-description p { color: var(--t-text) !important; }
body.archive #content .page-header .taxonomy-description { margin-top: 10px; max-width: 70ch; }
body.archive #content .site-main > article .inside-article { border: 1px solid var(--t-line); border-radius: var(--t-r); background: #fff; box-shadow: var(--t-sh-1); transition: border-color .15s, box-shadow .2s; }
body.archive #content .site-main > article .inside-article:hover { border-color: var(--t-line-strong); box-shadow: var(--t-sh-2); }
body.archive #content .site-main > article { margin-bottom: 14px; }
body.archive #content .entry-title, body.archive #content .entry-title a { color: var(--t-ink) !important; text-decoration: none; }
body.archive #content .entry-title a:hover { color: var(--t-red) !important; }
body.archive #content .entry-summary, body.archive #content .entry-summary p { color: var(--t-muted); }
body.archive #content :is(.read-more, .entry-summary a) { color: var(--t-red) !important; font-weight: 600; text-decoration: none; }
body.archive #content .entry-meta, body.archive #content .entry-meta a { color: var(--t-muted) !important; }
body.archive #content .paging-navigation .page-numbers { white-space: nowrap; display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid var(--t-line); border-radius: 999px; background: #fff; color: var(--t-ink); text-decoration: none; }
body.archive #content .paging-navigation .page-numbers.current { border-color: var(--t-navy); background: var(--t-navy); color: #fff; }
body.archive #content .paging-navigation a.page-numbers:hover { border-color: var(--t-red); }
body.archive #content .paging-navigation .page-numbers.dots { border: 0; background: none; }

/* the list of articles as a two-column index: the whole card opens the article */
body.archive #content #primary { width: 100% !important; }
body.archive #content .site-main > article .inside-article { position: relative; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 20px 22px 18px !important; }
body.archive #content .site-main > article .entry-title { margin: 0; font-size: 18.5px; line-height: 1.45; text-wrap: pretty; }
body.archive #content .site-main > article .entry-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
body.archive #content .site-main > article .entry-summary { margin: 8px 0 0 !important; font-size: 14.5px; line-height: 1.6; }
body.archive #content .site-main > article .entry-summary p { margin: 0; }
body.archive #content .site-main > article .read-more { position: relative; z-index: 1; white-space: nowrap; }
body.archive #content .site-main > article .read-more::after { content: " →"; }
body.archive #content .site-main > article .inside-article:hover .entry-title a { color: var(--t-red-dark) !important; }
body.archive #content .site-main > article .inside-article:has(a:focus-visible) { outline: 2px solid var(--t-red); outline-offset: 2px; }
body.archive #content .site-main > article a:focus-visible { outline: none; }
@media (min-width: 860px) {
  body.archive #content .site-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
  body.archive #content .site-main > :not(article) { grid-column: 1 / -1; }
  body.archive #content .site-main > article { margin-bottom: 0; }
  body.archive #content .site-main > .page-header { margin-bottom: 0; }
}

/* ===== Related plans after the article (block from scripts/seo-fixes.mjs): a ruled index of links ===== */
body:not(:has(.aia-prestige-page)) .related-plans { padding: 22px 24px 22px !important; border: 1px solid var(--t-line) !important; border-radius: 18px !important; background: #fff !important; box-shadow: var(--t-sh-1); color: var(--t-text) !important; }
body:not(:has(.aia-prestige-page)) .related-plans h2 { margin: 0 0 6px !important; color: var(--t-ink) !important; font-size: 19px !important; line-height: 1.4; }
body:not(:has(.aia-prestige-page)) .related-plans ul { gap: 0 28px !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; }
body:not(:has(.aia-prestige-page)) .related-plans li { border-bottom: 1px solid var(--t-line); }
body:not(:has(.aia-prestige-page)) .related-plans li a { position: relative; display: flex !important; align-items: center; min-height: 48px; box-sizing: border-box; padding: 10px 28px 10px 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--t-ink) !important; font-size: 15px; font-weight: 600 !important; line-height: 1.45; transition: color .15s; }
body:not(:has(.aia-prestige-page)) .related-plans li a::after { content: ""; position: absolute; right: 6px; top: 50%; width: 7px; height: 7px; border-top: 1.6px solid var(--t-red); border-right: 1.6px solid var(--t-red); transform: translateY(-50%) rotate(45deg); transition: transform .15s; }
body:not(:has(.aia-prestige-page)) .related-plans li a:hover { color: var(--t-red-dark) !important; }
body:not(:has(.aia-prestige-page)) .related-plans li a:hover::after { transform: translate(3px, -50%) rotate(45deg); }
body:not(:has(.aia-prestige-page)) .related-plans li a:focus-visible { outline: 2px solid var(--t-red); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 600px) { body:not(:has(.aia-prestige-page)) .related-plans { padding: 18px 16px 10px !important; } }
@media (prefers-reduced-motion: reduce) { .related-plans li a::after { transition: none !important; } }

/* rules between sections: one hairline */
body:not(:has(.aia-prestige-page)) #content hr.wp-block-separator { height: 0 !important; border: 0 !important; border-top: 1px solid var(--t-line) !important; background: none !important; opacity: 1 !important; }

/* ===== Articles (single posts) ====================================================================== */
body.single-post #content .entry-title { color: var(--t-ink) !important; }
body.single-post #content .entry-meta, body.single-post #content .entry-meta a { color: var(--t-muted) !important; }

/* ===== Boxes written with inline colours in the page text (pink tint with a pink line) ============= */
#content [style*="#fff1f5"], #content [style*="#fff0f3"], #content [style*="#fff8fa"], #content [style*="#fff1f4"] { background-color: var(--t-bg) !important; background-image: none !important; }
#content [style*="#fecdd3"] { border-color: var(--t-line) !important; }

/* ===== Hub pages (/life-finance/ .aia-lf-hub, /insurance-knowledge/ .aia-kh): the home page's parts ==== */
body .aia-lf-hub { --lf-ink: var(--t-ink); --lf-muted: var(--t-muted); --lf-soft: var(--t-bg); --lf-line: var(--t-line); --lf-shadow: var(--t-sh-2); }
body .aia-kh { --kh-ink: var(--t-ink); --kh-muted: var(--t-muted); --kh-soft: var(--t-bg); --kh-line: var(--t-line); --kh-shadow: var(--t-sh-2); }
body :is(.aia-lf-hub .lf-kicker, .aia-kh .kh-kicker) { border: 1px solid var(--t-line) !important; background: #fff !important; color: var(--t-ink) !important; }
body :is(.aia-lf-hub .lf-kicker, .aia-kh .kh-kicker)::before { box-shadow: none !important; }
body :is(.aia-lf-hub .lf-btn, .aia-kh .kh-btn) { border-radius: var(--t-r-sm) !important; background: var(--t-red) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 18px -12px rgba(179, 14, 58, .9) !important; }
body :is(.aia-lf-hub .lf-btn, .aia-kh .kh-btn):hover { background: var(--t-red-dark) !important; }
body :is(.aia-lf-hub .lf-btn.alt, .aia-kh .kh-btn.alt) { border-color: var(--t-line-strong) !important; background: #fff !important; color: var(--t-ink) !important; box-shadow: none !important; }
body :is(.aia-lf-hub .lf-btn.alt, .aia-kh .kh-btn.alt):hover { border-color: var(--t-red) !important; color: var(--t-ink) !important; }
/* hero: light band, white card beside it */
body :is(.aia-lf-hub .lf-hero, .aia-kh .kh-hero) { border-bottom: 1px solid var(--t-red-line); background: var(--t-hero) !important; }
body .aia-lf-hub .lf-hero::after { content: none !important; }
body :is(.aia-lf-hub .lf-hero, .aia-kh .kh-hero) :is(.lf-kicker, .kh-kicker) { border-color: var(--t-red-line) !important; }
body :is(.aia-lf-hub .lf-hero, .aia-kh .kh-hero) h1 { color: var(--t-ink) !important; }
body :is(.aia-lf-hub .lf-hero, .aia-kh .kh-hero) h1 strong { color: var(--t-red) !important; }
body :is(.aia-lf-hub .lf-hero-grid, .aia-kh .kh-hero-grid) > div > p { color: var(--t-text) !important; }
body .aia-lf-hub .lf-hero .lf-note, body .aia-lf-hub .lf-hero .lf-note span { color: var(--t-text) !important; }
body :is(.aia-lf-hub .lf-panel, .aia-kh .kh-searchbox) { border: 1px solid var(--t-line) !important; border-radius: var(--t-r-lg) !important; background: #fff !important; box-shadow: var(--t-sh-2) !important; }
body .aia-lf-hub .lf-panel-item:hover, body .aia-kh .kh-search-list a:hover { border-color: var(--t-line-strong) !important; }
/* cards and tints */
body :is(.aia-lf-hub .lf-trust-grid, .aia-kh .kh-nav-grid) { border: 1px solid var(--t-line) !important; border-radius: var(--t-r) !important; box-shadow: var(--t-sh-2) !important; }
body .aia-lf-hub :is(.lf-goal, .lf-product, .lf-step, .lf-path), body .aia-kh :is(.kh-topic, .kh-article, .kh-check > div, .kh-faq details) { border: 1px solid var(--t-line) !important; border-radius: var(--t-r) !important; box-shadow: var(--t-sh-1) !important; }
body .aia-lf-hub :is(.lf-goal, .lf-product, .lf-path):hover, body .aia-kh :is(.kh-topic, .kh-article):hover { border-color: var(--t-line-strong) !important; box-shadow: var(--t-sh-2) !important; }
body .aia-lf-hub :is(.lf-path > span:first-child, .lf-tag), body .aia-kh :is(.kh-article > span:first-child, .kh-nav-grid a:hover) { background: var(--t-bg) !important; }
body .aia-kh .kh-faq summary::after { background: var(--t-bg) !important; color: var(--t-ink) !important; }
body .aia-kh .kh-faq details[open] summary::after { background: var(--t-red) !important; color: #fff !important; }
body .aia-kh .kh-faq details[open] { border-color: var(--t-line-strong) !important; }
body .aia-kh .kh-feature-main { border-radius: var(--t-r-lg) !important; background: var(--t-panel) !important; box-shadow: var(--t-sh-2) !important; }
body .aia-kh .kh-feature-main .kh-kicker { border-color: rgba(255, 255, 255, .2) !important; background: rgba(255, 255, 255, .08) !important; color: #fff !important; }
body .aia-kh .kh-feature-main .kh-kicker::before { background: var(--t-red) !important; }
body .aia-kh .kh-feature-main p { color: var(--t-on-navy-muted) !important; }
/* closing call: light band (the footer below is the dark block) */
body :is(.aia-lf-hub .lf-final, .aia-kh .kh-final) { border-top: 1px solid var(--t-line); background: var(--t-bg) !important; }
body :is(.aia-lf-hub .lf-section.soft + .lf-final, .aia-kh .kh-section.soft + .kh-final) { background: #fff !important; }
body :is(.aia-lf-hub .lf-final, .aia-kh .kh-final) h2 { color: var(--t-ink) !important; }
body :is(.aia-lf-hub .lf-final, .aia-kh .kh-final) p { color: var(--t-muted) !important; }
body :is(.aia-lf-hub .lf-final .lf-btn, .aia-kh .kh-final .kh-btn) { border-color: var(--t-red) !important; background: var(--t-red) !important; color: #fff !important; }
body :is(.aia-lf-hub .lf-final .lf-btn.alt, .aia-kh .kh-final .kh-btn.alt) { border-color: var(--t-line-strong) !important; background: #fff !important; color: var(--t-ink) !important; }

/* ===== About page (/runglawan/ .ag14): light grey ground instead of the pink wash ================== */
body #content .ag14 { background: var(--t-bg) !important; background-image: none !important; }
body #content .ag14 .it i { background: var(--t-red) !important; }

/* ===== Pages with their own colour names (guides, comparisons, career pages) ======================= */
/* Their styles name colours at :root; naming them again on body reaches everything inside the page.
   Dark slate becomes navy, the pink tint becomes light grey; reds and each page's accent stay. */
body {
  --ci-ink: var(--t-ink); --ci-slate: var(--t-navy); --ci-dark: var(--t-navy); --ci-dark-deep: var(--t-navy-2); --ci-red-light: var(--t-bg); --ci-red-subtle: #F8F9FA;
  --term-slate: var(--t-navy); --term-red-light: var(--t-bg);
  --ul-slate: var(--t-navy); --ul-red-light: var(--t-bg);
  --tax-ink: var(--t-ink); --tax-red-light: var(--t-bg);
  --k-navy: var(--t-navy); --k-navy-light: var(--t-navy-3); --k-red-light: var(--t-bg); --k-red-soft: var(--t-bg-2);
  --mat-ink: var(--t-ink);
  --aia-navy: var(--t-navy); --aia-navy-dark: var(--t-navy-2); --aia-slate: var(--t-navy); --aia-red-light: var(--t-bg);
}
/* dark boxes drawn in slate: page heads turn red (their type is white), call boxes and small boxes navy */
body #content :is(.copay-hero-box, .aia-subpage-hero, .tax-hero-banner, .k-hero-banner) { background: var(--t-hero-red) !important; }
body #content :is(.term-hub-box, .ci-hub-box, .ul-hub-box, .comp-cta-section) { background: var(--t-panel) !important; }
/* grey notes written for the old, darker panels: one step lighter so they stay readable on the charcoal */
body #content :is(.term-hub-box, .ci-hub-box, .ul-hub-box, .comp-cta-section, .aia-fa-cta-box, .copay-calc-formula, .k-lead-section, .k-filter-panel, .prop-top-bar, .prop-d-right, .prop-tax-calc, .career-top-bar, .career-contact-card) :is([style*="94A3B8" i], .term-hub-sub, .ci-hub-sub, .ul-hub-sub) { color: var(--t-on-navy-muted) !important; }
body #content :is(.copay-calc-formula, .k-lead-section, .k-filter-panel, .prop-top-bar, .prop-d-right, .prop-tax-calc, .career-top-bar, .career-contact-card) { background: linear-gradient(180deg, #3B4651 0%, #2B333C 100%) !important; }
body #content .copay-hero-box p.hero-subtitle { color: rgba(255, 255, 255, .92) !important; }
/* pale pink accents written for a dark ground: paler on the red head; the tax page sets its pink inline, so its head is a deeper red */
body #content .aia-subpage-hero .hl-box strong { color: #FFE3EA !important; }
body #content .tax-hero-banner { background: var(--t-rings) right -40px top -30px / 760px auto no-repeat, linear-gradient(135deg, #7A0A28 0%, #A30D35 100%) !important; }
