@import url("../../Styles/Global.css?v=20260505-junior-hub-v1");
@import url("../../Styles/Layout.css?v=20260505-junior-hub-v1");
@import url("../../Styles/MoveAndStudyCore.css?v=20260608-mega-menu-child-flyout-v1");

.MoveAndStudyCore-highschool-hub .mas-highschool-hub-page {
    background:
        radial-gradient(circle at 8% 10%, rgba(255, 91, 68, 0.10), transparent 30rem),
        linear-gradient(180deg, rgba(255, 250, 247, 0.72), rgba(255, 255, 255, 1) 38rem);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-hub-page > .mas-section {
    padding-block: clamp(1.65rem, 3.2vw, 2.85rem);
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool {
    position: relative;
    min-height: 33rem;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(255, 250, 247, 0.88) 0%, rgba(255, 250, 247, 0.62) 38%, rgba(255, 255, 255, 0.10) 68%),
        linear-gradient(180deg, rgba(18, 33, 58, 0.08), rgba(255, 255, 255, 0.14));
    pointer-events: none;
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool::after {
    content: none;
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__media,
.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__media-primary,
.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__image,
.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .Synergee-Web-Page-Component-Image-Container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool img,
.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__inner {
    position: relative;
    z-index: 2;
    min-height: 33rem;
    display: flex;
    align-items: center;
    padding-top: 2.6rem;
    padding-bottom: 4.7rem;
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__content {
    max-width: 42rem;
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__lead {
    max-width: 42rem;
    padding: 1.55rem 1.65rem;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.80);
    box-shadow: 0 1.4rem 3.8rem rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(18px);
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1rem;
    border: 1px solid rgba(255, 91, 68, 0.24);
    border-radius: 0.65rem;
    color: #12213a;
    background: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    box-shadow: 0 0.75rem 1.6rem rgba(15, 23, 42, 0.10);
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__contact:last-child {
    color: #fff;
    border-color: #ff5b44;
    background: #ff5b44;
    box-shadow: 0 0.9rem 1.9rem rgba(239, 68, 47, 0.18);
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__contact svg {
    flex: 0 0 auto;
}

.MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__contact .Synergee-Web-Page-Component-Text-Container,
.MoveAndStudyCore-highschool-hub .mas-highschool-card__label .Synergee-Web-Page-Component-Text-Container,
.MoveAndStudyCore-highschool-hub .mas-action-link .Synergee-Web-Page-Component-Text-Container {
    display: contents;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-hero-benefits {
    position: relative;
    z-index: 3;
    margin-top: -3.15rem;
    margin-bottom: clamp(0.85rem, 2vw, 1.35rem);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-hero-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 91, 68, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(12px);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-hero-benefit {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 0.75rem 0.95rem;
    border-radius: 0.7rem;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-hero-benefit + .mas-highschool-hero-benefit {
    border-left: 1px solid rgba(15, 23, 42, 0.07);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-hero-benefit__icon,
.MoveAndStudyCore-highschool-hub .mas-highschool-program-card__icon,
.MoveAndStudyCore-highschool-hub .mas-highschool-benefit-card__icon {
    display: grid;
    place-items: center;
    color: #ff5b44;
    background: rgba(255, 91, 68, 0.10);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-hero-benefit__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-hero-benefit svg,
.MoveAndStudyCore-highschool-hub .mas-highschool-program-card svg,
.MoveAndStudyCore-highschool-hub .mas-highschool-benefit-card svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-hero-benefit__title {
    color: #12213a;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-intro__card,
.MoveAndStudyCore-highschool-hub .mas-highschool-final__card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.8fr);
    gap: 2rem;
    align-items: stretch;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-intro__content,
.MoveAndStudyCore-highschool-hub .mas-highschool-final__content {
    min-width: 0;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-intro__aside {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 91, 68, 0.14);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(255, 246, 242, 0.96), rgba(255, 255, 255, 0.86));
}

.MoveAndStudyCore-highschool-hub .mas-highschool-intro__point {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.8rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.82);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-intro__point .Synergee-Web-Page-Component-Text-Container {
    display: contents;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-intro__point span {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    color: #e94b35;
    background: rgba(255, 91, 68, 0.12);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-card-grid,
.MoveAndStudyCore-highschool-hub .mas-highschool-benefit-grid {
    display: grid;
    gap: 1rem;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 1.8vw, 1.6rem);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-program-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.MoveAndStudyCore-highschool-hub .mas-highschool-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.MoveAndStudyCore-highschool-hub .mas-section-intro {
    max-width: 48rem;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-card,
.MoveAndStudyCore-highschool-hub .mas-highschool-benefit-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0.9rem 2.2rem rgba(15, 23, 42, 0.075);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-card::before {
    content: none;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 250, 247, 0.82));
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card:hover {
    transform: translateY(-0.18rem);
    border-color: rgba(255, 91, 68, 0.18);
    box-shadow: 0 1.1rem 2.6rem rgba(15, 23, 42, 0.10);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card:first-child {
    grid-column: span 2;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card__visual {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 8.5rem;
    margin: 0 0 1rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.7rem;
    background: #e7edf2;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card:first-child .mas-highschool-destination-card__visual {
    aspect-ratio: 21 / 9;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card__visual::before,
.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card__visual::after {
    content: none;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card__visual .Synergee-Web-Page-Component-Image-Container,
.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card__visual picture,
.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card__visual img {
    object-fit: cover;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-card__label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 0.75rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 91, 68, 0.18);
    border-radius: 999px;
    color: #e94b35;
    background: rgba(255, 91, 68, 0.08);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-card .Synergee-Web-Page-Component-Text,
.MoveAndStudyCore-highschool-hub .mas-highschool-benefit-card .Synergee-Web-Page-Component-Text {
    position: relative;
    z-index: 1;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card a,
.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card a:visited,
.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card a:active,
.MoveAndStudyCore-highschool-hub .mas-highschool-program-card a,
.MoveAndStudyCore-highschool-hub .mas-highschool-program-card a:visited {
    color: inherit;
    text-decoration: none;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card a:hover,
.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card a:focus-visible,
.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card a:active,
.MoveAndStudyCore-highschool-hub .mas-highschool-program-card a:hover,
.MoveAndStudyCore-highschool-hub .mas-highschool-program-card a:focus-visible,
.MoveAndStudyCore-highschool-hub .mas-highschool-program-card a:active {
    color: inherit;
    text-decoration: none;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-destination-card .Synergee-Web-Page-Component-Text,
.MoveAndStudyCore-highschool-hub .mas-highschool-program-card .Synergee-Web-Page-Component-Text {
    padding: 0;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-programs {
    background:
        radial-gradient(circle at 50% 0, rgba(255, 91, 68, 0.12), transparent 20rem),
        linear-gradient(180deg, #fff7f3, rgba(255, 255, 255, 0.90));
}

.MoveAndStudyCore-highschool-hub .mas-highschool-program-card {
    display: grid;
    align-content: start;
    gap: 0.9rem;
    padding: 1.4rem;
    border-color: rgba(255, 91, 68, 0.12);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 91, 68, 0.10), transparent 9rem),
        rgba(255, 255, 255, 0.98);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-program-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 0.22rem;
    background: linear-gradient(90deg, #ff5b44, rgba(245, 182, 107, 0.72));
    pointer-events: none;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-program-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.9rem;
    background: rgba(255, 91, 68, 0.09);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-note {
    max-width: 52rem;
    margin: 1.15rem auto 0;
    text-align: center;
    color: #64748b;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-reassurance {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 247, 243, 0.64)),
        radial-gradient(circle at 88% 12%, rgba(245, 182, 107, 0.15), transparent 22rem);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-benefit-card {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.4rem;
    border-color: rgba(15, 23, 42, 0.07);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 247, 0.72));
}

.MoveAndStudyCore-highschool-hub .mas-highschool-benefit-card::before {
    content: none;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-benefit-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.9rem;
    background: transparent;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-final__card {
    overflow: hidden;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    align-items: center;
    padding: clamp(1.6rem, 3vw, 2.45rem);
    border-color: rgba(255, 91, 68, 0.20);
    color: #12213a;
    background:
        radial-gradient(circle at 92% 18%, rgba(255, 91, 68, 0.16), transparent 13rem),
        radial-gradient(circle at 8% 88%, rgba(245, 182, 107, 0.18), transparent 14rem),
        linear-gradient(135deg, rgba(255, 250, 247, 0.98), rgba(255, 255, 255, 0.96));
    box-shadow: 0 1.5rem 3.8rem rgba(15, 23, 42, 0.12);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-final__card::before {
    content: "";
    position: absolute;
    inset: 1rem auto 1rem 1rem;
    width: 0.35rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff5b44, rgba(245, 182, 107, 0.72));
    pointer-events: none;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-final__card::after {
    content: "";
    position: absolute;
    inset: auto -5rem -6rem auto;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(255, 91, 68, 0.10);
    border-radius: 999px;
    pointer-events: none;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-final__content,
.MoveAndStudyCore-highschool-hub .mas-highschool-final__actions {
    position: relative;
    z-index: 1;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-final__content .mas-highschool-card__label {
    color: #e94b35;
    border-color: rgba(255, 91, 68, 0.18);
    background: rgba(255, 91, 68, 0.08);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-final__content a {
    color: inherit;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-final__actions {
    display: grid;
    gap: 0.75rem;
    align-content: center;
    justify-content: stretch;
    padding: 1.1rem;
    border: 1px solid rgba(255, 91, 68, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0.85rem 2rem rgba(15, 23, 42, 0.08);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-final__actions .mas-action-link {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 0.95rem 1.2rem;
    border-radius: 0.65rem;
    text-decoration: none;
    box-shadow: 0 0.7rem 1.5rem rgba(15, 23, 42, 0.08);
}

.MoveAndStudyCore-highschool-hub .mas-highschool-final__actions .mas-action-link--primary {
    border-color: #ff5b44;
    color: #fff;
    background: #ff5b44;
}

.MoveAndStudyCore-highschool-hub .mas-highschool-final__actions .mas-action-link--secondary {
    border-color: rgba(255, 91, 68, 0.22);
    color: #12213a;
    background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1100px) {
    .MoveAndStudyCore-highschool-hub .mas-highschool-destination-card:first-child {
        grid-column: auto;
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-destination-card:first-child .mas-highschool-destination-card__visual {
        aspect-ratio: 16 / 9;
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-destination-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .MoveAndStudyCore-highschool-hub .mas-template-hero--highschool,
    .MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__inner {
        min-height: 30rem;
    }

    .MoveAndStudyCore-highschool-hub .mas-template-hero--highschool .mas-template-hero__inner {
        align-items: flex-end;
        padding-top: 2rem;
        padding-bottom: 3.25rem;
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-hero-benefits {
        margin-top: -2.35rem;
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-hero-benefits__grid {
        grid-template-columns: 1fr;
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-hero-benefit + .mas-highschool-hero-benefit {
        border-top: 1px solid rgba(15, 23, 42, 0.07);
        border-left: 0;
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-intro__card,
    .MoveAndStudyCore-highschool-hub .mas-highschool-final__card {
        grid-template-columns: 1fr;
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-destination-grid,
    .MoveAndStudyCore-highschool-hub .mas-highschool-program-grid,
    .MoveAndStudyCore-highschool-hub .mas-highschool-benefit-grid {
        grid-template-columns: 1fr;
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-final__actions {
        justify-content: flex-start;
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-final__actions .mas-action-link {
        width: 100%;
        min-width: 0;
    }

    .MoveAndStudyCore-highschool-hub .mas-highschool-benefit-card {
        grid-template-columns: 3.5rem minmax(0, 1fr);
    }
}
