.fund-page [hidden] { display: none !important; }
.fund-page [id] { scroll-margin-top: 110px; }
.fund-page :is(button, input, select, summary, [tabindex]):focus-visible {
    outline: 2px solid #9d7133;
    outline-offset: 3px;
}
.fund-page .fund-hero .investment-hero-inner { min-height: clamp(500px, 34vw, 594px); }
.fund-page .fund-hero .investment-hero-copy { width: min(100%, 800px); }
.fund-page .fund-hero::after { background: linear-gradient(90deg, #081b30ec 8%, #081b30c9 33%, #081b3062 60%, #081b3007 100%); }
.fund-breadcrumb { border-bottom: 1px solid #e2e8ef; background: #f8f9fc; }
.fund-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-block: 0; padding: 10px 0; list-style: none; font-size: 13px; }
.fund-breadcrumb li + li::before { margin-inline-end: 10px; color: #68778d; content: "/"; }
.fund-breadcrumb a { color: #3b5169; text-underline-offset: 3px; }
.fund-breadcrumb [aria-current] { font-weight: 650; }
.fund-page .investment-split { gap: clamp(27px, 5.5vw, 80px); }
.fund-photo-frame { min-width: 0; }
.fund-photo-frame img { display: block; }
.fund-principles {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 34px 0 0; padding: 0; list-style: none;
    border: 1px solid var(--investment-line); border-radius: 10px; background: #f8f9fc;
}
.fund-principles li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 16px clamp(12px, 1.6vw, 22px); font-size: 14px; font-weight: 650; }
.fund-principles li + li { border-inline-start: 1px solid var(--investment-line); }
.fund-principles svg { color: var(--investment-gold-ink); }

.fund-filter { overflow: hidden; border: 1px solid var(--investment-line); border-radius: 12px; background: #fff; }
.fund-pills { display: flex; flex-wrap: wrap; gap: 7px; padding: 16px; border-bottom: 1px solid #e8edf3; }
.fund-pills a, .fund-periods button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
    border: 1px solid #d9e2eb; border-radius: 7px; padding: 5px 13px;
    color: var(--investment-navy); background: #fff; font-family: inherit;
    font-size: 13px; font-weight: 675; text-decoration: none;
}
.fund-pills a:hover, .fund-periods button:hover { border-color: #a67a3e; background: #fbf7ec; }
.fund-pills a[aria-current], .fund-periods button[aria-pressed="true"] { border-color: #102a43; background: #102a43; color: #fff; }
.fund-filter-form { padding: 16px; }
.fund-filter-fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; align-items: end; gap: 10px; }
.fund-document-fields { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) auto; }
.fund-field { display: grid; min-width: 0; gap: 5px; font-size: 13px; font-weight: 675; }
.fund-field :is(input,select) {
    width: 100%; min-width: 0; min-height: 42px; padding: 6px 9px;
    border: 1px solid #cbd6e2; border-radius: 7px;
    background: #fff; color: var(--investment-ink); font: 400 14px/1.2 var(--sans);
}
.fund-page .button.fund-navy-button, .fund-page .button.fund-light-button { min-height: 42px; padding-inline: 15px; white-space: normal; text-align: center; }
.fund-page .button.fund-navy-button { border-color: #102a43; background: #102a43; color: #fff; }
.fund-page .button.fund-navy-button:hover { background: #244b69; }
.fund-page .button.fund-light-button { border-color: #cbd6e2; background: #fff; color: #102a43; }
.fund-page .button.fund-light-button:hover { background: #fbf7ec; }
.fund-results { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 17px 0 11px; color: var(--investment-copy); font-size: 14px; }
.fund-results p { margin: 0; }
.fund-results a, .fund-reset { border: 0; background: transparent; color: var(--investment-gold-ink); font: 675 14px var(--sans); text-underline-offset: 3px; text-decoration: underline; }

.fund-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(17px, 2.5vw, 34px); }
.fund-theme-stability { --fund-accent: #344e68; --fund-soft: #eaf0f7; --fund-dark: #152c43; }
.fund-theme-balanced { --fund-accent: #215b54; --fund-soft: #e6f1ef; --fund-dark: #123c37; }
.fund-theme-growth { --fund-accent: #795722; --fund-soft: #f7edda; --fund-dark: #222932; }
.fund-theme-global-opportunities { --fund-accent: #825538; --fund-soft: #f6ece4; --fund-dark: #111e34; }
.fund-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid #dfe6ed; border-radius: 13px; background: #fff; transition: border-color .22s, box-shadow .22s; }
.fund-card:hover { border-color: #bb9b63; box-shadow: 0 10px 28px #102a4310; }
.fund-card-photo { overflow: hidden; aspect-ratio: 8 / 3; border-bottom: 3px solid var(--fund-accent); background: var(--fund-dark); }
.fund-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; transition: transform .55s; }
.fund-theme-global-opportunities .fund-card-photo img { object-position: center 46%; }
@media (hover: hover) {
    .fund-card:hover .fund-card-photo img { transform: scale(1.035); }
}
.fund-card-body { display: flex; flex-direction: column; align-items: start; flex: 1; min-width: 0; padding: clamp(17px, 2.4vw, 31px); }
.fund-card-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; margin-bottom: 12px; }
.fund-emblem { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 9px; background: var(--fund-soft); }
.fund-status { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e5d3a9; border-radius: 40px; padding: 3px 9px; background: #faf2df; color: #674a22; font-size: 12px; font-weight: 700; }
.fund-status::before { width: 6px; height: 6px; border-radius: 50%; background: #8f6a31; content: ""; }
.fund-card .fund-translation { margin: 5px 0 12px; color: var(--investment-muted); font-size: 14px; font-weight: 600; }
.fund-card-tagline { margin: 0 0 5px; color: var(--fund-accent); font-weight: 700; }
.fund-copy { margin: 0; color: var(--investment-copy); }
.fund-asset-tags, .fund-asset-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 20px; padding: 0; list-style: none; }
.fund-asset-tags li, .fund-asset-list li { border: 1px solid #e2e9f1; border-radius: 6px; padding: 3px 8px; background: #f5f7fa; font-size: 13px; line-height: 1.45; }
.fund-asset-list li { padding: 7px 10px; background: #fff; }
.fund-card-facts { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; width: 100%; margin: auto 0 15px; padding-top: 12px; border-top: 1px solid #e4e9f0; }
.fund-card-facts dt, .fund-financial-grid dt, .fund-metrics dt { color: var(--investment-copy); font-size: 13px; }
.fund-card-facts dd, .fund-financial-grid dd, .fund-metrics dd { margin: 3px 0 0; font-weight: 675; line-height: 1.4; }
.fund-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; color: var(--fund-accent, #795722); font-weight: 725; text-decoration: underline; text-decoration-color: #caa769; text-underline-offset: 4px; }
.fund-text-link:hover { text-decoration-color: currentColor; }
.fund-text-link svg, .fund-hero .button svg, .fund-closing .button svg { width: 16px; height: 16px; }

.fund-compare-choices { min-width: 0; margin: 0 0 9px; padding: 9px 13px; border: 1px solid var(--investment-line); border-radius: 9px; background: #f8f9fc; }
.fund-compare-choices legend { padding-inline: 5px; font-size: 14px; font-weight: 700; }
.fund-compare-choices p { margin: 0; color: var(--investment-copy); font-size: 13px; }
.fund-compare-options { display: flex; flex-wrap: wrap; gap: 6px 19px; }
.fund-compare-options label { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; font-size: 14px; font-weight: 625; cursor: pointer; }
.fund-compare-options input { width: 17px; height: 17px; margin: 0; accent-color: #173b59; }
.fund-compare-options label:has(input:disabled) { color: #5b6a7d; cursor: default; }
.fund-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--investment-line); border-radius: 10px; overscroll-behavior-inline: contain; }
.fund-table { width: 100%; min-width: 740px; border-collapse: collapse; table-layout: fixed; }
.fund-table.is-custom { min-width: var(--fund-table-min, 520px); }
.fund-table th, .fund-table td { padding: 13px 14px; border-bottom: 1px solid #e2e8ef; text-align: left; overflow-wrap: anywhere; }
.fund-table thead th { background: #102a43; color: #fff; font-size: 14px; }
.fund-table tbody th { font-size: 14px; }
.fund-table td { color: var(--investment-copy); font-size: 14px; }
.fund-table tbody tr:nth-child(even) { background: #f7f9fb; }
.fund-table tbody tr:last-child > * { border-bottom: 0; }
.fund-note, .fund-scroll-hint { margin: 10px 0 0; color: var(--investment-copy); font-size: 13px; }
.fund-scroll-hint { display: none; margin: 0 0 7px; }

.fund-chart-panel { min-width: 0; padding: clamp(14px, 2.7vw, 32px); border: 1px solid var(--investment-line); border-radius: 12px; background: #fff; }
[data-allocation] { margin-top: 28px; }
.fund-panel-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.fund-panel-heading .fund-field { width: min(100%, 300px); }
.fund-empty { display: grid; justify-items: center; gap: 6px; border: 1px dashed #bdcbdc; border-radius: 9px; padding: clamp(20px, 5vw, 45px) 15px; background: #fff; text-align: center; }
.fund-empty .investment-icon { width: 28px; height: 28px; color: var(--investment-gold-ink); }
.fund-empty :is(h3,h4) { margin: 2px 0 0; color: var(--investment-ink); font: 650 clamp(18px, 2vw, 22px)/1.3 var(--serif); }
.fund-empty p { max-width: 60ch; margin: 0; color: var(--investment-copy); }
.fund-empty p:empty { display: none; }
.fund-chart-empty { margin-top: 15px; background: #f8fafc; }
.fund-demo { width: fit-content; margin: 15px 0 0; border-left: 3px solid #b9862f; padding: 5px 10px; background: #fcf3e1; color: #694a20; font-weight: 700; font-size: 13px; }
.fund-allocation-plot { display: grid; grid-template-columns: minmax(0, 255px) minmax(0, 1fr); align-items: center; gap: 20px; margin-top: 16px; }
.fund-donut { position: relative; width: min(100%, 240px); margin-inline: auto; }
.fund-donut svg { display: block; width: 100%; overflow: visible; transform: rotate(-90deg); }
.fund-donut-track, .fund-donut-segment { fill: none; stroke-width: 21; }
.fund-donut-track { stroke: #e7edf4; }
.fund-donut-segment.is-selected { stroke-width: 25; }
.fund-donut-center { position: absolute; inset: 25%; display: grid; align-content: center; justify-items: center; pointer-events: none; color: #193451; text-align: center; font-size: 13px; }
.fund-donut-center span:first-child { font-size: clamp(18px, 4vw, 27px); font-weight: 750; }
.fund-allocation-legend { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fund-allocation-legend button {
    display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; min-height: 42px;
    padding: 5px 8px; border: 1px solid #dce4ec; border-radius: 7px; background: #fff; color: #102a43;
    font: 650 14px var(--sans); text-align: left;
}
.fund-allocation-legend button[aria-pressed="true"], .fund-allocation-legend button:hover { border-color: #a7793d; background: #faf5e9; }
.fund-chart-dot { width: 10px; height: 10px; border-radius: 50%; }
.fund-periods { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.fund-periods button { min-width: 41px; min-height: 38px; padding: 4px 9px; }
.fund-line-plot { margin-top: 14px; }
.fund-line-plot svg { display: block; width: 100%; height: auto; border: 1px solid #dce5ef; border-radius: 8px; background: #f8fafc; }
.fund-line-plot svg text { fill: #425674; font-size: 14px; }
.fund-chart-scrubber { display: grid; gap: 4px; margin-top: 11px; color: var(--investment-copy); font-size: 13px; }
.fund-chart-scrubber input { width: 100%; accent-color: #1f4d6c; }
.fund-line-tooltip { display: block; width: fit-content; margin-top: 9px; border-radius: 6px; padding: 4px 8px; background: #eef3f8; color: #253c56; font-size: 13px; }
.fund-metrics, .fund-financial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 15px 0 0; }
.fund-metrics:not(:has(div:not([hidden]))) { display: none; }
.fund-metrics > div, .fund-financial-grid > div { min-width: 0; border: 1px solid var(--investment-line); border-radius: 8px; padding: 10px 12px; background: #fff; overflow-wrap: anywhere; }
.fund-metrics dd, .fund-donut, .fund-allocation-legend, .fund-line-plot, .fund-financial-grid dd { font-variant-numeric: tabular-nums; }

.fund-doc-empty { margin-top: 16px; background: #fbfcfe; }
.fund-document-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 12px; border: 1px solid var(--investment-line); border-radius: 9px; padding: 14px; }
.fund-document-row p { margin: 4px 0 0; }
.fund-document-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fund-page .investment-risk h2 { color: #fff; }
.fund-journey .investment-timeline::before { background: #cfb077; }
.fund-page .investment-closing .investment-background img { object-position: center 58%; }
.fund-page .investment-disclaimer p { margin: 5px 0 0; }

.fund-detail-hero { background: var(--fund-dark); }
.fund-detail-hero::after { content: none; }
.fund-detail-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(23px, 4vw, 60px); padding-block: clamp(34px, 5vw, 70px); }
.fund-detail-hero h1 { font-size: clamp(36px, 4.1vw, 62px); overflow-wrap: anywhere; }
.fund-detail-photo img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border: 1px solid #d5b57591; border-radius: 12px; }
.fund-detail-translation { margin: 9px 0 0; color: #f2d795; font-size: clamp(16px, 1.7vw, 22px); font-weight: 625; }
.fund-code { color: #e9f0f7; font-size: 13px; }
.fund-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fund-detail-breakdowns { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
.fund-detail-item { border: 1px solid var(--investment-line); border-radius: 10px; padding: clamp(12px, 2.2vw, 23px); background: var(--investment-tint); }
.fund-detail-item p { margin: 7px 0 0; color: var(--investment-copy); }
.fund-detail-risk .investment-section-heading > p:not(.investment-kicker), .fund-detail-risk .fund-detail-item p { color: #d6e3f2; }
.fund-detail-risk .fund-detail-item { border-color: #415974; background: #102a43; }
.fund-detail-risk .fund-detail-item h3 { color: #f3dfb1; }
.fund-return { margin-block: 0 22px; }

@media (max-width: 1040px) {
    .fund-filter-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .fund-scroll-hint { display: block; }
    .fund-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fund-principles li:nth-child(3) { border-inline-start: 0; }
    .fund-principles li:nth-child(n + 3) { border-top: 1px solid var(--investment-line); }
    .fund-detail-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .fund-detail-photo { max-width: 600px; }
    .fund-detail-photo img { aspect-ratio: 8 / 3.5; }
}
@media (max-width: 650px) {
    .fund-page [id] { scroll-margin-top: 75px; }
    .fund-page .fund-hero::after { background: linear-gradient(90deg, #081b30e8, #081b30aa 68%, #081b3082); }
    .fund-page .fund-hero .investment-hero-inner { min-height: 500px; }
    .fund-page .fund-hero .investment-hero-inner h1 { font-size: clamp(37px, 8.6vw, 48px); }
    .fund-card-grid, .fund-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .fund-filter-fields, .fund-metrics, .fund-financial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fund-allocation-plot { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .fund-donut { width: min(100%, 190px); }
    .fund-card-photo { aspect-ratio: 8 / 4.1; }
    .fund-table :is(th,td) { padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .fund-card, .fund-card-photo img { transition: none; }
    .fund-card:hover .fund-card-photo img { transform: none; }
}
