/* ==========================================================================
   Mobile composition layer (mobile-ux-audit.md Phase 2 to 4). Loaded last.
   Every rule sits inside the phone query (below 782px), so tablet-landscape and
   desktop layouts are untouched. mobile.js adds the classes used here; without
   JS the page stays long but complete.
   ========================================================================== */

/* Controls created by mobile.js never show on larger screens. */
.aa-mtabs, .aa-mmore, .aa-calc__peek, .aa-mtoc { display: none; }
/* Legal pages: the index sits after the "Last updated" line; keep the first paragraph flush as before. */
.aa-legal .wp-block-post-content > .aa-legal__meta:first-child + .aa-mtoc + * { margin-top: 0; }

@media (max-width: 781.98px) {

	/* ---------- C2 Tabs ---------- */
	.aa-mtabs {
		display: flex; gap: 0.5rem; margin: 0 0 1.25rem; padding: 2px 0;
		overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
	}
	.aa-mtabs::-webkit-scrollbar { display: none; }
	.aa-mtabs__tab {
		flex: 1 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
		min-height: 44px; padding: 0 1rem; border: 1.5px solid var(--aa-line); border-radius: 999px; background: #fff;
		color: var(--aa-indigo); font: 600 0.875rem/1.2 var(--aa-sans); white-space: nowrap; cursor: pointer;
		transition: background-color 0.2s, color 0.2s, border-color 0.2s;
	}
	.aa-mtabs__tab small { font-size: 0.75rem; font-weight: 600; color: var(--aa-muted); }
	.aa-mtabs__tab[aria-selected="true"] { background: var(--aa-indigo); border-color: var(--aa-indigo); color: #fff; }
	.aa-mtabs__tab[aria-selected="true"] small { color: rgb(255 255 255 / 0.75); }
	.aa-mtabs__tab:focus-visible { outline: 3px solid var(--aa-red); outline-offset: 2px; }
	/* Segmented look for two-way choices (eligibility / documents). */
	.aa-mtabs--seg { gap: 0; padding: 4px; border-radius: 999px; background: var(--aa-lavender); }
	.aa-mtabs--seg .aa-mtabs__tab { flex: 1 1 0; border: 0; background: transparent; }
	.aa-mtabs--seg .aa-mtabs__tab[aria-selected="true"] { background: var(--aa-indigo); }
	/* Sub-tabs inside a card (salaried / self-employed / property). */
	.aa-mtabs--sub { margin-bottom: 0.75rem; }
	.aa-mtabs--sub .aa-mtabs__tab { min-height: 40px; padding: 0 0.85rem; font-size: 0.8125rem; }
	.aa-mt-off { display: none !important; }
	/* FAQ search shows every match across categories. */
	.aa-faq-searching .aa-mt-off { display: block !important; }
	.aa-faq-searching .aa-mtabs--faq { display: none; }
	/* The topic tabs replace the jump strip on phones (same list, now filters instead of anchors). */
	.aa-js .aa-faq-jump { display: none !important; }
	.aa-js .aa-faq-jump + .aa-section { padding-top: 1.5rem !important; }
	.aa-mtabs--faq { margin: 0 0 0.5rem; }
	/* Tools: the tab bar sits in the first calculator's section padding. */
	.aa-mtabs--tools { margin: 2rem var(--wp--style--root--padding-right, 1.25rem) 0 var(--wp--style--root--padding-left, 1.25rem); }
	.aa-mtabs--tools + section { padding-top: 1.5rem !important; }
	/* The hero's jump chips repeat the tab bar directly below them. */
	body:has(.aa-mtabs--tools) .aa-hero .aa-chips-nav { display: none; }
	.aa-mtabs--tools ~ section:not(.aa-contact) { padding-top: 1.5rem !important; }

	/* ---------- C3 Expandable cards ---------- */
	.aa-mfold:not(.is-open) > :not(.aa-mfold__keep) { display: none !important; }
	.aa-mfold__btn {
		all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
		width: 100%; min-height: 44px; cursor: pointer; font: inherit; color: inherit; text-align: left;
	}
	.aa-mfold__btn::after {
		content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
		border-right: 2px solid var(--aa-red); border-bottom: 2px solid var(--aa-red); transform: rotate(45deg) translateY(-3px);
		transition: transform 0.2s;
	}
	.aa-mfold__btn::after { order: 3; }
	.aa-mfold.is-open .aa-mfold__btn::after { transform: rotate(-135deg) translate(-3px, 0); }
	.aa-mfold__btn:focus-visible { outline: 3px solid var(--aa-red); outline-offset: 3px; border-radius: 2px; }
	/* Sitemap: while filtering, every group shows its matches. */
	.aa-sm-filtering .aa-mfold > :not(.aa-mfold__keep) { display: revert !important; }
	.aa-sm-filtering .aa-mfold > .aa-co-smsub { display: block !important; }
	.aa-co-smcard.aa-mfold:not(.is-open) .aa-co-smcard__head { padding-bottom: 0; border-bottom: 0; }
	.aa-co-smcard.aa-mfold:not(.is-open) { padding-bottom: 1.1rem !important; }
	.aa-co-smcard__head > :has(.aa-mfold__btn) { flex: 1 1 auto; min-width: 0; }

	/* ---------- Show more / folded block ---------- */
	.aa-more-off { display: none !important; }
	.aa-mblock:not(.is-open) { display: none !important; }
	.aa-mmore {
		display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; margin-top: 0.75rem; padding: 0;
		border: 0; background: none; color: var(--aa-red); font: 600 0.875rem/1.2 var(--aa-sans); cursor: pointer;
		text-decoration: underline; text-underline-offset: 3px;
	}
	.aa-mmore::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
	.aa-mmore--block { margin: 0.5rem 0 0; }
	.aa-mmore--block[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, 0); }
	.aa-section--dark .aa-mmore { color: #FF8A8A; }

	/* ---------- C1 Swipe rows ---------- */
	.aa-swipe {
		display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 82%;
		gap: 0.75rem !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
		margin-inline: calc(-1 * var(--wp--style--root--padding-left, 1.25rem)) !important;
		padding: 0 var(--wp--style--root--padding-left, 1.25rem) 0.75rem;
		scroll-padding-inline: var(--wp--style--root--padding-left, 1.25rem);
		scrollbar-width: thin; scrollbar-color: var(--aa-line) transparent;
	}
	.aa-swipe > * { scroll-snap-align: start; min-width: 0; margin: 0 !important; }
	.aa-swipe:focus-visible { outline: 3px solid var(--aa-red); outline-offset: -3px; }

	/* ---------- C4 Compact link rows ---------- */
	/* Business: nine "Explore" cards (~222px each) become 72px rows. */
	.aa-biz-grid { gap: 0.5rem !important; }
	.aa-biz-grid .aa-biz-card {
		display: grid; grid-template-columns: 40px 1fr 16px; column-gap: 0.85rem; row-gap: 0.1rem; align-items: center;
		padding: 0.85rem 1rem; min-height: 0;
	}
	.aa-biz-grid .aa-biz-card > .aa-chip { grid-row: 1 / span 2; margin: 0; }
	.aa-biz-grid .aa-biz-card > strong { grid-column: 2; margin: 0; font-size: 1rem; line-height: 1.3; }
	.aa-biz-grid .aa-biz-card > span:not(.aa-chip) { grid-column: 2; margin: 0; font-size: 0.875rem; line-height: 1.45; }
	.aa-biz-grid .aa-biz-card > em { grid-column: 3; grid-row: 1 / span 2; margin: 0; font-size: 0; }
	.aa-biz-grid .aa-biz-card > em span { font-size: 1rem; }

	/* Insights listing (after the first post) and "Keep reading": thumbnail rows. */
	:is(.aa-blog-list .aa-cards__grid > li:not(:first-child), .aa-related-posts .aa-cards__grid > li) .aa-card-post--media {
		display: grid; grid-template-columns: 104px 1fr; column-gap: 0.9rem; align-items: start; padding: 0.75rem;
	}
	:is(.aa-blog-list .aa-cards__grid > li:not(:first-child), .aa-related-posts .aa-cards__grid > li) .aa-card-post__media {
		margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
	}
	:is(.aa-blog-list .aa-cards__grid > li:not(:first-child), .aa-related-posts .aa-cards__grid > li) .aa-card-post__media :is(a, img) {
		display: block; width: 100%; height: 100%; object-fit: cover;
	}
	:is(.aa-blog-list .aa-cards__grid > li:not(:first-child), .aa-related-posts .aa-cards__grid > li) .aa-card-post__body { padding: 0; }
	:is(.aa-blog-list .aa-cards__grid > li:not(:first-child), .aa-related-posts .aa-cards__grid > li) .aa-card-post__excerpt { display: none; }
	:is(.aa-blog-list .aa-cards__grid > li:not(:first-child), .aa-related-posts .aa-cards__grid > li) .aa-card-post__title {
		margin: 0.25rem 0 0.35rem; font-size: 1rem !important; line-height: 1.3;
	}
	:is(.aa-blog-list, .aa-related-posts) .aa-cards__grid { row-gap: 0.75rem !important; }

	/* Leadership: people as rows (initials, name, role, call / WhatsApp). */
	.aa-team { gap: 0.75rem !important; }
	.aa-team__card {
		display: grid; grid-template-columns: 48px 1fr auto; column-gap: 0.85rem; align-items: center; padding: 0.9rem 1rem;
	}
	.aa-team__card .aa-team__avatar { grid-row: 1 / span 2; width: 48px; height: 48px; font-size: 1rem; }
	.aa-team__card h3 { grid-column: 2; margin: 0 !important; font-size: 1.0625rem !important; }
	.aa-team__card .aa-team__role { grid-column: 2; margin: 0 !important; font-size: 0.8125rem; }
	.aa-team__card .aa-team__actions { grid-column: 3; grid-row: 1 / span 2; margin: 0 !important; display: flex; gap: 0.4rem; }
	.aa-team__card .aa-team__actions a { width: 44px; height: 44px; padding: 0; justify-content: center; font-size: 0; }
	.aa-team__card .aa-team__actions a .aa-icon { width: 18px; height: 18px; }

	/* ---------- C6 Compare: a real three-column table again ---------- */
	.aa-compare--stack table { display: table; width: 100%; table-layout: fixed; border-collapse: collapse; background: #fff; border: 1px solid var(--aa-line); border-top: 3px solid var(--aa-indigo); }
	.aa-compare--stack thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: table-header-group; }
	.aa-compare--stack tbody { display: table-row-group; }
	.aa-compare--stack tr { display: table-row; background: none; border: 0; }
	.aa-compare--stack :is(th, td) { display: table-cell; padding: 0.7rem 0.6rem; border: 0; border-bottom: 1px solid var(--aa-line); vertical-align: top; font-size: 0.8125rem; line-height: 1.45; }
	.aa-compare--stack tr:last-child > * { border-bottom: 0; }
	.aa-compare--stack thead th { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.3; color: var(--aa-indigo); background: var(--aa-lavender); }
	.aa-compare--stack thead th:last-child { color: #fff; background: var(--aa-indigo); }
	.aa-compare--stack :is(thead th:first-child, tbody th) { width: 27%; }
	.aa-compare--stack tbody th { font-size: 0.8125rem; color: var(--aa-indigo); }
	.aa-compare--stack td::before { content: none; }
	.aa-compare--stack td:last-child { background: #FBFAFD; color: var(--aa-ink); font-weight: 500; padding-bottom: 0.7rem; }

	/* ---------- Home: offices as a 2x2 grid; the schematic map is desktop-only ---------- */
	.aa-home-cities__map { display: none !important; }
	.aa-citycards { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem !important; }
	.aa-citycards > li:nth-child(n + 5) { grid-column: 1 / -1; }
	.aa-citycard > a { height: 100%; padding: 1rem 0.9rem !important; }
	.aa-citycard__name { font-size: 1.25rem !important; }
	.aa-citycard__areas { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.aa-citycard__go { margin-top: 0.5rem !important; font-size: 0 !important; min-height: 24px; }
	.aa-citycard__go::after { content: "Explore →"; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

	/* ---------- Home: calculator shortcuts as a swipe row of chips ---------- */
	/* The chip row is max-content wide; without minmax(0, 1fr) it stretched the whole column. */
	.aa-home-tools__grid { grid-template-columns: minmax(0, 1fr) !important; }
	.aa-home-tools__grid > * { min-width: 0; }
	.aa-toollist {
		display: grid !important; grid-auto-flow: column; grid-auto-columns: max-content; gap: 0.5rem !important;
		overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
		margin-inline: calc(-1 * var(--wp--style--root--padding-left, 1.25rem)) !important;
		padding: 0 var(--wp--style--root--padding-left, 1.25rem) 0.25rem !important;
		scroll-padding-inline: var(--wp--style--root--padding-left, 1.25rem);
	}
	.aa-toollist::-webkit-scrollbar { display: none; }
	.aa-toollist > li { scroll-snap-align: start; margin: 0 !important; }
	.aa-toollist a { min-height: 48px; padding: 0.4rem 0.9rem 0.4rem 0.5rem !important; gap: 0.6rem !important; }
	.aa-toollist__ico { width: 32px !important; height: 32px !important; }
	.aa-toollist__txt small, .aa-toollist__go { display: none !important; }
	.aa-toollist__txt strong { white-space: nowrap; font-size: 0.875rem; }

	/* ---------- Home pillars inside tabs ---------- */
	.aa-pillar-stack { border-top: 0 !important; }
	.aa-pillar { padding-block: 0 !important; border-bottom: 0 !important; gap: 1rem !important; }
	.aa-pillar__num, .aa-pillar__tag { display: none !important; }
	.aa-pillar__title { margin-top: 0 !important; font-size: 1.375rem !important; }
	.aa-pillar__intro { margin-top: 0.35rem !important; }

	/* ---------- Steps and timelines: tighter ---------- */
	.aa-steps { --aa-dot: 32px; }
	.aa-steps__item { padding-bottom: 1.1rem !important; column-gap: 0.85rem !important; }
	.aa-steps__num { width: 32px; height: 32px; font-size: 0.875rem; }
	.aa-timeline-x { gap: 0.5rem !important; }
	.aa-timeline-x__item { padding-block: 0.75rem !important; }
	.aa-timeline-x__item h3 { margin: 0 !important; font-size: 1rem; }

	/* How we work shows the six stages twice: a short timeline, then "What happens, step by step"
	   with the same stages in more detail. Phones keep the detailed one. */
	body:has(.aa-timeline-x) .aa-section.aa-process { display: none; }

	/* ---------- Trust stats: shorter tiles ---------- */
	.aa-trust { padding-block: 1.25rem !important; }
	.aa-trust__list { row-gap: 1rem !important; }
	.aa-trust__list > li { padding-block: 0.25rem !important; }
	.aa-trust__num { font-size: 1.75rem !important; line-height: 1.1 !important; }

	/* ---------- Brochure sections: a compact card ---------- */
	.aa-bro { padding: 1.25rem !important; gap: 1rem !important; }
	.aa-bro__visual { display: grid; justify-items: center; }
	.aa-bro__visual .aa-booklet--lg { transform: scale(0.62); transform-origin: top center; margin-bottom: -120px; }
	.aa-bro__lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.aa-bro__title { font-size: 1.5rem !important; }

	/* ---------- Glossary letters and investor topics ---------- */
	.aa-inv-gloss__group.aa-mfold { padding-block: 0.25rem; border-bottom: 1px solid var(--aa-line); }
	.aa-inv-gloss__letter .aa-mfold__btn { font-family: var(--aa-serif); font-size: 1.5rem; color: var(--aa-indigo); }
	.aa-inv-gloss__letter .aa-mfold__btn[data-count]::before { content: attr(data-count); order: 2; margin-left: auto; font: 500 0.8125rem/1 var(--aa-sans); color: var(--aa-muted); }
	.aa-inv-gloss__letter { margin: 0 !important; }
	.aa-inv-gloss { gap: 0 !important; }
	.aa-inv-topic.aa-mfold:not(.is-open) { padding-bottom: 1rem !important; }
	.aa-inv-topic__head .aa-mfold__btn { font-size: 1.125rem; }
	.aa-inv-topic__head > :has(.aa-mfold__btn) { flex: 1 1 auto; min-width: 0; }

	/* ---------- Calculators: never wider than the screen ---------- */
	/* The number box is a fixed 172px beside its label; on narrow phones the pair overflowed the
	   card by up to 90px. Let the pair wrap only when it does not fit, and let the columns shrink. */
	.aa-calc { grid-template-columns: minmax(0, 1fr) !important; }
	.aa-calc > * { min-width: 0; }
	.aa-calc__top { flex-wrap: wrap; row-gap: 0.4rem; }
	.aa-calc__num { max-width: 100%; }

	/* ---------- X8 Calculator result strip (sticks above the action bar while inputs are on screen) ---------- */
	.aa-calc__inputs { position: relative; }
	.aa-calc__peek { min-width: 0; max-width: 100%; box-sizing: border-box; }
	.aa-calc__peek {
		position: sticky; z-index: 2; bottom: calc(var(--aa-bar-h, 64px) + 0.5rem);
		display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 44px;
		margin: 1.25rem 0 0; padding: 0.35rem 0.9rem; border-radius: 4px;
		background: var(--aa-indigo); color: rgb(255 255 255 / 0.8); box-shadow: 0 10px 24px -12px rgb(45 38 80 / 0.6);
		font-size: 0.8125rem;
	}
	.aa-calc__peek span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.aa-calc__peek strong { color: #fff; font-family: var(--aa-serif); font-size: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

	/* ---------- Careers and internships ---------- */
	/* Values: 2x2 tiles; the 01 to 04 numerals are decoration. */
	.aa-values { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.75rem !important; }
	.aa-value { padding: 1rem 0.9rem !important; }
	.aa-value__num { display: none !important; }
	.aa-value .aa-chip { width: 32px; height: 32px; }
	.aa-value strong { margin-top: 0.6rem !important; font-size: 1.0625rem !important; line-height: 1.25; }
	.aa-value > span:last-child { font-size: 0.875rem; line-height: 1.5; }
	/* Tracks folded: icon, duration, title and summary stay; lists open on tap. */
	.aa-track.aa-mfold:not(.is-open) { padding-bottom: 1rem !important; }
	.aa-track h3 .aa-mfold__btn { font-size: 1.125rem; }
	/* Plans in tabs: one card at a time, full width. */
	.aa-plans { display: block !important; }

	/* ---------- Density pass ---------- */
	/* Pillar rows (13 in the Loans tab): 85px to ~60px. */
	.aa-pillar__list a { min-height: 56px !important; padding-block: 0.5rem !important; gap: 0.75rem !important; }
	.aa-pillar__ico { width: 34px !important; height: 34px !important; }
	.aa-pillar__ico .aa-icon { width: 17px; height: 17px; }
	.aa-pillar__txt small { line-height: 1.4 !important; }
	.aa-pillar__sec + .aa-pillar__sec { margin-top: 0.5rem; }

	/* Grid columns that hold a swipe row must be allowed to shrink: an auto column grows to the
	   row's full scroll width and pushes the hero copy and form off screen. */
	:is(.aa-home-hero__grid, .aa-svc-hero__grid, .aa-co-hero__grid, .aa-about__grid, .aa-contact__grid, .aa-apply) {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	:is(.aa-home-hero__grid, .aa-svc-hero__grid, .aa-co-hero__grid, .aa-about__grid, .aa-contact__grid, .aa-apply) > * { min-width: 0; }

	/* Home hero "Popular" chips: one swipe row, not three wrapped rows. */
	.aa-home-hero__popular ul {
		flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
		margin-inline: calc(-1 * var(--wp--style--root--padding-left, 1.25rem)); padding-inline: var(--wp--style--root--padding-left, 1.25rem);
	}
	.aa-home-hero__popular ul::-webkit-scrollbar { display: none; }
	.aa-home-hero__popular li { flex: none; scroll-snap-align: start; }

	/* Newsletter cards in the page (home, articles): the heading says it; the long intro goes. */
	:is(.aa-nl-card--card, .aa-nl-card--inline) .aa-nl-card__sub { display: none; }

	/* Lead pages (a hero form at the top): the footer newsletter competes with the main action. */
	body:has(.aa-svc-hero__form) .aa-footer__newsletter { display: none; }

	/* Role cards ("You might also like", open roles): tighter cards. */
	.aa-job__link { padding: 1rem !important; gap: 0.35rem !important; }
	.aa-job__title { font-size: 1.125rem !important; }

	/* ---------- Remaining pages (second pass) ---------- */
	/* Stay safe: "where to go" steps, tighter (scam cards are a swipe row via mobile.js). */
	.aa-co-report { gap: 0.75rem !important; }
	.aa-co-report__item { padding: 1rem !important; }
	/* Contact "Get a head start" and Accessibility "Built in from the start": 2 x 2 compact tiles. */
	.aa-quicklinks, .aa-co-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.75rem !important; }
	.aa-quicklinks a { padding: 0.9rem !important; height: 100%; }
	.aa-quicklinks .aa-chip { width: 32px; height: 32px; margin-bottom: 0.35rem !important; }
	.aa-quicklinks strong { font-size: 1.0625rem !important; line-height: 1.25; }
	.aa-quicklinks small { font-size: 0.8125rem !important; }
	.aa-quicklinks__go { display: none !important; }
	.aa-co-grid--4 > li { padding: 0.9rem !important; }
	.aa-co-grid--4 .aa-chip { width: 32px; height: 32px; }
	.aa-co-grid--4 strong { font-size: 0.9375rem !important; line-height: 1.3; }
	.aa-co-grid--4 span:not(.aa-chip) { font-size: 0.8125rem !important; line-height: 1.5; }
	/* Brochure library: actions on one line, meta on one line. */
	.aa-bro-card:not(.aa-bro-card--feature) { padding-block: 1rem !important; }
	.aa-bro-card__meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.75rem !important; }
	.aa-bro-card__actions { gap: 0.4rem 0.75rem !important; margin-top: 0.4rem !important; }
	.aa-bro-card__body { min-width: 0; }
	.aa-bro-card:not(.aa-bro-card--feature) { grid-template-columns: 112px minmax(0, 1fr) !important; }
	.aa-bro-card__get { padding-inline: 0.85rem !important; }
	/* Footer newsletter: title and field only. */
	.aa-footer .aa-nl-strip__eyebrow { display: none; }
	/* Legal pages: "On this page" index (mobile.js). */
	.aa-mtoc { margin: 0 0 1.5rem; border: 1px solid var(--aa-line); border-radius: 4px; background: #fff; }
	.aa-mtoc summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 1rem; cursor: pointer; font: 600 0.9375rem/1.2 var(--aa-sans); color: var(--aa-indigo); list-style: none; }
	.aa-mtoc summary::-webkit-details-marker { display: none; }
	.aa-mtoc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--aa-red); border-bottom: 2px solid var(--aa-red); transform: rotate(45deg) translateY(-2px); }
	.aa-mtoc[open] summary::after { transform: rotate(-135deg); }
	.aa-mtoc ol { margin: 0; padding: 0 1rem 0.75rem 2.25rem; }
	.aa-mtoc li { font-size: 0.9375rem; }
	.aa-mtoc a { display: block; padding-block: 0.55rem; color: var(--aa-ink); text-decoration: none; }

	/* FAQ rows: a little tighter. */
	.aa-faq { gap: 0.5rem !important; }
	.aa-faq summary { padding-block: 0.85rem !important; min-height: 52px; }
}

/* Smallest phones (320 to 359px): the brochure card cover column gives up some width. */
@media (max-width: 359.98px) {
	.aa-bro-card:not(.aa-bro-card--feature) { grid-template-columns: 88px minmax(0, 1fr) !important; gap: 0.9rem !important; padding-inline: 1rem !important; }
}
