/* MAF Experience: Tribute Funds */

.maftf { --ink: var(--maf-head, #20202a); --body: var(--maf-text, #3d3d45); --line: #ebe6e3; --soft: #6b6b74; font-family: var(--maf-bf); color: var(--body); }
.maftf *, .maftf *::before, .maftf *::after { box-sizing: border-box; }
.maftf-in { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.maftf .maftf-bar { display: block; width: 52px; height: 5px; border-radius: 3px; background: #80BC00; margin: 0 0 20px; }
.maftf .maftf-eyebrow { font: 700 12px/1.3 var(--maf-hf) !important; letter-spacing: .12em !important; text-transform: uppercase !important; color: var(--soft) !important; margin: 0 0 12px !important; }
.maftf .maftf-h1 { font-family: var(--maf-hf) !important; font-size: clamp(40px, 5vw, 58px) !important; font-weight: 800 !important; line-height: 1.05 !important; letter-spacing: -.02em !important; color: var(--ink) !important; margin: 0 !important; }
.maftf .maftf-h2 { font-family: var(--maf-hf) !important; font-size: clamp(30px, 3.4vw, 42px) !important; font-weight: 800 !important; line-height: 1.08 !important; letter-spacing: -.015em !important; color: var(--ink) !important; margin: 0 0 22px !important; text-wrap: balance; }
.maftf .maftf-h2.is-how { font-size: clamp(28px, 3vw, 38px) !important; max-width: 22ch; margin-bottom: 40px !important; }

/* Header */
.maftf-head { border-bottom: 1px solid var(--line); }
.maftf-headgrid { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-end; padding-top: 64px; padding-bottom: 56px; }
.maftf-headl { flex: 1 1 460px; min-width: 0; }
.maftf-headr { flex: 1 1 340px; min-width: 0; max-width: 440px; display: grid; gap: 20px; }
.maftf .maftf-lede { font: 400 22px/1.45 var(--maf-bf) !important; color: var(--ink) !important; margin: 18px 0 0 !important; max-width: 30ch; text-wrap: pretty; }
.maftf .maftf-intro { font-size: 17px !important; line-height: 1.65 !important; color: var(--body) !important; margin: 0 !important; text-wrap: pretty; }

/* Buttons */
.maftf-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.maftf a.maftf-btn, .maftf a.maftf-btn:hover, .maftf a.maftf-btn:focus, .maftf a.maftf-btn:visited {
	display: inline-flex; align-items: center; gap: 8px; padding: 15px 24px !important; border-radius: 999px !important; border: 2px solid transparent;
	font: 700 13px/1 var(--maf-hf) !important; letter-spacing: .08em !important; text-transform: uppercase !important; text-decoration: none !important; transform: none !important;
	background: var(--bb, #870F54) !important; color: var(--bi, #fff) !important; transition: filter .15s ease, background .15s ease, color .15s ease;
}
.maftf a.maftf-btn:hover { filter: brightness(.92); }
.maftf a.maftf-btn.is-fund, .maftf a.maftf-btn.is-fund:hover, .maftf a.maftf-btn.is-fund:visited { background: var(--tfb) !important; color: var(--tfi) !important; }
.maftf a.maftf-btn.is-line, .maftf a.maftf-btn.is-line:visited { background: transparent !important; color: var(--ink) !important; border-color: var(--ink) !important; padding: 13px 22px !important; }
.maftf a.maftf-btn.is-line:hover { background: var(--ink) !important; color: #fff !important; filter: none; }
.maftf a.maftf-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Fund rows */
.maftf-list { padding-top: 24px; padding-bottom: 32px; }
.maftf-row { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.maftf-row:last-child { border-bottom: 0; }
.maftf-row.is-flip { flex-direction: row-reverse; }
.maftf-photo { flex: 0 1 380px; min-width: 260px; position: relative; }
.maftf-block { position: absolute; inset: 18px -18px -18px 18px; border-radius: 22px; background: var(--tf); }
.maftf-row.is-flip .maftf-block { inset: 18px 18px -18px -18px; }
.maftf-frame { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: #efe9e6; box-shadow: 0 24px 48px -24px rgba(32,32,42,.45); }
.maftf .maftf-frame img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: 50% 25%; border-radius: 0 !important; }
.maftf-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 120px/1 var(--maf-hf); color: var(--tf); opacity: .5; }

.maftf-logo { position: absolute; z-index: 2; right: -14px; bottom: 26px; width: 112px; height: 112px; border-radius: 20px; background: #fff; padding: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -12px rgba(32,32,42,.45), 0 0 0 1px rgba(32,32,42,.06); }
.maftf-row.is-flip .maftf-logo { right: auto; left: -14px; }
.maftf .maftf-logo img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain; border-radius: 0 !important; }

.maftf-body { flex: 1 1 420px; min-width: 0; max-width: 600px; }
.maftf-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 16px; }
.maftf-tag { font: 700 11px/1 var(--maf-hf); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: color-mix(in srgb, var(--tf) 26%, #fff); padding: 8px 11px; border-radius: 999px; }
.maftf-line { font-size: 15px; color: var(--soft); }
.maftf .maftf-quote { margin: 0 0 22px !important; padding: 0 0 0 22px !important; border: 0 !important; border-left: 4px solid var(--tf) !important; background: none !important; }
.maftf .maftf-quote p { font: 600 21px/1.4 var(--maf-hf) !important; color: var(--ink) !important; margin: 0 !important; font-style: normal !important; text-wrap: pretty; }
.maftf .maftf-p { font-size: 17px !important; line-height: 1.7 !important; color: var(--body) !important; margin: 0 0 28px !important; text-wrap: pretty; }

.maftf-goal { margin: 0 0 26px; max-width: 460px; }
.maftf-goalnums { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; }
.maftf-goalnums strong { font: 800 28px/1 var(--maf-hf); color: var(--ink); }
.maftf-goalnums span { font-size: 15px; color: var(--soft); }
.maftf-track { height: 10px; border-radius: 999px; background: #f1edeb; overflow: hidden; }
.maftf-track span { display: block; height: 100%; border-radius: inherit; background: var(--tf); }

.maftf .maftf-adminnote { background: #fff4d6; border: 1px solid #f0d58a; border-radius: 8px; padding: 12px 14px; margin: 32px 0 !important; color: #5a4400 !important; }

/* How it works */
.maftf-how { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.maftf-how .maftf-in { padding-top: 72px; padding-bottom: 72px; }
.maftf-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.maftf-step { background: #fff; border-radius: 18px; padding: 28px 26px 30px; box-shadow: 0 0 0 1px var(--line); }
.maftf-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font: 800 16px/1 var(--maf-hf); margin-bottom: 18px; }
.maftf .maftf-step h3 { font: 800 20px/1.25 var(--maf-hf) !important; color: var(--ink) !important; margin: 0 0 10px !important; }
.maftf .maftf-step p { font-size: 16px !important; line-height: 1.65 !important; margin: 0 !important; color: var(--body) !important; }

/* Closing band */
.maftf-ctagrid { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.maftf-ctal { flex: 1 1 480px; min-width: 0; }
.maftf .maftf-h2.is-cta { font-size: clamp(28px, 3vw, 38px) !important; color: var(--ci) !important; margin-bottom: 12px !important; }
.maftf .maftf-ctap { font-size: 18px !important; line-height: 1.6 !important; color: var(--ci) !important; margin: 0 !important; max-width: 52ch; }
.maftf a.maftf-btn.is-solidink, .maftf a.maftf-btn.is-solidink:visited { background: var(--ci) !important; color: var(--ink) !important; }
.maftf-cta[style*="--ci:#20202A"] a.maftf-btn.is-solidink { color: #fff !important; }
.maftf a.maftf-btn.is-solidink:hover { background: #80BC00 !important; color: #1d2a00 !important; filter: none; }
.maftf a.maftf-btn.is-lineink, .maftf a.maftf-btn.is-lineink:visited { background: transparent !important; color: var(--ci) !important; border-color: var(--ci) !important; padding: 13px 22px !important; }
.maftf a.maftf-btn.is-lineink:hover { background: var(--ci) !important; color: var(--ink) !important; filter: none; }

/* Single */
.maftf-shead { border-bottom: 1px solid var(--line); }
.maftf-sgrid { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.maftf-sgrid .maftf-photo { flex-basis: 400px; }
.maftf a.maftf-back, .maftf a.maftf-back:hover { display: inline-block; margin-bottom: 26px; font: 700 12px/1 var(--maf-hf) !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--soft) !important; text-decoration: none !important; }
.maftf a.maftf-back:hover { color: var(--ink) !important; }
.maftf .maftf-h1.is-single { font-size: clamp(36px, 4.4vw, 54px) !important; margin-bottom: 22px !important; text-wrap: balance; }
.maftf .maftf-of { font: 600 12px/1.4 var(--maf-hf) !important; letter-spacing: .06em !important; color: var(--soft) !important; margin: 22px 0 0 !important; }
.maftf-story { padding-top: 64px; padding-bottom: 72px; }
.maftf-prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--body); }
.maftf-prose > * { margin: 0 0 1.1em; }
.maftf-prose h2, .maftf-prose h3 { font-family: var(--maf-hf); font-weight: 800; color: var(--ink); line-height: 1.2; margin-top: 1.6em; }
.maftf-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.maftf-storycta { max-width: 720px; margin: 36px auto 0; }
.maftf-more .maftf-in { padding-top: 64px; padding-bottom: 72px; }
.maftf-minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.maftf a.maftf-mini, .maftf a.maftf-mini:hover { display: grid; gap: 6px; text-decoration: none !important; color: var(--ink) !important; }
.maftf-miniimg { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #efe9e6; border-bottom: 6px solid var(--tf); margin-bottom: 8px; }
.maftf .maftf-miniimg img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 25%; transition: transform .4s ease; }
.maftf a.maftf-mini:hover .maftf-miniimg img { transform: scale(1.04); }
.maftf-mininame { font: 800 19px/1.25 var(--maf-hf); }
.maftf-miniline { font-size: 14px; color: var(--soft); }

@media (max-width: 860px) {
	.maftf-row, .maftf-row.is-flip, .maftf-sgrid { flex-direction: column; align-items: stretch; gap: 40px; padding: 48px 0; }
	.maftf-sgrid { padding-top: 40px; padding-bottom: 48px; }
	.maftf-photo { flex: 0 0 auto; width: min(340px, 80%); min-width: 0; margin: 0 auto 8px; }
	.maftf-row.is-flip .maftf-block { inset: 18px -18px -18px 18px; }
	.maftf-row.is-flip .maftf-logo { left: auto; right: -14px; }
	.maftf-body { max-width: none; }
}
@media (max-width: 640px) {
	.maftf-in { padding-left: 20px; padding-right: 20px; }
	.maftf-headgrid { padding-top: 40px; padding-bottom: 36px; }
	.maftf .maftf-lede { font-size: 19px !important; }
	.maftf-logo { width: 88px; height: 88px; padding: 9px; border-radius: 16px; bottom: 18px; }
	.maftf .maftf-quote p { font-size: 19px !important; }
	.maftf-btns { flex-direction: column; align-items: stretch; }
	.maftf a.maftf-btn { justify-content: center; text-align: center; }
	.maftf-how .maftf-in, .maftf-ctagrid { padding-top: 48px; padding-bottom: 48px; }
	.maftf-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.maftf-mininame { font-size: 16px; }
}

/* v2.17.3: each fund in its own white card on a soft background */
.maftf .maftf-list { padding-top: 56px; padding-bottom: 64px; display: grid; gap: 32px; }
.maftf .maftf-row { background: #fff; border-radius: 28px; padding: 48px 56px; border-bottom: 0 !important; box-shadow: 0 1px 0 rgba(32,32,42,.04), 0 24px 48px -32px rgba(32,32,42,.28); scroll-margin-top: 120px; }
.maftf .maftf-row:last-child { border-bottom: 0; }
.maftf .maftf-how { border-top: 0; }
@media (max-width: 860px) {
	.maftf .maftf-row, .maftf .maftf-row.is-flip { padding: 36px 28px 32px; gap: 36px; }
}
@media (max-width: 640px) {
	.maftf .maftf-list { padding-top: 32px; padding-bottom: 40px; gap: 20px; }
	.maftf .maftf-row, .maftf .maftf-row.is-flip { padding: 28px 20px 24px; border-radius: 22px; }
	.maftf-photo { width: min(300px, 86%); }
}
