.lessons-wrapper {
    max-width: min(100%, 1140px);
    margin: 20px auto;
    font-family: 'Roboto', sans-serif;
}

.lessons-card {
    background: #ffffff;
    border: 2px solid #333333;
    border-radius: 12px;
    text-align: left;
    overflow: hidden;
    padding: 20px;
}

.lessons-card__header {
    padding: 40px 30px 20px 30px;
    text-align: center;
}

.lessons-card__title {
    font-size: 2.5rem;
    margin: 0 0 12px 0;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.44;
}

.lessons-card__description {
    color: #333333;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    max-width: 1000px;
    margin: 0 auto;
}

.lesson-item {
    display: flex;
    align-items: center !important;
    padding: 16px 40px;
    border-bottom: 1px solid #D9D9D9;
    transition: background 0.2s;
}

.lesson-item:hover {
    background-color: #f9f9f9;
}

.lesson-item__content {
    flex-grow: 1;
}

.lesson-item__meta {
    font-weight: 500;
    display: block;
    font-size: 0.875rem;
    color: #333333;
    margin-bottom: 4px;
}

.lesson-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lesson-item__icon svg {
    width: 14px;
    height: 14px;
    fill: #d1d1d1;
    display: block;
}

.lesson-item__name {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
    color: #333333;
    text-decoration: none;
}

a.lesson-item__name:hover {
    color: rgb(201, 50, 26);
}

.lesson-item__duration {
    font-weight: 500;
    font-size: 1rem;
    color: #636363;
}

.lessons-card__footer {
    padding: 20px 40px;
}

.material-info {
    background-color: #dbdbdb;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.2s;
}

.material-info.can-download {
    cursor: pointer;
}

.material-info.can-download:hover {
    background-color: #d1d1d1;
    transform: translateY(-2px);
}

.material-info__icon svg {
    width: 20px;
    height: 20px;
    fill: #636363;
}

.material-info__label {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333333;
}

.material-info__items {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
}

.lessons-action {
    text-align: center;
    margin-top: 25px;
}


.mc_learning-track-hero-section-outer-container {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: 95%;
    background: #0e0e0e;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
}

.mc_learning-track-hero {
    max-width: 50%;
    padding-left: 160px;
    padding-top: 100px;
}

.mc_learning-track-hero .mc_hero-eyebrow {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3em;
}

.mc_learning-track-hero .mc_hero-title {
    width: 479px;
    height: auto;
    margin: 0 0 16px;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
}

.mc_learning-track-hero .mc_hero-description {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    max-width: 479px;
    margin-bottom: 20px;
    line-height: 24px;
}

.mc_learning-track-hero .mc_hero-cta {
    display: block;
    width: 180px;
    height: 56px;
    padding: 14px 18px;
    border-radius: 6px;
    background-color: #C9321A;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #ffffff;
}

.mc_cards-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(var(--cols, 2), 1fr);
}

@media (max-width: 768px) {
    .mc_cards-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.mc_lt-card {
    background: #ffffff;
    border: 1.5px solid #eaeaee;
    border-radius: 22px;
    padding: 24px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 8px;

    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.mc_lt-card:hover {
    border-color: rgba(201, 50, 26, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(201, 50, 26, 0.14);
}


.mc_lt-check-wrap {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fdf1ef;
    border: 1.5px solid rgba(201, 50, 26, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc_lt-check-wrap svg {
    width: 16px;
    height: 16px;
}

.mc_lt-check-wrap {
    margin: 0 auto 10px;
}

.mc_lt-card:hover .mc_lt-check-wrap {
    background: #C9321A;
    border-color: #C9321A;
}


.mc_lt-card-text h4 {
    margin: 0 0 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111;
}

.mc_lt-card-text p {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 500;
    color: #333333;
}

/* ================================
Sticky Bottom Bar
================================ */
.mc_lt-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1e1e1e;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mc_lt-sticky-bar.mc_is-visible {
    transform: translateY(0);
}

.mc_lt-sticky-inner {
    max-width: 1460px;
    height: 61px;
    margin: 0 auto;
    padding: 12px 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mc_lt-sticky-cta {
    width: 160px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #e53935;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

/* --- Add this corrected CSS to your style block --- */

.mc_lt-card:hover .mc_lt-check-wrap {
    background: #C9321A;
    border-color: #C9321A;
    transform: scale(1.1);
}

/* Fix: Only turn the lines white, don't fill the circle background */
.mc_lt-card:hover .mc_lt-check-wrap svg circle,
.mc_lt-card:hover .mc_lt-check-wrap svg path {
    stroke: #ffffff !important;
    fill: none !important;
    /* Prevents the circle from filling in and hiding the check */
}

/* If you want the checkmark path to be slightly thicker on hover */
.mc_lt-card:hover .mc_lt-check-wrap svg path {
    stroke-width: 2.5;
}

/* Wrapper (stack rows) */
.mc_photos-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Row wrapper */
.mc_photo-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;

    background: #63636326;
    border-radius: 12px;

    padding: 12px;
    width: 100%;
}

/* Card */
.mc_photo-item {
    border-radius: 8px;
    overflow: hidden;
}

/* Image */
.mc_photo-item img {
    width: 100%;
    height: 332px;
    object-fit: cover;

    border: 1px solid #636363;
    border-radius: 6px;

    transition: transform 0.3s ease;
}

.mc_photo-item:hover img {
    transform: scale(1.05);
}

/* Mobile */
@media (max-width: 768px) {
    .mc_photo-row {
        grid-template-columns: 1fr;
    }
}

.mc_points-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mc_point-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ICON */
.mc_point-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mc_point-icon svg {
    width: 100%;
    height: 100%;
}

/* Circle = WHITE */
.mc_point-icon circle {
    fill: #FFFFFF;
    stroke: #FFFFFF;
}

/* Check = DARK (visible) */
.mc_point-icon path {
    stroke: #0e0e0e;
    /* change if needed */
}

/* TEXT (your exact style) */
.mc_point-text {
    color: #FFFFFF;
    font-family: "Open Sans";
    font-size: 18px;
    font-weight: 400;
    line-height: 32.4px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    padding-left: 5px;
}


.mc_author_image_only {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.mc_author_image_only img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .mc_author_image_only {
        width: 180px;
        height: 180px;
    }
}

.mc-faq-container {
    max-width: 900px;
    margin: 20px auto;
    font-family: sans-serif;
}

.mc-faq-item {
    margin-bottom: 10px;
    border-radius: 6px;
    background: #f2f2f2 !important;
    overflow: hidden;
}

/* FORCE OVERRIDE ELEMENTOR BUTTON STYLES */
.mc-faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    border: none !important;
    outline: none !important;
    background: #f2f2f2 !important;

    cursor: pointer;
    font-family: "Open Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;

    color: #333 !important;
    box-shadow: none !important;
}

/* kill hover overrides from theme */
.mc-faq-question:hover {
    background: #f2f2f2 !important;
    color: #333 !important;
}

/* icon */
.mc-icon {
    width: 10px;
    height: 10px;
    border-top: 2px solid #666;
    border-right: 2px solid #666;
    display: inline-block;
    margin-right: 15px;
    transform: rotate(45deg);
    transition: 0.3s;
}

/* active icon */
.mc-faq-item.active .mc-icon {
    transform: rotate(135deg);
}

/* answer */
.mc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #ececec !important;
}

.mc-faq-answer p {
    padding: 10px 25px 18px 45px;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: #555 !important;
}

.mc-faq-item.active .mc-faq-answer {
    max-height: 300px;
}

.testimonials-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.mc-rating {
    margin-bottom: 8px;
    display: flex;
    gap: 2px;
}

.mc-star {
    width: 16px;
    height: 16px;
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin: 0px;
    flex-grow: 1;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.testimonial-meta img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    font-size: 15px;
    color: #222;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Container & Thumb Styles */
.mc-learning-track .product-thumb {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000; /* Black background looks better during transitions */
    cursor: pointer;
}

.mc-learning-track .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
    /* Scaling/Transform removed */
}

/* Hide Icon Overlay by Default */
.mc-learning-track .mc-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Initial state is hidden */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Play Triangle Icon (Default state inside overlay) */
.mc-learning-track .mc-icon-overlay::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #000;
    margin-left: 5px;
}

/* Hover State: Show Icon & Dim Image Slightly */
.mc-learning-track .product-thumb:hover .mc-icon-overlay {
    opacity: 1;
    visibility: visible;
}

/* Modal Styles */
.mc-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}
.mc-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}
.mc-video-wrapper {
    position: relative;
    width: 1140px;
    aspect-ratio: 16/9;
    max-width: calc(100% - 40px);
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.mc-video-wrapper iframe { width: 100%; height: 100%; border: none; }
.mc-video-close , .mc-video-close:hover {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.mc-instructor-wrap {
    width: 100%;
}

.mc-instructor-inner {
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Circular Image Container */
.mc-instructor-image {
    flex: 0 0 320px;
}

.mc-image-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #FFFFFF; 
}

.mc-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content Styles */
.mc-instructor-content {
    flex: 1;
}

.mc-instructor-label {
    font-family: Arial, sans-serif;
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff; 
    font-weight: 400;
}

.mc-instructor-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.1;
    color: #ffffff; /* Inherits if on dark background */
}

.mc-instructor-bio p {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #d1d1d1;
    max-width: 800px;
    margin: 0;
}

.mc-instructor-link {
    font-size: 16px;
    color: #ec7a5c;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.mc-instructor-link:hover {
    border-bottom-color: #C9321A;
    text-decoration: none;
}

@media (max-width: 768px) {
    .mc-instructor-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .mc-image-circle {
        width: 240px;
        height: 240px;
        margin: 0 auto;
    }
    
    .mc-instructor-name {
        font-size: 36px;
    }
}

.mc-stats-bar {
    display: flex;
    align-items: center;
    gap: 40px;
    background: transparent; 
    padding-top: 30px;
    color: #fff;
}

.mc-stats-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-stats-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-stats-icon svg {
    width: 100%;
    height: 100%;
}

.mc-stats-text {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .mc-stats-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

.mc-button {
    background-color: #c9321a;
    color: #ffffff !important;
    
    display: inline-block;
    padding: 10px 12px;
    box-sizing: border-box;
    text-align: center;
    vertical-align: baseline;
    
    font-family: "Roboto", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 6px;
    
    cursor: pointer;
    box-shadow: none;
    transition: all 0.3s ease;
}

.mc-button:hover {
    background-color: #af2814;
    color: #ffffff !important;
    text-decoration: none;
    opacity: 0.9;
}