img {
    max-width: 100%;
    height: auto;
}

.site-title a {
    white-space: nowrap;
}

.hamburger-menu {
    border: 0;
    padding: 0;
    background: transparent;
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-slider .swiper-wrapper {
    display: flex;
}

.testimonial-slider .swiper-slide {
    display: none;
    flex: 0 0 100%;
    width: 100%;
}

.testimonial-slider .swiper-slide.swiper-slide-active {
    display: block;
}

.testimonial-slider .swiper-pagination {
    gap: 12px;
}

.testimonial-slider .swiper-pagination-bullet {
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
}

.blog-post-thumbnail {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accordion-wrap .entry-content {
    display: none;
}

.accordion-wrap .entry-title.active + .entry-content {
    display: block;
}

.accordion-wrap .entry-content[hidden],
.tablists[hidden] {
    display: none !important;
}

.accordion-wrap .entry-title {
    cursor: pointer;
}

@media screen and (max-width: 991px) {
    .hamburger-menu span {
        background: #383749 !important;
    }

    .site-navigation ul {
        width: min(320px, calc(100vw - 56px));
        max-width: calc(100vw - 56px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .site-navigation ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .site-navigation .hover_box {
        width: auto;
        max-width: none;
        max-height: none;
        overflow: visible;
    }

    .site-navigation li.has-children.is-open > .hover_box {
        display: block;
    }

    .site-navigation .hover_box a {
        padding-left: 28px !important;
    }

    .hero-content-wrap {
        height: auto !important;
        min-height: 360px;
        padding-top: 40px !important;
        padding-bottom: 36px;
    }

    .hero-content-wrap h1 {
        font-size: 30px;
    }

    .hero-actions a {
        min-height: 44px;
    }

    .single-course-accordion-cont h2 {
        width: 100%;
        font-size: 22px;
    }

    .single-course-accordion-cont .lecture-group-title {
        width: calc(100% - 44px);
    }

    .single-course-cont-section table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }

    .testimonial-slider .entry-content p {
        font-size: 20px;
    }
}

@media screen and (max-width: 575px) {
    .hero-content-wrap h4 {
        letter-spacing: .05em;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions a {
        width: 100%;
        text-align: center;
    }

    .course-info-item {
        min-width: 100%;
        padding-right: 0;
        padding-bottom: 8px;
        border-right: 0;
        border-bottom: 1px solid #ebebeb;
    }

    .course-info-item:last-child {
        border-bottom: 0;
    }

    .latest-news-events .featured-event-content {
        padding-right: 0;
    }

    .blog-post-thumbnail {
        aspect-ratio: 16 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-slider .swiper-wrapper,
    .site-navigation ul,
    .hamburger-menu,
    .hamburger-menu span {
        transition: none !important;
    }
}
