/* Registration cards must grow with their text, including at 200% zoom. */
#top .flex_column_table:has(> .jpa-dashboard-card) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
#top .flex_column_table:has(> .jpa-dashboard-card) > .av-flex-placeholder { display: none; }
#top .flex_column_table > .jpa-dashboard-card { display:flex; flex-direction:column; width:auto; margin:0; height:auto !important; min-height:0; overflow:visible; padding:clamp(1.25rem,3vw,2rem) !important; }
#top .jpa-dashboard-card > .jpa-ia-button { position:static; margin-top:auto; padding-top:1.25rem; }
#top .jpa-dashboard-card .jpa-dashboard-card-copy { overflow:visible; height:auto !important; margin-bottom:1rem; }
#top .jpa-dashboard-card .avia-button { white-space:normal; }
#top .jpa-term-navigation, #top .jpa-candidate-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin:1.5rem 0; }
#top .jpa-term-navigation a, #top .jpa-action, #top .jpa-subscribe-button { display:inline-block; padding:.75rem 1rem; border:2px solid #784b12; border-radius:3px; color:#fff; background:#784b12; font-weight:700; text-decoration:none; line-height:1.5; }
#top .jpa-term-navigation a { background:#fff; color:#3f3f3f; border-color:#666; }
#top .jpa-term-navigation a[aria-current] { background:#414141; color:#fff; }
#top .jpa-fee-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:1.25rem; margin-bottom:2rem; }
#top .jpa-fee-card { display:flex; flex-direction:column; background:#f7edde; padding:1.25rem; border-left:5px solid #d28c2a; }
#top .jpa-fee-card .jpa-action { margin-top:auto; }
#top .jpa-course-list { list-style:none; margin:0; }
#top .jpa-course-list li { display:flex; justify-content:space-between; gap:1rem; padding:1rem 0; border-bottom:1px solid #ddd; }
#top .jpa-course-list li > span { flex-shrink:0; }
#top .jpa-registration-notice { padding:1rem; background:#f4f0e9; border-left:5px solid #d28c2a; }
#top .jpa-mailing-banner { padding:1.25rem; background:#d28c2a; color:#252525; margin:1.5rem 0; }
#top .jpa-mailing-banner a { color:#252525; font-weight:700; text-decoration:underline; }
#top .jpa-quotes-archive .jpa-hero-quote { margin:2rem 0; max-width:50rem; padding-bottom:2rem; border-bottom:1px solid #ddd; }
#top .jpa-quotes-archive blockquote { font-size:1.25rem; line-height:1.7; }
#top .jpa-quotes-archive time { display:block; font-size:.9rem; margin-top:.5rem; }
#top .jpa-quote-archive-link { font-size:.875rem; }
html { scroll-padding-top:calc(var(--jpa-fixed-header-height,0px) + 1rem); }
#top:not(.home).jpa-clear-header #main { padding-top:var(--jpa-fixed-header-height,0px) !important; }
#top #footer .jpa-footer-accreditation, #top #footer .jpa-footer-accreditation p, #top #footer .jpa-footer-accreditation em { font-size:14px !important; line-height:1.6 !important; }
@media(max-width:989px) { #top .flex_column_table:has(> .jpa-dashboard-card) { grid-template-columns:1fr; } }
@media(max-width:480px) { #top .jpa-course-list li { flex-direction:column; gap:.25rem; } }
/* The older landing refinement uses a four-row subgrid. Textblock wrappers
   share its final row with the CTA; use normal flex flow for registration. */
#top.jpa-refined-page #main .flex_column.jpa-dashboard-card {
    display:flex;
    flex-direction:column;
    grid-row:auto;
    grid-template-rows:none;
    gap:1rem;
}
#top.jpa-refined-page #main .flex_column.jpa-dashboard-card > .avia-button-wrap {
    position:static;
    margin-top:auto;
    padding-top:.5rem;
}
