/* Midnight & Amber visual identity. Colour only: retain the approved site geometry and typography. */
html body.amber-site{
 --navy:#102B46;--navy-2:#173A58;--ink:#FAF5E9;--teal:#8BAEC8;--teal-dark:#8BAEC8;
 --paper:#102B46;--white:#FAF5E9;--mist:#173A58;--muted:#D3E3ED;--border:#54738C;
 --line:#54738C;--tint:#173A58;--gold:#E7AA3C;
 background:#102B46!important;color:#FAF5E9!important;color-scheme:dark;
}
html body.amber-site :is(.site-header,.site-footer){background:transparent!important;color:#FAF5E9!important;border-color:#54738C!important}
html body.amber-site .brand-word-image{background-image:url('/assets/rogha-amber-dark.svg')!important}
html body.amber-site :is(.wordmark small,.footer-mark small){color:#8BAEC8!important}
html body.amber-site .site-header nav a,html body.amber-site .site-footer a{color:#FAF5E9!important}
html body.amber-site .site-header nav a:hover,html body.amber-site .site-header nav a[aria-current=page]{color:#FAF5E9!important;border-color:#E7AA3C!important}
html body.amber-site .menu-button{background:#8BAEC8!important;color:#102B46!important;border-color:#8BAEC8!important}
html body.amber-site :is(.regulatory-disclaimer,.regulatory-disclaimer strong,.footer-note,.site-footer p){background:transparent!important;color:#D3E3ED!important;border-color:#54738C!important}
html body.amber-site :is(main,.home-signup,.page-signup){background:transparent;color:#FAF5E9}
html body.amber-site main :is(h1,h2,h3,h4,h5){color:#FAF5E9!important}
html body.amber-site main :is(p,li,dd,dt,figcaption,label,summary,time,small){color:#D3E3ED!important}
html body.amber-site main :is(strong,em){color:inherit}
html body.amber-site main a{color:#8BAEC8!important;text-decoration-color:#E7AA3C}
html body.amber-site main a:hover{color:#FAF5E9!important}
html body.amber-site :is(.eyebrow,.item-index,.xray-list-label,.card-number,.guide-top,.section-link,.read-link){color:#8BAEC8!important}
html body.amber-site :is(.page-hero,.article-main,.edition-intro,.mast,.breadcrumbs,.newsletter-header){background:transparent!important;border-color:#54738C!important}
html body.amber-site .page-hero :is(p,time),html body.amber-site .article-main :is(p,li,dd,dt){color:#D3E3ED!important}
html body.amber-site :is(.breadcrumbs,.breadcrumbs span,.seo-check-note,.experience-byline,.deck,.reviewed,.next-guide,.learn-attribution,.learn-attribution-policy){color:#D3E3ED!important;border-color:#54738C!important;background:transparent!important}
html body.amber-site :is(.seo-answer,.seo-next,.build-status,.explore-boundary-note,.buy-account-banner,.exact-checklist,.buy-provider,.buy-guidance-card,.learn-section-tile,.collection-card,.learn-card,.control-panel,.result-panel,.etf-card,.input-panel,.output-preview,.method-gate,.comparison-rules,.comparison-rule-list,.difference-note,.buy-overview,.buy-editorial,.buy-closing,.source-note,.explainer-block,.newsletter-cta){background:#173A58!important;color:#FAF5E9!important;border-color:#54738C!important}
html body.amber-site :is(.learn-section-tile,.collection-card,.learn-card):hover{background:#204764!important;color:#FAF5E9!important;border-color:#E7AA3C!important}
html body.amber-site :is(.learn-section-tile,.collection-card,.learn-card):hover :is(p,span,strong,h2,h3){color:#FAF5E9!important}
html body.amber-site :is(.library-grid,.learn-group,.learn-group-intro,.buy-guidance-grid,.buy-directory,.buy-sources,.insight-archive,.insight-compact-row,.news-method,.news-section-heading,.section-topline,.beginner-journey,.seo-source-links){border-color:#54738C!important}
html body.amber-site .insight-compact-row{background:transparent!important;border-color:#54738C!important}
html body.amber-site .insight-compact-row:hover{background:#173A58!important;color:#FAF5E9!important}
html body.amber-site .insight-compact-row :is(h2,p,time){color:#FAF5E9!important}
html body.amber-site :is(.button,.button.primary,.button.secondary,.explore-compare-link,.analyse-button,.analyse-button:hover){background:#8BAEC8!important;color:#102B46!important;border-color:#8BAEC8!important}
html body.amber-site :is(.button,.button.primary,.button.secondary,.explore-compare-link):hover{background:#FAF5E9!important;color:#102B46!important;border-color:#FAF5E9!important}
html body.amber-site :is(input,select,textarea){background:#FAF5E9!important;color:#102B46!important;border-color:#8BAEC8!important;color-scheme:light}
html body.amber-site :is(input,textarea)::placeholder{color:#506474!important;opacity:1}
html body.amber-site :is(button,summary){color:#FAF5E9;border-color:#54738C}
html body.amber-site :is(.explore-refine,.explore-filter-body,.filter-selects,.explore-note,.comparison-workspace,.comparison-output,.selected-etfs){background:#173A58!important;color:#FAF5E9!important;border-color:#54738C!important}
html body.amber-site :is(.explore-refine summary,.explore-refine summary span,.explore-compare-bar,.holdings-universe-status,.holdings-universe-status strong,.holdings-list-header){color:#FAF5E9!important;border-color:#54738C!important}
html body.amber-site .explore-category-buttons button,html body.amber-site #clear-explore-filters{background:#102B46!important;color:#FAF5E9!important;border-color:#8BAEC8!important}
html body.amber-site .explore-category-buttons button[aria-pressed=true],html body.amber-site .explore-category-buttons button:hover{background:#8BAEC8!important;color:#102B46!important;border-color:#8BAEC8!important}
html body.amber-site :is(.holdings-explore-card,.holdings-explore-card:hover){background:#102B46!important;color:#FAF5E9!important;border-color:#54738C!important}
html body.amber-site .holdings-explore-card :is(strong,span,small){color:#D3E3ED!important}
html body.amber-site :is(.add-to-compare,.comparison-remove,[data-remove-isin]){background:#8BAEC8!important;color:#102B46!important;border-color:#8BAEC8!important}
html body.amber-site :is(.add-to-compare.is-selected,.add-to-compare[aria-pressed=true]){background:#E7AA3C!important;color:#102B46!important;border-color:#E7AA3C!important}
html body.amber-site :is(table,thead,tbody,tr,th,td){background:#102B46!important;color:#FAF5E9!important;border-color:#54738C!important}
html body.amber-site :is(thead th,.news-table thead th){background:#173A58!important;color:#FAF5E9!important}
html body.amber-site :is(th,td) :is(p,strong,span,small,time){color:#D3E3ED!important}
html body.amber-site :is(.tablefoot,.ref,.chartunit,.news-period,.news-source-language,.news-table-help){color:#D3E3ED!important}
html body.amber-site :is(details,summary,blockquote,hr){border-color:#54738C!important}
html body.amber-site .article-main figure{background:#FAF5E9;color:#102B46}
html body.amber-site .article-main figure :is(p,figcaption,strong,span,small){color:#102B46!important}
html body.amber-site .article-main figure a{color:#102B46!important}
html body.amber-site :is(.home-signup,.page-signup){background:#173A58!important;color:#FAF5E9!important;border-color:#54738C!important}
html body.amber-site :is(.home-signup,.page-signup) :is(h2,p,label){color:#FAF5E9!important}
html body.amber-site :is(.home-signup,.page-signup) a:not(.button){color:#8BAEC8!important}
html body.amber-site :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #E7AA3C!important;outline-offset:4px}
html body.amber-site .learn-section-tile span,html body.amber-site .next-guide span{color:#8BAEC8!important}
html body.amber-site .explore-compare-bar{background:#173A58!important}
html body.amber-site .holdings-explore-card .specialist{background:#E7AA3C!important;color:#102B46!important}
html body.amber-site .holdings-explore-card .add-to-compare span{color:#102B46!important}
html body.amber-site .article-main :is(.mast span,.newsletter-meta,.newsletter-meta span){color:#D3E3ED!important}
html body.amber-site .explore-compare-bar span{color:#D3E3ED!important}
html body.amber-site .comparison-close{background:#8BAEC8!important;color:#102B46!important;border-color:#8BAEC8!important}
html body.amber-site .comparison-data-status{background:#173A58!important;color:#D3E3ED!important;border-color:#54738C!important}
html body.amber-site .tax-rule-callout{background:#173A58!important;color:#FAF5E9!important;border-color:#E7AA3C!important}
html body.amber-site .related-insight-label{color:#8BAEC8!important}

/* Selected header treatment: amber R and ETF, ivory ogha. */
html body.amber-site .site-header .brand-word-image{background-image:url('/assets/rogha-amber-header.svg')!important}
html body.amber-site .site-header .wordmark small{color:#E7AA3C!important}

html body.amber-site .site-footer .brand-word-image{background-image:url('/assets/rogha-amber-header.svg')!important}
html body.amber-site .site-footer .footer-mark small{color:#E7AA3C!important}

/* Main page headings remain ivory; content titles in lists/cards use amber. */
html body.amber-site main h1,
html body.amber-site main h1 :is(a,span,strong,em){color:#FAF5E9!important}
html body.amber-site :is(.insight-compact-row,.learn-card,.learn-section-tile) :is(h2,h3),
html body.amber-site :is(.insight-compact-row,.learn-card,.learn-section-tile) :is(h2,h3) :is(a,span,strong,em),
html body.amber-site :is(.insight-compact-row,.learn-card,.learn-section-tile):hover :is(h2,h3),
html body.amber-site[data-page-section="learn"] .beginner-journey h3 a{color:#E7AA3C!important}
html body.amber-site[data-page-section="news"] .news-table td:nth-child(2),
html body.amber-site[data-page-section="news"] .news-table td:nth-child(2) :is(strong,a,span){color:#E7AA3C!important}

/* Keep Start here guide text comfortably inside its card surface. */
html body.amber-site[data-page-section="learn"] .learn-card{padding:24px!important}
@media(max-width:800px){html body.amber-site[data-page-section="learn"] .learn-card{padding:20px!important}}

/* Keep all guide cards readable while navigating with a keyboard. */
html body.amber-site[data-page-section="learn"] .learn-card:focus-visible{background:#204764!important;color:#FAF5E9!important;border-color:#E7AA3C!important}
html body.amber-site[data-page-section="learn"] .learn-card:focus-visible :is(p,span,strong){color:#D3E3ED!important}
html body.amber-site[data-page-section="learn"] .learn-card:focus-visible :is(h2,h3){color:#E7AA3C!important}
