.image-cropper-preview {
    width: 100%;
    background-color: #f3f4f6;
    background-image: url("https://placehold.co/640x360");
    background-repeat: no-repeat;
    background-position: center center;
    height: 360px;
    display: block;
}


.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 6px 4px !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.select2-search__field {
    margin: 6px !important;
    padding: 2 !important;
    line-height: 1.5 !important;
}

.select2-selection__rendered {
    padding-top: 5px !important;
}

@media (max-width: 2048px) {
    .sidebar-only {
        display: none;
    }
}

.mobile-nav__container .sidebar-only {
    display: block;
}

.main-slider__title span {
    color: var(--eduact-secondary);
    font-family: var(--heading-font) !important;
    font-size: 60px;
    font-weight: 400;
    line-height: 60px;
}


    /* Team Page Styling */
    .team-page {
        padding: 50px 0;
    }

    .team-item {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        text-align: center;
    }

    .team-item__image {
        width: 100%;
        height: 300px; /* Set uniform height for all images */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #f0f0f0; /* Fallback background color */
    }

    .team-item__content {
        padding: 15px;
    }

    .team-item__name {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 5px;
        color: #333;
    }

    .team-item__designation {
        font-size: 14px;
        color: #777;
    }


    .mobile-nav__content .main-menu__list li > a {
        /* display: block; */
        height: auto; /* Adjust height dynamically based on content */
        padding: 10px; /* Add some spacing inside the links */
        overflow: hidden; /* Prevent content overflow */
        word-wrap: break-word; /* Break long words/links to prevent layout issues */
    }

    /* Sublist items */
    .mobile-nav__content .main-menu__list ul li > a {
        display: block;
        height: auto; /* Adjust height dynamically */
        padding: 8px; /* Slightly smaller padding for nested items */
        overflow: hidden;
        word-wrap: break-word;
    }

    /* Main list and nested list containers */
    .mobile-nav__content .main-menu__list,
    .mobile-nav__content .main-menu__list ul {
        padding: 0; /* Remove default padding */
        margin: 0; /* Remove default margin */
        list-style: none; /* Remove bullet points */
    }


.editor-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

.editor-content iframe {
    max-width: 100%;
}

.editor-content table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

.editor-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.editor-content figure.image {
    max-width: 100%;
    margin: 1rem auto;
    text-align: center;
}

.editor-content figure.image img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
    aspect-ratio: auto !important; /* override if necessary */
}
.main-slider__title span {
    font-weight: bold;
    font-size: 3rem;
}

.main-slider__text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #fff;
}

.eduact-btn-second {
    background-color: #ff6a35;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.course-two {
    padding: 30px 0 30px;
}

.about-two {
    padding: 45px 0 30px;
}

.course-two__slider .course-two__item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px; /* optional: force a consistent base height */
}

.course-two__slider .course-two__thumb {
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.course-two__slider .course-two__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-two__slider .course-two__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.course-two__slider .course-two__bottom {
    margin-top: auto;
}


.course-two.course-two--page .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-two.course-two--page .course-two__item {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.course-two.course-two--page .course-two__thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.course-two.course-two--page .course-two__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-two.course-two--page .course-two__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.course-two.course-two--page .course-two__bottom {
    margin-top: auto;
}