/* M.Sc. Clinical Psychology landing page styles */
.countdown-section {
    position: relative;
    z-index: 20;
}

.mainContentWrapper .banner_section::before {
    top: unset;
    bottom: 20%;
}

@media screen and (max-width: 991px) {
    .mainContentWrapper .banner_section::before {
        width: 100%;
        height: 50px;
        top: 30px;
    }

    .mainContentWrapper section.banner_section.mba-image,
    .mainContentWrapper .banner_section.mba-image {
        margin-top: 0 !important;
    }
}

.txt-small {
    font-size: 0.05rem !important;
}

/* Hero – Figma desktop (1854:655) @ 1920px & mobile (1918:14) */
.mainContentWrapper .herosection.msc-clinical-hero {
    --mc-pad-left: 5.208%;
    --mc-pad-right: 47.969%;
    --mc-pad-y: clamp(32px, 4vw, 64px);
    --mc-form-top: clamp(32px, 4vw, 64px);
    --mc-form-height: 530px;
    --mc-title: clamp(32px, 3.646vw, 70px);
    --mc-lead: clamp(16px, 1.354vw, 26px);
    --mc-degree: clamp(48px, 5.208vw, 100px);
    --mc-specialty: clamp(18px, 1.563vw, 30px);
    --mc-location: clamp(16px, 1.25vw, 24px);
    --mc-cta-h: clamp(50px, 3.646vw, 70px);
    --mc-cta-fs: clamp(15px, 1.458vw, 28px);
    --mc-gap-main: clamp(20px, 1.563vw, 30px);
    --mc-gap-cta: clamp(10px, 0.729vw, 14px);
    --mc-card-w: clamp(220px, 20.313vw, 390px);
    --mc-card-h: clamp(160px, 13.906vw, 267px);
    --mc-ribbon-h: clamp(40px, 2.917vw, 56px);
    --mc-ribbon-gap: clamp(16px, 1.35vw, 26px);
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    background: #eef8f2 !important;
    background-image: none !important;
    min-height: max(
        calc(100vw * 720 / 1920),
        calc(var(--mc-form-top) + var(--mc-form-height) + var(--mc-pad-y))
    );
}

.msc-clinical-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.msc-clinical-hero__bg-image {
    position: absolute;
    inset: 0;
    background: url("../images/new-banner/msc-clinical-bg.png") no-repeat center center;
    background-size: cover;
    pointer-events: none;
}

@media screen and (min-width: 769px) {
    .msc-clinical-hero__bg-image {
        background-position: 52% 14%;
    }
}

.msc-clinical-hero__ribbon--desktop {
    position: absolute;
    left: 0;
    top: var(--mc-pad-y);
    z-index: 4;
    display: flex;
    align-items: center;
    height: var(--mc-ribbon-h);
    width: clamp(280px, 24.427vw, 469px);
    padding: 0 clamp(40px, 5.052vw, 97px);
    background: #006553;
    box-sizing: border-box;
}

.msc-clinical-hero__ribbon--desktop p {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 1.25vw, 24px);
    line-height: normal;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
}

.msc-clinical-hero__ribbon--mobile {
    display: none;
}

.mainContentWrapper .herosection.msc-clinical-hero .container {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.mainContentWrapper .herosection.msc-clinical-hero .herosecbox {
    align-items: flex-start !important;
    justify-content: flex-start;
    gap: 0 !important;
    min-height: inherit;
    padding: var(--mc-pad-y) 0 0;
    position: relative;
    isolation: isolate;
}

@media screen and (min-width: 769px) {
    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox {
        min-height: calc(var(--mc-form-top) + var(--mc-form-height));
        padding-bottom: clamp(16px, 2vw, 32px);
    }

    .msc-clinical-hero__headline--desktop {
        margin-top: calc(var(--mc-ribbon-h) + var(--mc-ribbon-gap));
    }
}

.mainContentWrapper .herosection.msc-clinical-hero .he_leftse {
    width: calc(100% - var(--mc-pad-left) - var(--mc-pad-right)) !important;
    max-width: none;
    margin-left: var(--mc-pad-left);
    margin-right: 0;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

@media screen and (min-width: 769px) {
    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox .right_imgbox {
        position: absolute !important;
        top: var(--mc-form-top) !important;
        right: clamp(16px, 2.5vw, 48px) !important;
        left: auto !important;
        margin-left: 0 !important;
        width: 415px !important;
        padding-left: 40px !important;
        z-index: 5 !important;
        flex-shrink: 0;
        min-height: var(--mc-form-height);
        height: auto;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox .right_imgbox .imgbox {
        min-height: var(--mc-form-height);
    }
}

.msc-clinical-hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--mc-gap-main);
    width: 100%;
    align-items: flex-start;
}

.msc-clinical-hero__headline--mobile {
    display: none;
}

.msc-clinical-hero__title {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-size: var(--mc-title);
    line-height: normal;
    color: #006553;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
    word-break: break-word;
    text-transform: uppercase;
}

.msc-clinical-hero__course-card {
    position: relative;
    width: var(--mc-card-w);
    height: var(--mc-card-h);
    flex-shrink: 0;
}

.msc-clinical-hero__course-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}

.msc-clinical-hero__course-text {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px;
    padding: 20px;
    box-sizing: border-box;
}

.msc-clinical-hero__course-upper {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
}

.msc-clinical-hero__lead {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: var(--mc-lead);
    line-height: normal;
    color: #000000;
    margin: 0;
}

.msc-clinical-hero__degree {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-size: var(--mc-degree);
    line-height: 1;
    color: #006553;
    margin: 0;
}

.msc-clinical-hero__course-lower {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
}

.msc-clinical-hero__specialty {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: var(--mc-specialty);
    line-height: 30px;
    color: #006553;
    margin: 0;
}

.msc-clinical-hero__location {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: var(--mc-location);
    line-height: 30px;
    color: #000000;
    margin: 0;
}

.msc-clinical-hero__lower--desktop {
    display: flex;
    flex-direction: column;
    gap: var(--mc-gap-cta);
    width: 100%;
}

.msc-clinical-hero__cta-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-self: stretch;
}

.msc-clinical-hero__cta {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    height: var(--mc-cta-h);
    padding: clamp(8px, 0.521vw, 10px);
    background: #006553;
    border: 1px solid #ffffff;
    border-radius: 12px;
    flex-shrink: 0;
}

.msc-clinical-hero__cta-text {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: var(--mc-cta-fs);
    line-height: normal;
    color: #ffffff;
    margin: 0;
    padding: 0;
    text-align: left;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
}

.msc-clinical-hero__cta:focus-visible {
    outline: 2px solid #004d40;
    outline-offset: 2px;
}

.msc-clinical-hero__mobile-block {
    display: none;
}

.msc-clinical-hero__course-card--mobile {
    display: none;
}

.msc-clinical-hero__mobile-image {
    display: none;
}

/* Desktop breakpoints */
@media screen and (max-width: 1440px) {
    .mainContentWrapper .herosection.msc-clinical-hero {
        --mc-pad-y: clamp(28px, 3.5vw, 56px);
        --mc-form-top: clamp(28px, 3.5vw, 56px);
    }
}

@media screen and (max-width: 1280px) {
    .mainContentWrapper .herosection.msc-clinical-hero {
        --mc-pad-right: 46%;
    }
}

@media screen and (max-width: 1080px) {
    .mainContentWrapper .herosection.msc-clinical-hero {
        --mc-pad-right: 42%;
    }
}

@media screen and (max-width: 990px) {
    .mainContentWrapper .herosection.msc-clinical-hero {
        --mc-pad-right: 40%;
        --mc-pad-y: clamp(24px, 3vw, 48px);
        --mc-form-top: clamp(24px, 3vw, 48px);
    }

    .msc-clinical-hero__ribbon--desktop {
        width: clamp(240px, 32vw, 400px);
        padding-left: clamp(24px, 4vw, 60px);
    }
}

@media screen and (min-width: 769px) and (max-width: 900px) {
    .mainContentWrapper .herosection.msc-clinical-hero {
        --mc-pad-right: 38%;
        --mc-card-w: 300px;
        --mc-card-h: 220px;
    }
}

/* Mobile layout – Figma 1918:14 pixel-perfect */
@media screen and (max-width: 768px) {
    .mainContentWrapper .herosection.msc-clinical-hero {
        --mc-pad-left: 0;
        --mc-pad-right: 0;
        --mc-cta-h: 50px;
        --mc-cta-fs: 15px;
        min-height: auto !important;
        background: #ffffff !important;
        background-image: none !important;
        padding: 30px 0 0 !important;
    }

    .msc-clinical-hero__bg,
    .msc-clinical-hero__ribbon--desktop {
        display: none;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox {
        flex-direction: column;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 0 !important;
        min-height: auto !important;
        height: auto !important;
        gap: 0 !important;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .he_leftse {
        order: 1 !important;
        width: 100% !important;
        max-width: 100%;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
        background: linear-gradient(180deg, #ffffff 0%, #d6f3e1 52.453%);
    }

    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox .msc-clinical-hero__mobile-image {
        order: 2 !important;
        display: block;
        position: relative;
        width: 100%;
        height: 349px;
        overflow: hidden;
        z-index: 1;
        flex-shrink: 0;
        background: #d6f3e1;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox .msc-clinical-hero__mobile-image img {
        position: absolute;
        width: 189.3%;
        height: 126.37%;
        left: -89.31%;
        top: -19.21%;
        max-width: none;
        object-fit: cover;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox .msc-clinical-hero__mobile-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            #d6f3e1 0%,
            rgba(214, 243, 225, 0) 33.654%,
            rgba(214, 243, 225, 0) 67.308%,
            #d6f3e1 100%
        );
        z-index: 1;
        pointer-events: none;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox .right_imgbox {
        order: 3 !important;
        position: relative !important;
        top: 0 !important;
        right: auto !important;
        left: 0 !important;
        width: 100% !important;
        padding: 0 20px 20px !important;
        margin-top: 0 !important;
        z-index: 5 !important;
        min-height: 0 !important;
        height: auto !important;
        flex-shrink: 0;
        background: #d6f3e1;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox .right_imgbox .imgbox {
        min-height: 0 !important;
        height: auto !important;
    }

    .msc-clinical-hero__content {
        gap: 0;
        width: 100%;
    }

    .msc-clinical-hero__ribbon--mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 278px;
        max-width: calc(100% - 40px);
        margin: 0 0 0 20px;
        padding: 0 20px;
        background: #006452;
        box-sizing: border-box;
        flex-shrink: 0;
    }

    .msc-clinical-hero__ribbon--mobile p {
        font-family: "Manrope", sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: normal;
        color: #ffffff;
        margin: 0;
        width: 100%;
    }

    .msc-clinical-hero__headline--desktop,
    .msc-clinical-hero__course-card--desktop,
    .msc-clinical-hero__lower--desktop {
        display: none !important;
    }

    .msc-clinical-hero__headline--mobile {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 20px 20px 0;
        box-sizing: border-box;
    }

    .msc-clinical-hero__headline--mobile .msc-clinical-hero__title-line {
        font-family: "Outfit", sans-serif;
        font-weight: 800;
        font-size: 38px;
        line-height: 0.95;
        color: #006553;
        margin: 0;
        text-transform: uppercase;
        word-break: break-word;
        width: 100%;
    }

    .msc-clinical-hero__mobile-block {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding: 24px 20px 20px;
        box-sizing: border-box;
    }

    .msc-clinical-hero__course-card--mobile {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        height: auto;
        min-height: 0;
        flex-shrink: 0;
        background: #aef492;
        border-radius: 10px;
        padding: 14px;
        box-sizing: border-box;
        overflow: visible;
    }

    .msc-clinical-hero__course-card--mobile .msc-clinical-hero__course-upper {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .msc-clinical-hero__course-card--mobile .msc-clinical-hero__lead {
        font-family: "Manrope", sans-serif;
        font-weight: 700;
        font-size: 20px;
        line-height: normal;
        color: #001a15;
        margin: 0;
    }

    .msc-clinical-hero__course-card--mobile .msc-clinical-hero__degree {
        font-family: "Outfit", sans-serif;
        font-weight: 900;
        font-size: 70px;
        line-height: 1;
        color: #006553;
        margin: 0;
        height: auto;
        white-space: nowrap;
    }

    .msc-clinical-hero__course-card--mobile .msc-clinical-hero__course-lower {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .msc-clinical-hero__course-card--mobile .msc-clinical-hero__specialty {
        font-family: "Outfit", sans-serif;
        font-weight: 600;
        font-size: 30px;
        line-height: 1.1;
        color: #006553;
        margin: 0;
        width: 100%;
    }

    .msc-clinical-hero__course-card--mobile .msc-clinical-hero__location {
        font-family: "Manrope", sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: normal;
        letter-spacing: 0.32px;
        color: #001a15;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .msc-clinical-hero__cta-group--mobile {
        width: 100%;
        max-width: none;
        flex-shrink: 0;
    }

    .msc-clinical-hero__cta-group--mobile .msc-clinical-hero__cta {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 50px;
        min-height: 50px;
        padding: 18px 20px;
        background: #006553;
        border: 1px solid #ffffff;
        border-radius: 12px;
        box-sizing: border-box;
    }

    .msc-clinical-hero__cta-group--mobile .msc-clinical-hero__cta-text {
        font-family: "Inter", sans-serif;
        font-weight: 700;
        font-size: 15px;
        line-height: normal;
        color: #ffffff;
        text-align: center;
        white-space: normal;
        width: 100%;
    }
}

/* Keep Figma mobile sizes at all breakpoints */
@media screen and (max-width: 600px) {
    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__headline--mobile .msc-clinical-hero__title-line {
        font-size: 38px;
        line-height: 0.95;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__course-card--mobile .msc-clinical-hero__degree {
        font-size: 70px;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__course-card--mobile .msc-clinical-hero__specialty {
        font-size: 30px;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox .msc-clinical-hero__mobile-image {
        height: 349px;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__cta-group--mobile .msc-clinical-hero__cta-text {
        font-size: 15px;
    }
}

@media screen and (max-width: 425px) {
    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox .right_imgbox {
        padding: 0 20px 20px !important;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__headline--mobile,
    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__mobile-block {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__headline--mobile .msc-clinical-hero__title-line {
        font-size: 38px;
        line-height: 0.95;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__ribbon--mobile p {
        font-size: 16px;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__course-card--mobile .msc-clinical-hero__lead {
        font-size: 20px;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__course-card--mobile .msc-clinical-hero__degree {
        font-size: 70px;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__course-card--mobile .msc-clinical-hero__specialty {
        font-size: 30px;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__course-card--mobile .msc-clinical-hero__location {
        font-size: 16px;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__cta-group--mobile .msc-clinical-hero__cta-text {
        font-size: 15px;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox .msc-clinical-hero__mobile-image {
        height: 349px;
    }
}

@media screen and (max-width: 360px) {
    .mainContentWrapper .herosection.msc-clinical-hero .msc-clinical-hero__cta-group--mobile .msc-clinical-hero__cta-text {
        font-size: 15px;
    }

    .mainContentWrapper .herosection.msc-clinical-hero .herosecbox .msc-clinical-hero__mobile-image {
        height: 349px;
    }
}

@media screen and (max-width: 575px) {
    .mainContentWrapper .herosection.msc-clinical-hero {
        padding: 30px 0 0 !important;
        background-image: none !important;
    }
}

/* Countdown bar – responsive 360px–1440px */
.countdown-section {
    --cd-font: clamp(14px, 2.78vw, 40px);
    --cd-gap: clamp(6px, 1.11vw, 16px);
    --cd-pad-y: clamp(8px, 0.83vw, 12px);
    --cd-pad-x: clamp(10px, 1.67vw, 24px);
    --cd-icon: clamp(20px, 2.5vw, 36px);
    width: 100%;
}

.countdown-section .countdown_section {
    justify-content: center !important;
    text-align: center !important;
    background: linear-gradient(#22356f, #22356f), url(../images/brightFutureBg.webp) no-repeat center center / cover;
    font-weight: 800 !important;
    padding: var(--cd-pad-y) var(--cd-pad-x) !important;
    gap: var(--cd-gap);
    width: 100%;
}

.countdown-section__bar {
    flex-wrap: wrap;
}

.countdown-section .font-size-20,
.countdown-section__label,
.countdown-section__timer {
    font-size: var(--cd-font) !important;
    font-weight: 600 !important;
    line-height: 1.25;
    color: #ffffff;
}

.countdown-section__label {
    padding: 0 !important;
    white-space: nowrap;
}

.countdown-section__timer-wrap {
    padding: 0 !important;
    min-width: 0;
}

.countdown-section__timer {
    word-break: break-word;
}

.countdown-section__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    flex-shrink: 0;
}

.countdown-section__hourglass {
    width: var(--cd-icon);
    height: var(--cd-icon);
    margin: 0 !important;
    display: block;
}

.countdown-section .hide-below-lg {
    display: flex !important;
}

@media screen and (max-width: 991px) {
    .countdown-section .hide-below-lg {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .countdown-section {
        --cd-gap: clamp(4px, 1.5vw, 10px);
        --cd-pad-y: clamp(10px, 2.5vw, 14px);
    }

    .countdown-section__bar {
        flex-direction: column !important;
    }

    .countdown-section__label {
        white-space: normal;
        text-align: center;
    }

    .countdown-section__timer {
        white-space: normal;
        text-align: center;
    }

    .count_down_sec {
        padding-top: 0 !important;
    }
}

@media screen and (max-width: 600px) {
    .countdown-section {
        --cd-font: clamp(13px, 3.6vw, 22px);
    }
}

@media screen and (max-width: 480px) {
    .countdown-section {
        --cd-font: clamp(12px, 4vw, 18px);
        --cd-pad-x: clamp(8px, 3vw, 16px);
    }
}

@media screen and (max-width: 425px) {
    .countdown-section {
        --cd-font: clamp(11px, 4.2vw, 16px);
    }
}

@media screen and (max-width: 360px) {
    .countdown-section {
        --cd-font: clamp(11px, 4.2vw, 14px);
        --cd-pad-y: 8px;
        --cd-pad-x: 8px;
        --cd-gap: 4px;
    }

    .countdown-section__label {
        font-size: clamp(11px, 4vw, 13px) !important;
    }

    .countdown-section__timer {
        font-size: clamp(11px, 3.8vw, 13px) !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1080px) {
    .countdown-section {
        --cd-font: clamp(18px, 2.2vw, 32px);
    }
}

@media screen and (min-width: 1081px) and (max-width: 1280px) {
    .countdown-section {
        --cd-font: clamp(24px, 2.5vw, 36px);
    }
}

@media screen and (min-width: 1281px) and (max-width: 1440px) {
    .countdown-section {
        --cd-font: clamp(28px, 2.6vw, 40px);
    }
}
