/* Maayu Mali public page typography and styles. */
/* Natural palette: olive #646C45, deep ochre #775632,
   olive #5b694d, earth ochre #8b6c3b and warm cream #f7f3ec. */
body.home_page,
body.interior_page { font-family: 'Outfit', Arial, sans-serif; }
body.home_page :is(button, input, select, textarea),
body.interior_page :is(button, input, select, textarea) { font-family: inherit; }

.home_page {
    --home-ink: #161616;
    --home-paper: #f4f1eb;
    --home-accent: #8b6c3b;
    margin: 0;
}

.home_header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1050;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 30px clamp(24px, 4vw, 70px);
    background: transparent;
    transition: background-color .3s ease, padding .3s ease, transform .35s ease;
}

.home_header_hidden { transform: translateY(-110%); }
.home_menu_open .home_header { transform: translateY(0); }
.home_header_scrolled,
.home_menu_open .home_header {
    padding-top: 18px;
    padding-bottom: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}

.home_header #logo.home_logo {
    position: relative;
    z-index: 1061;
    width: clamp(190px, 21vw, 330px);
    max-width: calc(100% - 58px);
    min-width: 0;
    margin: 0;
}

.home_logo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    /* Keep the original image colours in every header state. */
    filter: none;
    mix-blend-mode: normal;
    opacity: 1;
}

.home_menu_open { overflow: hidden; }
.home_main_menu { position: relative; z-index: 1060; flex: 0 0 auto; }
.home_main_menu .navbar { position: static; margin: 0; padding: 0; }
.home_main_menu .navbar-brand { display: none !important; }

.home_main_menu .navbar-toggler {
    position: relative;
    z-index: 1061;
    display: block !important;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 9px;
    border: 2.5px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    background: rgba(18, 18, 18, .32);
    box-shadow: 0 3px 14px rgba(0, 0, 0, .42), 0 1px 3px rgba(0, 0, 0, .5);
    backdrop-filter: blur(4px);
}

.home_main_menu .navbar-toggler-icon {
    display: block;
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-width='2.8' d='M5 8h22M5 16h22M5 24h22'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .9));
}

.home_header_scrolled .navbar-toggler,
.home_menu_open .navbar-toggler {
    border-color: rgba(0, 0, 0, .7);
    background: rgba(255, 255, 255, .9);
    box-shadow: none;
}

.home_header_scrolled .navbar-toggler-icon,
.home_menu_open .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath stroke='%23161616' stroke-linecap='round' stroke-width='2.8' d='M5 8h22M5 16h22M5 24h22'/%3E%3C/svg%3E");
    filter: none;
}

/* Home slideshow. Text shadows keep captions readable over the photos. */
.container_slideshow_full,
#home_slideshow { width: 100%; }

#home_slideshow .carousel-item {
    position: relative;
    height: clamp(540px, 78svh, 900px);
    overflow: hidden;
    background: #25201c;
}

#home_slideshow .carousel-item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#home_slideshow .carousel-caption {
    z-index: 2;
    right: clamp(24px, 6vw, 100px);
    bottom: clamp(55px, 12vh, 128px);
    left: clamp(24px, 6vw, 100px);
    max-width: 1100px;
    padding: 0;
    text-align: left;
}

#home_slideshow .carousel-caption h5 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2rem, 3.8vw, 4rem);
    font-weight: 750;
    line-height: 1.08;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .9), 0 5px 20px rgba(0, 0, 0, .75);
    text-wrap: balance;
}

#home_slideshow .carousel-caption p {
    max-width: 950px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.1rem, 1.65vw, 1.45rem);
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 4px 14px rgba(0, 0, 0, .8);
}

#home_slideshow .slideshow_button { margin-top: 1.75rem; }
#home_slideshow .btn-slideshow {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: .75rem 1.5rem;
    border: 2px solid #fff;
    border-radius: 5px;
    background: #fff;
    color: #25201c;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
#home_slideshow .btn-slideshow:hover { border-color: #775632; background: #775632; color: #fff; transform: translateY(-2px); }
#home_slideshow .btn-slideshow:focus-visible { outline: 3px solid #8b6c3b; outline-offset: 3px; }

#home_slideshow .carousel-control-prev,
#home_slideshow .carousel-control-next {
    z-index: 3;
    top: 50%;
    bottom: auto;
    width: clamp(40px, 3.5vw, 50px);
    height: clamp(40px, 3.5vw, 50px);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: rgba(0, 0, 0, .16);
    opacity: .65;
    transform: translateY(-50%);
    transition: background-color .2s ease, opacity .2s ease;
}
#home_slideshow .carousel-control-prev { left: clamp(10px, 2vw, 28px); }
#home_slideshow .carousel-control-next { right: clamp(10px, 2vw, 28px); }
#home_slideshow .carousel-control-prev:hover,
#home_slideshow .carousel-control-next:hover { background: rgba(0, 0, 0, .38); opacity: 1; }
#home_slideshow .carousel-control-prev-icon,
#home_slideshow .carousel-control-next-icon { width: 1.1rem; height: 1.1rem; }
#home_slideshow .carousel-control-prev:focus-visible,
#home_slideshow .carousel-control-next:focus-visible { outline: 3px solid #8b6c3b; outline-offset: 3px; }

@media (max-width: 767.98px) {
    #home_slideshow .carousel-item { height: clamp(520px, 82svh, 720px); }
    #home_slideshow .carousel-caption { right: 26px; bottom: 45px; left: 26px; }
    #home_slideshow .carousel-caption h5 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    #home_slideshow .carousel-caption p { font-size: 1.05rem; }
    #home_slideshow .slideshow_button { margin-top: 1.25rem; }
}

/* Plain page banners start behind the transparent header. */
.interior_page {
    --home-ink: #161616;
    --home-paper: #f4f1eb;
    --home-accent: #8b6c3b;
    margin: 0;
}

.interior_banner {
    width: 100%;
    height: clamp(170px, 26.667vw, 347px);
    overflow: hidden;
}

.interior_banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Plain page content, attachments and photos. */
.plain_page_row {
    box-sizing: border-box;
    width: min(100%, 1380px);
    margin-inline: auto;
    padding: clamp(40px, 5vw, 76px) clamp(20px, 4vw, 64px);
    color: #25201c;
}

.plain_page_row > .col-md-8,
#plain_page_photos {
    min-width: 0;
    padding-inline: clamp(12px, 1.6vw, 24px);
}

.plain_page_row > .col-md-8 {
    font-size: 1.05rem;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.plain_page_row > .has_background_photo {
    padding: 0 clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px);
    border-radius: 14px;
    background-color: #fff;
}

/* Leave the opening text clear, then show the full photo beneath a white layer. */
.plain_page_row > .has_background_photo.has_repeating_background_photo,
.admissions_page.has_repeating_background_photo,
.other_support_services_page.has_repeating_background_photo {
    background-color: #fff;
}

.has_background_photo,
.has_repeating_background_photo {
    position: relative;
    isolation: isolate;
}

.has_background_photo::before,
.has_repeating_background_photo::before {
    content: '';
    position: absolute;
    top: 230px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    border-radius: 14px;
    background-color: #fff;
    background-image: linear-gradient(rgba(255, 255, 255, .90), rgba(255, 255, 255, .90)), var(--plain-page-background);
    background-size: 100% 100%, contain;
    background-position: center top;
    background-repeat: no-repeat;
    pointer-events: none;
}

.has_repeating_background_photo::before {
    background-repeat: no-repeat, no-repeat space;
}

.has_background_photo > *,
.has_repeating_background_photo > * {
    position: relative;
    z-index: 1;
}

.plain_page_row > .col-md-8 :is(h1, h2, h3, h4) {
    color: #25201c;
    font-weight: 700;
    line-height: 1.25;
    text-wrap: balance;
}

.plain_page_row > .col-md-8 h2 {
    margin: 2.2rem 0 .8rem;
    color: #646C45;
}

.plain_page_row > .col-md-8 h3 { margin: 1.8rem 0 .7rem; }
.plain_page_row > .col-md-8 p { margin-bottom: 1.25rem; }
.plain_page_row > .col-md-8 :is(ul, ol) { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.plain_page_row > .col-md-8 li + li { margin-top: .4rem; }

.plain_page_row > .col-md-8 a { color: #646C45; text-underline-offset: 3px; }
.plain_page_row > .col-md-8 a:hover { color: #775632; }
.plain_page_row > .col-md-8 a:focus-visible {
    outline: 3px solid #8b6c3b;
    outline-offset: 3px;
}

/* The direct child list is the file list produced by the page template. */
.plain_page_row > .col-md-8 > ul:last-child:has(> li) {
    margin-top: 2rem;
    padding: 1.25rem 1.25rem 1.25rem 2.75rem;
    border-left: 4px solid #8b6c3b;
    border-radius: 0 10px 10px 0;
    background: #f7f3ec;
}

.plain_page_row > .col-md-8 > ul:last-child:not(:has(> li)) { display: none; }

#plain_page_photos > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

#plain_page_photos > .plain_page_photos_name {
    margin: 10px 0 32px;
    color: #665d55;
    font-size: .9rem;
    line-height: 1.5;
}

#plain_page_photos > .plain_page_photos_name:empty { margin-top: 0; }

/* Privacy Policy has no photo column, but uses the plain page spacing. */
.privacy_page {
    box-sizing: border-box;
    width: min(100%, 1380px);
    margin-inline: auto;
    padding: clamp(40px, 5vw, 76px) clamp(20px, 4vw, 64px) clamp(64px, 7vw, 96px);
    color: #25201c;
}
.privacy_page_content,
.privacy_page_files { max-width: 85ch; }
.privacy_page_content { font-size: 1.05rem; line-height: 1.75; overflow-wrap: break-word; }
.privacy_page_content :is(h1, h2, h3, h4) { color: #25201c; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.privacy_page_content h2 { margin: 2.2rem 0 .8rem; color: #646C45; }
.privacy_page_content h3 { margin: 1.8rem 0 .7rem; }
.privacy_page_content p { margin-bottom: 1.25rem; }
.privacy_page_content :is(ul, ol) { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.privacy_page_content li + li,
.privacy_page_files li + li { margin-top: .4rem; }
.privacy_page :is(.privacy_page_content, .privacy_page_files) a { color: #646C45; text-underline-offset: 3px; }
.privacy_page a:hover { color: #775632; }
.privacy_page a:focus-visible { outline: 3px solid #8b6c3b; outline-offset: 3px; }
.privacy_page_files:has(li) {
    margin: 2rem 0 0;
    padding: 1.25rem 1.25rem 1.25rem 2.75rem;
    border-left: 4px solid #8b6c3b;
    border-radius: 0 10px 10px 0;
    background: #f7f3ec;
}
.privacy_page_files:not(:has(li)) { display: none; }

@media (max-width: 767.98px) {
    .plain_page_row { padding-block: 36px 48px; }
    #plain_page_photos { margin-top: 28px; }
    .has_repeating_background_photo::before {
        background-size: 100% 100%, 100% auto;
        background-repeat: no-repeat, no-repeat;
    }
}

/* Pages without a banner need room for the fixed header. */
.interior_page:not(:has(.interior_banner)) .interior_main {
    padding-top: var(--interior-header-height, 110px);
}

/* Contact page content and enquiry form. */
.contact_page {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 80px);
    width: min(100%, 1380px);
    margin-inline: auto;
    padding: clamp(40px, 5vw, 76px) clamp(20px, 4vw, 64px) clamp(64px, 7vw, 96px);
    color: #25201c;
}

.contact_page_intro { min-width: 0; font-size: 1.05rem; line-height: 1.75; overflow-wrap: break-word; }
.contact_page_intro :is(h1, h2, h3) { margin: 0 0 18px; color: #25201c; font-weight: 700; line-height: 1.25; }
.contact_page_intro :is(h2, h3) { margin-top: 1.7rem; color: #646C45; }
.contact_page_intro p { margin-bottom: 1.25rem; }
.contact_page_intro a { color: #646C45; text-underline-offset: 3px; }
.contact_page_intro a:hover { color: #775632; }
.contact_page_email { display: grid; gap: 2px; margin-top: 1.75rem; overflow-wrap: anywhere; }
.contact_page_email span { color: #665d55; font-size: .9rem; font-weight: 700; }

.contact_page_form {
    min-width: 0;
    padding: clamp(24px, 3vw, 42px);
    border: 1px solid #e6ded3;
    border-top: 4px solid #8b6c3b;
    border-radius: 14px;
    background: #f7f3ec;
}
.contact_page_form h2 { margin: 0 0 24px; color: #25201c; font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 700; }
.contact_page_form .form :is(.form-group, .mb-3) { margin-bottom: 22px; }
.contact_page_form .form .form-input-container { margin: 0 0 22px; }
.contact_page_form .form label { display: block; margin: 0 0 8px; color: #25201c; font-weight: 700; }
.contact_page_form .form :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #c9beb0;
    border-radius: 8px;
    background: #fff;
    color: #25201c;
    font: inherit;
}
.contact_page_form .form textarea { min-height: 150px; resize: vertical; }
.contact_page_form .form :is(input[type="text"], input[type="email"], input[type="tel"], textarea):focus {
    border-color: #8b6c3b;
    outline: 3px solid rgba(139, 108, 59, .26);
    box-shadow: none;
}
.contact_page_form .form label.error { margin: 6px 0 0; color: #744f35; font-size: .9rem; font-weight: 600; }
.contact_page_form .form .btn-primary {
    min-height: 48px;
    padding: 11px 26px;
    border: 1px solid #646C45;
    border-radius: 8px;
    background: #646C45;
    color: #fff;
    font-weight: 700;
}
.contact_page_form .form .btn-primary:hover,
.contact_page_form .form .btn-primary:focus-visible { border-color: #775632; background: #775632; color: #fff; }
.contact_page_form .form .btn-primary:focus-visible,
.contact_page a:focus-visible { outline: 3px solid #8b6c3b; outline-offset: 3px; }
.contact_page_form .form #recaptcha_help { margin: 18px 0 0; color: #665d55; font-size: .82rem; line-height: 1.55; }
.contact_page_form .form #recaptcha_help a { color: #646C45; }
.contact_form_unavailable { margin: 0; line-height: 1.7; }

@media (max-width: 767.98px) {
    .contact_page { grid-template-columns: minmax(0, 1fr); }
}

/* Admin and error content aligned with the plain page below the banner. */
.login_page,
.error_layout .interior_body_content {
    box-sizing: border-box;
    width: min(100%, 1380px);
    margin-inline: auto;
    padding: clamp(40px, 5vw, 76px) clamp(20px, 4vw, 64px);
    color: #25201c;
}

.login_panel { max-width: 680px; }

.login_panel h1 {
    margin: 0 0 14px;
    color: #25201c;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
}

.login_intro { margin: 0 0 28px; font-size: 1.05rem; line-height: 1.75; }
.login_panel .form :is(.form-group, .mb-3) { margin-bottom: 20px; }
.login_panel .form label { display: block; margin: 20px 0 8px; font-weight: 600; }
.login_panel .form .form-input-container { margin-top: 20px; }
.login_panel .form .form-input-container label { margin-top: 0; }

.login_panel .form input:is([type="text"], [type="email"], [type="password"]) {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #c9beb0;
    border-radius: 8px;
    background: #fff;
    color: #25201c;
}

.login_panel .form input:is([type="text"], [type="email"], [type="password"]):focus {
    border-color: #8b6c3b;
    outline: 3px solid rgba(139, 108, 59, .3);
    outline-offset: 0;
    box-shadow: none;
}

.login_panel .form .btn-primary {
    min-height: 48px;
    margin-top: 12px;
    padding: 11px 24px;
    border: 1px solid #646C45;
    border-radius: 8px;
    background: #646C45;
    color: #fff;
    font-weight: 700;
}

.login_panel .form .btn-primary:hover,
.login_panel .form .btn-primary:focus-visible {
    border-color: #775632;
    background: #775632;
    color: #fff;
}

.login_panel .form .btn-primary:focus-visible {
    outline: 3px solid #8b6c3b;
    outline-offset: 3px;
}

.error_layout .interior_body_content {
    min-height: 320px;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.35;
}

.interior_page:not(:has(.interior_banner)) .interior_header:not(.home_header_scrolled) {
    background: #fff;
}

.interior_page:not(:has(.interior_banner)) .navbar-toggler {
    border-color: rgba(0, 0, 0, .7);
}

.interior_page:not(:has(.interior_banner)) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath stroke='%23161616' stroke-linecap='round' stroke-width='2.8' d='M5 8h22M5 16h22M5 24h22'/%3E%3C/svg%3E");
}

/* The reference menu is a white card over a softly dimmed page. */
.home_menu_open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1049;
    background: rgba(22, 22, 22, .38);
}

.home_menu_open .home_header {
    z-index: 1056;
    inset: 16px 16px auto;
    width: calc(100% - 32px);
    max-width: 440px;
    margin-inline: auto;
    padding: 16px 20px;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.home_menu_open .home_header #logo.home_logo {
    width: clamp(135px, 35vw, 180px);
}

.home_menu_open .navbar-toggler {
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    border-radius: 4px;
}

.home_menu_open .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath stroke='%23161616' stroke-linecap='round' stroke-width='2' d='M8 8l16 16M24 8L8 24'/%3E%3C/svg%3E");
}

.home_main_menu #main-navigation {
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    bottom: auto !important;
    left: 16px !important;
    z-index: 1055;
    display: none !important;
    width: calc(100% - 32px) !important;
    max-width: 440px;
    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
    margin: 0 auto;
    padding: 136px 20px 20px !important;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff !important;
    border: 0 !important;
    border-radius: 14px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .22) !important;
}

.home_main_menu #main-navigation.show,
.home_main_menu #main-navigation.collapsing {
    display: block !important;
    height: auto !important;
}

.home_main_menu #main-navigation .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
    background: transparent;
}

.home_main_menu #main-navigation .nav-item {
    width: 100%;
    margin: 0;
    background: transparent;
    border-top: 1px solid #eee9e2;
}

.home_main_menu #main-navigation > .navbar-nav > .nav-item:last-child {
    padding-top: 14px;
    border-top: 1px solid #ded8d0;
}

.home_main_menu #main-navigation .nav-link {
    display: block;
    padding: 11px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #161616 !important;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0;
    text-align: left;
    text-decoration: none;
}

.home_main_menu #main-navigation .nav-link:hover,
.home_main_menu #main-navigation .nav-link:focus-visible,
.home_main_menu #main-navigation .nav-link.active {
    color: #646C45 !important;
}

.home_main_menu #main-navigation .nav-link:focus-visible,
.home_main_menu .navbar-toggler:focus-visible {
    outline: 3px solid #8b6c3b;
    outline-offset: 3px;
}

.home_main_menu #main-navigation > .navbar-nav > .nav-item:last-child > .nav-link {
    padding: 13px 16px;
    border-radius: 4px;
    background: #646C45;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
}

.home_main_menu #main-navigation > .navbar-nav > .nav-item:last-child > .nav-link:hover,
.home_main_menu #main-navigation > .navbar-nav > .nav-item:last-child > .nav-link:focus-visible {
    background: #775632;
    color: #fff !important;
}

/* Keep dropdown arrows aligned with their own menu control. */
.home_main_menu #main-navigation .dropdown-toggle {
    position: relative;
}

.home_main_menu #main-navigation .dropdown-toggle::after {
    position: absolute;
    top: 50%;
    right: 4px;
    margin: 0;
    transform: translateY(-50%);
}

.home_main_menu #main-navigation .dropdown-menu {
    position: static !important;
    width: 100%;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0 0 0 14px;
    border: 0;
    background: #f8f5f0;
    box-shadow: none;
    text-align: left;
}

.home_main_menu #main-navigation .dropdown-menu .nav-item {
    border-color: #e9e3da;
}

.home_main_menu #main-navigation .dropdown-menu .nav-link {
    padding: 10px 12px !important;
    font-size: .95rem;
    font-weight: 500;
}

/* Our Program section heading and always-visible links. */
.home_main_menu #main-navigation .menu-section-heading {
    display: block;
    padding: 11px 2px 5px;
    color: #665d55;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home_main_menu #main-navigation .menu-section-links {
    margin: 0 0 8px;
    padding: 0 0 0 14px;
    list-style: none;
    border-left: 2px solid #e9e3da;
}

.home_main_menu #main-navigation .menu-section-links li { margin: 0; }
.home_main_menu #main-navigation .menu-section-links .nav-link {
    padding: 8px 12px;
    font-size: .95rem;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .home_header { padding: 20px; }
    .home_header_scrolled { padding: 13px 20px; }
    .home_header #logo.home_logo { width: 190px; }
    .home_menu_open .home_header { padding: 16px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .home_header,
    .home_main_menu #main-navigation .nav-link::after { transition: none; }
}

/* Admissions page */
.admissions_page {
    box-sizing: border-box;
    width: min(100%, 1380px);
    margin-inline: auto;
    padding: clamp(40px, 5vw, 76px) clamp(20px, 4vw, 64px) clamp(64px, 7vw, 96px);
    color: #25201c;
}

.admissions_intro { max-width: 78ch; margin-bottom: clamp(32px, 4vw, 56px); }
.admissions_intro:has(.admissions_intro_photo) {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
    max-width: none;
}
.admissions_intro_content { min-width: 0; }
.admissions_intro_files {
    margin: 2rem 0 0;
    padding: 1.25rem 1.25rem 1.25rem 2.75rem;
    border-left: 4px solid #8b6c3b;
    border-radius: 0 10px 10px 0;
    background: #f7f3ec;
    line-height: 1.75;
}
.admissions_intro_files:not(:has(li)) { display: none; }
.admissions_intro_files li + li { margin-top: .4rem; }
.admissions_intro_files a { color: #646C45; text-underline-offset: 3px; }
.admissions_intro_files a:hover { color: #775632; }
.admissions_intro_photos { display: grid; gap: 24px; min-width: 0; }
.admissions_intro_photos:not(:has(figure)) { display: none; }
.admissions_intro_photo { margin: 0; }
.admissions_intro_photo img { display: block; width: 100%; height: auto; border-radius: 14px; }
.admissions_intro_photo figcaption { margin-top: 10px; color: #665d55; font-size: .9rem; line-height: 1.5; }
.admissions_intro h1 { margin: 0 0 18px; font-weight: 700; line-height: 1.2; }
.admissions_rich_text { min-width: 0; font-size: 1.05rem; line-height: 1.75; overflow-wrap: break-word; }
.admissions_rich_text p { margin-bottom: 1.25rem; }
.admissions_rich_text :is(h2, h3) { margin: 1.8rem 0 .7rem; color: #646C45; font-weight: 700; line-height: 1.3; }
.admissions_rich_text :is(ul, ol) { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.admissions_rich_text li + li { margin-top: .4rem; }
.admissions_rich_text a { color: #646C45; text-underline-offset: 3px; }
.admissions_rich_text a:hover { color: #775632; }

.admissions_accordion .accordion-item {
    scroll-margin-top: calc(var(--interior-header-height, 110px) + 20px);
    border: 0;
    border-top: 1px solid #d9d1c5;
    border-radius: 0;
    background: transparent;
}

.admissions_accordion .accordion-item:last-child { border-bottom: 1px solid #d9d1c5; }
.admissions_accordion .accordion-button {
    gap: clamp(16px, 3vw, 36px);
    padding: 24px 6px;
    border-radius: 0;
    background: transparent;
    color: #25201c;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.3;
    box-shadow: none;
}

.admissions_accordion .accordion-button:not(.collapsed) { color: #646C45; background: #f7f3ec; }
.admissions_accordion .accordion-button:hover { color: #646C45; }
.admissions_accordion .accordion-button:focus-visible,
.admissions_page a:focus-visible { outline: 3px solid #8b6c3b; outline-offset: 3px; box-shadow: none; }
.admissions_section_number { flex: 0 0 2ch; color: #5b694d; font-size: .85em; font-weight: 700; }
.admissions_accordion .accordion-button::after { flex: 0 0 auto; }

.admissions_accordion .accordion-body { padding: clamp(24px, 3vw, 38px) 6px clamp(36px, 4vw, 56px); }
.admissions_section_with_media { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.admissions_accordion .accordion-item:nth-child(even) .admissions_media { order: -1; }
.admissions_media { display: grid; gap: 20px; min-width: 0; }
.admissions_photo { margin: 0; }
.admissions_photo img { display: block; width: 100%; height: auto; border-radius: 14px; }
.admissions_photo figcaption { margin-top: 8px; color: #665d55; font-size: .9rem; line-height: 1.5; }
.admissions_video { overflow: hidden; border-radius: 14px; }

.admissions_rich_text a.admissions_apply_button {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 22px;
    border-radius: 6px;
    background: #646C45;
    color: #fff;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.admissions_rich_text a.admissions_apply_button:hover { background: #775632; color: #fff; }

/* Connected application steps on the How To Apply page. */
.admissions_rich_text .admissions_apply_timeline {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    list-style: none;
    margin: 2.5rem 0;
    padding: 0 0 0 2.25rem;
}
.admissions_rich_text .admissions_apply_timeline::before {
    content: "";
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: .5rem;
    width: 3px;
    background: #8b6c3b;
}
.admissions_rich_text .admissions_apply_timeline > li {
    position: relative;
    min-width: 0;
}
.admissions_rich_text .admissions_apply_timeline > li + li { margin-top: 0; }
.admissions_rich_text .admissions_apply_timeline > li::before {
    content: "";
    position: absolute;
    top: 2rem;
    left: -2.25rem;
    width: 1rem;
    height: 1rem;
    border: 3px solid #8b6c3b;
    border-radius: 50%;
    background: #fff;
    z-index: 1;
}
.admissions_apply_card {
    height: 100%;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border: 1px solid #ded5c9;
    border-radius: 1rem;
    background: #f7f3ec;
    box-shadow: 0 .75rem 2rem rgba(37, 32, 28, .06);
}
.admissions_apply_card_top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.admissions_apply_card_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3.25rem;
    height: 3.25rem;
    border-radius: .85rem;
    color: #fff;
    background: #8b6c3b;
    font-size: 1.35rem;
}
.admissions_apply_card_number {
    color: #5b694d;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.admissions_rich_text .admissions_apply_card h3 { margin: 0 0 .75rem; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.admissions_rich_text .admissions_apply_card p { margin: 0; }

@media (min-width: 992px) {
    .admissions_rich_text .admissions_apply_timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.25rem 2rem;
        padding-left: 0;
    }
    .admissions_rich_text .admissions_apply_timeline::before { display: none; }
    .admissions_rich_text .admissions_apply_timeline > li::before { display: none; }
    .admissions_rich_text .admissions_apply_timeline > li:not(:nth-child(3n)):not(:last-child)::after {
        content: "→";
        position: absolute;
        top: 1.85rem;
        left: 100%;
        width: 2rem;
        color: #5b694d;
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1;
        text-align: center;
    }
    .admissions_section_with_media:has(.admissions_apply_timeline) { grid-template-columns: minmax(0, 1fr); }
}

/* Questions saved in the Q&A manager appear below the Q&A page content. */
.admissions_qa_list { display: grid; gap: 30px; margin-top: 28px; }
.admissions_qa_group { display: grid; gap: 10px; min-width: 0; }
.admissions_rich_text .admissions_qa_heading {
    margin: 0 0 4px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8b6c3b;
    color: #646C45;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    line-height: 1.35;
}
.admissions_qa_item {
    border: 1px solid #ded5c9;
    border-radius: 10px;
    background: #f7f3ec;
}

.admissions_qa_item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    color: #25201c;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.admissions_qa_item summary::-webkit-details-marker { display: none; }
.admissions_qa_item summary::after {
    content: "+";
    flex: 0 0 auto;
    color: #646C45;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}

.admissions_qa_item[open] summary::after { content: "−"; }
.admissions_qa_item summary:focus-visible { outline: 3px solid #8b6c3b; outline-offset: 3px; }
.admissions_qa_answer {
    margin: 0 12px 12px;
    padding: 16px 20px;
    border-radius: 8px;
    background: #fff;
    line-height: 1.75;
}
.admissions_qa_answer > :last-child { margin-bottom: 0; }

/* Home page questions in a three-column grid on desktop. */
.home_apply_steps { margin-top: clamp(2rem, 5vw, 4.5rem); }
.home_faqs { margin-top: clamp(3rem, 6vw, 5.5rem); }
.home_faqs .admissions_qa_group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}
.home_faqs_more { margin-top: 1.5rem; text-align: center; }

@media (max-width: 991.98px) {
    .home_faqs .admissions_qa_group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .home_faqs .admissions_qa_group { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
    .admissions_intro:has(.admissions_intro_photo) { grid-template-columns: minmax(0, 1fr); }
    .admissions_section_with_media { grid-template-columns: minmax(0, 1fr); }
    .admissions_accordion .accordion-item:nth-child(even) .admissions_media { order: 0; }
    .admissions_accordion .accordion-button { padding-block: 20px; }
}

/* Other Support Services page and grouped service cards. */
.other_support_services_page {
    box-sizing: border-box;
    width: min(100%, 1380px);
    margin-inline: auto;
    padding: clamp(40px, 5vw, 76px) clamp(20px, 4vw, 64px) clamp(64px, 7vw, 96px);
    color: #25201c;
}
.other_support_services_content { width: 100%; font-size: 1.05rem; line-height: 1.75; overflow-wrap: break-word; }
.other_support_services_content :is(h1, h2, h3) { font-weight: 700; line-height: 1.25; }
.other_support_services_content h2 { margin: 2rem 0 .8rem; color: #646C45; }
.other_support_services_content p { margin-bottom: 1.25rem; }
.other_support_services_page a { color: #646C45; text-underline-offset: 3px; }
.other_support_services_page a:hover { color: #775632; }
.other_support_services_page a:focus-visible { outline: 3px solid #8b6c3b; outline-offset: 3px; }
.other_support_services_files {
    margin: 2rem 0 0;
    padding: 1.25rem 1.25rem 1.25rem 2.75rem;
    border-left: 4px solid #8b6c3b;
    border-radius: 0 10px 10px 0;
    background: #f7f3ec;
}
.other_support_services_files li + li { margin-top: .4rem; }
.other_support_services_photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.other_support_services_photos figure { margin: 0; }
.other_support_services_photos img { display: block; width: 100%; height: auto; border-radius: 14px; }
.other_support_services_photos figcaption { margin-top: .5rem; color: #665d55; font-size: .9rem; }
.other_support_services_group { margin-top: clamp(3rem, 5vw, 5rem); scroll-margin-top: calc(var(--interior-header-height, 110px) + 20px); }
.other_support_services_group h2 {
    margin: 0 0 1.5rem;
    padding-bottom: .8rem;
    border-bottom: 2px solid #8b6c3b;
    color: #646C45;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}
.other_support_services_card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border: 1px solid #ded5c9;
    border-radius: 14px;
    background: #f7f3ec;
    box-shadow: 0 .5rem 1.5rem rgba(37, 32, 28, .05);
}
.other_support_services_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 110px;
    margin-bottom: 1.25rem;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
}
.other_support_services_logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.other_support_services_card h3 { margin: 0 0 .75rem; color: #25201c; font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.other_support_services_description { flex: 1; line-height: 1.65; overflow-wrap: break-word; }
.other_support_services_description > :last-child { margin-bottom: 0; }
.other_support_services_page a.other_support_services_link {
    align-self: flex-start;
    margin-top: 1.5rem;
    color: #646C45;
    font-weight: 700;
    text-decoration: underline;
}
.other_support_services_page a.other_support_services_link:hover { color: #646C45; }
@media (max-width: 767.98px) {
    .other_support_services_photos { grid-template-columns: minmax(0, 1fr); }
}

/* Feedback page uses the Contact Us two-column layout. */
.feedback_page .feedback_page_form .form-group { width: 100%; max-width: 100%; margin-bottom: 1.25rem; }
.feedback_page .feedback_page_form .form-group label { line-height: 1.4; }
.feedback_page .feedback_page_form .form-group textarea { min-height: 140px; }
.feedback_page .feedback_page_form .form p { line-height: 1.6; }
.feedback_page .feedback_page_form .form > p:first-child { margin-bottom: 1.5rem; }
.feedback_page .feedback_form_error { padding: 12px 16px; border-left: 4px solid #744f35; background: #fff; color: #744f35; }
.feedback_page .feedback_recaptcha_help { margin: 1.5rem 0 0; color: #665d55; font-size: .82rem; line-height: 1.55; }
.feedback_page_form [hidden] { display: none !important; }
.feedback_thanks_page {
    box-sizing: border-box;
    width: min(100%, 1380px);
    margin-inline: auto;
    padding: clamp(40px, 5vw, 76px) clamp(20px, 4vw, 64px) clamp(64px, 7vw, 96px);
    color: #25201c;
    font-size: 1.05rem;
    line-height: 1.75;
}
.feedback_thanks_page h1 { margin: 0 0 1.25rem; font-weight: 700; line-height: 1.2; }
.feedback_thanks_page p { margin-bottom: 1.25rem; }
.feedback_thanks_page a { color: #646C45; text-underline-offset: 3px; }
.feedback_thanks_page a:hover { color: #775632; }
.feedback_thanks_page a:focus-visible { outline: 3px solid #8b6c3b; outline-offset: 3px; }

/* Maayu Mali footer: warm earth tones and clear section separation. */
.home_footer {
    border-top: 4px solid #8b6c3b;
    background: #f2ebe0;
    color: #332d26;
}

.home_footer_inner {
    box-sizing: border-box;
    width: min(100%, 1380px);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 64px);
}

.home_footer_inner { padding-top: clamp(56px, 7vw, 96px); }

.home_footer_acknowledgement,
.home_footer_base {
    box-sizing: border-box;
    width: 100%;
    padding-inline: clamp(20px, 2vw, 36px);
}

.home_footer_grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, .8fr);
    gap: clamp(32px, 4vw, 64px);
}

.home_footer_grid > * { min-width: 0; }

.home_footer_logo {
    display: inline-block;
    max-width: min(300px, 100%);
    border-radius: 14px;
}

.home_footer_logo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.home_footer_description {
    max-width: 37rem;
    margin: 28px 0 24px;
    font-size: 1rem;
    line-height: 1.7;
}

.home_footer_apply {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border-radius: 4px;
    background: #646C45;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.home_footer_apply:hover { background: #775632; color: #fff; }

.home_footer_heading {
    margin: 0 0 22px;
    color: #332d26;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Explore: PHP defines two balanced columns, with nested pages beneath their heading. */
.home_footer_menu_links .footer_menu_columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home_footer_menu_links .footer_menu_column { min-width: 0; }
.home_footer_menu_links .footer_menu_column > ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home_footer_menu_links .footer_menu_column > ul > li {
    margin: 0 0 20px;
    min-width: 0;
    overflow-wrap: break-word;
    line-height: 1.45;
}

.home_footer_menu_links .footer_menu_column > ul > li > a,
.home_footer_menu_links .footer_menu_parent {
    display: block;
    font-weight: 650;
    line-height: 1.45;
}

.home_footer_menu_links .footer_menu_parent { color: #332d26; }
.home_footer_menu_links .footer_menu_column ul ul {
    display: block;
    margin: 10px 0 0;
    padding: 0 0 0 13px;
    list-style: none;
    border-left: 2px solid #b7a181;
}

.home_footer_menu_links .footer_menu_column ul ul li + li { margin-top: 9px; }
.home_footer_menu_links .footer_menu_column ul ul a {
    display: inline-block;
    font-size: .94rem;
    font-weight: 400;
    line-height: 1.45;
}

.home_footer_contact_group { margin-bottom: 20px; }
.home_footer_label {
    display: block;
    margin-bottom: 4px;
    color: #5f574d;
    font-size: .82rem;
    font-weight: 700;
}
.home_footer_contact_group a { overflow-wrap: anywhere; }
.home_footer_contact_page {
    display: inline-block;
    margin-top: 4px;
    font-weight: 700;
}

.home_footer a:not(.home_footer_apply) { color: #646C45; }
.home_footer a:hover:not(.home_footer_apply) { color: #775632; }
.home_footer a:focus-visible {
    outline: 3px solid #8b6c3b;
    outline-offset: 4px;
}

/* Acknowledgements form their own softly contrasted band. */
.home_footer_acknowledgement {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 6vw, 90px);
    margin: clamp(52px, 6vw, 84px) 0 0;
    padding-block: 32px;
    border-top: 1px solid #d2c0a8;
    background: #e6d9c5;
    color: #41382f;
    font-size: .94rem;
    line-height: 1.65;
}

.home_footer_acknowledgement_item { min-width: 0; }
.home_footer_acknowledgement_item p { margin: 16px 0 0; }
.home_footer_flags {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 26px;
}
.home_footer_flag {
    display: block;
    width: 44px;
    height: 26px;
    object-fit: cover;
}

/* Slightly deeper base band separates the credits from the acknowledgements. */
.home_footer_base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    padding-block: 20px 24px;
    border-top: 1px solid #c4ad8c;
    background: #d5c2a7;
    color: #40362e;
    font-size: .85rem;
}
@media (max-width: 991.98px) {
    .home_footer_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 38px;
    }
    .home_footer_brand { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
    .home_footer_grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
    .home_footer_brand { grid-column: auto; }
    .home_footer_menu_links .footer_menu_columns { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .home_footer_logo { max-width: 250px; }
    .home_footer_base { flex-direction: column; }
    .home_footer_acknowledgement { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

/* Anchor navigation added to Other Support Services and FAQs. */
.other_support_services_navigation,
.faq_category_navigation {
    margin: 2rem 0 2.5rem;
}

.other_support_services_navigation > h2,
.admissions_rich_text .faq_category_navigation > h3 {
    margin: 2rem 0 .8rem;
    color: #646C45;
    font-size: clamp(1.5rem, 2.3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
}

.other_support_services_navigation ul,
.faq_category_navigation ul {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.other_support_services_navigation li + li,
.faq_category_navigation li + li { margin-top: .4rem; }

.other_support_services_page .other_support_services_navigation a,
.admissions_rich_text .faq_category_navigation a {
    color: #646C45;
    text-underline-offset: 3px;
}

.other_support_services_page .other_support_services_navigation a:hover,
.admissions_rich_text .faq_category_navigation a:hover { color: #775632; }

.admissions_qa_group { scroll-margin-top: calc(var(--interior-header-height, 110px) + 20px); }

/* H3 hierarchy: smaller than H2 and in Deep Ochre. */
.plain_page_row > .col-md-8 h3,
.privacy_page_content h3,
.contact_page_intro h3,
.admissions_rich_text h3,
.other_support_services_content h3,
.other_support_services_card h3,
.other_support_services_page .other_support_services_group h3,
.feedback_thanks_page h3 {
    color: #775632;
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    font-weight: 700;
    line-height: 1.35;
}

/* The FAQ navigation heading is an H3, so keep its hierarchy consistent. */
.admissions_rich_text .faq_category_navigation > h3 {
    color: #775632;
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}


/* Acknowledgement of Country: five staggered horizontal strips, closing in reverse. */
body.maayu_acknowledgement_open { overflow: hidden; }
.maayu_acknowledgement[hidden] { display: none !important; }
.maayu_acknowledgement {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 32px 20px;
    overflow-y: auto;
    color: #fff;
    text-align: center;
    isolation: isolate;
}
.maayu_acknowledgement_panels {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: grid;
    grid-template-rows: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    pointer-events: none;
}
.maayu_acknowledgement_panels span {
    display: block;
    width: 100%;
    height: 100%;
    background: #22291a;
    transform: translateX(0);
}
.maayu_acknowledgement_panels span:nth-child(even) { background: #29311f; }
.maayu_acknowledgement_entering .maayu_acknowledgement_panels span {
    animation: maayu_panel_in 1.35s cubic-bezier(.22,.8,.25,1) both;
}
.maayu_acknowledgement_entering .maayu_acknowledgement_panels span:nth-child(1) { --panel-start: -105%; animation-delay: 0s; }
.maayu_acknowledgement_entering .maayu_acknowledgement_panels span:nth-child(2) { --panel-start: 105%; animation-delay: .16s; }
.maayu_acknowledgement_entering .maayu_acknowledgement_panels span:nth-child(3) { --panel-start: -105%; animation-delay: .32s; }
.maayu_acknowledgement_entering .maayu_acknowledgement_panels span:nth-child(4) { --panel-start: 105%; animation-delay: .48s; }
.maayu_acknowledgement_entering .maayu_acknowledgement_panels span:nth-child(5) { --panel-start: -105%; animation-delay: .64s; }
.maayu_acknowledgement_leaving .maayu_acknowledgement_panels span {
    animation: maayu_panel_out 1.35s cubic-bezier(.7,0,.8,.3) both;
}
.maayu_acknowledgement_leaving .maayu_acknowledgement_panels span:nth-child(5) { --panel-end: -105%; animation-delay: .24s; }
.maayu_acknowledgement_leaving .maayu_acknowledgement_panels span:nth-child(4) { --panel-end: 105%; animation-delay: .40s; }
.maayu_acknowledgement_leaving .maayu_acknowledgement_panels span:nth-child(3) { --panel-end: -105%; animation-delay: .56s; }
.maayu_acknowledgement_leaving .maayu_acknowledgement_panels span:nth-child(2) { --panel-end: 105%; animation-delay: .72s; }
.maayu_acknowledgement_leaving .maayu_acknowledgement_panels span:nth-child(1) { --panel-end: -105%; animation-delay: .88s; }
@keyframes maayu_panel_in {
    from { transform: translateX(var(--panel-start)); }
    to { transform: translateX(0); }
}
@keyframes maayu_panel_out {
    from { transform: translateX(0); }
    to { transform: translateX(var(--panel-end)); }
}
@keyframes maayu_acknowledgement_content_in {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes maayu_acknowledgement_content_out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}
.maayu_acknowledgement_content {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    margin: auto;
    padding: 30px 0;
}
.maayu_acknowledgement_entering .maayu_acknowledgement_content {
    animation: maayu_acknowledgement_content_in .75s ease-out 1.95s both;
}
.maayu_acknowledgement_leaving .maayu_acknowledgement_content {
    animation: maayu_acknowledgement_content_out .3s ease-in both;
}
.maayu_acknowledgement h2 {
    margin: 0 0 24px;
    color: #fff;
    font-family: 'Outfit', Arial, sans-serif;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
}
.maayu_acknowledgement p {
    margin: 0 auto 32px;
    max-width: 720px;
    color: #fff;
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    line-height: 1.7;
}
.maayu_acknowledgement_continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 12px 26px;
    border: 2px solid #646C45;
    border-radius: 6px;
    background: #646C45;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.maayu_acknowledgement_continue:hover {
    border-color: #775632;
    background: #775632;
    color: #fff;
}
.maayu_acknowledgement_continue:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}
.maayu_acknowledgement_continue span { font-size: 1.4rem; line-height: 1; }
@media (max-width: 575.98px) {
    .maayu_acknowledgement { padding: 20px 22px; }
    .maayu_acknowledgement_content { padding: 14px 0; }
    .maayu_acknowledgement h2 { margin-bottom: 18px; }
    .maayu_acknowledgement p { margin-bottom: 24px; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
    .maayu_acknowledgement_continue { transition: none; }
    .maayu_acknowledgement_panels span,
    .maayu_acknowledgement_entering .maayu_acknowledgement_panels span,
    .maayu_acknowledgement_leaving .maayu_acknowledgement_panels span,
    .maayu_acknowledgement_entering .maayu_acknowledgement_content,
    .maayu_acknowledgement_leaving .maayu_acknowledgement_content { animation: none; }
}


/* Fixed quick links — visible on desktop only. */
.maayu_side_menu {
    position: fixed;
    z-index: 1065;
    top: 50%;
    right: 0;
    width: 88px;
    display: flex;
    flex-direction: column;
    transform: translateY(-50%);
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .15);
}
.maayu_side_menu a {
    display: flex;
    min-height: 78px;
    padding: 12px 6px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #646C45;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    transition: background-color .2s ease;
}
.maayu_side_menu a + a { border-top: 1px solid rgba(255,255,255,.4); }
.maayu_side_menu a i { font-size: 19px; line-height: 1; }
.maayu_side_menu a:hover,
.maayu_side_menu a:focus-visible { background: #775632; color: #fff; }
.maayu_side_menu a:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
@media (max-width: 767.98px) {
    .maayu_side_menu { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .maayu_side_menu a { transition: none; }
}
