/* Premium statistics cards and photo-hero spacing for the date, customer, airport, route, callsign, registration and flight activity pages. */
body .page-hero-body { padding-top: 1.25rem; }
body .page-hero-body .page-heading { margin-bottom: 0.5rem !important; }
.pstats { --pline: #e3e1dc; --pmuted: #6b6b6b; margin: 1.5rem 0 2rem; }
body .pstats h2.pstats-title { margin: 0 0 0.25rem; font-size: 1.6rem !important; font-weight: 700 !important; }
.pstats .pstats-title::after { content: ""; display: block; width: 2.5rem; height: 3px; margin-top: 0.4rem; background: var(--gold, #f5c518); }
.pstats .pstats-lead { margin: 0.5rem 0 0.75rem; color: var(--pmuted); }
.pstats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.pstats-card { min-width: 0; padding: 1rem 1.1rem; border: 1px solid var(--pline); border-radius: 0.75rem; background: inherit; }
.pstats-card.is-wide { grid-column: 1 / -1; }
body .pstats .pstats-card h3, body .pstats .pstats-card h3 a { margin: 0; font-size: 1.05rem !important; font-weight: 700 !important; }
.pstats-card > p { margin: 0.15rem 0 0.75rem; color: var(--pmuted); font-size: 0.84rem !important; }
.pstats-bars, .pstats-history, .pstats-months { margin: 0; padding: 0; list-style: none; }
.pstats-bars { display: grid; gap: 0.4rem; margin-top: 0.5rem; }
.pstats-bars li { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) 3rem; gap: 0.6rem; align-items: center; font-size: 0.88rem !important; }
.pstats-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pstats-track { display: block; }
.pstats-track i { display: block; height: 0.6rem; border-radius: 999px; background: var(--gold, #f5c518); }
.pstats-bars.is-dark .pstats-track i { background: #2b2f36; }
.pstats-bars em { color: var(--pmuted); font-style: normal; text-align: right; }
.pstats-history li { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: 0.75rem; padding: 0.4rem 0; border-top: 1px solid var(--pline); font-size: 0.88rem !important; }
.pstats-months { display: flex; align-items: stretch; gap: 0.4rem; height: 170px; margin-top: 0.75rem; }
.pstats-months li { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; font-size: 0.72rem !important; color: var(--pmuted); }
.pstats-months b { color: inherit; font-size: 0.75rem; }
.pstats-months i { display: block; width: 100%; margin: 0.2rem 0; border-radius: 4px 4px 0 0; background: var(--gold, #f5c518); }
.pstats-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.pstats-split strong { display: block; font-size: 2rem; line-height: 1.1; }
.pstats-split span { color: var(--pmuted); font-size: 0.84rem; }
.pstats-empty { color: var(--pmuted); }
@media (max-width: 991px) { .pstats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .pstats-grid { grid-template-columns: 1fr; } .pstats-months b { display: none; } }
html body .page-cover.home-hero.home-hero.page-hero.page-hero { min-height: clamp(280px, 38vh, 400px); }
html body .page-cover.home-hero.page-hero .home-hero-content { padding-bottom: 2rem; }
body .page-hero-body .page-heading::after { content: ""; display: block; clear: both; }
body .page-hero-body { padding-top: 0.75rem; }
html body .page-hero-body .page-heading { margin-top: 0 !important; margin-bottom: 0 !important; min-height: 0; }
html body .page-hero-body .year-type-form-container { margin-top: 0.5rem; margin-bottom: 0.5rem !important; }
html body .page-hero-body .page-heading + * { margin-top: 0.5rem !important; }
html body .page-hero + .hero-databar { margin-bottom: 0 !important; }
html body section.page-hero-body { padding-top: 0.5rem !important; margin-top: 0 !important; }
html body .page-hero-body .page-heading + * > :first-child, html body .page-hero-body .page-heading + * > :first-child > h2:first-child { margin-top: 0 !important; padding-top: 0 !important; }
