﻿/* Tutor LMS course pages */
/* Tutor LMS single course: match the academy visual system */
body.single-courses {
    background: #f6f8fb;
}

body.single-courses .site-content .ast-container {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

body.single-courses .site-main,
body.single-courses .ast-article-single {
    background: transparent !important;
}

body.single-courses .tutor-full-width-course-top {
    margin: 0;
    padding: 74px 24px 84px;
    background: linear-gradient(135deg, #effaf8 0%, #f8fafc 54%, #f6f8fb 100%);
}

body.single-courses .tutor-course-details-page {
    max-width: 1120px !important;
    padding: 0 !important;
}

body.single-courses .tutor-course-details-header {
    margin-bottom: 34px !important;
    padding: 38px;
    border: 1px solid #dbe8e5;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.09);
}

body.single-courses .tutor-course-details-ratings {
    display: none !important;
}

body.single-courses .tutor-course-details-title {
    max-width: 820px;
    color: #0b1226 !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(34px, 5vw, 58px) !important;
    font-weight: 900 !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
}

body.single-courses .tutor-course-details-top {
    margin-top: 22px !important;
}

body.single-courses .tutor-course-details-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #99f6e4;
    border-radius: 999px;
    background: #ddf7f2;
    color: #0f766e;
    font-weight: 800;
}

body.single-courses .tutor-course-details-info > div {
    font-size: 0;
}

body.single-courses .tutor-course-details-info > div::before {
    content: "Programa incluido";
    font-size: 14px;
}

body.single-courses .tutor-course-wishlist-btn {
    display: none !important;
}

body.single-courses .tutor-course-share-btn,
body.single-courses .tutor-btn-ghost {
    border-radius: 999px !important;
    color: #0f766e !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.single-courses .tutor-course-thumbnail {
    overflow: hidden;
    border-radius: 20px;
    background: #eaf3f1;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body.single-courses .tutor-course-thumbnail img {
    display: block;
    width: 100%;
    min-height: 360px;
    max-height: 430px;
    object-fit: cover;
}

body.single-courses .tutor-course-details-tab {
    margin-top: 30px !important;
    padding: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

body.single-courses .tutor-nav {
    gap: 8px;
    padding: 6px;
    border: 0 !important;
    border-radius: 999px;
    background: #f1f5f9;
}

body.single-courses .tutor-nav-link {
    border: 0 !important;
    border-radius: 999px !important;
    color: #475569 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.single-courses .tutor-nav-link.is-active {
    background: #0f766e !important;
    color: #ffffff !important;
}

body.single-courses .tutor-course-content-title,
body.single-courses .tutor-tab-item h3 {
    color: #0f172a !important;
    font-size: 25px !important;
    font-weight: 850 !important;
}

body.single-courses .tutor-accordion-item {
    overflow: hidden;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #ffffff;
}

body.single-courses .tutor-accordion-item-header {
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 850 !important;
}

body.single-courses .tutor-course-content-list-item {
    padding: 16px 18px !important;
    border-top: 1px solid #edf2f7;
}

body.single-courses .tutor-course-content-list-item-title {
    color: #0f172a !important;
    font-weight: 750 !important;
}

body.single-courses .tutor-sidebar-card,
body.single-courses .tutor-single-course-sidebar-more {
    overflow: hidden;
    border: 1px solid #dbe8e5 !important;
    border-radius: 20px !important;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body.single-courses .tutor-sidebar-card .tutor-card-body {
    padding: 24px !important;
}

body.single-courses .tutor-course-single-pricing {
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid #99f6e4;
    border-radius: 16px;
    background: #ecfdf5;
    text-align: center;
}

body.single-courses .tutor-course-single-pricing span {
    color: #0f766e !important;
    font-size: 22px !important;
    font-weight: 900 !important;
}

body.single-courses .tutor-enroll-course-button,
body.single-courses .tutor-btn-primary {
    border: 0 !important;
    border-radius: 999px !important;
    background: #0f766e !important;
    color: #ffffff !important;
    box-shadow: 0 14px 26px rgba(15, 118, 110, 0.18);
    font-weight: 850 !important;
    text-decoration: none !important;
}

body.single-courses .tutor-enroll-course-button:hover,
body.single-courses .tutor-btn-primary:hover {
    background: #115e59 !important;
    color: #ffffff !important;
}

body.single-courses .tutor-sidebar-card .tutor-card-body > .tutor-fs-7.tutor-color-muted {
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 650;
}

body.single-courses .tutor-sidebar-card .tutor-card-footer {
    padding: 22px 24px !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #f8fafc;
}

body.single-courses .tutor-sidebar-card .tutor-card-footer li {
    align-items: flex-start;
}

body.single-courses .tutor-single-course-sidebar-more {
    padding: 24px;
}

body.single-courses .tutor-course-details-instructors h3 {
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

body.single-courses .tutor-avatar-text {
    background: #0f766e !important;
    color: #ffffff !important;
    font-weight: 850 !important;
}

/* Tutor public instructor profile */
body.afms-tutor-profile-page {
    background: #f6f8fb;
}

body.afms-tutor-profile-page .site-content .ast-container {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

body.afms-tutor-profile-page .site-main,
body.afms-tutor-profile-page .ast-article-single {
    background: transparent !important;
}

body.afms-tutor-profile-page .tutor-user-public-profile {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 64px 0 84px;
    color: #0f172a;
}

body.afms-tutor-profile-page .tutor-user-public-profile .tutor-container {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

body.afms-tutor-profile-page .tutor-user-public-profile .photo-area {
    overflow: hidden;
    border: 1px solid #dbe8e5;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.09);
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
}

body.afms-tutor-profile-page .cover-area {
    position: relative;
    height: 180px !important;
    min-height: 180px !important;
    overflow: hidden;
    background: linear-gradient(135deg, #e7f7f5 0%, #f8fafc 58%, #ecfdf5 100%);
}

body.afms-tutor-profile-page .cover-area > div:first-child {
    position: absolute;
    inset: 0;
    background-position: center !important;
    background-size: cover !important;
    opacity: 0.36;
}

body.afms-tutor-profile-page .cover-area > div:last-child {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.94));
}

body.afms-tutor-profile-page .pp-area {
    position: relative;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: -58px 28px 28px !important;
    padding: 28px 30px !important;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

body.afms-tutor-profile-page .profile-pic {
    width: 96px !important;
    height: 96px !important;
    border: 6px solid #ffffff;
    border-radius: 22px !important;
    background-color: #e2e8f0;
    background-position: center !important;
    background-size: cover !important;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

body.afms-tutor-profile-page .profile-name {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    min-width: 0;
    height: auto !important;
    padding: 0 !important;
    color: #0f172a !important;
}

body.afms-tutor-profile-page .profile-name h3 {
    flex: 0 0 100%;
    margin: 0;
    color: #0f172a !important;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

body.afms-tutor-profile-page .profile-name > span {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 4px;
    margin: 0 !important;
    padding: 8px 12px;
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 13px;
    font-weight: 850;
}

body.afms-tutor-profile-page .profile-name > span:nth-of-type(2) {
    display: none;
}

body.afms-tutor-profile-page .profile-rating-media,
body.afms-tutor-profile-page .tutor-rating-container {
    display: none !important;
}

body.afms-tutor-profile-page .tutor-social-container a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe8e5;
    border-radius: 999px;
    background: #ffffff;
    color: #0f766e;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

body.afms-tutor-profile-page .tutor-user-profile-sidebar {
    display: none;
}

body.afms-tutor-profile-page .tutor-user-profile-content {
    width: 100%;
    margin-top: 24px !important;
    padding: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

body.afms-tutor-profile-page .tutor-user-profile-content > h3 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
}

body.afms-tutor-profile-page .tutor-user-profile-content > h3:not(:first-child) {
    margin-top: 34px;
}

body.afms-tutor-profile-page .tutor-user-profile-content p,
body.afms-tutor-profile-page .tutor-user-profile-content {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

body.afms-tutor-profile-page .tutor-user-profile-content .tutor-grid,
body.afms-tutor-profile-page .tutor-user-profile-content .tutor-grid-3 {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
    gap: 22px !important;
}

body.afms-tutor-profile-page .tutor-card,
body.afms-tutor-profile-page .tutor-course-card {
    overflow: hidden;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

body.afms-tutor-profile-page .tutor-course-thumbnail img,
body.afms-tutor-profile-page .tutor-ratio img {
    display: block;
    width: 100% !important;
    height: 230px !important;
    object-fit: cover !important;
}

body.afms-tutor-profile-page .tutor-card-body {
    padding: 20px 20px 12px !important;
}

body.afms-tutor-profile-page .tutor-card-footer {
    padding: 0 20px 20px !important;
}

body.afms-tutor-profile-page .tutor-course-name,
body.afms-tutor-profile-page .tutor-course-name a {
    color: #0f172a !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.18 !important;
    text-decoration: none !important;
}

body.afms-tutor-profile-page .tutor-meta,
body.afms-tutor-profile-page .tutor-meta a,
body.afms-tutor-profile-page .tutor-color-muted {
    color: #64748b !important;
    font-weight: 700;
}

body.afms-tutor-profile-page .tutor-btn,
body.afms-tutor-profile-page a.tutor-btn {
    border: 0 !important;
    border-radius: 999px !important;
    background: #0f766e !important;
    color: #ffffff !important;
    font-weight: 850 !important;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    body.single-courses .tutor-full-width-course-top {
        padding: 54px 20px 64px;
    }

    body.single-courses .tutor-course-details-header,
    body.single-courses .tutor-course-details-tab {
        padding: 24px;
        border-radius: 18px;
    }

    body.single-courses .tutor-course-thumbnail img {
        min-height: 260px;
    }

    body.afms-tutor-profile-page .pp-area {
        grid-template-columns: 1fr;
        justify-items: start;
    }
}

@media (max-width: 575px) {
    body.single-courses .tutor-course-details-actions {
        width: 100%;
        margin-top: 16px !important;
    }

    body.single-courses .tutor-course-share-btn {
        width: 100%;
        justify-content: center;
    }

    body.single-courses .tutor-nav {
        border-radius: 18px;
    }

    body.afms-tutor-profile-page .tutor-user-public-profile {
        width: calc(100% - 32px);
        padding-top: 44px;
        padding-bottom: 58px;
    }

    body.afms-tutor-profile-page .cover-area {
        min-height: 170px;
    }

    body.afms-tutor-profile-page .pp-area {
        margin-top: -58px;
        padding: 0 22px 26px;
    }

    body.afms-tutor-profile-page .profile-pic {
        width: 116px !important;
        height: 116px !important;
        border-radius: 22px !important;
    }

    body.afms-tutor-profile-page .tutor-user-profile-content {
        padding: 24px;
        border-radius: 20px;
    }
}

