/*
 * Site shell from the 26.08 Figma homepage.
 * These selectors are intentionally scoped so legacy page styles remain intact.
 */

:root {
    --miras-shell-navy: #051b40;
    --miras-shell-navy-soft: #0a244d;
    --miras-shell-copy: rgb(255 255 255 / 80%);
    --miras-shell-gold: #ffd000;
    --miras-shell-header-height: 75px;
}

html {
    scroll-padding-top: calc(var(--miras-shell-header-height) + 16px);
}

/* Header */

.miras-shell-header.miras-site-header {
    position: sticky;
    z-index: 500;
    top: 0;
    height: var(--miras-shell-header-height);
    border-bottom: 1px solid rgb(48 48 48 / 12%);
    color: #fff;
    background: var(--miras-shell-navy);
}

.admin-bar .miras-shell-header.miras-site-header {
    top: 32px;
}

.miras-shell-header .miras-shell-header__bar,
.miras-shell-header .miras-shell-header__inner {
    height: var(--miras-shell-header-height);
}

.miras-shell-header .miras-shell-header__bar {
    color: #fff;
    background: var(--miras-shell-navy);
}

.miras-shell-header .miras-shell-header__inner {
    width: 100%;
    max-width: 1440px;
    align-items: center;
    padding: 16px 82px 17px;
}

.miras-shell-header .miras-shell-header__brand {
    width: 160px;
    height: 40px;
    flex: 0 0 160px;
}

.miras-shell-header .miras-shell-header__brand img {
    display: block;
    width: 160px;
    height: auto;
    filter: grayscale(1) brightness(0) invert(1);
}

.miras-shell-header .miras-shell-header__navigation {
    display: grid;
    min-width: 0;
    flex: 1;
    grid-template-columns: minmax(0, 676px) 168px 120px;
    align-items: center;
    justify-content: space-between;
    gap: 49px;
    margin-left: 49px;
}

.miras-shell-header .miras-shell-header__menus {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
}

.miras-shell-header .miras-shell-header__primary {
    display: flex;
    min-width: 0;
    flex: 0 1 auto;
    justify-content: center;
    padding: 0;
}

.miras-shell-header .miras-menu {
    width: 100%;
    justify-content: center;
    gap: 4px;
}

.miras-shell-header .miras-mega-trigger,
.miras-shell-header .miras-menu-direct {
    min-height: 42px;
    gap: 4px;
    padding: 10px 8px;
    color: #deebfb;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.325px;
    line-height: 22px;
}

.miras-shell-header .miras-mega-trigger img {
    width: 14px;
    height: 14px;
}

.miras-shell-header .miras-mega-trigger:hover,
.miras-shell-header .miras-mega-trigger:focus-visible,
.miras-shell-header .miras-mega-item.is-open .miras-mega-trigger,
.miras-shell-header .miras-mega-item.current-menu-ancestor .miras-mega-trigger,
.miras-shell-header .miras-menu-direct:hover,
.miras-shell-header .miras-menu-direct:focus-visible,
.miras-shell-header .current-menu-item > .miras-menu-direct {
    color: #ffe078;
}

.miras-shell-header .miras-mega-panel {
    top: var(--miras-shell-header-height);
    border-color: rgb(255 255 255 / 12%);
    background: rgb(5 27 64 / 94%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.miras-shell-header .miras-shell-header__utility {
    display: flex;
    flex: 0 0 auto;
}

.miras-shell-header .miras-shell-header__utility .miras-utility-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.miras-shell-header .miras-shell-header__utility .miras-utility-menu a {
    min-height: 42px;
    padding: 10px 8px;
    color: #deebfb;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.325px;
    line-height: 22px;
}

.miras-shell-header .miras-shell-header__utility .miras-utility-menu a:hover,
.miras-shell-header .miras-shell-header__utility .miras-utility-menu a:focus-visible,
.miras-shell-header .miras-shell-header__utility .current-menu-item > a {
    color: #ffe078;
}

.miras-shell-header .miras-shell-header__actions {
    display: grid;
    width: 168px;
    min-width: 0;
    grid-template-columns: 44px 44px 80px;
    align-items: center;
    justify-content: start;
    gap: 0;
}

.miras-shell-header .miras-icon-button {
    width: 44px;
    height: 44px;
    color: #deebfb;
}

.miras-shell-header .miras-icon-button:hover,
.miras-shell-header .miras-icon-button:focus-visible {
    color: #ffe078;
}

.miras-shell-header .miras-icon-button:focus-visible,
.miras-shell-header .miras-language-switcher summary:focus-visible,
.miras-shell-header .miras-shell-header__apply:focus-visible,
.miras-shell-footer a:focus-visible {
    outline: 2px solid #ffe078;
    outline-offset: 3px;
}

.miras-shell-header .miras-control-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    color: #deebfb;
    mask-size: 24px 24px;
}

/* Phosphor Regular shares a canvas, not ink bounds. Balance the silhouettes
 * within one 24px frame without stretching their aspect ratios. */
.miras-shell-header .miras-control-icon--login {
    mask-size: 26px 26px;
    mask-position: calc(50% + 1.625px) center;
}

.miras-shell-header .miras-control-icon--accessibility {
    /* The eye's wide silhouette has much less ink height than the globe.
     * Increase its canvas without stretching it or changing the hit target. */
    width: 28px;
    flex-basis: 28px;
    mask-size: 28px 28px;
}

.miras-shell-header :is(.miras-icon-button, .miras-language-switcher summary):is(:hover, :focus-visible) .miras-control-icon {
    color: #ffe078;
}

.miras-shell-header .miras-language-wrap,
.miras-shell-header .miras-language-switcher,
.miras-shell-header .miras-language-switcher summary {
    height: 44px;
}

.miras-shell-header .miras-language-switcher summary {
    min-width: 80px;
    gap: 5px;
    padding: 0 4px;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
}

.miras-shell-header .miras-language-switcher summary:hover,
.miras-shell-header .miras-language-switcher summary:focus-visible,
.miras-shell-header .miras-language-switcher[open] summary {
    color: #fff;
    background: rgb(255 255 255 / 10%);
}

.miras-shell-header .miras-language-chevron {
    display: none;
}

.miras-shell-header .miras-language-menu {
    top: calc(100% + 8px);
}

.miras-shell-header .miras-shell-header__apply {
    display: inline-flex;
    width: 120px;
    min-height: 41px;
    flex-basis: 120px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    margin: 0;
    border: 0;
    border-radius: 8px;
    color: rgb(0 0 0 / 71%);
    background: linear-gradient(95deg, #cda72b 4%, #ffe078 98%);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.miras-shell-header .miras-shell-header__apply:hover {
    color: #051b40;
    background: linear-gradient(95deg, #ffe078 4%, #fff0b2 98%);
}

html[lang^="ru"] .miras-shell-header .miras-shell-header__apply {
    padding-inline: 10px;
    font-size: 11px;
}

html[lang^="kk"] .miras-shell-header .miras-shell-header__apply {
    padding-inline: 10px;
    font-size: 12px;
}

/*
 * The desktop frame in Figma is 1440px wide. Keep the native menu output,
 * but give its three trailing control groups the same measured columns as
 * that frame. The deliberately larger hit areas do not change icon artwork.
 */
@media (min-width: 1440px) {
    .miras-shell-header .miras-shell-header__navigation {
        grid-template-columns: 672px 210px 120px;
        justify-content: start;
        gap: 34px;
    }

    .miras-shell-header .miras-shell-header__actions {
        display: flex;
        width: 210px;
        justify-content: flex-start;
        gap: 0;
    }

    .miras-shell-header .miras-icon-button--login {
        width: 54px;
        flex: 0 0 54px;
        margin-right: 21px;
    }

    .miras-shell-header .miras-icon-button--accessibility {
        width: 44px;
        flex: 0 0 44px;
        margin-right: 16px;
    }

    .miras-shell-header .miras-language-wrap,
    .miras-shell-header .miras-language-switcher,
    .miras-shell-header .miras-language-switcher summary {
        width: 75px;
        min-width: 75px;
    }
}

/* Footer */

.miras-shell-footer.miras-footer {
    position: relative;
    isolation: isolate;
    min-height: 758px;
    overflow: hidden;
    border: 0;
    color: #fff;
    background: var(--miras-shell-navy);
}

.miras-shell-footer::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    /* Full-bleed paint surface: never clip glows at the 1440px design edge.
     * Each offset compensates for half the asset width, so 50% positions
     * preserve Figma 1:775 coordinates while adapting to the actual footer. */
    background:
        url("../images/home-2026/figma/footer-ellipse-right-large.svg") calc(50% + 547px) -252.4px / 884px 884px no-repeat,
        url("../images/home-2026/figma/footer-ellipse-left-large.svg") calc(50% - 597px) 150.6px / 844px 844px no-repeat,
        url("../images/home-2026/figma/footer-miras-wordmark.svg") calc(50% + 287px) 356.6px / 704px 134px no-repeat,
        url("../images/home-2026/figma/footer-ellipse-right-small.svg") calc(50% + 573.5px) 202px / 443px 443px no-repeat,
        url("../images/home-2026/figma/footer-ellipse-left-top.svg") calc(50% - 620px) -178px / 796px 796px no-repeat;
    pointer-events: none;
    content: "";
}

.miras-shell-footer::after {
    content: none;
}

.miras-shell-footer .miras-shell-footer__inner {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 200px));
    min-height: 758px;
    margin-inline: auto;
}

.miras-shell-footer .miras-shell-footer__topline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 393px;
    gap: 26px;
    align-items: center;
    padding-top: 48px;
}

.miras-shell-footer .miras-shell-footer__logo {
    display: flex;
    width: 201px;
    height: 26px;
    align-items: center;
}

.miras-shell-footer .miras-shell-footer__logo img {
    display: block;
    width: 201px;
    height: auto;
    filter: grayscale(1) brightness(0) invert(1);
}

.miras-shell-footer .miras-shell-footer__socials {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.miras-shell-footer .miras-shell-footer__socials p {
    margin: 0;
    color: #ccd6fa;
    font-size: 23px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.miras-shell-footer .miras-shell-footer__social-nav {
    display: flex;
    max-width: none;
    flex-wrap: nowrap;
    gap: 19px;
    margin: 0;
}

.miras-shell-footer .miras-shell-footer__social-nav a {
    display: inline-flex;
    width: 31px;
    height: 31px;
    min-height: 31px;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 12px;
    color: #fff;
    background: rgb(18 68 153 / 48%);
}

.miras-shell-footer .miras-shell-footer__social-nav a:hover {
    color: #fff;
    background: rgb(18 68 153 / 84%);
    transform: translateY(-1px);
}

.miras-shell-footer .miras-shell-footer__social-nav img {
    display: block;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    filter: brightness(0) invert(1);
    opacity: 1;
}

.miras-shell-footer .miras-shell-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 821px) 393px;
    gap: 26px;
    margin-top: 56px;
}

.miras-shell-footer .miras-shell-footer__columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.miras-shell-footer .miras-shell-footer__columns h2 {
    margin: 0 0 27px;
    color: rgb(255 255 255 / 90%);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.35px;
    line-height: 20px;
    text-transform: uppercase;
}

.miras-shell-footer .miras-shell-footer__columns .miras-footer-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.miras-shell-footer .miras-shell-footer__columns .miras-footer-menu li + li {
    margin-top: 2px;
}

.miras-shell-footer .miras-shell-footer__columns .miras-footer-menu a {
    display: inline-block;
    color: rgb(255 255 255 / 80%);
    font-size: 12px;
    font-weight: 400;
    line-height: 19.25px;
}

.miras-shell-footer .miras-shell-footer__columns .miras-footer-menu a:hover,
.miras-shell-footer .miras-shell-footer__columns .miras-footer-menu a:focus-visible {
    color: #ffe078;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.miras-shell-footer .miras-shell-footer__visit {
    display: grid;
    align-content: start;
    gap: 14px;
}

.miras-shell-footer .miras-shell-footer__map {
    position: relative;
    width: 393px;
    height: 245px;
    overflow: hidden;
    border-radius: 12px;
    background: rgb(255 255 255 / 67%);
}

.miras-shell-footer .miras-shell-footer__map::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 38px 18px rgb(255 255 255 / 34%);
    content: none;
    pointer-events: none;
}

.miras-shell-footer .miras-shell-footer__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: none;
}

.miras-shell-footer .miras-shell-footer__visit-link {
    display: flex;
    width: 393px;
    height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px 10px 18px;
    border-radius: 12px;
    color: #232323;
    background: linear-gradient(90deg, #ffd000, #ffe677);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.miras-shell-footer .miras-shell-footer__visit-link:hover {
    color: #051b40;
    background: linear-gradient(90deg, #ffe064, #fff0a8);
}

.miras-shell-footer .miras-shell-footer__calendar {
    display: block;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
}

.miras-shell-footer .miras-shell-footer__campuses {
    display: grid;
    min-height: 0;
    grid-template-columns: 393px 393px;
    gap: 243px;
    padding: 0;
    margin-top: 68px;
    border: 0;
}

.miras-shell-footer .miras-shell-footer__campus {
    min-width: 0;
}

.miras-shell-footer .miras-shell-footer__campus h2 {
    margin: 0 0 18px;
    color: rgb(255 255 255 / 90%);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.35px;
    line-height: 20px;
    text-transform: uppercase;
}

.miras-shell-footer .miras-shell-footer__campus h2 a {
    color: inherit;
}

.miras-shell-footer .miras-shell-footer__campus address {
    display: grid;
    gap: 7px;
    color: rgb(255 255 255 / 82%);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

.miras-shell-footer .miras-shell-footer__campus address > span,
.miras-shell-footer .miras-shell-footer__campus address > a {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 9px;
    color: inherit;
}

.miras-shell-footer .miras-shell-footer__campus address img {
    display: block;
    flex: 0 0 auto;
}

.miras-shell-footer .miras-shell-footer__campus address a:hover,
.miras-shell-footer .miras-shell-footer__campus h2 a:hover {
    color: #ffe078;
}

.miras-shell-footer .miras-shell-footer__bottom {
    display: flex;
    min-height: 73px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
    margin-top: 37px;
}

.miras-shell-footer .miras-shell-footer__bottom p,
.miras-shell-footer .miras-shell-footer__legal a {
    margin: 0;
    color: rgb(255 255 255 / 70%);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.35px;
    line-height: 20px;
    text-transform: uppercase;
}

.miras-shell-footer .miras-shell-footer__legal a:hover,
.miras-shell-footer .miras-shell-footer__legal a:focus-visible {
    color: #ffe078;
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .miras-shell-header .miras-shell-header__inner {
        padding-inline: 28px;
    }

    .miras-shell-header .miras-shell-header__brand {
        width: 136px;
        flex-basis: 136px;
    }

    .miras-shell-header .miras-shell-header__brand img {
        width: 136px;
    }

    .miras-shell-header .miras-shell-header__navigation {
        grid-template-columns: minmax(0, 1fr) 162px auto;
        gap: 14px;
        margin-left: 20px;
    }

    .miras-shell-header .miras-shell-header__primary {
        padding: 0;
    }

    .miras-shell-header .miras-shell-header__utility .miras-utility-menu a {
        padding-inline: 5px;
        font-size: 12px;
        letter-spacing: 0;
    }

    .miras-shell-header .miras-mega-trigger,
    .miras-shell-header .miras-menu-direct {
        padding-inline: 5px;
        font-size: 12px;
        letter-spacing: 0;
    }

    .miras-shell-header .miras-shell-header__actions {
        width: 162px;
        grid-template-columns: 44px 44px 74px;
    }

    .miras-shell-header .miras-icon-button {
        width: 44px;
    }

    .miras-shell-header .miras-language-switcher summary {
        min-width: 74px;
    }

    .miras-shell-header .miras-shell-header__apply {
        width: auto;
        min-width: 100px;
        padding-inline: 14px;
    }

    .miras-shell-footer .miras-shell-footer__inner {
        width: min(1120px, calc(100% - 64px));
    }

    .miras-shell-footer .miras-shell-footer__topline,
    .miras-shell-footer .miras-shell-footer__main {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 24px;
    }

    .miras-shell-footer .miras-shell-footer__map,
    .miras-shell-footer .miras-shell-footer__visit-link {
        width: 340px;
    }

    .miras-shell-footer .miras-shell-footer__columns {
        gap: 18px;
    }

    .miras-shell-footer .miras-shell-footer__campuses {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 64px;
    }
}

@media (max-width: 1023px) {
    .miras-shell-header.miras-site-header,
    .miras-shell-header .miras-shell-header__bar,
    .miras-shell-header .miras-shell-header__inner {
        height: var(--miras-shell-header-height);
    }

    .miras-shell-header .miras-shell-header__inner {
        justify-content: space-between;
        padding: 16px 24px 17px;
    }

    .miras-shell-header .miras-shell-header__toggle {
        display: inline-flex;
        color: #fff;
    }

    .miras-shell-header .miras-shell-header__navigation {
        position: fixed;
        z-index: 499;
        top: var(--miras-shell-header-height);
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 20px max(24px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
        margin: 0;
        overflow-y: auto;
        color: #fff;
        background: var(--miras-shell-navy);
    }

    .admin-bar .miras-shell-header .miras-shell-header__navigation {
        top: calc(var(--miras-shell-header-height) + 32px);
    }

    .miras-shell-header .miras-shell-header__menus,
    .miras-shell-header .miras-shell-header__primary {
        display: block;
        padding: 0;
    }

    .miras-shell-header .miras-menu > li {
        border-bottom-color: rgb(255 255 255 / 16%);
    }

    .miras-shell-header .miras-mega-trigger,
    .miras-shell-header .miras-menu-direct {
        width: 100%;
        min-height: 56px;
        justify-content: space-between;
        padding: 13px 4px;
        color: #fff;
        font-size: 18px;
        letter-spacing: 0;
    }

    .miras-shell-header .miras-mega-trigger img {
        filter: brightness(0) invert(1);
    }

    .miras-shell-header .miras-mega-panel {
        padding: 4px 0 16px;
        color: #fff;
        background: var(--miras-shell-navy-soft);
    }

    .miras-shell-header .miras-mega-link {
        border-left-color: rgb(255 255 255 / 15%);
        color: #fff;
        background: transparent;
    }

    .miras-shell-header .miras-mega-link span {
        color: rgb(255 255 255 / 64%);
    }

    .miras-shell-header .miras-mega-link:hover,
    .miras-shell-header .miras-mega-link:focus-visible,
    .miras-shell-header .miras-mega-grid-item.current-menu-item > .miras-mega-link {
        border-left-color: #ffe078;
        color: #ffe078;
        background: rgb(255 255 255 / 8%);
    }

    .miras-shell-header .miras-shell-header__utility {
        display: block;
        margin-top: 18px;
    }

    .miras-shell-header .miras-shell-header__utility .miras-utility-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 16px;
    }

    .miras-shell-header .miras-shell-header__utility .miras-utility-menu a {
        min-height: 44px;
        padding: 8px 0;
        color: rgb(255 255 255 / 74%);
    }

    .miras-shell-header .miras-shell-header__actions {
        display: grid;
        width: 168px;
        grid-template-columns: 44px 44px 80px;
        margin-top: 16px;
    }

    .miras-shell-header .miras-shell-header__apply {
        width: 100%;
        min-height: 48px;
        flex: 0 0 auto;
        margin-top: 20px;
    }

    .miras-shell-footer.miras-footer,
    .miras-shell-footer .miras-shell-footer__inner {
        min-height: 0;
    }

    .miras-shell-footer .miras-shell-footer__inner {
        width: min(100% - 64px, 896px);
        padding-bottom: 24px;
    }

    .miras-shell-footer .miras-shell-footer__topline,
    .miras-shell-footer .miras-shell-footer__main {
        grid-template-columns: 1fr;
    }

    .miras-shell-footer .miras-shell-footer__socials {
        justify-content: flex-start;
        margin-top: 24px;
    }

    .miras-shell-footer .miras-shell-footer__main {
        margin-top: 48px;
    }

    .miras-shell-footer .miras-shell-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 44px;
    }

    .miras-shell-footer .miras-shell-footer__visit {
        margin-top: 40px;
    }

    .miras-shell-footer .miras-shell-footer__map,
    .miras-shell-footer .miras-shell-footer__visit-link {
        width: 100%;
    }

    .miras-shell-footer .miras-shell-footer__campuses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
        margin-top: 48px;
    }

    .miras-shell-footer .miras-shell-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
        margin-top: 24px;
    }

    .miras-shell-footer .miras-footer-legal-menu {
        justify-content: flex-start;
    }
}

@media (max-width: 782px) {
    .admin-bar .miras-shell-header.miras-site-header {
        top: 46px;
    }

    .admin-bar .miras-shell-header .miras-shell-header__navigation {
        top: calc(var(--miras-shell-header-height) + 46px);
    }
}

@media (max-width: 767px) {
    .miras-shell-header .miras-shell-header__inner {
        padding-inline: 20px;
    }

    .miras-shell-header .miras-shell-header__brand,
    .miras-shell-header .miras-shell-header__brand img {
        width: 146px;
    }

    .miras-shell-header .miras-shell-header__brand {
        flex-basis: 146px;
    }

    .miras-shell-footer .miras-shell-footer__inner {
        width: calc(100% - 40px);
    }

    .miras-shell-footer .miras-shell-footer__topline {
        padding-top: 36px;
    }

    .miras-shell-footer .miras-shell-footer__socials {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .miras-shell-footer .miras-shell-footer__socials p {
        font-size: 20px;
    }

    .miras-shell-footer .miras-shell-footer__columns,
    .miras-shell-footer .miras-shell-footer__campuses {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .miras-shell-footer .miras-shell-footer__columns h2 {
        margin-bottom: 16px;
    }

    .miras-shell-footer .miras-shell-footer__columns .miras-footer-menu a {
        min-height: 32px;
        padding-block: 6px;
        font-size: 14px;
        line-height: 20px;
    }

    .miras-shell-footer .miras-shell-footer__map {
        height: min(245px, 62vw);
    }

    .miras-shell-footer .miras-shell-footer__campus address {
        font-size: 14px;
    }

    .miras-shell-footer .miras-shell-footer__bottom p {
        white-space: normal;
    }

    .miras-shell-footer .miras-footer-legal-menu {
        display: grid;
        gap: 8px;
    }

    .miras-shell-footer .miras-footer-legal-menu li + li::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .miras-shell-header *,
    .miras-shell-footer * {
        scroll-behavior: auto;
        transition-duration: 0.01ms !important;
    }
}
