/* Layout corrections for the campus front page. Loaded after the theme CSS. */
html,
body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

.header_wrap .navbar-brand .logo_dark {
    width: clamp(190px, 25vw, 300px) !important;
    height: auto;
}

.banner_section .carousel,
.banner_section .carousel-inner,
.banner_section .carousel-item {
    min-height: inherit;
}

.banner_section .carousel-item {
    position: relative;
    background-repeat: no-repeat;
    background-size: contain !important;
    background-position: center;
}

.banner_section .carousel-item::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(4, 18, 42, 0.48);
    content: "";
}

.banner_section .banner_slide_content {
    position: relative;
    z-index: 1;
}

.banner_section .banner_content {
    display: inline-block;
    max-width: 760px;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 0.5rem;
    background: rgba(3, 15, 35, 0.45);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
}

.banner_section .banner_content h2,
.banner_section .banner_content p {
    color: #fff;
}

.course-card,
.gallery_item,
.team_box {
    height: 100%;
}

.about-notice-row {
    flex-wrap: nowrap;
}

.about-notice-row > [class*="col-"] {
    min-width: 0;
}

.notice-column .notice-list {
    overflow-wrap: anywhere;
}

.course-card .card-img-top,
.gallery_item .gallery-pg,
.team_box .teams-pg {
    display: block;
    width: 100%;
    object-fit: cover;
}

.parallax_bg .parallax-inner {
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
}

@media (max-width: 991.98px) {
    .header_wrap .navbar-brand .logo_dark {
        width: 220px !important;
    }

    .banner_section .row {
        min-height: 380px !important;
        height: 55vh !important;
    }

    .notice-list {
        min-height: auto !important;
    }
}

@media (max-width: 767.98px) {
    .about-notice-row {
        flex-wrap: wrap;
    }

    .about-column,
    .notice-column {
        width: 100%;
    }
}

@media (max-width: 575.98px) {

    .header_wrap .navbar-brand .logo_dark {
        width: 180px !important;
    }

    .banner_section .row {
        min-height: 340px !important;
        height: 52vh !important;
    }

    .banner_content h2 {
        font-size: clamp(1.7rem, 8vw, 2.4rem);
    }

    .notice-list {
        padding: 1.5rem !important;
    }
}
