html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Consistent heading scale for the compliance/disclosure pages
   (Complaints, Policies, Sustainability disclosures). MudBlazor's default
   Typo scale renders h3 and h4 almost identically; these rules restore a
   clear, uniform hierarchy across all three pages. */
.compliance-page .mud-typography-h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.compliance-page .mud-typography-h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.compliance-page .mud-typography-h4 {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

.compliance-page .mud-typography-body1 {
    line-height: 1.6;
}

/* Raw-markup blocks (MarkupString lists) inherit the body size, which differs
   from MudText body1 - pin the whole page to the body1 size so all text on the
   compliance/disclosure pages matches (round-2 R5/R9). */
.compliance-page {
    font-size: var(--mud-typography-body1-size);
    line-height: 1.6;
}

/* Shared card and section styles - deduped from per-page <style> blocks
   (round-2 R4/R5). No hover lift: the mouseover effect was removed (R1). */
.service-card {
    overflow: hidden;
    height: 100%;
    border-radius: 8px;
}

.alken-card-background {
    height: 100%;
    width: 100%;
    position: relative;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.content-container {
    z-index: 2;
    position: relative;
}

.text-black {
    color: black !important;
}

.text-blue {
    color: blue !important;
}

.paper-item {
    background-color: transparent !important;
    padding: 4px 0;
}

h2.section-title {
    font-family: var(--display);
    font-size: 36px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 20px;
    color: var(--brand-primary);
    position: relative;
    padding-bottom: 12px;
}

    h2.section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background-color: var(--brand-primary);
    }

/* Fund/classification card - shared by the Home fund boxes and the SFDR
   classification boxes on /sustainability-disclosures (round-2 R1: one design,
   no mouseover effect). */
.fund-card {
    border-radius: 8px;
    border-top: 4px solid var(--brand-primary);
}

/* Justified copy blocks; .affm-copy also sets body size and chevron <ul> bullets. */
.fund-card,
.affm-copy {
    text-align: justify;
}

.affm-copy,
.affm-copy .mud-typography-body1 {
    font-size: 16px;
    line-height: 1.6;
}

.affm-copy ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 8px;
}

.affm-copy ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 8px;
}

/* Material "label_important" glyph, same as the MudIcon on the Home/About bullet rows.
   Uses --affm, not --brand-primary: the latter is defined in site.css, which App.razor
   only preloads and never links, so it resolves to nothing and the glyph goes invisible. */
.affm-copy ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 20px;
    height: 20px;
    background-color: var(--affm);
    --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 18.99l11 .01c.67 0 1.27-.33 1.63-.84L20.5 12l-4.37-6.16c-.36-.51-.96-.84-1.63-.84l-11 .01L8.34 12 3.5 18.99z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: var(--chevron);
    mask: var(--chevron);
}

/* Gold underline, opt-in. Face/colour/padding come from h2.section-title above. */
.section-title {
  border-bottom: 2px solid var(--signal); /* AFFM gold underline */
  display: inline-block;
}
body { font-family: var(--sans); color: var(--fg); background: var(--bg); }
a { color: var(--affm); }
a:hover { color: var(--affm-darken); }
.mud-table-root .mud-table-head .mud-table-cell,
table thead th {
  background: var(--affm) !important;
  color: var(--paper) !important;
  text-transform: uppercase;
}
tbody tr:nth-child(even) { background: var(--bone); }
.value-positive { color: var(--affm); font-weight: 700; }
.value-negative { color: var(--negative); font-weight: 700; }
