@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-select-destination .mas-template-hero--highschool-select-destination {
    position: relative;
    min-height: 31rem;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;
    background: #f8fafc;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-page {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 91, 68, 0.10), transparent 27rem),
        radial-gradient(circle at 86% 32%, rgba(14, 165, 233, 0.08), transparent 24rem),
        linear-gradient(180deg, rgba(247, 250, 252, 0.92), rgba(255, 255, 255, 1) 34rem);
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-page > .mas-section {
    padding-block: clamp(1.45rem, 3vw, 2.75rem);
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-page > .mas-section--surface {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.78));
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-page > .mas-section--quiet {
    background:
        linear-gradient(180deg, rgba(247, 250, 252, 0.60), rgba(255, 255, 255, 0.76));
}

.MoveAndStudyCore-highschool-select-destination .mas-template-hero--highschool-select-destination::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.38), rgba(15, 23, 42, 0.06) 54%, rgba(15, 23, 42, 0.18)),
        linear-gradient(180deg, rgba(15, 23, 42, 0.10), rgba(15, 23, 42, 0.04));
    pointer-events: none;
}

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

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

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

.MoveAndStudyCore-highschool-select-destination .mas-template-hero--highschool-select-destination .mas-template-hero__inner {
    position: relative;
    z-index: 2;
    min-height: 31rem;
    display: flex;
    align-items: center;
    padding-top: 2.4rem;
    padding-bottom: 3.4rem;
}

.MoveAndStudyCore-highschool-select-destination .mas-template-hero--highschool-select-destination .mas-template-hero__content {
    max-width: 43rem;
}

.MoveAndStudyCore-highschool-select-destination .mas-template-hero--highschool-select-destination .mas-template-hero__content {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.72)),
        rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 1.25rem;
    box-shadow: 0 1.45rem 3.8rem rgba(15, 23, 42, 0.20);
    backdrop-filter: blur(16px);
}

.MoveAndStudyCore-highschool-select-destination .mas-template-hero--highschool-select-destination .mas-template-hero__lead {
    padding: 1.45rem 1.55rem 1rem;
}

.MoveAndStudyCore-highschool-select-destination .mas-template-hero--highschool-select-destination .mas-template-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    padding: 0 1.55rem 1.45rem;
}

.MoveAndStudyCore-highschool-select-destination .mas-template-hero--highschool-select-destination .mas-template-hero__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    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-select-destination .mas-template-hero--highschool-select-destination .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-select-destination .mas-template-hero--highschool-select-destination .mas-template-hero__contact svg {
    flex: 0 0 auto;
}

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

.MoveAndStudyCore-highschool-select-destination .mas-content-card a:not(.mas-action-link),
.MoveAndStudyCore-highschool-select-destination .mas-content-card a:not(.mas-action-link):visited,
.MoveAndStudyCore-highschool-select-destination .mas-content-card a:not(.mas-action-link):active,
.MoveAndStudyCore-highschool-select-destination .mas-content-card a:not(.mas-action-link):hover,
.MoveAndStudyCore-highschool-select-destination .mas-content-card a:not(.mas-action-link):focus-visible {
    text-decoration: none;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-intro__card,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-video__card,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-final__card {
    max-width: 1120px;
    margin: 0 auto;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-intro__card,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-overview__main,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-overview__facts,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-courses__panel,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-video__card,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-gallery__item,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-support__content,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-support__aside,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-final__card {
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1rem 2.8rem rgba(15, 23, 42, 0.075);
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-intro__card {
    max-width: 66rem;
    padding: clamp(1.15rem, 2.4vw, 1.9rem);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 242, 0.88)),
        #fff;
    box-shadow: 0 1.25rem 3.5rem rgba(15, 23, 42, 0.08);
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-overview__grid,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-courses__grid,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-support__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: clamp(1rem, 2.6vw, 2rem);
    align-items: stretch;
}

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

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-overview__main,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-overview__facts,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-courses__panel,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-support__content,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-support__aside {
    display: flex;
    flex-direction: column;
    padding: clamp(1rem, 1.8vw, 1.45rem);
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-overview__main {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.94)),
        #fff;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-overview__facts {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(18, 33, 58, 0.98), rgba(35, 54, 82, 0.94)),
        #12213a;
    color: #fff;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-overview__facts::before {
    content: "";
    position: absolute;
    inset: auto -20% -28% 18%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.18);
    pointer-events: none;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-overview__facts .Synergee-Web-Page-Component-Text-Container {
    position: relative;
    z-index: 1;
    columns: 2 12rem;
    column-gap: 1.6rem;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-courses__panel {
    padding: clamp(1.05rem, 2vw, 1.65rem);
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-courses__panel:first-child {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94)),
        #0f172a;
    color: #fff;
    box-shadow: 0 1.35rem 3.6rem rgba(15, 23, 42, 0.18);
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-courses__panel:last-child {
    background:
        linear-gradient(145deg, rgba(255, 246, 242, 0.96), rgba(255, 255, 255, 0.96)),
        #fff;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-video__card {
    display: grid;
    grid-template-columns: minmax(17rem, 0.34fr) minmax(0, 0.66fr);
    gap: clamp(1rem, 2.2vw, 1.65rem);
    align-items: center;
    padding: clamp(1rem, 2.1vw, 1.7rem);
    background:
        radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.13), transparent 16rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.94)),
        #0f172a;
    color: #fff;
    box-shadow: 0 1.4rem 3.8rem rgba(15, 23, 42, 0.18);
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-video__embed iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.28);
}

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

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-gallery__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
    gap: clamp(1rem, 2.2vw, 1.7rem);
    align-items: stretch;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-gallery__item {
    overflow: hidden;
    margin: 0;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-gallery__image,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-gallery__image .Synergee-Web-Page-Component-Image-Container {
    width: 100%;
    aspect-ratio: 16 / 10;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-gallery__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-gallery__item figcaption {
    padding: 1rem 1.2rem 1.2rem;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-gallery__item:first-child .mas-highschool-select-destination-gallery__image,
.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-gallery__item:first-child .mas-highschool-select-destination-gallery__image .Synergee-Web-Page-Component-Image-Container {
    aspect-ratio: 16 / 9;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-support__layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-support__aside {
    gap: 18px;
    background:
        linear-gradient(145deg, rgba(245, 249, 252, 0.98), rgba(255, 255, 255, 0.98)),
        #fff;
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-final__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(1rem, 2.6vw, 2rem);
    align-items: center;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 91, 68, 0.14), transparent 17rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 236, 0.92));
    border: 1px solid rgba(221, 132, 56, 0.18);
    box-shadow: 0 1.45rem 3.6rem rgba(50, 37, 24, 0.12);
}

.MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-final__actions .mas-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14rem;
    padding: 0.95rem 1.2rem;
    border: 1px solid #ff5b44;
    border-radius: 0.65rem;
    color: #fff;
    background: #ff5b44;
    text-decoration: none;
    box-shadow: 0 0.7rem 1.5rem rgba(15, 23, 42, 0.08);
}

.MoveAndStudyCore-highschool-select-destination .mas-action-link .Synergee-Web-Page-Component-Text-Container {
    display: inline;
}

@media (max-width: 900px) {
    .MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-overview__grid,
    .MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-courses__grid,
    .MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-video__card,
    .MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-gallery__grid,
    .MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-support__layout,
    .MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-final__card {
        grid-template-columns: 1fr;
    }

    .MoveAndStudyCore-highschool-select-destination .mas-template-hero--highschool-select-destination,
    .MoveAndStudyCore-highschool-select-destination .mas-template-hero--highschool-select-destination .mas-template-hero__inner {
        min-height: 27rem;
    }

    .MoveAndStudyCore-highschool-select-destination .mas-highschool-select-destination-overview__facts .Synergee-Web-Page-Component-Text-Container {
        columns: auto;
    }

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

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