:root { --preview-radius: 18px; }
.programs-home :is(.hero-program-cta,.case-showcase-link,.ladder-button,.button,.local-slider-controls button,.education-prev,.education-next),
.programs-header :is(.header-contact-toggle,.menu-toggle),
.footer-contact > button { border-radius: 999px !important; }
.programs-home :is(.hero-portrait,.case-showcase-media,.case-card-cover,.expert-photo,.local-review-grid article,.ladder-card,.education-card),
.programs-home :is(.hero-portrait img,.case-showcase-media img,.case-card-cover img,.expert-photo img),
.footer-contact .header-contact-dropdown { border-radius: var(--preview-radius) !important; overflow: hidden; }
@media (max-width: 760px) { .programs-home .case-showcase-media { overflow: hidden !important; } }

/* Keep the original, complete homepage collage visible. */
.programs-home .hero-portrait { border-radius: 0 !important; overflow: visible !important; }
.programs-home .hero-portrait img { border-radius: 0 !important; }

/* A compact, legible desktop footer inspired by the grouped footer on KPI&TYPE. */
@media (min-width: 901px) {
  .footer { grid-template-columns: minmax(170px, 1fr) minmax(500px, 700px) auto !important; gap: 24px !important; align-items: start !important; padding: 24px var(--pad) !important; }
  .footer > div:has(.brand) { grid-column: 1; grid-row: 1; }
  .footer-links { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 20px; justify-content: stretch; font-size: 12px; line-height: 1.35; }
  .footer-requisites { grid-column: 1 / -1; justify-content: flex-start; gap: 3px 10px; margin-bottom: 6px; color: #555; }
  .footer-requisites > span + span::before { margin-right: 10px; }
  .footer-links > a { font-size: 12px; overflow-wrap: anywhere; }
  .footer-contact { grid-column: 3; grid-row: 1; }
}
@media (min-width: 901px) {
  .footer-links, .footer-links > a, .footer-requisites { font-size: 13px !important; line-height: 1.4 !important; }
}
@media (max-width: 900px) {
  .footer .footer-links, .footer .footer-links > a, .footer .footer-requisites { font-size: 12px !important; line-height: 1.4 !important; }
}
@media (min-width: 901px) {
  .footer-links, .footer-links > a, .footer-requisites { font-size: 14px !important; }
}
@media (max-width: 900px) {
  .footer .footer-links, .footer .footer-links > a, .footer .footer-requisites { font-size: 13px !important; }
}
