/* Homepage Ultra UI:
 * 1) Discover Our Programs (Foundation Year & Our Faculties showcase cards)
 * 2) Scholarship Information & Campus Information (equal-height executive feature cards)
 */

/* ==========================================================================
   1. DISCOVER OUR PROGRAMS
   ========================================================================== */

body.home .up-programs-heading,
body.home .kode-simple-heading:has(+ .clear + .col-md-6.columns .rev_slider_wrapper),
body.home .kode-simple-heading:has(+ .col-md-6.columns .rev_slider_wrapper) {
    float: none !important;
    padding: 0 !important;
}

body.home .up-programs-heading > .col-md-12,
body.home .kode-simple-heading:has(+ .clear + .col-md-6.columns .rev_slider_wrapper) > .col-md-12,
body.home .kode-simple-heading:has(+ .col-md-6.columns .rev_slider_wrapper) > .col-md-12 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

body.home .up-programs-heading .kf_edu2_heading1 {
    left: 0 !important;
    padding-left: 0 !important;
    margin: 36px 0 24px !important;
}

body.home .up-program-col,
body.home .col-md-6.columns:has(.rev_slider_wrapper) {
    margin-bottom: 36px;
}

body.home .up-program-col > .row,
body.home .col-md-6.columns:has(.rev_slider_wrapper) > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.home .up-program-col .simple-column,
body.home .col-md-6.columns:has(.rev_slider_wrapper) .simple-column {
    position: relative;
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #192158;
    border: 1px solid rgba(20, 44, 82, 0.12);
    box-shadow:
        0 14px 34px rgba(20, 44, 82, 0.11),
        0 2px 6px rgba(20, 44, 82, 0.05);
    transform: translateZ(0);
    transition:
        transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 260ms ease;
}

/* Top luminous UP Indigo-to-Gold accent sheen */
body.home .up-program-col .simple-column::before,
body.home .col-md-6.columns:has(.rev_slider_wrapper) .simple-column::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 25;
    background: linear-gradient(90deg, #2e378c 0%, #4652c4 50%, #d1a968 100%);
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 240ms ease;
}

body.home .up-program-col .simple-column:is(:hover, :focus-within),
body.home .col-md-6.columns:has(.rev_slider_wrapper) .simple-column:is(:hover, :focus-within) {
    transform: translateY(-5px);
    border-color: rgba(209, 169, 104, 0.65);
    box-shadow:
        0 22px 46px rgba(20, 44, 82, 0.18),
        0 6px 14px rgba(20, 44, 82, 0.07);
}

body.home .up-program-col .rev_slider_wrapper,
body.home .col-md-6.columns:has(.rev_slider_wrapper) .rev_slider_wrapper {
    border-radius: 18px !important;
    overflow: hidden !important;
    margin: 0 !important;
}

body.home .up-program-col .slotholder,
body.home .col-md-6.columns:has(.rev_slider_wrapper) .slotholder {
    left: 0 !important;
    padding-left: 0 !important;
}

/* Subtle bottom vignette above background photo & below caption buttons */
body.home .up-program-col .slotholder::after,
body.home .col-md-6.columns:has(.rev_slider_wrapper) .slotholder::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(12, 18, 48, 0) 0%, rgba(12, 20, 56, 0.62) 100%);
    pointer-events: none;
    z-index: 2;
}

body.home .up-program-col .tp-bgimg,
body.home .up-program-col .simple-column > p > img,
body.home .up-program-col .simple-column > a > img,
body.home .up-program-col .simple-column > img,
body.home .col-md-6.columns:has(.rev_slider_wrapper) .tp-bgimg {
    transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.home .up-program-col .simple-column:hover .tp-bgimg,
body.home .up-program-col .simple-column:hover > p > img,
body.home .up-program-col .simple-column:hover > a > img,
body.home .up-program-col .simple-column:hover > img,
body.home .col-md-6.columns:has(.rev_slider_wrapper) .simple-column:hover .tp-bgimg {
    transform: scale(1.04) !important;
}

/* Static image fallback if left column uses a standard image + overlay button */
body.home .up-program-col .simple-column p {
    margin: 0 !important;
}

body.home .up-program-col .simple-column > p > img,
body.home .up-program-col .simple-column > a > img,
body.home .up-program-col .simple-column > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 18px;
}

/* Frosted Sapphire + Heritage Gold Pill CTA inside Program Cards */
body.home .up-program-col :is(.rev-btn, a.su-button, .tp-caption.rev-btn),
body.home .col-md-6.columns:has(.rev_slider_wrapper) :is(.rev-btn, .tp-caption.rev-btn) {
    background: rgba(18, 28, 74, 0.80) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(209, 169, 104, 0.88) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.09em !important;
    line-height: 1.2 !important;
    padding: 12px 28px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 10px 26px rgba(8, 14, 42, 0.36) !important;
    transition:
        background-color 220ms ease,
        border-color 220ms ease,
        color 220ms ease,
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 220ms ease !important;
}

body.home .up-program-col :is(.rev-btn, a.su-button, .tp-caption.rev-btn):hover,
body.home .col-md-6.columns:has(.rev_slider_wrapper) :is(.rev-btn, .tp-caption.rev-btn):hover {
    background: #d1a968 !important;
    border-color: #d1a968 !important;
    color: #142c52 !important;
    box-shadow: 0 14px 30px rgba(209, 169, 104, 0.42) !important;
}


/* ==========================================================================
   2. SCHOLARSHIP INFORMATION & CAMPUS INFORMATION
   ========================================================================== */

body.home .up-info-col,
body.home .col-md-6.columns:has(a[href*="/admissions"]),
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns {
    margin-bottom: 36px;
}

body.home .up-info-col > .row,
body.home .col-md-6.columns:has(a[href*="/admissions"]) > .row,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns > .row {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    margin: 0 !important;
    padding: 28px 28px 30px !important;
    background: #ffffff;
    border: 1px solid #e3e8f4;
    border-radius: 18px;
    box-shadow:
        0 10px 30px rgba(20, 44, 82, 0.06),
        0 2px 6px rgba(20, 44, 82, 0.03);
    overflow: hidden;
    box-sizing: border-box;
    transition:
        transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 240ms ease,
        box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Top card accent bar */
body.home .up-info-col > .row::before,
body.home .col-md-6.columns:has(a[href*="/admissions"]) > .row::before,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns > .row::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, #2e378c 0%, #3c47b0 55%, #d1a968 100%);
    opacity: 0.85;
    transition: left 260ms ease, right 260ms ease, opacity 220ms ease;
}

body.home .up-info-col > .row::after,
body.home .up-info-col > .row > .clear,
body.home .col-md-6.columns:has(a[href*="/admissions"]) > .row::after,
body.home .col-md-6.columns:has(a[href*="/admissions"]) > .row > .clear,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns > .row::after,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns > .row > .clear {
    display: none !important;
}

body.home .up-info-col > .row:is(:hover, :focus-within),
body.home .col-md-6.columns:has(a[href*="/admissions"]) > .row:is(:hover, :focus-within),
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns > .row:is(:hover, :focus-within) {
    transform: translateY(-4px);
    border-color: #c2cbe8;
    box-shadow:
        0 20px 44px rgba(20, 44, 82, 0.11),
        0 4px 12px rgba(20, 44, 82, 0.04);
}

body.home .up-info-col > .row:is(:hover, :focus-within)::before,
body.home .col-md-6.columns:has(a[href*="/admissions"]) > .row:is(:hover, :focus-within)::before,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns > .row:is(:hover, :focus-within)::before {
    left: 0;
    right: 0;
    opacity: 1;
}

/* Card Header (SCHOLARSHIP INFORMATION / CAMPUS INFORMATION) */
body.home .up-info-col .kode-simple-heading,
body.home .up-info-col .kode-simple-heading > .col-md-12,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .kode-simple-heading,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .kode-simple-heading > .col-md-12,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .kode-simple-heading,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .kode-simple-heading > .col-md-12 {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.home .up-info-col .kf_edu2_heading1,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .kf_edu2_heading1,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .kf_edu2_heading1 {
    float: none !important;
    left: 0 !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
}

body.home .up-info-col .kf_edu2_heading1 h3,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .kf_edu2_heading1 h3,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .kf_edu2_heading1 h3 {
    float: none !important;
    margin: 0 !important;
    padding-bottom: 11px !important;
    color: #142c52 !important;
    font-size: clamp(19px, 1.85vw, 24px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em !important;
}

body.home .up-info-col .kf_edu2_heading1 h3::before,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .kf_edu2_heading1 h3::before,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .kf_edu2_heading1 h3::before {
    background-color: #2e378c !important;
    width: 28px;
    height: 2.5px;
    border-radius: 2px;
}

body.home .up-info-col .kf_edu2_heading1 h3::after,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .kf_edu2_heading1 h3::after,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .kf_edu2_heading1 h3::after {
    background-color: #d1a968 !important;
    left: 36px;
    width: 52px;
    height: 2px;
    bottom: 0;
    border-radius: 2px;
}

/* Card Media Wrapper (1st simple-column inside each Info Card) */
body.home .up-info-col .simple-column:first-of-type,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:first-of-type,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:first-of-type {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 0 22px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(20, 44, 82, 0.08);
    background: #eef1f8;
    box-shadow: 0 6px 18px rgba(20, 44, 82, 0.06);
}

/* Strip dated 1px grey inner box borders & offsets inside the media wrapper */
body.home .up-info-col .simple-column:first-of-type :is(.slidewrapper, .wonderplugincarousel-container, .wonderplugincarousel, .amazingcarousel-list-container, .amazingcarousel-image, .bx-wrapper, .bx-viewport, .thumbnail, .img-thumbnail, p),
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:first-of-type :is(.slidewrapper, .wonderplugincarousel-container, .wonderplugincarousel, .amazingcarousel-list-container, .amazingcarousel-image, .bx-wrapper, .bx-viewport, .thumbnail, .img-thumbnail, p),
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:first-of-type :is(.slidewrapper, .wonderplugincarousel-container, .wonderplugincarousel, .amazingcarousel-list-container, .amazingcarousel-image, .bx-wrapper, .bx-viewport, .thumbnail, .img-thumbnail, p) {
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.home .up-info-col .simple-column:first-of-type > img,
body.home .up-info-col .simple-column:first-of-type :is(p, a, .amazingcarousel-image, .slides) img,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:first-of-type > img,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:first-of-type :is(p, a, .amazingcarousel-image, .slides) img,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:first-of-type > img,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:first-of-type :is(p, a, .amazingcarousel-image, .slides) img {
    display: block;
    width: 100% !important;
    border: 0 !important;
    padding: 0 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.home .up-info-col > .row:hover .simple-column:first-of-type > img,
body.home .up-info-col > .row:hover .simple-column:first-of-type :is(p, a, .amazingcarousel-image, .slides) img,
body.home .col-md-6.columns:has(a[href*="/admissions"]) > .row:hover .simple-column:first-of-type > img,
body.home .col-md-6.columns:has(a[href*="/admissions"]) > .row:hover .simple-column:first-of-type :is(p, a, .amazingcarousel-image, .slides) img,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns > .row:hover .simple-column:first-of-type > img,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns > .row:hover .simple-column:first-of-type :is(p, a, .amazingcarousel-image, .slides) img {
    transform: scale(1.035);
}

/* Card Body & Bottom-Pinned CTA (2nd simple-column inside each Info Card) */
body.home .up-info-col .simple-column:last-of-type,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:last-of-type,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:last-of-type {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

body.home .up-info-col .simple-column:last-of-type p,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:last-of-type p,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:last-of-type p {
    width: 100%;
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: #4a556c !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

/* When <a> lives inside the single <p> (Scholarship card), flex the <p> so CTA pins to bottom */
body.home .up-info-col .simple-column:last-of-type p:only-of-type,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:last-of-type p:only-of-type,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:last-of-type p:only-of-type {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px;
    margin-bottom: 0 !important;
}

/* When CTA lives in a second <p>, pin that last <p> to bottom */
body.home .up-info-col .simple-column:last-of-type p:last-of-type:not(:only-of-type),
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:last-of-type p:last-of-type:not(:only-of-type) {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

/* Executive CTA Buttons (DISCOVER & KNOW MORE) */
body.home .up-info-col .simple-column:last-of-type a,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:last-of-type a,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:last-of-type a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px;
    margin-top: auto !important;
    min-height: 44px;
    padding: 11px 24px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(209, 169, 104, 0.52) !important;
    background: linear-gradient(135deg, #2e378c 0%, #20286b 100%) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(32, 40, 107, 0.22) !important;
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease !important;
}

/* Flatten any nested <button> or <span> inside <a> so there is no double border/padding */
body.home .up-info-col .simple-column:last-of-type a :is(button, span, input),
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:last-of-type a :is(button, span, input),
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:last-of-type a :is(button, span, input) {
    all: unset !important;
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    cursor: pointer !important;
}

body.home .up-info-col .simple-column:last-of-type a::after,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:last-of-type a::after,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:last-of-type a::after {
    content: "\2192";
    font-size: 15px;
    line-height: 1;
    color: #f4d89e;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms ease;
}

body.home .up-info-col .simple-column:last-of-type a:is(:hover, :focus-visible),
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:last-of-type a:is(:hover, :focus-visible),
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:last-of-type a:is(:hover, :focus-visible) {
    transform: translateY(-2px);
    border-color: #d1a968 !important;
    background: linear-gradient(135deg, #232b73 0%, #161d52 100%) !important;
    box-shadow: 0 12px 26px rgba(22, 29, 82, 0.30) !important;
    color: #ffffff !important;
}

body.home .up-info-col .simple-column:last-of-type a:is(:hover, :focus-visible)::after,
body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:last-of-type a:is(:hover, :focus-visible)::after,
body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:last-of-type a:is(:hover, :focus-visible)::after {
    transform: translateX(4px);
    color: #ffffff;
}


/* ==========================================================================
   3. RESPONSIVE POLISH (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 991px) {
    body.home .up-program-col,
    body.home .col-md-6.columns:has(.rev_slider_wrapper),
    body.home .up-info-col,
    body.home .col-md-6.columns:has(a[href*="/admissions"]),
    body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns {
        float: none !important;
        width: 100% !important;
        margin-bottom: 24px !important;
    }

    body.home .up-info-col > .row,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) > .row,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns > .row {
        min-height: 0 !important;
        padding: 24px 24px 26px !important;
    }
}

/* Mobile (< 768px): preserve native 585:416 banner aspect ratio so "OUR FACULTIES"
 * and "FOUNDATION YEAR" graphics fit edge-to-edge without Ken Burns 1:1 square cropping.
 */
@media (max-width: 767px) {
    body.home .up-program-col .rev_slider_wrapper,
    body.home .col-md-6.columns:has(.rev_slider_wrapper) .rev_slider_wrapper {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 585 / 416 !important;
    }

    body.home .up-program-col .rev_slider,
    body.home .col-md-6.columns:has(.rev_slider_wrapper) .rev_slider {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
    }

    body.home .up-program-col :is(.tp-revslider-mainul, .tp-revslider-slidesli, .slotholder, .tp-kbimg-wrap),
    body.home .col-md-6.columns:has(.rev_slider_wrapper) :is(.tp-revslider-mainul, .tp-revslider-slidesli, .slotholder, .tp-kbimg-wrap) {
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
    }

    body.home .up-program-col .tp-kbimg,
    body.home .col-md-6.columns:has(.rev_slider_wrapper) .tp-kbimg {
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    body.home .up-program-col .tp-bgimg,
    body.home .col-md-6.columns:has(.rev_slider_wrapper) .tp-bgimg {
        width: 100% !important;
        height: 100% !important;
        background-size: contain !important;
        background-position: center center !important;
    }

    body.home .up-program-col .tp-parallax-wrap,
    body.home .col-md-6.columns:has(.rev_slider_wrapper) .tp-parallax-wrap {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        bottom: clamp(16px, 5.5vw, 26px) !important;
        width: max-content !important;
        height: auto !important;
        transform: translateX(-50%) !important;
    }

    body.home .up-program-col :is(.tp-loop-wrap, .tp-mask-wrap),
    body.home .col-md-6.columns:has(.rev_slider_wrapper) :is(.tp-loop-wrap, .tp-mask-wrap) {
        position: relative !important;
        inset: auto !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    body.home .up-program-col :is(.rev-btn, .tp-caption.rev-btn),
    body.home .col-md-6.columns:has(.rev_slider_wrapper) :is(.rev-btn, .tp-caption.rev-btn) {
        position: relative !important;
        inset: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 600px) {
    body.home .up-program-col .simple-column,
    body.home .col-md-6.columns:has(.rev_slider_wrapper) .simple-column,
    body.home .up-program-col .rev_slider_wrapper,
    body.home .col-md-6.columns:has(.rev_slider_wrapper) .rev_slider_wrapper {
        border-radius: 14px !important;
    }

    body.home .up-program-col :is(.rev-btn, a.su-button, .tp-caption.rev-btn),
    body.home .col-md-6.columns:has(.rev_slider_wrapper) :is(.rev-btn, .tp-caption.rev-btn) {
        padding: 9px 20px !important;
        font-size: 11px !important;
        letter-spacing: 0.07em !important;
    }

    body.home .up-info-col > .row,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) > .row,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns > .row {
        padding: 20px 18px 22px !important;
        border-radius: 14px;
    }

    body.home .up-info-col > .row::before,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) > .row::before,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns > .row::before {
        left: 18px;
        right: 18px;
    }

    body.home .up-info-col .simple-column:first-of-type,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:first-of-type,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:first-of-type {
        border-radius: 11px !important;
        margin-bottom: 18px !important;
    }

    body.home .up-info-col .simple-column:last-of-type p,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:last-of-type p,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:last-of-type p {
        font-size: 14.5px !important;
        line-height: 1.65 !important;
    }

    body.home .up-info-col .simple-column:last-of-type a,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) .simple-column:last-of-type a,
    body.home .col-md-6.columns:has(a[href*="/admissions"]) ~ .col-md-6.columns .simple-column:last-of-type a {
        width: 100%;
        padding: 12px 20px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .up-program-col .simple-column,
    body.home .up-program-col .tp-bgimg,
    body.home .up-info-col > .row,
    body.home .up-info-col .simple-column:first-of-type img,
    body.home .up-info-col .simple-column:last-of-type a {
        transition: none !important;
    }
}
