/* Tutor-like single course layout for LearnDash (Geeks Child) */

.loq-course { background: #f5f7fb; }

.loq-container{
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.loq-course-hero{
  padding: 72px 0 70px;
  background: linear-gradient(135deg, #0c6e72, #0f969b);
  color: #fff;
  position: relative;
}

#btn-join, .btn-join {
    background: #0f969b;
    border: 1px solid white;
}
#btn-join:visited, .btn-join:visited {
    color: #fff;
    background: #0f969b;
    border-color: #fff;
}
#btn-join:hover, .btn-join:hover {
    background: #fff;
    color: #0f969b;
    border-color: #0c6e72;
}

.loq-hero-grid{
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 40px;
  align-items: center;
}

.loq-breadcrumb{
  opacity: .9;
  font-size: 14px;
  margin-bottom: 12px;
}
.loq-breadcrumb a{ color:#fff; text-decoration: none; border-bottom:1px solid rgba(255,255,255,.35); }
.loq-breadcrumb a:hover{ border-bottom-color: rgba(255,255,255,.7); }
.loq-sep{ margin: 0 8px; opacity: .8; }

.loq-course-title{
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  margin: 0 0 14px;
  font-weight: 800;
  color: #fff;
}

.loq-course-subtitle{
  margin: 0 0 18px;
  max-width: 60ch;
  opacity: .95;
  font-size: 16px;
}

.loq-course-meta{
  display:flex;
  flex-wrap:wrap;
  gap: 14px 18px;
  margin: 18px 0 0;
}
.loq-meta-item{
  display:flex;
  gap: 8px;
  align-items:center;
  font-size: 14px;
  opacity: .95;
}
.loq-meta-ic{ opacity:.95; }

.loq-hero-actions{ margin-top: 22px; }
.loq-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration:none;
  font-weight: 700;
  cursor:pointer;
  font-size: 14px;
}
.loq-btn-block{ width:100%; }
.loq-btn-primary{ background:#5b3df5; color:#fff; }
.loq-btn-primary:hover{ filter: brightness(1.05); }
.loq-btn-light{ background: rgba(255,255,255,.16); color:#fff; border-color: rgba(255,255,255,.22); }
.loq-btn-light:hover{ background: rgba(255,255,255,.22); }
.loq-btn-outline{ background:#fff; color:#111827; border-color: #e5e7eb; }
.loq-btn-outline:hover{ background:#f9fafb; }

.loq-hero-media{ display:flex; justify-content:flex-end; }
.loq-hero-thumb{
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16/9;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.loq-hero-thumb--placeholder{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
}

.loq-course-body{ 
    position: relative;
    padding: 0 0 60px; }

.loq-body-grid{
  display:grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
}

.loq-main{
  background: transparent;
}

.loq-section-nav{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.loq-section-links{
  display: grid;
  gap: 10px;
  margin: 6px 0 14px;
}

.loq-section-link{
  background: #fff;
  color: #0f969b;
  border: 0;
  box-shadow: 0 4px 10px rgba(15, 150, 155, 0.08);
}

.loq-section-link:hover{
  background: #f9fefe;
  color: #0c6e72;
}

.loq-access-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fbfc;
  color: #0f969b;
  font-weight: 800;
  margin: 0 0 14px;
}

.loq-access-label{
  color: #0c6e72;
}

.loq-access-value{
  color: #0f969b;
}

.loq-section-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: #0c6e72;
  background: #e8f6f7;
  text-decoration: none;
  border: 1px solid transparent;
}

.loq-section-btn:hover{
  background: #dff1f2;
  color: #0a6064;
}

.loq-section{
  scroll-margin-top: 120px;
  margin-bottom: 18px;
}

.loq-section-title{
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px;
  color: #111827;
}

.loq-section-inner{
  background:#fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.loq-lessons{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.loq-lesson{
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  background: #fbfdff;
}

.loq-lesson-main{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.loq-lesson-title{
  font-weight: 800;
  color: #111827;
  text-decoration: none;
}

.loq-lesson-title:hover{
  color: #0c6e72;
}

.loq-lesson-status{
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #6b7280;
}

.loq-lesson-completed .loq-lesson-status{
  background: #e6f7ef;
  color: #0f766e;
}

.loq-lesson-notavailable .loq-lesson-status{
  background: #fff1f2;
  color: #b42318;
}

.loq-lesson-sub{
  margin-top: 8px;
  font-size: 13px;
  color: #6b7280;
}

.loq-course-meta-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.loq-course-meta-item{
  color: #6b7280;
}

.loq-course-faq{
  margin-top: 10px;
  border-top: 1px dashed #e5e7eb;
  padding-top: 8px;
}

.loq-course-faq-toggle{
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  color: #0c6e72;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.loq-course-faq-toggle::-webkit-details-marker{
  display: none;
}

.loq-course-faq-toggle::after{
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #0c6e72;
  border-bottom: 2px solid #0c6e72;
  transform: rotate(-45deg);
  transition: transform .2s ease;
}

.loq-course-faq[open] .loq-course-faq-toggle::after{
  transform: rotate(45deg);
}

.loq-course-faq-body{
  margin-top: 8px;
  color: #374151;
  font-size: 13px;
}
.loq-educator-card{
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #f7fbff, #ffffff);
}

.loq-educator-logo{
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #e8f6f7;
  border: 1px solid #d6eef0;
  overflow: hidden;
}

.loq-educator-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.loq-educator-logo-fallback{
  font-weight: 900;
  color: #0c6e72;
  letter-spacing: 0.08em;
}

.loq-educator-info{
  display: grid;
  gap: 6px;
}

.loq-educator-name{
  font-size: 18px;
  font-weight: 900;
  color: #111827;
}

.loq-educator-meta{
  font-size: 13px;
  color: #6b7280;
}

.loq-educator-bio{
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.loq-sidebar{ position: relative; margin-top: -50px; }

.loq-card{
  background:#fff;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  position: sticky;
  top: 120px;
}

.loq-card-thumb img{
  width:100%;
  height:auto;
  display:block;
}

.loq-card-body{ padding: 18px; }

.loq-price-row{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}
.loq-price{
  font-size: 22px;
  font-weight: 900;
  color:#111827;
}

.loq-cta .learndash_join_button,
.loq-join-inline .learndash_join_button{
  width:100% !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-weight: 800 !important;
}

.loq-divider{
  height:1px;
  background:#eef2f7;
  margin: 16px 0;
}

.loq-includes-title{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color:#111827;
}

.loq-includes{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 12px;
  color:#111827;
  font-size: 14px;
}
.loq-includes li{
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.loq-arrow{
  color:#0f969b;
  font-weight: 900;
}
.loq-include-label{
  color:#111827;
  font-weight: 700;
}
.loq-include-value{
  color:#6b7280;
  font-weight: 700;
  text-align: right;
}

.loq-facts{
  margin:0;
  display:grid;
  gap: 10px;
  font-size: 14px;
}
.loq-fact{
  display:flex;
  justify-content: space-between;
  gap: 16px;
}
.loq-fact dt{ color:#6b7280; }
.loq-fact dd{ margin:0; font-weight: 800; color:#111827; }

.loq-note{
  margin-top: 14px;
  font-size: 12px;
  color:#6b7280;
}

/* Responsive */
@media (max-width: 980px){
  .loq-hero-grid{ grid-template-columns: 1fr; }
  .loq-body-grid{ grid-template-columns: 1fr; margin-top: -40px; }
  .loq-card{ position: relative; top: 0; }
  .loq-hero-media{ justify-content: flex-start; }
}
