/* Custom TutorLMS Course Grid/Card Styles */

.custom-tutor-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px #0002;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
  min-width: 380px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 0, 0, 0.1)
}
.custom-tutor-card .custom-tutor-thumbnail {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  margin-bottom: 10px;
  background: #F6F6F6;
}
.custom-tutor-card .custom-tutor-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  padding: 0 24px;
}
.custom-tutor-card .custom-tutor-tag {
  background: #F6F6F6;
  color: #222;
  font-size: 11px;
  padding: 2px 14px;
  border-radius: 12px;
  line-height: 1.8;
}
.custom-tutor-card .custom-tutor-title {
  font-weight: 400;
  font-size: 16px;
  min-height: 35px;
  margin-bottom: 5px;
  color: #1A2341;
  padding: 0 24px;
}
.custom-tutor-card .custom-tutor-meta {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 11px;
  color: #0A153D;
  margin-bottom: 0;
  padding: 15px 0px 15px 0px;
  border-top: 1.5px solid rgba(0,0,0,0.05);
  border-bottom: 1.5px solid rgba(0,0,0,0.05);
  gap: 0;
}


.details-btn {
width: 100%;
background-color: #56B2A5 !important;
border-color: #56B2A5 !important;
color: white !important;
text-align: center;
padding: 12px 24px;
border-radius: 8px;
font-weight: 400;
font-size: 12px;
transition: all 0.3s ease;
display: flex;
justify-content: center;
align-items: center;
}

.custom-tutor-card .custom-tutor-meta-item {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.custom-tutor-card .custom-tutor-meta-icon {
  display: inline-flex;
  align-items: center;
  scale: 1.4;
}
.custom-tutor-card .custom-tutor-instructor {
  display: flex;
  align-items: center;
  gap: 14px;
}
.custom-tutor-card .custom-tutor-instructor-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #F0F1F3;
}
.custom-tutor-card .custom-tutor-instructor-info {
  flex: 1;
}
.custom-tutor-card .custom-tutor-instructor-name {
  font-weight: 500;
  font-size: 12px;
  color: #1A2341;
}
.custom-tutor-card .custom-tutor-instructor-bio {
  font-size: 12px;
  color: #8A94A6;
  margin-top: 3px;
  line-height: 1.6;
}
.custom-tutor-card .custom-tutor-footer {
  border-top: 1px solid #F0F1F3;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.custom-tutor-card .custom-tutor-price {
  font-size: 12px;
  font-weight: 500;
  color: #1A2341;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  margin-top: 10px;
  text-align: center;
  justify-content: center;

}

.custom-tutor-price .price {
  font-size: 16px;
}

/* Regular price (when no sale) */
.custom-tutor-card .custom-tutor-price .regular-price {
  font-size: 16px;
  font-weight: 600;
  color: #1A2341;
}

/* Regular price (when there's a sale) */
.custom-tutor-card .custom-tutor-price:has(.sale-price) .regular-price {
  font-size: 14px;
  color: #8A94A6;
  text-decoration: line-through;
  font-weight: 400;
  margin-bottom: 2px;
}

/* Sale price */
.custom-tutor-card .custom-tutor-price .sale-price {
  font-size: 14px;
  font-weight: 500;
  color: #1A2341;
}

/* Free price */
.custom-tutor-card .custom-tutor-price .free-price {
  font-size: 14px;
  font-weight: 500;
  color: #2E7D32;
}

/* Enrollment button container */
.custom-tutor-card .custom-tutor-enroll {
  margin-top: 8px;
}

/* Style the TutorLMS enrollment button */
.custom-tutor-card .custom-tutor-enroll .tutor-button {
  width: 100%;
  margin: 0;
  display: block;
  text-align: center;
  background: #1A2341;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 0;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px #0001;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}

.custom-tutor-card .custom-tutor-enroll .tutor-button:hover,
.custom-tutor-card .custom-tutor-enroll .tutor-button:focus {
  background: #22306d;
  color: #fff;
}

/* Style different button states */
.custom-tutor-card .custom-tutor-enroll .tutor-button.tutor-button-outline {
  background: transparent;
  border: 1px solid #1A2341;
  color: #1A2341;
}

.custom-tutor-card .custom-tutor-enroll .tutor-button.tutor-button-outline:hover {
  background: #1A2341;
  color: #fff;
}

.custom-tutor-card .custom-tutor-enroll .tutor-button.tutor-button-success {
  background: #2E7D32;
}

.custom-tutor-card .custom-tutor-enroll .tutor-button.tutor-button-success:hover {
  background: #1B5E20;
}

/* Course Single Page Styles */
.tutor-course-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #1A2341;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F0F1F3;
}

/* Video Section */
.tutor-course-video-section {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px #0002;
}

/* Course Description */
.tutor-course-description-section {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 24px #0002;
}

.tutor-course-description {
    font-size: 16px;
    line-height: 1.6;
    color: #4A5568;
}

/* Benefits Section */
.tutor-course-benefits-section {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 24px #0002;
}

.tutor-course-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Curriculum Section */
.tutor-course-curriculum-section {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 24px #0002;
}

/* Instructor Section */
.tutor-course-instructor-section {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 24px #0002;
}

/* Reviews Section */
.tutor-course-reviews-section {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 24px #0002;
}

/* Enhanced Enrollment Box */
.tutor-course-enrollment-box {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 24px #0002;
}

.tutor-course-thumbnail {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.tutor-course-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.tutor-course-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F0F1F3;
}

.tutor-course-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.tutor-course-meta-icon {
    width: 40px;
    height: 40px;
    background: #F6F6F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A2341;
}

.tutor-course-meta-value {
    font-size: 14px;
    color: #4A5568;
    font-weight: 500;
}

/* Sidebar Sections */
.tutor-course-sidebar-sections {
    margin-top: 32px;
}

.tutor-course-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #1A2341;
    margin-bottom: 16px;
}

.tutor-course-requirements-section,
.tutor-course-tags-section,
.tutor-course-audience-section {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 24px #0002;
}

/* Responsive */
@media (max-width: 991px) {
    .tutor-course-benefits {
        grid-template-columns: 1fr;
    }
    .tutor-course-meta {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .tutor-course-section-title {
        font-size: 20px;
    }
    
    .tutor-course-description-section,
    .tutor-course-benefits-section,
    .tutor-course-curriculum-section,
    .tutor-course-instructor-section,
    .tutor-course-reviews-section {
        padding: 24px;
    }
    .tutor-course-meta {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .tutor-course-meta-icon {
        width: 32px;
        height: 32px;
    }
    
    .tutor-course-meta-value {
        font-size: 12px;
    }
    
    .tutor-course-sidebar-title {
        font-size: 16px;
    }
} 

.tutor-single-course-sidebar .tutor-sidebar-card .tutor-card-body {
  background-color: #ffffff;

}

.tutor-sidebar-card {
  border: 0px !important;
}


.tutor-course-details-header{
  display: none !important;
}

/* Consistent Typography for Single Course Page */

/* Main headings (section titles) */
.tutor-course-section-title,
.tutor-course-title {
    font-size: 22px;
    font-weight: 700;
    color: #1A2341;
    margin-bottom: 18px;
    line-height: 1.3;
}

/* Subheadings (if any) */
.tutor-course-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #22306d;
    margin-bottom: 12px;
}

/* Body text */
.tutor-course-description,
.tutor-course-benefits,
.tutor-course-curriculum,
.tutor-course-instructor,
.tutor-course-reviews,
.tutor-course-features-list,
.tutor-course-requirements-section,
.tutor-course-tags-section,
.tutor-course-audience-section {
    font-size: 15px;
    font-weight: 400;
    color: #4A5568;
    line-height: 1.7;
}

/* List items */
.tutor-course-features-list li,
.tutor-course-benefits li {
    font-size: 15px;
    color: #1A2341;
    font-weight: 400;
    margin-bottom: 8px;
}

/* Buttons */
.tutor-btn,
.tutor-button {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .tutor-course-section-title,
    .tutor-course-title {
        font-size: 18px;
    }
    .tutor-course-description,
    .tutor-course-benefits,
    .tutor-course-curriculum,
    .tutor-course-instructor,
    .tutor-course-reviews,
    .tutor-course-features-list,
    .tutor-course-features-list li {
        font-size: 14px;
    }
    .tutor-btn,
    .tutor-button {
        font-size: 15px;
    }
}

/* --- Consistent Typography for All Course Sections --- */

/* Section Titles (h2, h3, etc.) */
.tutor-course-section-title,
.tutor-course-title,
.tutor-course-requirements-section > h2,
.tutor-course-tags-section > h2,
.tutor-course-audience-section > h2,
.tutor-course-instructor-section > h2,
.tutor-course-reviews-section > h2,
.tutor-course-benefits-section > h2,
.tutor-course-curriculum-section > h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1A2341 !important;
    margin-bottom: 18px !important;
    line-height: 1.3 !important;
    letter-spacing: 0;
}

/* Body and List Text */
.tutor-course-description,
.tutor-course-benefits,
.tutor-course-curriculum,
.tutor-course-instructor,
.tutor-course-reviews,
.tutor-course-features-list,
.tutor-course-features-list li,
.tutor-course-requirements-section,
.tutor-course-tags-section,
.tutor-course-audience-section,
.tutor-course-instructor-section,
.tutor-course-reviews-section,
.tutor-course-benefits-section,
.tutor-course-curriculum-section,
.tutor-course-requirements-section li,
.tutor-course-tags-section li,
.tutor-course-audience-section li {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #4A5568 !important;
    line-height: 1.7 !important;
    letter-spacing: 0;
}

/* List items (make sure all lists are consistent) */
.tutor-course-features-list li,
.tutor-course-benefits li,
.tutor-course-curriculum li,
.tutor-course-requirements-section li,
.tutor-course-tags-section li,
.tutor-course-audience-section li {
    font-size: 16px !important;
    color: #1A2341 !important;
    font-weight: 400 !important;
    margin-bottom: 8px !important;
    line-height: 1.7 !important;
}



/* Remove any inherited font-size from .tutor-single-course-sidebar or .tutor-card */
.tutor-single-course-sidebar,
.tutor-card {
    font-size: unset !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .tutor-course-section-title,
    .tutor-course-title,
    .tutor-course-requirements-section > h2,
    .tutor-course-tags-section > h2,
    .tutor-course-audience-section > h2,
    .tutor-course-instructor-section > h2,
    .tutor-course-reviews-section > h2,
    .tutor-course-benefits-section > h2,
    .tutor-course-curriculum-section > h2 {
        font-size: 18px !important;
    }
    .tutor-course-description,
    .tutor-course-benefits,
    .tutor-course-curriculum,
    .tutor-course-instructor,
    .tutor-course-reviews,
    .tutor-course-features-list,
    .tutor-course-features-list li,
    .tutor-course-requirements-section,
    .tutor-course-tags-section,
    .tutor-course-audience-section,
    .tutor-course-instructor-section,
    .tutor-course-reviews-section,
    .tutor-course-benefits-section,
    .tutor-course-curriculum-section,
    .tutor-course-requirements-section li,
    .tutor-course-tags-section li,
    .tutor-course-audience-section li {
        font-size: 14px !important;
    }
    .tutor-btn,
    .tutor-button {
        font-size: 15px !important;
    }
}

/* === Single Lesson Page Modern Card Layout === */

/* Main lesson wrapper */
.tutor-course-single-content-wrapper {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
}

/* Sidebar (course content) */
.tutor-course-single-sidebar-wrapper {
  flex: 0 0 340px;
  max-width: 340px;
  min-width: 260px;
}
.tutor-course-single-sidebar-wrapper .tutor-lesson-sidebar {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px #0002;
  padding: 24px 0 24px 0;
  min-height: 400px;
}

/* Main lesson content area */


/* Lesson title */
#tutor-single-entry-content .tutor-lesson-title,
#tutor-single-entry-content h2,
#tutor-single-entry-content h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1A2341;
  margin-bottom: 18px;
  text-align: right;
}

/* Video player */
#tutor-single-entry-content .tutor-video-wrap,
#tutor-single-entry-content .tutor-lesson-video {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #f6f6f6;
  box-shadow: 0 2px 12px #0001;
}

/* Tabs (overview, comments, attachments) */
.tutor-lesson-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid #F0F1F3;
  padding-bottom: 8px;
}
.tutor-lesson-tabs .tutor-lesson-tab {
  font-size: 16px;
  color: #1A2341;
  font-weight: 500;
  background: none;
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tutor-lesson-tabs .tutor-lesson-tab.active,
.tutor-lesson-tabs .tutor-lesson-tab:hover {
  background: #f5f7fa;
  color: #22306d;
  font-weight: 700;
}

/* Attachments section */
.tutor-lesson-attachments {
  margin-top: 18px;
}
.tutor-lesson-attachments .tutor-attachment-item {
  background: #f8f9fb;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: #1A2341;
  box-shadow: 0 2px 8px #0001;
}
.tutor-lesson-attachments .tutor-attachment-item svg,
.tutor-lesson-attachments .tutor-attachment-item i {
  color: #22306d;
  font-size: 18px;
}

/* Comments and overview sections */
.tutor-lesson-comments,
.tutor-lesson-overview {
  margin-top: 18px;
  font-size: 15px;
  color: #4A5568;
  line-height: 1.7;
}

/* Progress bar on mobile */
.tutor-spotlight-mobile-progress-complete {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #0001;
  margin-bottom: 18px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .tutor-course-single-content-wrapper {
      flex-direction: column-reverse;
      gap: 24px;
  }
  .tutor-course-single-sidebar-wrapper {
      max-width: 100%;
      min-width: 0;
  }
  #tutor-single-entry-content {
      padding: 20px 10px 16px 10px;
  }
}