/* Keep all hero slides as tall as the largest slide at each screen width. */
.elementor-5468 .main-slider.style1 .banner-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}
.elementor-5468 .main-slider.style1 .banner-carousel .owl-item {
    display: flex;
    flex-shrink: 0;
    float: none;
}
.elementor-5468 .main-slider.style1 .slide {
    display: flex;
    align-items: center;
    width: 100%;
}
.elementor-5468 .main-slider.style1 .auto-container {
    width: 100%;
}
.elementor-5468 .main-slider.style1 .content {
    overflow: visible;
}
.elementor-5468 .main-slider.style1 .content .big-title h2 {
    line-height: 1.3;
    padding-block: .06em;
}
.elementor-5468 .main-slider.style1 .content .text p {
    line-height: 1.3;
}
.elementor-5468 .main-slider.style1 .slide .image-layer {
    background-size: cover;
    background-position: center;
    height: 100%;
    transform: translate3d(0, 0, 0) !important;
    transition: opacity 1.2s ease-in-out !important;
    will-change: opacity;
    backface-visibility: hidden;
}
.elementor-5468 .main-slider.style1 .banner-carousel .active .slide .image-layer {
    transform: translate3d(0, 0, 0) !important;
}

/* Keep the desktop header in flow so it cannot cover the compact hero.
 * Use natural content height for enlarged text without clipping. */
@media (min-width: 1025px) {
    body.home .main-header.header-style-nine {
        position: relative;
    }
    .elementor-5468 .main-slider.style1 {
        margin-top: 0;
    }
    .elementor-5468 .main-slider.style1 .slide {
        min-height: clamp(500px, 62vh, 600px);
        padding-top: 80px;
        padding-bottom: 112px;
    }
    .elementor-5468 .main-slider.style1 .content .big-title h2 {
        font-size: clamp(36px, 3.2vw, 52px);
        line-height: 1.2;
    }
    .elementor-5468 .main-slider.style1 .content .text {
        margin-top: 14px;
    }
    .elementor-5468 .main-slider.style1 .content .text p {
        max-width: 850px;
        font-size: 20px;
        line-height: 1.45;
    }
    .elementor-5468 .main-slider.style1 .content .btns-box {
        margin-top: 20px;
    }
    .elementor-5468 .main-slider.style1 .content .video-gallery-btns-box {
        margin-top: 20px;
    }
}

/* Phone hero: replace the theme's 506px vertical padding with compact
 * spacing. Natural height preserves all copy and buttons at larger text sizes. */
@media (max-width: 767px) {
    body.home .main-header.header-style-nine {
        position: relative;
    }
    .elementor-5468 .main-slider.style1 {
        margin-top: 0;
    }
    .elementor-5468 .main-slider.style1 .slide {
        min-height: 360px;
        padding-block: 32px;
    }
    .elementor-5468 .main-slider.style1 .auto-container {
        padding-inline: 20px;
    }
    .elementor-5468 .main-slider.style1 .content .big-title h2 {
        font-size: clamp(26px, 6.5vw, 34px);
        line-height: 1.25;
    }
    .elementor-5468 .main-slider.style1 .content .text {
        margin-top: 12px;
    }
    .elementor-5468 .main-slider.style1 .content .text p {
        font-size: 16px;
        line-height: 1.5;
    }
    .elementor-5468 .main-slider.style1 .content .btns-box {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 18px;
    }
    .elementor-5468 .main-slider.style1 .content .btns-box a {
        max-width: 100%;
        margin: 0;
        padding: 10px 18px;
        font-size: 14px;
        line-height: 24px;
        white-space: normal;
    }
    .elementor-5468 .main-slider.style1 .content .video-gallery-btns-box {
        margin-top: 18px;
    }
}

/* Keep hero CTA hover effects on the compositor to prevent visible jitter
 * when the banner carousel and the connected-dots canvas animate together. */
.elementor-5468 .main-slider.style1 .btn-one {
    isolation: isolate;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
    will-change: transform;
}
.elementor-5468 .main-slider.style1 .btn-one::before,
.elementor-5468 .main-slider.style1 .btn-one::after {
    transition: transform .36s ease, opacity .36s ease;
    will-change: transform, opacity;
}
.elementor-5468 .main-slider.style1 .btn-one:hover,
.elementor-5468 .main-slider.style1 .btn-one:focus-visible {
    transform: translate3d(0, -2px, 0);
}
.elementor-5468 .main-slider.style1 .btn-one .txt {
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* The complete event image is an accessible link to the event detail. */
.elementor-5468 .events-style1-area .single-event-one .img-holder > .cit-home-event-image-link {
    position: relative;
    z-index: 2;
    display: block;
    color: inherit;
    line-height: 0;
}
.elementor-5468 .events-style1-area .single-event-one .img-holder > .cit-home-event-image-link img {
    display: block;
    width: 100%;
}
.elementor-5468 .events-style1-area .single-event-one .img-holder .overlay-content .date-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    width: fit-content;
    min-width: 0;
    max-width: 120px;
    margin-left: 0;
    padding: 9px 13px 10px;
    background: linear-gradient(135deg, rgba(7, 24, 39, .94), rgba(12, 45, 73, .88));
    border-left: 3px solid #35c8f4;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .24), inset 0 0 14px rgba(42, 156, 216, .12);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.elementor-5468 .events-style1-area .single-event-one .img-holder .overlay-content {
    left: 0;
    right: 0;
}
.elementor-5468 .events-style1-area .single-event-one .img-holder .overlay-content .date-box::before {
    top: 0;
    right: auto;
    bottom: auto;
    left: -3px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #8eeaff 0%, #1f5ca9 100%);
}
.elementor-5468 .events-style1-area .single-event-one .img-holder .overlay-content .date-box h2 {
    color: #f2fbff;
    font-size: 36px;
    font-weight: 800;
    line-height: .95;
    text-align: left;
    text-shadow: 0 0 10px rgba(91, 218, 255, .45);
}
.elementor-5468 .events-style1-area .single-event-one .img-holder .overlay-content .date-box h4 {
    top: 0;
    padding-left: 0;
    color: #a9ddf4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.25;
    text-align: left;
}
.elementor-5468 .events-style1-area .single-event-one .img-holder .overlay-content .date-box.cit-date-range {
    max-width: 190px;
}
.elementor-5468 .events-style1-area .single-event-one .img-holder .overlay-content .date-box.cit-date-range h2 {
    font-size: 36px;
    white-space: nowrap;
}
.elementor-5468 .events-style1-area .single-event-one .img-holder .overlay-content .date-box.cit-date-range h4 {
    white-space: nowrap;
}

/* Homepage event cards: reserve free space above the bottom metadata. */
.elementor-5468 .elementor-element-6faf570 .events-style1-area .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
}
.elementor-5468 .elementor-element-6faf570 .events-style1-area .row > div {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.elementor-5468 .elementor-element-6faf570 .single-event-one,
.elementor-5468 .elementor-element-6faf570 .single-event-one__inner,
.elementor-5468 .elementor-element-6faf570 .single-event-one .text-holder {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.elementor-5468 .elementor-element-6faf570 .single-event-one .img-holder {
    flex-shrink: 0;
}
.elementor-5468 .elementor-element-6faf570 .single-event-one .img-holder img {
    width: 100%;
    height: auto;
    aspect-ratio: 34 / 30;
    object-fit: cover;
}
.elementor-5468 .elementor-element-6faf570 .single-event-one .text-holder > ul {
    margin-top: auto;
}
.elementor-5468 .elementor-element-6faf570 .single-event-one .text-holder > ul > li {
    min-height: 28px;
}
.elementor-5468 .elementor-element-6faf570 .single-event-one .text-holder > ul > li:last-child {
    /* Reserve two lines for locations, including events without a venue yet. */
    min-height: 56px;
    align-items: flex-start;
}
@media (max-width: 991px) {
    .elementor-5468 .elementor-element-6faf570 .events-style1-area .row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Scope the layout repair to the four existing homepage statistics. */
.elementor-5468 .elementor-element.elementor-element-396d5f9 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 24px;
    width: 100%;
}
.elementor-5468 .elementor-element-396d5f9 > .e-grid-base {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    min-width: 0;
    text-align: center;
}
.elementor-5468 .elementor-element-396d5f9 > .e-grid-base > .elementor-widget {
    width: 100%;
    min-width: 0;
}
.elementor-5468 .elementor-element-396d5f9 .elementor-counter {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
}
.elementor-5468 .elementor-element-396d5f9 .elementor-counter-title {
    line-height: 1.5;
    margin-top: 10px;
}
@media (max-width: 767px) {
    .elementor-5468 .elementor-element.elementor-element-396d5f9 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }
}
@media (max-width: 420px) {
    .elementor-5468 .elementor-element.elementor-element-396d5f9 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Compact homepage shortcuts with aligned cards and readable labels. */
.elementor-5468 .essentials-area .auto-container {
    max-width: 1440px;
}
.elementor-5468 .essentials-area .features-style1-content,
.elementor-5468 .essentials-area .essentials-content-box {
    margin: 0;
    padding: 0;
    max-width: none;
    height: 100%;
}
.elementor-5468 .essentials-area .features-style1-content > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 100%;
}
.elementor-5468 .essentials-area .features-style1-content > ul > li {
    float: none;
    width: auto;
    min-width: 0;
    padding: 24px 20px;
}
.elementor-5468 .essentials-area .single-features-style1 {
    flex-direction: row;
    gap: 14px;
    height: 100%;
    text-align: left;
}
.elementor-5468 .essentials-area .single-features-style1 .text-box {
    width: auto;
    min-width: 0;
    flex: 1;
    margin: 0;
}
.elementor-5468 .essentials-area .single-features-style1 .text-box h2 {
    font-size: 22px;
    line-height: 1.3;
    padding-bottom: 10px;
}
.elementor-5468 .essentials-area .single-features-style1 .text-box p {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
}
.elementor-5468 .essentials-area .single-features-style1 .img-box {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
}
.elementor-5468 .essentials-area .single-features-style1 .img-box img {
    height: 100%;
    object-fit: cover;
}
.elementor-5468 .essentials-area .essentials-content-box > ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 100%;
}
.elementor-5468 .essentials-area .essentials-content-box > ul > li {
    float: none;
    width: auto;
    min-width: 0;
}
.elementor-5468 .essentials-area .single-essentials-box {
    padding: 22px 12px;
}
.elementor-5468 .essentials-area .single-essentials-box .icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.elementor-5468 .essentials-area .single-essentials-box h3 {
    font-size: 17px;
    line-height: 1.4;
    margin-top: 12px;
}
@media (min-width: 1025px) {
    /* Match the full-width banner without the inner container's width cap. */
    .elementor-5468 .elementor-element.elementor-element-c118089 > .elementor-container {
        max-width: none;
        width: 100%;
    }
    .elementor-5468 .elementor-element-c118089 > .elementor-container > .elementor-column > .elementor-widget-wrap {
        padding-inline: 0;
    }
    .elementor-5468 .essentials-area .auto-container {
        max-width: none;
        width: 100%;
        padding-inline: 0;
    }
    .elementor-5468 .essentials-area .row {
        margin-inline: 0;
    }
    /* Raise the entire shortcut strip together; leave space in the hero above it. */
    .elementor-5468 .elementor-element.elementor-element-c118089 {
        position: relative;
        z-index: 11;
        margin-top: -56px;
    }
    .elementor-5468 .essentials-area .features-style1-content > ul > li {
        padding: 28px 22px;
    }
    .elementor-5468 .essentials-area .single-features-style1 .text-box h2 {
        font-size: 24px;
    }
    .elementor-5468 .essentials-area .single-features-style1 .text-box p {
        font-size: 15px;
    }
    .elementor-5468 .essentials-area .single-features-style1 .img-box {
        flex-basis: 80px;
        width: 80px;
        height: 80px;
    }
    .elementor-5468 .essentials-area .single-essentials-box {
        padding: 26px 12px;
    }
    .elementor-5468 .essentials-area .single-essentials-box .icon img {
        width: 50px;
        height: 50px;
    }
    .elementor-5468 .essentials-area .single-essentials-box h3 {
        font-size: 18px;
        margin-top: 14px;
    }
    .elementor-5468 .essentials-area .row {
        display: grid;
        grid-template-columns: 5fr 6fr;
        gap: 0;
    }
    .elementor-5468 .essentials-area .row > .col-xl-6 {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-inline: 0;
    }
}
@media (max-width: 767px) {
    .elementor-5468 .elementor-element.elementor-element-c118089 > .elementor-container {
        width: 100%;
        max-width: none;
    }
    .elementor-5468 .elementor-element-c118089 > .elementor-container > .elementor-column > .elementor-widget-wrap {
        padding-inline: 0;
    }
    .elementor-5468 .essentials-area .auto-container {
        width: 100%;
        max-width: none;
        padding-inline: 0;
    }
    .elementor-5468 .essentials-area .row {
        margin-inline: 0;
    }
    .elementor-5468 .essentials-area .row > .col-xl-6 {
        padding-inline: 0;
        min-width: 0;
    }
    .elementor-5468 .essentials-area .features-style1-content > ul > li {
        padding: 18px 12px;
    }
    .elementor-5468 .essentials-area .single-features-style1 {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 10px;
    }
    .elementor-5468 .essentials-area .single-features-style1 .img-box {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
    .elementor-5468 .essentials-area .single-features-style1 .text-box h2 {
        font-size: 19px;
    }
    .elementor-5468 .essentials-area .single-essentials-box {
        padding: 18px 10px;
    }
}

/* Keep banner navigation legible against every slide image. */
.elementor-5468 .main-slider.style1.nav-style2 .owl-theme .owl-nav {
    top: 50%;
    right: 0;
    bottom: auto;
    left: 0;
    opacity: 1;
    transform: translateY(-26px);
}
.elementor-5468 .main-slider.style1.nav-style2 .owl-nav :is(.owl-prev, .owl-next) {
    width: 52px;
    height: 52px;
    border: 2px solid #fff;
    border-radius: 6px;
    background: #fff;
    color: #032146;
    font-size: 24px;
    line-height: 48px;
    box-shadow: 0 3px 16px rgba(0, 0, 0, .35);
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.elementor-5468 .main-slider.style1.nav-style2 .owl-nav .owl-prev {
    left: clamp(24px, 2vw, 40px);
}
.elementor-5468 .main-slider.style1.nav-style2 .owl-nav .owl-next {
    right: clamp(24px, 2vw, 40px);
}
.elementor-5468 .main-slider.style1.nav-style2 .owl-nav :is(.owl-prev, .owl-next):hover {
    background: #032146;
    color: #fff;
}
.elementor-5468 .main-slider.style1.nav-style2 .owl-nav :is(.owl-prev, .owl-next):focus-visible {
    background: #032146;
    color: #fff;
    outline: 3px solid #fff;
    outline-offset: 4px;
    box-shadow: 0 0 0 7px #032146;
}
@media (prefers-reduced-motion: reduce) {
    .elementor-5468 .main-slider.style1.nav-style2 .owl-nav :is(.owl-prev, .owl-next) {
        transition: none;
    }
}

/* Center the image and copy within the two homepage feature cards. */
.elementor-5468 .essentials-area .single-features-style1 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.elementor-5468 .essentials-area .single-features-style1 .text-box {
    flex: 0 1 auto;
    width: 100%;
    text-align: center;
}
.elementor-5468 .essentials-area .single-features-style1 .img-box {
    flex-shrink: 0;
}

/* Stretch the existing title link over each shortcut card, including padding.
 * Keep native link behavior for keyboard, new tabs, and copying the address. */
.elementor-5468 .essentials-area :is(.features-style1-content, .essentials-content-box) > ul > li {
    position: relative;
}
.elementor-5468 .essentials-area .single-features-style1,
.elementor-5468 .essentials-area .single-features-style1 .text-box,
.elementor-5468 .essentials-area .single-features-style1 .text-box h2,
.elementor-5468 .essentials-area .single-features-style1 .text-box h2 a,
.elementor-5468 .essentials-area .single-essentials-box,
.elementor-5468 .essentials-area .single-essentials-box h3,
.elementor-5468 .essentials-area .single-essentials-box h3 a {
    position: static;
}
.elementor-5468 .essentials-area .single-features-style1 .text-box h2 a::after,
.elementor-5468 .essentials-area .single-essentials-box h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    cursor: pointer;
}
.elementor-5468 .essentials-area .single-features-style1 .text-box h2 a:focus-visible::after,
.elementor-5468 .essentials-area .single-essentials-box h3 a:focus-visible::after {
    outline: 3px solid #00afef;
    outline-offset: -3px;
}

/* Feature cards: image first on the left, title and description on the right. */
.elementor-5468 .essentials-area .single-features-style1 {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}
.elementor-5468 .essentials-area .single-features-style1 .img-box {
    order: -1;
}
.elementor-5468 .essentials-area .single-features-style1 .text-box {
    flex: 1;
    width: auto;
    min-width: 0;
    text-align: left;
}
@media (max-width: 767px) {
    .elementor-5468 .essentials-area .single-features-style1 {
        gap: 10px;
    }
    .elementor-5468 .essentials-area .single-features-style1 .text-box h2 {
        font-size: 17px;
        padding-bottom: 6px;
    }
    .elementor-5468 .essentials-area .single-features-style1 .text-box p {
        font-size: 13px;
        margin-top: 6px;
    }
}

/* Match homepage news dates: dd/mm/yyyy, including complete date ranges. */
.elementor-5468 .events-style1-area .single-event-one .img-holder .overlay-content .date-box.cit-date-numeric {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    color: #f2fbff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}
.elementor-5468 .date-box.cit-date-numeric time {
    white-space: nowrap;
}

/* Homepage welcome and academic notices use the primary brand blue. */
.elementor-5468 .essentials-area .features-style1-content {
    background: #1f5ca9;
}

/* Equal-height department carousel cards with aligned contact details. */
.elementor-5468 .department-style1-area .department-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}
.elementor-5468 .department-style1-area .department-carousel .owl-item {
    display: flex;
    flex-shrink: 0;
    float: none;
    min-width: 0;
}
.elementor-5468 .department-style1-area .department-style1-single {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}
.elementor-5468 .department-style1-area .department-style1-single .top-content {
    flex: 1;
}
.elementor-5468 .department-style1-area .department-style1-single .bottom-content {
    display: grid;
    grid-template-rows: minmax(27px, auto) minmax(27px, auto);
    gap: 4px;
    margin-top: auto;
}
.elementor-5468 .department-style1-area .department-style1-single .bottom-content a {
    overflow-wrap: anywhere;
    line-height: 27px;
}

/* Pale blue contact panel with compact text; keep the card itself white. */
.elementor-5468 .department-style1-area .department-style1-single {
    background-color: #fff;
    padding-bottom: 14px;
}
.elementor-5468 .department-style1-area .department-style1-single .bottom-content {
    background-color: #eef7fd;
    padding: 12px 8px;
    margin-top: 16px;
    gap: 2px;
}

.elementor-5468 .department-style1-area .department-style1-single .bottom-content a {
    font-size: 14px;
}

/* The pale blue contact panel replaces the divider below the unit name. */
.elementor-5468 .department-style1-area .department-style1-single .top-content {
    border-bottom: 0;
}
