.em-footer { --em-footer-bg: var(--instructor-color, var(--orang)); position: relative; background: var(--em-footer-bg); color: #fff; padding-top: 2.5rem; font-size: .95rem; margin-top: 70px; }
/* Wave on the top edge, drawn in the footer colour so it follows an instructor brand colour too. */
.em-footer__wave { position: absolute; inset-inline: 0; bottom: 100%; height: 70px; line-height: 0; pointer-events: none; }
.em-footer__wave svg { display: block; width: 100%; height: 100%; }
.em-footer__wave .w-back { fill: var(--em-footer-bg); opacity: .35; }
.em-footer__wave .w-front { fill: var(--em-footer-bg); }
[dir="rtl"] .em-footer__wave svg { transform: scaleX(-1); }
@media (max-width: 575.98px) { .em-footer { margin-top: 44px; } .em-footer__wave { height: 44px; } }
/* The old theme sheets colour every link; the footer keeps its own white links. */
footer.em-footer a, footer.em-footer a:visited { color: rgba(255, 255, 255, .95) !important; text-decoration: none; }
footer.em-footer a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.em-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.em-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; padding-bottom: 2.5rem; }
.em-footer__logo { display: inline-flex; background: #fff; border-radius: 14px; padding: .6rem .9rem; margin-bottom: 1rem; }
.em-footer__logo img { display: block; max-height: 48px; width: auto; max-width: 160px; object-fit: contain; }
.em-footer__name { font-weight: 700; font-size: 1.05rem; margin: 0 0 .4rem; }
.em-footer__about { margin: 0; line-height: 1.7; color: rgba(255, 255, 255, .92); max-width: 22rem; }
footer.em-footer .em-footer__col h2 { font-size: 1.05rem !important; line-height: 1.4 !important; font-weight: 700; color: #fff; margin: 0 0 1rem; }
.em-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.em-footer__col li { display: flex; align-items: center; gap: .5rem; }
.em-footer__col i { width: 1rem; text-align: center; opacity: .9; }
.em-footer__social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.em-footer__social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: inline-flex; align-items: center; justify-content: center; }
.em-footer__social a:hover { background: rgba(255, 255, 255, .3); text-decoration: none; }
.em-footer__social img { width: 18px; height: 18px; object-fit: contain; }
.em-footer__payments { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.em-footer__payments span { background: #fff; border-radius: 8px; padding: .3rem .55rem; display: inline-flex; align-items: center; color: var(--c-charcoal); font-size: .8rem; }
.em-footer__payments img { height: 22px; width: auto; }
.em-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .3); padding-block: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; font-size: .85rem; }
.em-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; list-style: none; margin: 0; padding: 0; }
.em-footer__legal li + li::before { content: "•"; margin-inline-end: 1rem; opacity: .6; }
.em-footer__copy { margin: 0; color: rgba(255, 255, 255, .92); }
@media (max-width: 991.98px) { .em-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .em-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 575.98px) {
  .em-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
  .em-footer__brand, .em-footer__col:last-child { grid-column: 1 / -1; }
  .em-footer__bottom { flex-direction: column; align-items: flex-start; }
  .em-footer__legal { gap: .4rem 1.1rem; }
  .em-footer__legal li + li::before { content: none; }
}
