body.is-tutor main,
body.is-tutor .container,
body.is-tutor .row,
body.is-tutor .content,
body.is-tutor .wrap {
    display: block;
    width: auto;
    max-width: none;
}

body.is-tutor .tutor-wrap,
body.is-tutor .tutor-container,
body.is-tutor .tutor-container-lg,
body.is-tutor .tutor-course-details-page,
body.is-tutor .tutor-single-course {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

body.is-tutor .tutor-course-header,
body.is-tutor .tutor-course-header-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
}

body.is-tutor-course .tutor-single-course {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

body.is-tutor img {
    max-width: 100%;
    height: auto;
}

/* Stable 2-column layout for single course using Tutor grid classes */
body.is-tutor-course .tutor-course-details-page .tutor-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 32px;
}

body.is-tutor-course .tutor-course-details-page .tutor-col-xl-8 {
    flex: 1 1 auto;
    min-width: 0;
}

body.is-tutor-course .tutor-course-details-page .tutor-col-xl-4 {
    flex: 0 0 320px;
    max-width: 320px;
    width: 100%;
}

@media (max-width: 1023px) {
    body.is-tutor-course .tutor-course-details-page .tutor-row {
        flex-direction: column;
    }

    body.is-tutor-course .tutor-course-details-page .tutor-col-xl-4 {
        max-width: none;
        width: 100%;
    }
}

/* Course media sizing */
body.is-tutor .tutor-course-thumbnail,
body.is-tutor .tutor-course-feature-image,
body.is-tutor .tutor-course-header img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 1024px) {
    body.is-tutor-course .tutor-course-sidebar,
    body.is-tutor-course .tutor-course-sidebar-card {
        position: sticky;
        top: 96px;
    }
}
