/* ══ The shared card (owner INBOX #467, 2026-11-03): ONE source for the "6A" card look used by job cards (#431),
   flight-school result cards (city / province lists, the compare page) and scholarship cards (hub + lists).
   Loaded on every page (inc/avi-breakpoints.php, handle 'avs-card'); it only touches the elements listed here.
   - Surface: 12 px radius, gradient #14294b -> #0c1a30 (60 %), 1 px #071224 edge with a lighter #2a4470 top edge, the
     soft lifted shadow. No hover change on any of them (job cards never had one; the old scholarship lift is gone).
   - Featured: a 3 px gold #e8a020 bar along the top (job cards .avi-card-feat; .avs-card--feat for any other card).
   - Spacing: inner padding 18 px phones / 22 px 24 px desktop; title DM Sans 700, 21 px phones / 24 px desktop, 1.2;
     6 px between cards on phones, 12 px desktop (job lists set theirs in avi-featured-gold.css from the same tokens).
   Job cards: their own inner layout (tile row, rows, pills) stays in assets/css/avi-featured-gold.css. School cards keep
   their pills, heart, icon row and tier classes; scholarship cards keep their tags, amount, "Closed" line and Apply.
   Selectors repeat a class to outweigh the older per-page card rules (fsf-main.css, avi-premium.css, inline styles). ══ */
:root {
	--avs-card-radius: 12px;
	--avs-card-bg: linear-gradient(to bottom, #14294b, #0c1a30 60%);
	--avs-card-edge: #071224;
	--avs-card-edge-top: #2a4470;
	--avs-card-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), inset 0 -2px 0 rgba(0, 0, 0, .35), 0 14px 30px rgba(0, 0, 0, .55), 0 3px 8px rgba(0, 0, 0, .4);
	--avs-card-pad: 18px;
	--avs-card-gap: 6px;
	--avs-card-title: 21px;
}
@media (min-width: 1024px) {
	:root { --avs-card-pad: 22px 24px; --avs-card-gap: 12px; --avs-card-title: 24px; }
}

/* ── Surface ── */
html body .avs-card.avs-card.avs-card.avs-card.avs-card.avs-card,
html body .avs-card.avs-card.avs-card.avs-card.avs-card.avs-card:hover,
html body .avi-jc.avi-jc.avi-jc.avi-jc.avi-jc.avi-jc,
html body .avi-jc.avi-jc.avi-jc.avi-jc.avi-jc.avi-jc:hover,
html body .avi-jc.avi-jc.avi-jc.avi-jc.avi-jc.avi-jc.is-active,
html body .avi-jc.avi-jc.avi-jc.avi-jc.avi-jc.avi-jc:focus-visible,
html body .fsf-province-card-grid > .fsf-card.fsf-card.fsf-card.fsf-card.fsf-card:not(.fsf-card--elite):not(.fsf-card--premium),
html body .fsf-province-card-grid > .fsf-card.fsf-card.fsf-card.fsf-card.fsf-card:not(.fsf-card--elite):not(.fsf-card--premium):hover,
html body .fsf-cmp-workspace .fsf-card.fsf-card.fsf-card.fsf-card.fsf-card:not(.fsf-card--elite):not(.fsf-card--premium),
html body .fsf-cmp-workspace .fsf-card.fsf-card.fsf-card.fsf-card.fsf-card:not(.fsf-card--elite):not(.fsf-card--premium):hover {
	border-radius: var(--avs-card-radius) !important;
	background: var(--avs-card-bg) !important;
	border: 1px solid var(--avs-card-edge) !important; border-top-color: var(--avs-card-edge-top) !important;
	box-shadow: var(--avs-card-shadow) !important;
}

/* ── Featured: the gold bar along the top ── */
html body .avi-jc.avi-jc.avi-card-feat::before,
html body .avs-card.avs-card.avs-card--feat::before {
	content: "" !important; display: block !important; position: static !important; width: auto !important; height: 3px !important;
	margin: 0 !important; background: #e8a020 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
html body .avs-card.avs-card.avs-card--feat::before { margin: calc(-1 * var(--avs-card-pad)) calc(-1 * var(--avs-card-pad)) var(--avs-card-pad) !important; }

/* ── Cards that are not job cards: padding, title, no hover lift ── */
html body .avs-card.avs-card.avs-card.avs-card.avs-card.avs-card,
html body .fsf-province-card-grid > .fsf-card.fsf-card.fsf-card.fsf-card.fsf-card:not(.fsf-card--elite):not(.fsf-card--premium),
html body .fsf-cmp-workspace .fsf-card.fsf-card.fsf-card.fsf-card.fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) {
	position: relative; overflow: hidden; box-sizing: border-box; padding: var(--avs-card-pad) !important; transform: none !important;
	transition: none !important;
}
html body .avs-card.avs-card .avs-card__title,
html body .fsf-province-card-grid > .fsf-card.fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-name,
html body .fsf-cmp-workspace .fsf-card.fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-name {
	font-family: 'DM Sans', system-ui, sans-serif !important; font-size: var(--avs-card-title) !important; font-weight: 700 !important;
	line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important; color: #e8eef5 !important;
}

/* School result cards: the card carries the padding, so its inner blocks don't; 6 px name -> place, 16 / 14 px to the
   programme pills (the job card's row rhythm). Pills, heart, icon row and badge are not touched. */
html body .fsf-province-card-grid > .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-top,
html body .fsf-cmp-workspace .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-top { padding: 0 !important; }
html body .fsf-province-card-grid > .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-loc,
html body .fsf-cmp-workspace .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-loc { margin-top: 6px !important; }
html body .fsf-province-card-grid > .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-body,
html body .fsf-cmp-workspace .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-body { padding: 0 !important; margin-top: 16px !important; }
@media (min-width: 1024px) {
	html body .fsf-province-card-grid > .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-body,
	html body .fsf-cmp-workspace .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-body { margin-top: 14px !important; }
}

/* Scholarship cards (page-aviation-scholarships.php, -filtered.php: .avs-card.fsf-schol-card, inline-styled): the
   name line is the card title; amount, tags, "Closed — check back" and Apply keep their own look. */
html body .avs-card.fsf-schol-card .avs-card__title { margin-bottom: 6px !important; }

/* ── Gaps between cards ── */
html body .fsf-province-card-grid,
html body .fsf-schol-grid { gap: var(--avs-card-gap) !important; }

/* Follow-up (review 2026-11-03 23:38Z): the school cards' place line gets the job cards' location pin (the same line icon,
   stroke #7d93ad; 14 px phones, 15 px desktop) instead of the red pin picture, and the job cards' muted place colour. */
html body .fsf-province-card-grid > .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-loc,
html body .fsf-cmp-workspace .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-loc { color: #94a7be !important; }
html body .fsf-province-card-grid > .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-loc::before,
html body .fsf-cmp-workspace .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-loc::before {
	width: 14px !important; height: 14px !important; margin-right: 6px !important; flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d93ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") no-repeat center / 14px 14px !important;
}
@media (min-width: 1024px) {
	html body .fsf-province-card-grid > .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-loc::before,
	html body .fsf-cmp-workspace .fsf-card:not(.fsf-card--elite):not(.fsf-card--premium) .fsf-card-loc::before { width: 15px !important; height: 15px !important; background-size: 15px 15px !important; }
}

/* ══ School details page /places/<school>/ (owner INBOX #467 add-on 4, 2026-11-04): every panel = the shared card.
   single-gd_place.php (theme root; the geodirectory/ copies are not used). Main column sections (About, Programs, Fleet,
   Simulators, International, Instructors, Career, Scholarships, Gallery, What We Offer, Location, Reviews), the sidebar
   cards (logo, Quick Facts, Contact, Admin) and the "Own this school?" claim box. Section titles take the shared title
   size; labels, pills, tiles, icons, the heart, the hero, the stats strip and every text stay as they are. Left out: the
   tier upsell card (.fsf-upgrade-card, tier look; not shown while schools are free) and the bottom "Keep comparing" block
   (section.fsf-school-links, inc/fsf-school-links.php) + jobs strip (bottom cross blocks: #466 decides). ══ */
html body main.fsf-detail .fsf-content > .fsf-section.fsf-section:not(.fsf-school-links),
html body main.fsf-detail .fsf-sidebar > .fsf-sidebar-card.fsf-sidebar-card:not(.fsf-upgrade-card),
html body .fsf-claim-card.fsf-claim-card.fsf-claim-card {
	border-radius: var(--avs-card-radius) !important;
	background: var(--avs-card-bg) !important;
	border: 1px solid var(--avs-card-edge) !important; border-top-color: var(--avs-card-edge-top) !important;
	box-shadow: var(--avs-card-shadow) !important;
	padding: var(--avs-card-pad) !important; box-sizing: border-box;
}
html body main.fsf-detail .fsf-content > .fsf-section.fsf-section:not(.fsf-school-links) { margin: 0 0 var(--avs-card-gap) !important; }
html body main.fsf-detail .fsf-content > .fsf-section.fsf-school-links { margin-top: 28px !important; }
html body main.fsf-detail .fsf-content > .fsf-section:not(.fsf-school-links) .fsf-section-title {
	font-family: 'DM Sans', system-ui, sans-serif !important; font-size: var(--avs-card-title) !important; font-weight: 700 !important;
	line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important;
}
/* sidebar cards: the card carries the padding; the gold head keeps its look and its hairline under it */
html body main.fsf-detail .fsf-sidebar > .fsf-sidebar-card .fsf-sidebar-card-head { padding: 0 0 12px !important; }
html body main.fsf-detail .fsf-sidebar > .fsf-sidebar-card .fsf-sidebar-card-body { padding: 14px 0 0 !important; }
html body main.fsf-detail .fsf-sidebar > .fsf-sidebar-card .fsf-sidebar-card-body:first-child { padding-top: 0 !important; }
/* gaps: --avs-card-gap between every panel (6 px phones, 12 px desktop), columns included */
html body main.fsf-detail .fsf-main { gap: var(--avs-card-gap) !important; }
html body main.fsf-detail .fsf-sidebar { gap: var(--avs-card-gap) !important; margin-top: 0 !important; }
@media (max-width: 900px) {
	html body main.fsf-detail .fsf-sidebar { padding: 16px 16px 0 !important; border-bottom: 0 !important; }
	html body main.fsf-detail .fsf-content { padding: var(--avs-card-gap) 16px 20px !important; }
}

/* ══ Feature ticks in gold (owner INBOX #467 add-on 5): "✓ Intl Students ✓ Financing …" on school result cards (city +
   province lists, compare) and on the details page (Quick Facts "Features", "What We Offer") = #e8a020, the job cards'
   company gold. Colour only: size, weight, layout unchanged; programme pills (blue) and "Verified by school" untouched.
   Phones show the feature icons only (grey line icons, no ✓ text): left as they are. ══ */
html body .fsf-province-card-grid > .fsf-card .fsf-card-feature-text.fsf-card-feature-text,
html body .fsf-cmp-workspace .fsf-card .fsf-card-feature-text.fsf-card-feature-text { color: #e8a020 !important; }
html body main.fsf-detail .fsf-qf-feature.fsf-qf-feature,
html body main.fsf-detail .fsf-qf-feature .fsf-qf-feature-check,
html body main.fsf-detail .fsf-feature-item .fsf-feature-label.fsf-feature-label,
html body main.fsf-detail .fsf-feature-item .fsf-feature-check.fsf-feature-check { color: #e8a020 !important; }
html body main.fsf-detail .fsf-feature-item .fsf-feature-check.fsf-feature-check { background: rgba(232, 160, 32, .14) !important; }

/* ══ #471 (owner, 2026-11-03): EVERY card on the site takes this shared look. The templates below keep their own
   markup and classes; their selectors are mapped onto the tokens here, in one place. Only surface, padding, title size,
   card gaps and hover change: eyebrows, accent colours (incl. the pay cards' coloured left stripe + dot, the guide
   eyebrows, the feature cards' line icons), pills, counts, icons, text and links are left as they are. The glow / tinted
   gradient fills (guide, pay, operators feature stacks; captain rank card; featured compare slab) give way to the 6A
   surface; coloured or gold card outlines (incl. the inline hover outlines) give way to the neutral edge (#418).
   Not here, on purpose: the job cards (the reference, above), the 5 flight-school hub feature cards (#461 add-on 4,
   fsf-schools-hub-phone.css), school details pages (#467.4), the scholarships hub phone slides (#468), bottom
   cross-promo blocks (#466), tables / boards. The home Explore tickets: surface only, at the end (#471 add-on 2). ══ */
html body .guide-hub-card.guide-hub-card.guide-hub-card, html body .guide-hub-card.guide-hub-card.guide-hub-card:hover,
html body .fgp .fsh-card.fsh-card.fsh-card, html body .fgp .fsh-card.fsh-card.fsh-card:hover,
html body .fsp-card.fsp-card.fsp-card, html body .fsp-card.fsp-card.fsp-card:hover,
html body .aop-card.aop-card.aop-card, html body .aop-card.aop-card.aop-card:hover,
html body .avi-pay-landing-carrier-card.avi-pay-landing-carrier-card, html body .avi-pay-landing-carrier-card.avi-pay-landing-carrier-card:hover,
html body .avi-pay-landing-rank-card.avi-pay-landing-rank-card, html body .avi-pay-landing-rank-card.avi-pay-landing-rank-card:hover,
html body .avi-pay-landing-category-card.avi-pay-landing-category-card, html body .avi-pay-landing-category-card.avi-pay-landing-category-card:hover,
html body .avi-pay-landing-featured.avi-pay-landing-featured, html body .avi-pay-landing-featured.avi-pay-landing-featured:hover,
html body .avi-pay-stat-card.avi-pay-stat-card, html body .avi-pay-benefit-card.avi-pay-benefit-card,
html body .avi-pay-job-card.avi-pay-job-card, html body .avi-pay-job-card.avi-pay-job-card:hover,
html body .fs-tl-card.fs-tl-card.fs-tl-card, html body .fs-tl-card.fs-tl-card.fs-tl-card:hover, html body .fs-tl-card.fs-tl-card.fs-tl-card:active,
html body .avs-hcard.avs-hcard.avs-hcard:not([data-avs-coverflow] *), html body .avs-hcard.avs-hcard.avs-hcard:not([data-avs-coverflow] *):hover, /* #487: not the coverflow rows (their own #461 card; the script drives transform) */
html body .ffs-trust-card.ffs-trust-card, html body .ffs-tier-card.ffs-tier-card, html body .ffs-tier-card.ffs-tier-card:hover,
html body .ftc-card.ftc-card {
	border-radius: var(--avs-card-radius) !important;
	background: var(--avs-card-bg) !important;
	border: 1px solid var(--avs-card-edge) !important; border-top-color: var(--avs-card-edge-top) !important;
	box-shadow: var(--avs-card-shadow) !important;
	padding: var(--avs-card-pad) !important;
	transform: none !important; transition: none !important;
}
/* Featured: the "FEATURED TOOL" compare slab on /pilot-salaries/ gets the gold top bar (inset, so the layout is unchanged). */
html body .avi-pay-landing-featured.avi-pay-landing-featured, html body .avi-pay-landing-featured.avi-pay-landing-featured:hover {
	box-shadow: inset 0 3px 0 #e8a020, var(--avs-card-shadow) !important;
}
/* ══ #487 (Claude review, 2026-11-04): every coverflow card (rows with data-avs-coverflow: Schools hub "Plan your
   training", Operators "Do your homework", Salaries role / fleet rows) = the approved #461 add-on 3 band: the card's own
   colour at the TOP fading down into the dark navy lower half (no hard edge, no glow from the bottom). One rule here for
   all three; each card names its colour (r,g,b) in --avs-cf-rgb and the navy its body starts with in --avs-cf-navy.
   The side cards' tilt (rotateY, scale .92, dim; centre flat + raised) comes from assets/js/avs-coverflow.js, which the
   .avs-hcard surface rule above no longer cancels on these rows. ══ */
html body [data-avs-coverflow] .fsh-pcard { --avs-cf-rgb: var(--fsh-pc); --avs-cf-navy: #13223f; }
html body [data-avs-coverflow] .aop-hw { --avs-cf-rgb: var(--aop-rgb); --avs-cf-navy: #13223f; }
html body [data-avs-coverflow] .aph-cf { --avs-cf-rgb: 72, 209, 181; --avs-cf-navy: #0f1b33; }
/* #498 (owner, 2026-11-04): a different colour per card, band + icon, no two neighbours alike (cycle teal 72,209,181 ·
   green 143,220,111 · gold 232,160,32 · violet 181,140,255 · blue 90,169,255 · amber 255,181,71 · red 239,68,68 for a
   7th). The card names its own colour in an inline style="--avs-cf-rgb: r, g, b" (inline beats the defaults above);
   the band's icon takes the same colour. Salaries role / fleet rows (inc/avi-pay-hub-slides.php) and the Scholarships
   "Find funding for you" row (inc/fsf-scholarships-phone.php, #489). */
html body [data-avs-coverflow] .fss-cf { --avs-cf-rgb: 143, 220, 111; --avs-cf-navy: #13223f; }
html body [data-avs-coverflow] .aph-cf__band, html body [data-avs-coverflow] .fss-cf-band { color: rgb(var(--avs-cf-rgb)) !important; }
html body [data-avs-coverflow] .fsf-fb-graphic, html body [data-avs-coverflow] .aph-cf__band, html body [data-avs-coverflow] .fss-cf-band {
	background: linear-gradient(to bottom, rgba(var(--avs-cf-rgb), .42) 0%, rgba(var(--avs-cf-rgb), .16) 55%, rgba(var(--avs-cf-rgb), 0) 100%), var(--avs-cf-navy, #13223f) !important;
	border-bottom: 0 !important;
}
html body [data-avs-coverflow] .fsf-fb-graphic::before { content: none !important; }
html body [data-avs-coverflow] .fsh-pcard__body, html body [data-avs-coverflow] .aop-hw-body { border-top: 0 !important; }
/* Titles: the shared title (DM Sans 700, 21 px phones / 24 px desktop). Big counts / pay figures keep their own type. */
html body .guide-hub-card .guide-hub-card-title,
html body .fgp .fsh-card .fsh-card-t, html body .fsp-card .fsp-card-t, html body .aop-card .aop-card-t,
html body .avi-pay-landing-carrier-card .avi-pay-landing-carrier-name, html body .avi-pay-landing-rank-card .avi-pay-landing-rank-name,
html body .avi-pay-landing-category-card .avi-pay-landing-category-name, html body .avi-pay-landing-featured h2,
html body .avi-pay-job-card .title,
html body .fs-tl-card .fs-tl-t, html body .avs-hcard .avs-hcard__t,
html body .ffs-trust-card h4, html body .ffs-tier-card .ffs-tier-name {
	font-family: 'DM Sans', system-ui, sans-serif !important; font-size: var(--avs-card-title) !important; font-weight: 700 !important;
	line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important;
}
html body .guide-hub-card .guide-hub-card-title, html body .avi-pay-landing-rank-card .avi-pay-landing-rank-name,
html body .avi-pay-landing-category-card .avi-pay-landing-category-name, html body .ffs-trust-card h4, html body .ffs-tier-card .ffs-tier-name { color: #e8eef5 !important; }
/* Pay carrier names wrap instead of being cut ("Perimeter Aviation", "Pacific Coastal Airlines" at the shared size). */
html body .avi-pay-landing-carrier-card .avi-pay-landing-carrier-name { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
/* #418: the compare slab's pills keep their gold text, the outline goes neutral. */
html body .avi-pay-landing-featured .avi-pay-landing-featured-chip { border-color: #2a4266 !important; }
/* Guide cards: the job card's rhythm (eyebrow -> title 6 px, title -> line 6 px, line -> "Read guide" 16 px). */
html body .guide-hub-card.guide-hub-card { gap: 6px !important; }
html body .guide-hub-card .guide-hub-card-read { margin-top: 10px !important; }
/* Gaps between cards */
html body .guide-hub-grid, html body .avi-pay-landing-carriers, html body .avi-pay-landing-ranks, html body .avi-pay-landing-categories,
html body .avi-pay-benefits-grid, html body .avi-pay-jobs-list, html body .avi-pay-career-stats,
html body .fs-home .fs-reach-actions, html body .ffs-trust-grid, html body .ffs-pricing-grid { gap: var(--avs-card-gap) !important; }

/* #471 add-on 2 (Chris 00:49Z): the home "Choose your destination" boarding-pass tickets (.fs-strip in the Explore slide,
   phones + desktop; homepage-flight-strip.css) take the shared SURFACE only: the gradient, the #071224 edge (was the
   #2a4266 outline, #418), the lifted shadow (also on desktop hover, where the accent glow under the top edge goes) and the
   12 px radius (the notch overlay and the phone dim layer follow it). Kept as they are: the 3 px section-colour top edge,
   eyebrow, Bebas title, description, CTA + big count in the section colour, the dashed perforations + notches (painted in
   the slide colour, so they still read as bites), the stub, the 3 neutral quick-link pills, the phone stacking, the
   desktop hover lift. No padding / title / gap change: the ticket keeps its own layout. */
html body .fs-home .fs-panel--explore .fs-strip.fs-strip,
html body .fs-home .fs-panel--explore .fs-strip.fs-strip:hover {
	background: var(--avs-card-bg) !important;
	border: 1px solid var(--avs-card-edge) !important; border-top: 3px solid var(--fs-accent) !important;
	border-radius: var(--avs-card-radius) !important;
	box-shadow: var(--avs-card-shadow) !important;
}
html body .fs-home .fs-panel--explore .fs-strip.fs-strip::before { border-radius: var(--avs-card-radius) !important; }
html body .fs-home .fs-panel--explore .fs-strip.fs-strip .fs-dim { border-radius: calc(var(--avs-card-radius) - 1px) !important; }
/* ══ #478 add-on (owner, 2026-11-04): the rest of the Salaries pages' boxes take the same surface. Carrier pages: the
   four headline figure boxes (.avi-pay-kpi), the career-path panel (.avi-pay-career-widget), each aircraft's wages
   panel (.avi-pay-scale-group, e.g. "Narrowbody pool"), the "Pay data changes" box (.avi-pay-contribute); the aircraft
   index tiles (.avi-pay-aircraft-tile); the old hub's aircraft-rows panels (.avi-pay-landing-ac-panel, shown only with
   avi_pay_hub_slides = off). Surface only: text, teal / gold figures, chips, tables and links unchanged; panels keep
   their own inner padding (their headers and tables are laid out to it), the small boxes take the shared padding. ══ */
html body .avi-pay-kpi.avi-pay-kpi, html body .avi-pay-career-widget.avi-pay-career-widget, html body .avi-pay-scale-group.avi-pay-scale-group,
html body .avi-pay-contribute.avi-pay-contribute, html body .avi-pay-aircraft-tile.avi-pay-aircraft-tile, html body .avi-pay-aircraft-tile.avi-pay-aircraft-tile:hover,
html body .avi-pay-landing-ac-panel.avi-pay-landing-ac-panel {
	border-radius: var(--avs-card-radius) !important;
	background: var(--avs-card-bg) !important;
	border: 1px solid var(--avs-card-edge) !important; border-top-color: var(--avs-card-edge-top) !important;
	box-shadow: var(--avs-card-shadow) !important;
}
html body .avi-pay-kpi.avi-pay-kpi, html body .avi-pay-aircraft-tile.avi-pay-aircraft-tile { padding: var(--avs-card-pad) !important; }
html body .avi-pay-scale-group.avi-pay-scale-group, html body .avi-pay-landing-ac-panel.avi-pay-landing-ac-panel { overflow: hidden; }
/* the old hub panel's tinted header strip (inline gradient) gives way to the surface; its coloured title stays */
html body .avi-pay-landing-ac-panel .avi-pay-landing-ac-panel-head { background: transparent !important; }
html body .avi-pay-kpi-row, html body .avi-pay-aircraft-tile-grid { gap: var(--avs-card-gap) !important; }
/* #478 add-on 3 (owner): the carrier cards' coloured left edge and glowing dot count as coloured outlines (#418): gone.
   The airline colour stays only on the pay figure and the thin progress bar. */
html body .avi-pay-landing-carrier-card .avi-pay-landing-carrier-stripe,
html body .avi-pay-landing-carrier-card .avi-pay-landing-carrier-dot { display: none !important; }

/* ══ #484 (owner Chris, 2026-11-04): CAME examiner pages (inc/avi-came-detail-v2.php) from tablet up: the four boxes
   (header card, map card, Your visit, Help keep it current) take the shared surface + padding. Layout (12-column grid,
   heights, map fill) is in avi-came-detail-v2.css. Phones keep their full-width panels (no change). ══ */
@media (min-width: 768px) {
	html body .came-v2 .cv2-p1 > .cv2-p1-main.cv2-p1-main,
	html body .came-v2 .cv2-p1 > .cv2-p1-side.cv2-p1-side,
	html body .came-v2 .cv2-pair > .cv2-p.cv2-p {
		border-radius: var(--avs-card-radius) !important;
		background: var(--avs-card-bg) !important;
		border: 1px solid var(--avs-card-edge) !important; border-top-color: var(--avs-card-edge-top) !important;
		box-shadow: var(--avs-card-shadow) !important;
		padding: var(--avs-card-pad) !important; box-sizing: border-box;
	}
}

/* ══ #504 (owner Chris, 2026-11-04): NESTED CARDS. A card that sits inside a card / panel is one step LIGHTER than its
   parent (a raised inner surface), never a darker "hole": gradient #1a3258 -> #13223f, 1 px #071224 edge with a lighter
   #34507e top edge, radius 10, the small soft-lift shadow (the buttons' recipe). Hover (mouse only, clickable cards
   only) = a 2 px lift + brightness 1.06 + a slightly deeper shadow; the edge never changes colour (#418). Reduced
   motion: no lift. One rule for the site:
   - generic: .avs-card--nested, or any .avs-card inside an .avs-card;
   - school details /places/<school>/ (single-gd_place.php): Training programs, Fleet, Simulators, International
     students cards + badges, Career partners, What We Offer rows, School scholarships (inline-styled cards);
   - CAME examiner pages: the "Medical guides" action card inside its panel.
   Not here: operator pages (no card sits inside a card: At a glance / bases / aircraft are rows on the page), image
   wells (fleet photo / placeholder, gallery, map), the sidebar contact rows + social tiles (already lighter, 3 % white),
   job cards (never nested). Option B (owner review only, not the default): body.avs-nest-flat drops the school
   sections' own surface so their cards sit on the page as normal avs-cards. ══ */
:root {
	--avs-nest-radius: 10px;
	--avs-nest-bg: linear-gradient(to bottom, #1a3258, #13223f);
	--avs-nest-edge: #071224;
	--avs-nest-edge-top: #34507e;
	--avs-nest-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 2px 6px rgba(0, 0, 0, .4);
	--avs-nest-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 14px rgba(0, 0, 0, .45);
}
html body .avs-card.avs-card.avs-card.avs-card.avs-card.avs-card.avs-card--nested,
html body .avs-card .avs-card.avs-card.avs-card.avs-card.avs-card.avs-card,
html body main.fsf-detail .fsf-section .fsf-program-card.fsf-program-card,
html body main.fsf-detail .fsf-section .fsf-fleet-card.fsf-fleet-card,
html body main.fsf-detail .fsf-section .fsf-sim-card.fsf-sim-card,
html body main.fsf-detail .fsf-section .fsf-intl-card.fsf-intl-card,
html body main.fsf-detail .fsf-section .fsf-intl-badge.fsf-intl-badge,
html body main.fsf-detail .fsf-section .fsf-partner-card.fsf-partner-card,
html body main.fsf-detail .fsf-section .fsf-feature-item.fsf-feature-item,
html body main.fsf-detail #school-scholarships > div > div,
html body .came-v2 a.cv2-guides.cv2-guides {
	background: var(--avs-nest-bg) !important;
	border: 1px solid var(--avs-nest-edge) !important; border-top-color: var(--avs-nest-edge-top) !important;
	border-radius: var(--avs-nest-radius) !important;
	box-shadow: var(--avs-nest-shadow) !important;
	transform: none !important; filter: none;
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease !important;
}
/* Programs: the dark overlay was laid over a photo layer that no card uses (empty .fsf-program-card-bg); without a
   photo it is what made the cards black, so it goes (a card that does get a photo keeps it). */
html body main.fsf-detail .fsf-program-card .fsf-program-card-bg:not([style]) + .fsf-program-overlay,
html body main.fsf-detail .fsf-program-card:hover .fsf-program-card-bg:not([style]) + .fsf-program-overlay { background: none !important; }
html body main.fsf-detail .fsf-program-card:hover .fsf-program-more { color: #e8eef5 !important; }
/* Hover: clickable nested cards only (programs open their details, fleet / simulator cards had a lift, the guides link). */
@media (hover: hover) and (pointer: fine) {
	html body .avs-card.avs-card.avs-card.avs-card.avs-card.avs-card.avs-card--nested:is(a, [role="button"]):hover,
	html body main.fsf-detail .fsf-section .fsf-program-card.fsf-program-card:hover,
	html body main.fsf-detail .fsf-section .fsf-fleet-card.fsf-fleet-card:hover,
	html body main.fsf-detail .fsf-section .fsf-sim-card.fsf-sim-card:hover,
	html body .came-v2 a.cv2-guides.cv2-guides:hover {
		transform: translateY(-2px) !important; filter: brightness(1.06);
		border-color: var(--avs-nest-edge) !important; border-top-color: var(--avs-nest-edge-top) !important;
		box-shadow: var(--avs-nest-shadow-hover) !important;
	}
}
@media (prefers-reduced-motion: reduce) {
	html body main.fsf-detail .fsf-section .fsf-program-card.fsf-program-card:hover,
	html body main.fsf-detail .fsf-section .fsf-fleet-card.fsf-fleet-card:hover,
	html body main.fsf-detail .fsf-section .fsf-sim-card.fsf-sim-card:hover,
	html body .came-v2 a.cv2-guides.cv2-guides:hover,
	html body .avs-card.avs-card.avs-card.avs-card.avs-card.avs-card.avs-card--nested:hover { transform: none !important; }
}
/* Option B (body.avs-nest-flat, review toggle): school sections that hold a card grid lose their own surface + side
   padding; their cards take the full avs-card surface (radius 12, #2a4470 top edge, the lifted shadow). */
html body.avs-nest-flat main.fsf-detail .fsf-content > .fsf-section.fsf-section:not(.fsf-school-links):has(.fsf-programs-grid, .fsf-fleet-grid, .fsf-sim-card, .fsf-intl-grid, .fsf-partner-grid, .fsf-features-grid) {
	background: none !important; border-color: transparent !important; box-shadow: none !important;
	padding-left: 0 !important; padding-right: 0 !important;
}
html body.avs-nest-flat main.fsf-detail .fsf-section .fsf-program-card.fsf-program-card,
html body.avs-nest-flat main.fsf-detail .fsf-section .fsf-fleet-card.fsf-fleet-card,
html body.avs-nest-flat main.fsf-detail .fsf-section .fsf-sim-card.fsf-sim-card,
html body.avs-nest-flat main.fsf-detail .fsf-section .fsf-intl-card.fsf-intl-card,
html body.avs-nest-flat main.fsf-detail .fsf-section .fsf-intl-badge.fsf-intl-badge,
html body.avs-nest-flat main.fsf-detail .fsf-section .fsf-partner-card.fsf-partner-card,
html body.avs-nest-flat main.fsf-detail .fsf-section .fsf-feature-item.fsf-feature-item {
	background: var(--avs-card-bg) !important;
	border: 1px solid var(--avs-card-edge) !important; border-top-color: var(--avs-card-edge-top) !important;
	border-radius: var(--avs-card-radius) !important;
	box-shadow: var(--avs-card-shadow) !important;
}
