/* --- LAYOUT COMPONENTS --- */

.container {
    max-width: var(--container-max-width);
    margin-inline: auto;
}

.holder {
    width: 100%;
}

.swiper {
    width: 100%;
}



/* --- UTILITIES & MODERN PRIMITIVES --- */

.video-ratio video {
    aspect-ratio: 16 / 9 !important;
}

.border-bottom {
    border-bottom: 1px solid var(--cmuq-gray-200);
}

.underline {
    text-decoration: underline !important;
}

.scholar-diamond {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.scholar-diamond span:not(:last-child) {
    position: relative;
    padding-inline-end: 15px;
}

.scholar-diamond span::after {
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    inset-inline-end: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--cmuq-red);
    rotate: 45deg;
}



/* --- COMPONENT: EVENT SWIPER --- */

.mySwiper_event {
    max-width: 1300px;
    margin-inline: auto;
}

.mySwiper_event .swiper-slide {
    padding: 40px;
    background: var(--cmuq-white);
    height: auto;
}

.cms_event_top .day {
    font-size: 52px;
    color: #5a5b5e;
    font-weight: 600;
    line-height: 1.2;
    margin: 3px 0 0 -2px;
}



/* --- SUB BANNER --- */

.sub-banner {
    position: relative;
    z-index: 0;
}

.sub-banner .container {
    display: flex;
    align-items: flex-end;
    padding-block-end: 30px;
    min-height: 320px;
}

.sub-banner .container h1 {
    color: var(--cmuq-white, #ffffff);
    font-weight: 400;
    font-size: 56px;
    line-height: 1;
}

.sub-banner::before {
    content: "" !important;
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.8 !important;
    background-image: linear-gradient(197deg, rgba(134, 143, 150, 0) 0%, rgb(0, 0, 0) 100%) !important;
}



/* --- MEDIA QUERIES --- */

@media screen and (max-width: 1500px) {
    .news-setion .container {
        padding-inline: 15px;
    }
}

@media screen and (max-width: 1200px) {
    .events-section,
    .news-setion {
        padding-block: 80px;
    }

    .sub-banner.primary .container {
        padding-inline: 15px;
        min-height: 300px;
    }

    .custom-checkbox {
        font-size: 16px;
    }

    .news_list_content h4 {
        margin-block: 10px;
        font-size: 18px;
    }

    .news_list {
        row-gap: 22px;
        margin-block-start: 22px;
    }
}

@media screen and (max-width: 767px) {
    .events-section,
    .news-setion {
        padding-block: 50px;
    }

    .sub-banner .container h1 {
        font-size: 30px;
    }

    .events-section .container {
        flex-wrap: wrap;
        row-gap: 30px;
    }

    :is(.sidebar, .content_part) {
        margin: 0;
        width: 100%;
    }

    .custom-checkbox {
        font-size: 16px;
    }

    .news_list_image {
        width: 100%;
    }

    .news_list_content {
        padding-block-start: 12px;
        width: 100%;
    }

    .sidebar {
        margin-block-end: 30px;
    }

    :is(.search-sort-right, .search-pannel form) {
        width: 100%;
    }
}
