#academy-program-dialog{width:min(94vw,660px);max-height:90dvh;border:1px solid #c9ad65;border-radius:12px;padding:20px;color:#173f35;background:#fffefa;overflow:auto}
#academy-program-dialog::backdrop{background:rgb(10 28 23 / .66)}
#academy-program-dialog button{font:inherit;padding:8px 16px;border:1px solid #bda35f;border-radius:6px;background:white;color:#173f35;cursor:pointer}
#academy-program-dialog p{line-height:1.9}.academy-details-note{font-size:.9em;color:#62736a;border-top:1px solid #ded6bf;padding-top:12px}
.academy-mobile-menu-repair{position:fixed;inset-inline:8px;z-index:150;max-height:70dvh;overflow:auto;background:#fffefa;border:1px solid #c9ad65;border-radius:8px;padding:12px;box-shadow:0 8px 24px #173f3533}
.academy-mobile-menu-repair[hidden]{display:none}.academy-mobile-menu-repair a{display:block;padding:10px;color:#173f35}
/* Keep the final finance link readable against its ivory button background. */
#contact a.bank-card-btn,
#contact a.bank-card-btn:visited,
#contact a.bank-card-btn:hover,
#contact a.bank-card-btn:focus-visible,
#contact a.bank-card-btn:active{color:#123f35;text-decoration:none}

/* Keep the assistant action visible on desktop and mobile. */
.program-ask-desktop,.program-controls .program-ask-mobile{background:#9b302d;color:#fff;border:1px solid #7b211f;border-radius:8px;padding:10px 15px;font-weight:700;box-shadow:0 3px 0 #581a18}.program-ask-desktop:hover,.program-controls .program-ask-mobile:hover{background:#7b211f;color:#fff;border-color:#641b18}.program-ask-desktop:focus-visible,.program-ask-mobile:focus-visible{outline:3px solid #ba904a;outline-offset:3px}
/* Preserve full Academy artwork in the Rusukh review. */ .program-image,.program-image img,.program-visual img,.courses-figure img,.councils-figure img{object-fit:contain!important;object-position:center top!important;height:auto!important;max-height:none!important}.program-row img,.program-extension-card img{object-fit:contain!important;object-position:center top!important;height:auto!important;max-height:none!important}
