html:has(body.mm-site) {
    overflow-x: clip;
}

.mm-site {
    --mm-ink: #13241c;
    --mm-muted: #5f6b66;
    --mm-line: #dfe7e2;
    --mm-paper: #f4f7f5;
    --mm-card: #ffffff;
    --mm-brand: var(--primary-color, #0b6b4b);
    --mm-brand-dark: var(--primary-hover-color, #0a4f39);
    --mm-accent: #c4a35a;
    --mm-radius: 18px;
    margin: 0;
    max-width: 100%;
    background:
        radial-gradient(1200px 420px at 10% -10%, color-mix(in srgb, var(--mm-brand) 12%, transparent), transparent 60%),
        linear-gradient(180deg, #f7faf8 0%, var(--mm-paper) 48%, #eef3f0 100%);
    color: var(--mm-ink);
    font-family: "DM Sans", Outfit, "Segoe UI", sans-serif;
    overflow-x: clip;
}

.mm-site * {
    box-sizing: border-box;
}

.mm-site img {
    max-width: 100%;
}

.mm-site .container {
    width: min(1140px, calc(100% - 32px));
    padding-left: 0;
    padding-right: 0;
}

.mm-site .main > section,
.mm-site .mm-about,
.mm-site .mm-campus,
.mm-site .programs,
.mm-site .mm-admission,
.mm-site .mm-notices,
.mm-site .ctcaSection,
.mm-site .mm-teachers,
.mm-site .faqs,
.mm-site .mm-gallery,
.mm-site .mm-gallery-peek {
    padding: clamp(28px, 5vw, 56px) 0;
    margin: 0 !important;
}

.mm-site .mm-gallery .galleryImgsContainer img {
    border-radius: 14px;
    object-fit: cover;
}

.mm-site .mm-gallery .detailsCard {
    border-radius: 12px;
}

.mm-site .commonWaveSect,
.mm-site .commonWaveSect::before,
.mm-site .commonWaveSect::after,
.mm-site .aboutUs .waveUp,
.mm-site .sideImgs,
.mm-site .navigationBtns,
.mm-site .owl-dots,
.mm-site .owl-nav {
    display: none !important;
}

.mm-site .commonWaveSect.mm-about,
.mm-site section.aboutUs {
    display: block !important;
}

.mm-site h1,
.mm-site h2,
.mm-site h3,
.mm-site .commonTitle {
    font-family: Literata, Fraunces, Georgia, serif;
    letter-spacing: -0.03em;
    color: var(--mm-ink);
}

.mm-site .commonTitle {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.18;
    margin: 0;
}

.mm-site .commonDesc {
    color: var(--mm-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 10px 0 0;
}

.mm-site .commonTag {
    display: inline-flex;
    width: auto;
    margin: 0 0 10px;
    padding: 0;
    background: none;
    color: var(--mm-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mm-site .commonTag::before {
    display: none;
}

.mm-site .flex_column_center,
.mm-site .mm-section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0;
    max-width: 680px;
    padding: 0 0 22px !important;
}

/* ---------- Nav ---------- */
.mm-site .navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0;
    background: rgba(247, 250, 248, 0.9) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--mm-line) 80%, transparent);
    backdrop-filter: blur(14px);
}

.mm-site .navbar .navbarWrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 72px;
    margin: 0;
    padding: 10px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.mm-site .companyLogo,
.mm-site .nav-logo {
    width: auto;
    max-width: 160px;
    height: 44px;
    object-fit: contain;
}

.mm-site .navbar .listItems {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.mm-site .navbar ul li a,
.mm-site .navbar .dropdown-toggle {
    font-family: "DM Sans", Outfit, sans-serif;
    font-size: 15px;
    font-weight: 560;
    color: var(--mm-ink) !important;
    background: transparent !important;
    border: 0;
    padding: 0;
}

.mm-site .navbar .commonBtn,
.mm-site .commonBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--mm-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 620;
    line-height: 1;
    box-shadow: none;
}

.mm-site .navbar .loginWrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mm-site .navbar .loginWrapper .admissionBtn {
    background: var(--mm-ink);
}

.mm-site .navbar .hamburg {
    display: none;
}

/* ---------- Hero ---------- */
.mm-site .heroSection.mm-hero {
    position: relative;
    isolation: isolate;
    min-height: min(78vh, 720px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #16362a, #0b6b4b 55%, #1d4d3c);
    border-radius: 0;
}

.mm-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mm-hero-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.mm-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 28, 22, 0.82) 8%, rgba(12, 28, 22, 0.55) 48%, rgba(12, 28, 22, 0.28) 100%),
        linear-gradient(180deg, rgba(12, 28, 22, 0.25), rgba(12, 28, 22, 0.55));
}

.mm-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: inherit;
    padding: clamp(72px, 12vh, 120px) 0 clamp(40px, 7vh, 64px);
}

.mm-kicker {
    margin: 0 0 12px;
    color: #d8c08a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mm-hero-content h1 {
    margin: 0;
    max-width: 14ch;
    color: #fff;
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    line-height: 0.98;
}

.mm-lead {
    max-width: 38ch;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.55;
}

.mm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.mm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mm-btn:hover {
    transform: translateY(-1px);
}

.mm-btn-solid {
    background: #fff;
    color: var(--mm-ink);
}

.mm-btn-line {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.mm-facts-strip {
    padding: 18px 0 !important;
    background: color-mix(in srgb, var(--mm-brand) 8%, #fff);
    border-bottom: 1px solid var(--mm-line);
}

.mm-hero-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mm-hero-facts li {
    min-width: 0;
    padding: 16px 14px;
    border: 1px solid var(--mm-line);
    border-radius: 14px;
    background: var(--mm-card);
}

.mm-hero-facts strong {
    display: block;
    color: var(--mm-ink);
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1;
    font-weight: 700;
}

.mm-hero-facts span {
    display: block;
    margin-top: 6px;
    color: var(--mm-muted);
    font-size: 13px;
    font-weight: 560;
}

/* ---------- Gallery peek ---------- */
.mm-peek {
    position: relative;
    margin-top: 8px;
}

.mm-peek-viewport {
    overflow: hidden;
    border-radius: var(--mm-radius);
}

.mm-peek-track {
    display: flex;
    gap: 14px;
    transition: transform 0.55s ease;
    will-change: transform;
}

.mm-peek-slide {
    position: relative;
    flex: 0 0 68%;
    height: clamp(220px, 36vw, 420px);
    margin: 0;
    border-radius: var(--mm-radius);
    overflow: hidden;
    background: #14221c;
}

.mm-site .mm-peek-slide img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}

.mm-peek-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--mm-ink);
    transform: translateY(-50%);
    box-shadow: 0 10px 28px rgba(20, 34, 28, 0.18);
}

.mm-peek-prev {
    left: 12px;
}

.mm-peek-next {
    right: calc(32% + 18px);
}

/* ---------- About / panels ---------- */
.mm-about-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.15fr) minmax(210px, 0.75fr);
    gap: 20px;
    align-items: stretch;
}

.mm-about-grid.mm-about-no-photo {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
}

.mm-photo {
    margin: 0;
    border-radius: var(--mm-radius);
    overflow: hidden;
    min-height: 280px;
    box-shadow: 0 18px 40px rgba(19, 36, 28, 0.12);
}

.mm-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mm-about-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mm-aside,
.mm-panel,
.mm-program,
.mm-teacher,
.mm-stat-card,
.mm-site .faqs .accordion-item {
    border: 1px solid var(--mm-line);
    border-radius: 16px;
    background: var(--mm-card);
    box-shadow: 0 8px 24px rgba(19, 36, 28, 0.04);
}

.mm-aside {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.mm-aside p {
    display: grid;
    gap: 4px;
    margin: 0;
}

.mm-aside span {
    color: var(--mm-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mm-aside a {
    color: var(--mm-ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.mm-panel {
    height: 100%;
    padding: 22px;
}

.mm-subjects,
.mm-week,
.mm-program-grid,
.mm-teacher-grid,
.mm-notice-list {
    display: grid;
    gap: 12px;
}

.mm-subjects,
.mm-program-grid,
.mm-teacher-grid {
    margin-top: 16px;
}

.mm-subject,
.mm-program,
.mm-teacher,
.mm-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-width: 0;
    padding: 14px;
}

.mm-subject {
    border: 1px solid var(--mm-line);
    border-radius: 14px;
    background: #fff;
}

.mm-subject strong,
.mm-program h3,
.mm-teacher h3,
.mm-notice h3,
.mm-day h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    font-family: "DM Sans", sans-serif;
    letter-spacing: -0.02em;
}

.mm-subject small,
.mm-program p,
.mm-teacher p,
.mm-notice p,
.mm-day small {
    color: var(--mm-muted);
}

.mm-program,
.mm-teacher {
    flex-direction: column;
    gap: 8px;
}

.mm-program img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 4px;
}

.mm-program p,
.mm-teacher p,
.mm-notice p {
    margin: 0;
    line-height: 1.55;
}

.mm-swatch {
    width: 8px;
    height: 36px;
    border-radius: 99px;
    flex: none;
}

.mm-week {
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
}

.mm-day {
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(160deg, #16362a, #0f2a21);
    color: #fff;
}

.mm-day h3 {
    margin-bottom: 10px;
    color: #fff;
}

.mm-day p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
}

.mm-day p:last-child {
    margin-bottom: 0;
}

.mm-day p span {
    width: 8px;
    height: 24px;
    border-radius: 99px;
    flex: none;
}

.mm-day small {
    margin-left: auto;
    color: var(--mm-accent);
    white-space: nowrap;
}

.mm-program-grid,
.mm-teacher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mm-teacher {
    flex-direction: row;
    align-items: center;
}

.mm-teacher-photo,
.mm-teacher-mark {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    flex: none;
}

.mm-teacher-photo {
    object-fit: cover;
    display: block;
}

.mm-teacher-mark {
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--mm-brand) 14%, #fff);
    color: var(--mm-brand);
    font-weight: 700;
}

.mm-notice {
    align-items: flex-start;
    border: 1px solid var(--mm-line);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
}

.mm-notice time {
    min-width: 64px;
    color: var(--mm-brand);
    font-weight: 700;
}

.mm-notice .eventClasses {
    display: block;
    margin-top: 6px;
    color: var(--mm-muted);
    font-size: 13px;
}

.mm-notice .cardImageWrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.mm-notice .cardImageWrapper img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

/* ---------- Admission ---------- */
.mm-site .admissionOpenSect .row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: clamp(22px, 4vw, 36px);
    border-radius: 24px;
    background:
        radial-gradient(500px 220px at 85% 20%, rgba(196, 163, 90, 0.22), transparent 60%),
        linear-gradient(135deg, #16362a, #0f2a21 70%);
}

.mm-site .admissionOpenSect .col-lg-6 {
    width: auto;
    max-width: none;
    flex: 1 1 auto;
    padding: 0;
}

.mm-site .admissionOpenSect .imgDiv {
    display: block !important;
    margin: 0;
}

.mm-site .admissionOpenSect .imgDiv img {
    width: 100%;
    height: clamp(220px, 28vw, 320px);
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.mm-site .admissionOpenSect .flex_column_center {
    max-width: none;
    padding: 0 !important;
}

.mm-site .admissionOpenSect .commonTitle,
.mm-site .admissionOpenSect .commonDesc,
.mm-site .admissionOpenSect .adminssionTag {
    color: #fff;
}

.mm-site .admissionOpenSect .commonBtn {
    width: auto;
    margin-top: 16px;
    background: #fff;
}

.mm-site .admissionOpenSect .commonBtn a {
    color: var(--mm-ink);
    text-decoration: none;
}

/* ---------- Stats ---------- */
.mm-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 16px;
}

.mm-stat-card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex: none;
}

.mm-stat-card .cardTitle {
    display: block;
    color: var(--mm-muted);
    font-size: 13px;
    font-weight: 560;
}

.mm-stat-card .cardDesc {
    display: block;
    margin-top: 4px;
    color: var(--mm-ink);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.mm-site .faqs .lowerDiv {
    margin-top: 8px;
}

.mm-site .faqs .accordion-item {
    margin-bottom: 10px;
    overflow: hidden;
}

.mm-site .faqs .accordion-button {
    font-family: "DM Sans", sans-serif;
    font-weight: 650;
    background: #fff;
    box-shadow: none;
    white-space: normal;
}

.mm-site .faqs .accordion-button:not(.collapsed) {
    color: var(--mm-brand);
    background: color-mix(in srgb, var(--mm-brand) 8%, #fff);
}

/* ---------- Footer ---------- */
.mm-site footer {
    margin-top: 28px;
    padding: 42px 0 0;
    background: #10241c;
    border-radius: 0;
}

.mm-site footer .row {
    row-gap: 28px;
}

.mm-site footer .infoContainer {
    margin-bottom: 8px;
}

.mm-site footer .copyRightText {
    margin-top: 28px;
    padding: 16px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mm-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.mm-credit-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.mm-credit-links a {
    color: #d6ad55 !important;
    font-weight: 650;
    text-decoration: none;
}

.mm-credit-dot {
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Offcanvas ---------- */
.mm-site .offcanvas {
    width: min(320px, 88vw) !important;
    background: #fff;
}

.mm-site .offcanvas.show,
.mm-site .offcanvas.showing {
    visibility: visible !important;
    transform: none !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    height: 100dvh !important;
    z-index: 1055 !important;
}

.mm-site .offcanvas .offcanvas-header {
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--mm-line);
}

.mm-site .offcanvas .offcanvas-body {
    padding: 8px 18px 24px;
}

.mm-site .offcanvas .listItems {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
}

.mm-site .offcanvas .listItems li {
    width: 100%;
    margin: 0 !important;
    text-align: left;
}

.mm-site .offcanvas .listItems .dropdown,
.mm-site .offcanvas .loginWrapper,
.mm-site .offcanvas .loginWrapper .dropdown {
    display: block !important;
    width: 100%;
}

.mm-site .offcanvas .listItems li > a,
.mm-site .offcanvas .dropdown-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 14px 0;
    text-align: left;
}

.mm-site .offcanvas .loginWrapper {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 8px;
}

.mm-site .offcanvas .loginWrapper .commonBtn,
.mm-site .offcanvas .loginWrapper .admissionBtn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0 14px !important;
}

.mm-site .offcanvas .admissionBtn .default-btn,
.mm-site .offcanvas .admissionBtn .hover-btn,
.mm-site .offcanvas .admissionBtn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .mm-site .navbar .listItems {
        display: none;
    }

    .mm-site .navbar .hamburg {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        cursor: pointer;
    }

    .mm-site .navbar .loginWrapper {
        display: none;
    }

    .mm-site .offcanvas .listItems,
    .mm-site .offcanvas .loginWrapper {
        display: flex !important;
    }

    .mm-site .heroSection.mm-hero {
        min-height: min(70vh, 620px);
    }

    .mm-hero-content h1 {
        max-width: none;
    }

    .mm-hero-facts,
    .mm-about-grid,
    .mm-about-grid.mm-about-no-photo,
    .mm-week,
    .mm-program-grid,
    .mm-teacher-grid,
    .mm-site .admissionOpenSect .row {
        grid-template-columns: 1fr 1fr;
    }

    .mm-about-grid,
    .mm-about-grid.mm-about-no-photo {
        grid-template-columns: 1fr;
    }

    .mm-peek-slide {
        flex-basis: 86%;
    }

    .mm-peek-next {
        right: 12px;
    }

    .mm-photo {
        min-height: 220px;
        max-height: 280px;
    }

    .mm-site footer [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .mm-site .container {
        width: min(1140px, calc(100% - 24px));
    }

    .mm-site .heroSection.mm-hero {
        min-height: 68vh;
    }

    .mm-hero-content {
        padding-top: 88px;
        padding-bottom: 36px;
    }

    .mm-hero-content h1 {
        font-size: clamp(34px, 11vw, 46px);
    }

    .mm-hero-facts,
    .mm-week,
    .mm-program-grid,
    .mm-teacher-grid {
        grid-template-columns: 1fr;
    }

    .mm-hero-facts {
        grid-template-columns: 1fr 1fr;
    }

    .mm-hero-actions,
    .mm-btn,
    .mm-site .admissionOpenSect .commonBtn {
        width: 100%;
    }

    .mm-site .admissionOpenSect .row {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .mm-site .admissionOpenSect .imgDiv img {
        height: 200px;
    }

    .mm-notice {
        flex-direction: column;
        gap: 6px;
    }

    .mm-day small {
        white-space: normal;
    }

    .mm-stat-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 420px) {
    .mm-hero-facts {
        grid-template-columns: 1fr;
    }

    .mm-stat-card .cardDesc {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mm-btn,
    .mm-peek-track {
        transition: none;
    }
}
