/* =========================================================================
   SMAZTech — LifterLMS Course Page — FULL WIDTH (Udemy-style) Layout
   Brand color: #c64331
   Add via: Appearance → Customize → Additional CSS (or child theme style.css)
   ========================================================================= */

/* ---------- 1. BRAND VARIABLES ---------- */
:root {
  --smaz-brand: #c64331;
  --smaz-brand-dark: #a8362a;
  --smaz-brand-light: rgba(198, 67, 49, 0.1);
  --smaz-dark: #1c1d1f;       /* Udemy-style near-black hero */
  --smaz-dark-2: #2d2f31;
  --smaz-text: #2d2f31;
  --smaz-muted: #6a6f73;
  --smaz-border: #e4e7ec;
  --smaz-bg: #f7f7f9;
  --smaz-white: #ffffff;
  --smaz-star: #e59819;
  --smaz-radius: 10px;
  --smaz-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --smaz-font: 'Poppins', 'Inter', 'Segoe UI', Arial, sans-serif;
  --smaz-maxw: 1340px;
}


.llms-meta-info{
    display:none !important;
}
/* ---------- 2. FULL-BLEED HELPER (breaks element out of any parent container) ---------- */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}


.course-content-wraper{
      display: grid;
    grid-template-columns: 65% 35%;
    gap: 20px; /* Optional */ align-items: start; /* Prevent stretching */
    position:relative;
}
.course-content-wraper .course-content-sidebar{
    
    background: var(--smaz-white);
    border-radius: var(--smaz-radius);
    box-shadow: var(--smaz-shadow);
    padding: 15px;
    position:sticky;
    top:66px; align-items: start; /* Prevent stretching */
    z-index:9;
    
    }
    
    .course-content-wraper .course-content-sidebar img{
        border-radius: var(--smaz-radius);
        margin-bottom:10px;
    }
    
    .course-content-left .course-content{
        background: var(--smaz-white);
    border-radius: var(--smaz-radius);
    box-shadow: var(--smaz-shadow);
    padding: 30px;
    margin-bottom:20px;
    }
       .course-content-left .course-content  p
 {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #6A6972;
    margin: 0px;
    margin-top:15px;
}

.enroll-btn a{
    color: #ffffff;
    background: #c64331;
    padding:15px;
    width:100%;
    color:#fff;
    border-radius:36px;
    margin:10px 0px;
    text-align:center;
}

.enroll-btn p{
    font-size:12px;
    line-height:16px;  text-align:center;
}

.course-duration-date-type .course-ddt-row{
       display: grid;
    margin-bottom: 10px;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: #e3e0e0 solid 1px;
    padding-bottom: 9px;
    grid-template-columns: 1fr 1fr;
    align-items: center;

}

.course-duration-date-type .course-ddt-row .course-fee-item{
       font-size: 18px;
        font-weight: bold;
        color:#c64331;
}
.course-duration-date-type .course-ddt-row .course-ddt-title{
    font-weight: bold;
}
.course-duration-date-type h3{
    font-size:18px;
    margin-bottom:15px;
    
}
.course-downloads h3{
    font-size:18px;
    margin-bottom:15px;
    
}
 
.course-downloads ul li a svg{
    margin-right:10px;width: 30px;
}

.course-downloads ul li a{
       display: flex;
    margin-bottom: 10px;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: #e3e0e0 solid 1px;
    padding-bottom: 9px;
    text-align:left;
    color:#000;
    align-items:center;

}
.course-downloads ul li a .pdf-icon{
     display: flex;
      align-items:center;
       justify-content: space-between;
}
 .course-downloads ul li a .pdf-download-link{
     background: #c64331;
  padding:  5px 10px; 
  color: #fff; font-size: 10px;
  border-radius: 36px; 
  text-align: center;
  height:25px;
 }
/* ---------- 3. ARTICLE WRAPPER ---------- */
article.course.type-course {
  font-family: var(--smaz-font);
  color: var(--smaz-text);
  width: 100%;
}

/* ---------- 4. HERO / HEADER — FULL WIDTH DARK BANNER ---------- */
article.course .entry-header.alignwide {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
      background: #96281b;
      padding: 120px calc(50% - 470px)  110px;
  box-sizing: border-box;
 display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

article.course .entry-header.alignwide > div:not(.entry-title) {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

article.course .entry-title {
  color: var(--smaz-white);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  max-width: 700px;
  margin: 0 0 16px;
}

/* Small kicker line above title (auto-added) */
article.course .entry-header.alignwide::before {
content: "Online Course";
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}

/* ---------- 5. ENTRY CONTENT — WIDE CONTAINER, PULLED UP OVER HERO ---------- */
article.course .entry-content {
  width: 100vw;
 
 
   
  padding: 40px calc(50% - 470px) 60px;
  box-sizing: border-box;
   /* pulls content up so the floating card overlaps hero */
}

/* First paragraph = subtitle, sits inside hero visually via negative margin trick */
article.course .entry-content > p:first-child {
  max-width: 620px;
  color: #000;
  font-size: 17px;
  line-height: 1.65;
  
  padding-top: 0;
  position: relative;
 
  padding-bottom: 0;
}
 

/* ---------- 6. INSTRUCTOR / META CARD — FLOATS RIGHT LIKE UDEMY PRICE CARD ---------- */
.llms-meta-info {
  max-width: var(--smaz-maxw);
  margin: 0 auto;
}

.llms-instructor-info {
   display:none;
  background: var(--smaz-white);
  border-radius: var(--smaz-radius);
  box-shadow: var(--smaz-shadow);
  padding: 24px;
  margin:  0px 0 30px 30px; /* pulls the card up to overlap the hero, Udemy-style */
  position: relative;
  z-index: 5;
}

.llms-meta-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #000;
  margin: 0 0 16px;
}

.llms-instructors.llms-cols {
  display: block;
}

.llms-author {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.llms-author .avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid var(--smaz-bg);
  flex-shrink: 0;
}

.llms-author-info.name {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--smaz-dark);
}

.llms-author-info.label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--smaz-brand);
  background: var(--smaz-brand-light);
  padding: 2px 8px;
  border-radius: 20px;
  margin: 4px 0 8px;
}

.llms-author-info.bio {
  font-size: 13px;
  line-height: 1.6;
  color: var(--smaz-muted);
  margin: 0;
}

/* Enroll CTA button injected visually into the floating card */
.llms-instructor-info::after {
  content: "Enroll Now";
  display: block;
  text-align: center;
  background: var(--smaz-brand);
  color: var(--smaz-white);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 0;
  border-radius: 8px;
  margin-top: 20px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.llms-instructor-info:hover::after {
  background: var(--smaz-brand-dark);
  transform: translateY(-1px);
}

.clear { clear: both; }

/* ---------- 7. SYLLABUS / CURRICULUM — FULL WIDTH WIDE CONTAINER ---------- */
.llms-syllabus-wrapper {
  max-width: var(--smaz-maxw);
  margin: 0 auto;
  background: var(--smaz-white);
  border-radius: var(--smaz-radius);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  padding: 36px;
  clear: both;
}

.llms-h3.llms-section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--smaz-dark);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--smaz-brand);
  display: inline-block;
}

.llms-lesson-preview {
  border: 1px solid var(--smaz-border);
  border-radius: 8px;
  margin-bottom: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.llms-lesson-preview:hover {
  border-color: var(--smaz-brand);
  box-shadow: 0 3px 14px rgba(198, 67, 49, 0.12);
}

.llms-lesson-preview section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  width:100%;
}
.author-link{
    display:none !important;
}
.llms-lesson-link {
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.llms-lesson-preview-row {
  display: flex;
  align-items: center;
  gap: 18px;
   
}

.llms-lesson-counter {
  display: flex;
  align-items: center;
  justify-content: center;
padding:5px 10px;
  border-radius: 10px;
  background: var(--smaz-brand-light);
  border: 1.5px solid var(--smaz-brand);
  color: var(--smaz-brand);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.llms-lesson-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--smaz-dark);
}

.llms-lesson-preview:hover .llms-lesson-title {
  color: var(--smaz-brand);
}

.llms-lesson-meta.llms-has-favorite {
  flex-shrink: 0;
  padding-left: 14px;
}

.llms-favorite-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.llms-favorite-btn.llms-heart-btn {
  color: #d0d5dd;
  font-size: 17px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
}

.llms-favorite-btn.llms-heart-btn:hover {
  color: var(--smaz-brand);
  transform: scale(1.15);
}

.llms-favorites-count {
  font-size: 12px;
  color: var(--smaz-muted);
  font-weight: 600;
}

/* ---------- 8. NOT ENROLLED BANNER ---------- */
article.course.not-enrolled .llms-syllabus-wrapper::after {
  content: "🔒 Enroll to unlock all lessons";
  display: block;
  margin-top: 16px;
  padding: 13px 18px;
  background: var(--smaz-brand-light);
  border: 1px dashed var(--smaz-brand);
  border-radius: 8px;
  color: var(--smaz-brand-dark);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}

/* ---------- 9. FOOTER / AUTHOR BIO — FULL WIDTH DARK STRIP ---------- */
.entry-footer.default-max-width {
  max-width: var(--smaz-maxw);
  margin: 40px auto 0;
}

.author-bio.show-avatars {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #ad2b19;
  padding: 40px calc(50% - 470px);
  box-sizing: border-box;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 40px;
}

.author-bio .avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.author-bio-content { flex: 1; max-width: var(--smaz-maxw); }

.author-title {
  color: var(--smaz-white);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}

.author-description {
  color: #cfd2d6;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 720px;
}

.author-link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--smaz-white);
  background: var(--smaz-brand);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.author-link:hover {
  background: var(--smaz-brand-dark);
  transform: translateY(-1px);
}




/* ---------- 8. COURSE OUTLINE — TWO-COLUMN CHECKLIST CARD ---------- */
.course-outline {
  grid-area: outline;
  background: var(--smaz-white);
  border-radius: var(--smaz-radius);
  box-shadow: var(--smaz-shadow);
  padding: 30px;
  margin-bottom:20px;
}

.course-outline h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--smaz-dark);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--smaz-brand);
  display: inline-block;
}

.course-outline ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px ;
}

.course-outline li {
  position: relative;
  padding: 8px 12px 8px 26px;
  font-size: 13px;
  font-weight: 500;
  color: var(--smaz-text);
  background: var(--smaz-bg);
  border-radius: 8px;
  border: 1px solid var(--smaz-border);
  transition: border-color 0.2s ease, background 0.2s ease;
 display: flex;
    align-items: center;
    line-height: 1.3;
}

.course-outline li::before {
  content: "✓";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--smaz-brand);
  font-weight: 800;
  font-size: 13px;
}

.course-outline li:hover {
  border-color: var(--smaz-brand);
  background: var(--smaz-brand-light);
}

.course-outline p {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #6A6972;
    margin: 0px;
    margin-bottom: 15px;
}

.course-outline  .topics-covered{
    padding:0px 15px;
   margin-bottom:15px;
}
.course-outline  .topics-covered h3{
   font-size:16px;
   margin-bottom:15px;
}

.course-outline  .topics-covered li::before { 
    left: 2px;
}

.course-outline  .topics-covered li { 
    padding: 0px 20px; 
    border-radius: 0px;
    background:none !important;
    border: 0px; 
    /* border-bottom: #ccc solid 1px; */
}

/* ---------- 10. RESPONSIVE ---------- */
@media (max-width: 1200px) {
  article.course .entry-header.alignwide,
  article.course .entry-content,
  .author-bio.show-avatars {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 992px) {
  .llms-instructor-info {
    float: none;
    width: 100%;
    margin: -60px 0 24px;
  }

  article.course .entry-content > p:first-child {
    top: -40px;
  }
}

@media (max-width: 700px) {
  article.course .entry-title { font-size: 26px; }

  article.course .entry-header.alignwide { padding-bottom: 110px; }

  article.course .entry-content > p:first-child {
    top: -20px;
    margin-bottom: 20px;
  }

  .llms-instructor-info { margin-top: -40px; }

  .llms-syllabus-wrapper { padding: 22px; }

  .llms-lesson-preview section { flex-wrap: wrap; padding: 0 14px; }

  .author-bio.show-avatars {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* ---------- RESPONSIVE FIXES: course-content-wraper & outline ---------- */

@media (max-width: 992px) {
  .course-content-wraper {
    grid-template-columns: 1fr; /* single column on tablet/mobile */
    flex-direction: column-reverse;
  }
  
  .course-content-left {
    order: 2;
  }

  .course-sidebar {
    order: 1;
  }

  .course-content-wraper .course-content-sidebar {
    position: static; /* sticky hata dein warna scroll par overlap hoga */
    top: auto;
    margin-top: 20px;
  }

  .course-outline ul {
    grid-template-columns: 1fr; /* 2-column checklist -> 1 column */
  }
}

@media (max-width: 700px) {
  .course-content-wraper {
    gap: 15px;
  }

  .course-content-left .course-content {
    padding: 20px;
  }

  .course-content-wraper .course-content-sidebar {
    padding: 15px;
  }

  .course-outline {
    padding: 20px;
  }

  .course-duration-date-type .course-ddt-row {
    font-size: 13px;
    flex-wrap: wrap;
  }

  .enroll-btn a {
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
    
    .course-content h2{
        font-size:21px;
    }
  article.course .entry-title {
    font-size: 22px;
  }

  .course-outline h2,
  .course-content-sidebar h3 {
    font-size: 18px;
  }

  .banner-enroll-btn a {
    padding: 0 16px;
    font-size: 14px;
    line-height: 40px;
  }

  .enroll-popover {
    width: 220px;
    font-size: 12px;
  }
  .smaz-module  .smaz-module__title {
  font-size: 14.5px!important;
  line-height: 1.3!important;
}
 .smaz-module .smaz-module__trigger {
padding: 12px 15px!important;
  width: 89% !important;
  }
  article.course .entry-header.alignwide > div:not(.entry-title) {
  
  font-size: 14px;
  line-height: 1.4;
  }
  
   article.course .entry-header.alignwide, article.course .entry-content, .author-bio.show-avatars {
    padding-left: 20px;
    padding-right: 20px;
  }
}