/*
 Theme Name:   Studyhub Child
 Theme URI:    https://studyhub.themewant.com
 Description:  Studyhub Child
 Author:       ReacThemes
 Author URI:   http://reactheme.com
 Template:     studyhub
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

/* ConEdu LearnDash list-3 visual override */
.conedu-course-list article,
.conedu-course-list .ld-course-list-item,
.conedu-course-list .thumbnail.course,
.conedu-course-list .ld_course_grid {
  display: grid !important;
  grid-template-columns: 30% 70% !important;
  border: 1px solid #e8edf5 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06) !important;
  overflow: hidden !important;
  margin-bottom: 18px !important;
}

.conedu-course-list .ld-course-thumbnail,
.conedu-course-list .ld-course-thumbnail a,
.conedu-course-list article > a:first-child {
  height: 100%;
  min-height: 180px;
}

.conedu-course-list .ld-course-thumbnail img,
.conedu-course-list article > a:first-child img,
.conedu-course-list .thumbnail.course img {
  width: 100% !important;
  height: 100% !important;
  min-height: 180px;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

.conedu-course-list .ld-course-list-content,
.conedu-course-list .caption,
.conedu-course-list article > div {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.conedu-course-list .ld-course-meta,
.conedu-course-list .ld-course-author,
.conedu-course-list .ld_course_grid_author,
.conedu-course-list .author {
  display: none !important;
}

.conedu-course-list .ld-button,
.conedu-course-list a.button,
.conedu-course-list .ld-course-list-items a[href*="/courses/"] {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 8px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1f2a37 !important;
  font-family: Hind, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
}

.conedu-course-list .ld-button::after,
.conedu-course-list a.button::after,
.conedu-course-list .ld-course-list-items a[href*="/courses/"]::after {
  content: "→";
  font-size: 14px;
  transition: transform .2s ease;
}

.conedu-course-list .ld-button:hover::after,
.conedu-course-list a.button:hover::after,
.conedu-course-list .ld-course-list-items a[href*="/courses/"]:hover::after {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .conedu-course-list article,
  .conedu-course-list .ld-course-list-item,
  .conedu-course-list .thumbnail.course,
  .conedu-course-list .ld_course_grid {
    grid-template-columns: 1fr !important;
  }

  .conedu-course-list .ld-course-thumbnail img,
  .conedu-course-list article > a:first-child img,
  .conedu-course-list .thumbnail.course img {
    max-height: 230px;
  }
}

/* ConEdu requested list-1 theme styles */
#conedu-list-1 .item.list-1 article {
  border: 1px solid #EFECFF;
  border-radius: 6px;
  padding: 24px;
  background: #fff;
  margin-bottom: 30px;
  overflow: hidden;
}

#conedu-list-1 .item.list-1 .button-wrapper .link {
  background: #14452F;
  color: #fff !important;
  padding: 10px 28px;
  border-radius: 4px;
  border: 1px solid #14452F;
  border-bottom: none;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

#conedu-list-1 .item.list-1 .button-wrapper .link:hover {
  background: #0d3320;
}

#conedu-list-1 .item.list-1 .button-wrapper .button {
  display: none;
}

#conedu-list-1 .pagination .load-more {
  background: #14452F !important;
  border-color: #14452F !important;
  color: #fff !important;
  border-radius: 4px;
  padding: 10px 28px;
  transition: background 0.3s ease;
}

#conedu-list-1 .pagination .load-more:hover {
  background: #0d3320 !important;
  border-color: #0d3320 !important;
}

/* ===== ConEdu list-3: match "Read Our Latest News" look ===== */
#conedu-list-3 .item.list-1 article,
.conedu-course-list .item.list-1 article {
  display: grid !important;
  grid-template-columns: 32% 68%;
  align-items: stretch;
  border: 1px solid #efecff;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: none;
  padding: 0;
}

#conedu-list-3 .item.list-1 .thumbnail,
#conedu-list-3 .item.list-1 .post-thumbnail,
#conedu-list-3 .item.list-1 .ld-course-thumbnail,
.conedu-course-list .item.list-1 .thumbnail,
.conedu-course-list .item.list-1 .post-thumbnail,
.conedu-course-list .item.list-1 .ld-course-thumbnail {
  height: 100%;
  min-height: 180px;
  max-height: 220px;
}

#conedu-list-3 .item.list-1 img,
.conedu-course-list .item.list-1 img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

#conedu-list-3 .item.list-1 .content,
#conedu-list-3 .item.list-1 .caption,
#conedu-list-3 .item.list-1 .content-wrap,
.conedu-course-list .item.list-1 .content,
.conedu-course-list .item.list-1 .caption,
.conedu-course-list .item.list-1 .content-wrap {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

#conedu-list-3 .item.list-1 h3,
#conedu-list-3 .item.list-1 h3 a,
.conedu-course-list .item.list-1 h3,
.conedu-course-list .item.list-1 h3 a {
  font-family: Hind, sans-serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #333333;
  margin: 0;
  text-decoration: none;
}

#conedu-list-3 .item.list-1 p,
.conedu-course-list .item.list-1 p {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #b1b2b2;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#conedu-list-3 .item.list-1 .author,
#conedu-list-3 .item.list-1 .meta,
#conedu-list-3 .item.list-1 .ld-course-meta,
.conedu-course-list .item.list-1 .author,
.conedu-course-list .item.list-1 .meta,
.conedu-course-list .item.list-1 .ld-course-meta {
  display: none !important;
}

#conedu-list-3 .item.list-1 .button-wrapper .link,
.conedu-course-list .item.list-1 .button-wrapper .link {
  background: transparent;
  color: #333 !important;
  border: 0;
  padding: 0;
  font-family: Hind, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#conedu-list-3 .item.list-1 .button-wrapper .link::after,
.conedu-course-list .item.list-1 .button-wrapper .link::after {
  content: "→";
  transition: transform .2s ease;
}

#conedu-list-3 .item.list-1 .button-wrapper .link:hover::after,
.conedu-course-list .item.list-1 .button-wrapper .link:hover::after {
  transform: translateX(3px);
}

#conedu-list-3 .item.list-1 .button-wrapper .button,
.conedu-course-list .item.list-1 .button-wrapper .button {
  display: none;
}

/* hard enforce 30/70 + rounded media corners */
#conedu-list-3 .item.list-1 article,
.conedu-course-list#conedu-list-3 .item.list-1 article {
  grid-template-columns: 30% 70% !important;
}

#conedu-list-3 .item.list-1 .thumbnail,
#conedu-list-3 .item.list-1 .post-thumbnail,
#conedu-list-3 .item.list-1 .ld-course-thumbnail {
  padding: 12px 0 12px 12px;
}

#conedu-list-3 .item.list-1 img {
  border-radius: 8px;
}

/* progress/status block styling */
#conedu-list-3 .item.list-1 .ld-progress,
#conedu-list-3 .item.list-1 .learndash-wrapper .ld-progress,
#conedu-list-3 .item.list-1 [class*="progress"] {
  margin-top: 10px;
}

#conedu-list-3 .item.list-1 .ld-progress .ld-progress-bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
}

#conedu-list-3 .item.list-1 .ld-progress .ld-progress-bar-percentage {
  background: #14452F;
}

#conedu-list-3 .item.list-1 .conedu-status-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  background: #eef7f2;
  color: #14452F;
}

#conedu-list-3 .item.list-1 .conedu-status-pill.completed {
  background: #e8f8ef;
  color: #0c7a3c;
}

@media (max-width: 1024px) {
  #conedu-list-3 .item.list-1 article,
  .conedu-course-list .item.list-1 article {
    grid-template-columns: 1fr !important;
  }

  #conedu-list-3 .item.list-1 img,
  .conedu-course-list .item.list-1 img {
    max-height: 230px;
  }

  #conedu-list-3 .item.list-1 .thumbnail,
  #conedu-list-3 .item.list-1 .post-thumbnail,
  #conedu-list-3 .item.list-1 .ld-course-thumbnail {
    padding: 12px 12px 0 12px;
  }
}

/* ===== list-3 cleanup pass (spacing/cropping/button) ===== */
#conedu-list-3 .item.list-1 article {
  grid-template-columns: 30% 70% !important;
  gap: 0 !important;
}

#conedu-list-3 .item.list-1 .thumbnail,
#conedu-list-3 .item.list-1 .post-thumbnail,
#conedu-list-3 .item.list-1 .ld-course-thumbnail {
  padding: 12px !important;
  margin: 0 !important;
}

#conedu-list-3 .item.list-1 img {
  width: 100% !important;
  height: 100% !important;
  min-height: 190px !important;
  max-height: 210px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #f7f7f7;
  border-radius: 8px !important;
}

#conedu-list-3 .item.list-1 .content,
#conedu-list-3 .item.list-1 .caption,
#conedu-list-3 .item.list-1 .content-wrap {
  padding: 16px 20px !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

#conedu-list-3 .item.list-1 .button-wrapper,
#conedu-list-3 .item.list-1 .ld-course-list-items,
#conedu-list-3 .item.list-1 .entry-footer {
  margin-top: 10px !important;
}

#conedu-list-3 .item.list-1 .button-wrapper .link,
#conedu-list-3 .item.list-1 a.ld-button,
#conedu-list-3 .item.list-1 a.button,
#conedu-list-3 .item.list-1 .entry-footer a {
  background: #14452F !important;
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 4px !important;
  border: 1px solid #14452F !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

#conedu-list-3 .item.list-1 .button-wrapper .link::after,
#conedu-list-3 .item.list-1 a.ld-button::after,
#conedu-list-3 .item.list-1 a.button::after,
#conedu-list-3 .item.list-1 .entry-footer a::after {
  content: "" !important;
}

#conedu-list-3 .item.list-1 .button-wrapper .link:hover,
#conedu-list-3 .item.list-1 a.ld-button:hover,
#conedu-list-3 .item.list-1 a.button:hover,
#conedu-list-3 .item.list-1 .entry-footer a:hover {
  background: #0d3320 !important;
  border-color: #0d3320 !important;
}

/* ===== FINAL POLISH: theme-native, clean list layout ===== */
#conedu-list-3 .item.list-1 article {
  display: grid !important;
  grid-template-columns: minmax(220px, 30%) 1fr !important;
  align-items: stretch !important;
  gap: 0 !important;
  border: 1px solid #ece8ff !important;
  border-radius: 10px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(17, 12, 45, .06) !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}

#conedu-list-3 .item.list-1 .thumbnail,
#conedu-list-3 .item.list-1 .post-thumbnail,
#conedu-list-3 .item.list-1 .ld-course-thumbnail {
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}

#conedu-list-3 .item.list-1 img {
  width: 100% !important;
  height: 100% !important;
  min-height: 220px !important;
  max-height: 260px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 0 !important;
  background: #f3f3f7 !important;
}

#conedu-list-3 .item.list-1 .content,
#conedu-list-3 .item.list-1 .caption,
#conedu-list-3 .item.list-1 .content-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 20px 24px !important;
}

#conedu-list-3 .item.list-1 h3,
#conedu-list-3 .item.list-1 h3 a {
  margin: 0 !important;
  font-family: Hind, sans-serif !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #110c2d !important;
}

#conedu-list-3 .item.list-1 p {
  margin: 0 !important;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #777 !important;
  max-width: 65ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#conedu-list-3 .item.list-1 .ld-course-meta,
#conedu-list-3 .item.list-1 .author,
#conedu-list-3 .item.list-1 .meta {
  display: none !important;
}

/* Button hover behavior similar to news "Read More" */
#conedu-list-3 .item.list-1 .button-wrapper .link,
#conedu-list-3 .item.list-1 a.ld-button,
#conedu-list-3 .item.list-1 a.button,
#conedu-list-3 .item.list-1 .entry-footer a {
  margin-top: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #14452F !important;
  font-family: Hind, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

#conedu-list-3 .item.list-1 .button-wrapper .link::after,
#conedu-list-3 .item.list-1 a.ld-button::after,
#conedu-list-3 .item.list-1 a.button::after,
#conedu-list-3 .item.list-1 .entry-footer a::after {
  content: "→" !important;
  font-size: 14px !important;
  transition: transform .2s ease, opacity .2s ease !important;
  opacity: .9;
}

#conedu-list-3 .item.list-1 .button-wrapper .link:hover,
#conedu-list-3 .item.list-1 a.ld-button:hover,
#conedu-list-3 .item.list-1 a.button:hover,
#conedu-list-3 .item.list-1 .entry-footer a:hover {
  color: #0d3320 !important;
}

#conedu-list-3 .item.list-1 .button-wrapper .link:hover::after,
#conedu-list-3 .item.list-1 a.ld-button:hover::after,
#conedu-list-3 .item.list-1 a.button:hover::after,
#conedu-list-3 .item.list-1 .entry-footer a:hover::after {
  transform: translateX(3px) !important;
  opacity: 1;
}

#conedu-list-3 .item.list-1 .button-wrapper .button {
  display: none !important;
}

/* Progress styling */
#conedu-list-3 .item.list-1 .ld-progress {
  width: 100%;
  margin-top: 8px !important;
}

#conedu-list-3 .item.list-1 .ld-progress .ld-progress-bar {
  height: 8px !important;
  border-radius: 999px !important;
  overflow: hidden;
}

#conedu-list-3 .item.list-1 .ld-progress .ld-progress-bar-percentage {
  background: #14452F !important;
}

/* Mobile: image on top, neat grid-card behavior */
@media (max-width: 1024px) {
  #conedu-list-3 .item.list-1 article {
    grid-template-columns: 1fr !important;
  }

  #conedu-list-3 .item.list-1 img {
    min-height: 200px !important;
    max-height: 240px !important;
  }

  #conedu-list-3 .item.list-1 .content,
  #conedu-list-3 .item.list-1 .caption,
  #conedu-list-3 .item.list-1 .content-wrap {
    padding: 18px 18px 20px !important;
  }

  #conedu-list-3 .item.list-1 h3,
  #conedu-list-3 .item.list-1 h3 a {
    font-size: 22px !important;
  }
}

/* ===== ConEdu final requested tweaks (2026-02-17) ===== */
#conedu-list-3 .item.list-1 img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #f5f6fa !important;
  min-height: 220px !important;
  max-height: 260px !important;
}

/* full title + description length like top cards */
#conedu-list-3 .item.list-1 h3,
#conedu-list-3 .item.list-1 h3 a {
  font-size: 20px !important;
  line-height: 1.4 !important;
  color: #110c2d !important;
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
}

#conedu-list-3 .item.list-1 p {
  color: #777 !important;
  line-height: 1.7 !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  max-width: none !important;
}

/* button: green default -> white on hover (requested) */
#conedu-list-3 .item.list-1 .button-wrapper .link,
#conedu-list-3 .item.list-1 a.ld-button,
#conedu-list-3 .item.list-1 a.button,
#conedu-list-3 .item.list-1 .entry-footer a {
  background: #14452F !important;
  color: #fff !important;
  border: 1px solid #14452F !important;
  border-radius: 4px !important;
  padding: 10px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: all .25s ease !important;
}

#conedu-list-3 .item.list-1 .button-wrapper .link::after,
#conedu-list-3 .item.list-1 a.ld-button::after,
#conedu-list-3 .item.list-1 a.button::after,
#conedu-list-3 .item.list-1 .entry-footer a::after {
  content: "→" !important;
}

#conedu-list-3 .item.list-1 .button-wrapper .link:hover,
#conedu-list-3 .item.list-1 a.ld-button:hover,
#conedu-list-3 .item.list-1 a.button:hover,
#conedu-list-3 .item.list-1 .entry-footer a:hover {
  background: #fff !important;
  color: #14452F !important;
  border-color: #14452F !important;
}

/* ===== HOTFIX: enforce list-3 final visuals ===== */
#conedu-list-3 .item.list-1 article {
  grid-template-columns: 30% 70% !important;
}

#conedu-list-3 .item.list-1 .thumbnail,
#conedu-list-3 .item.list-1 .post-thumbnail,
#conedu-list-3 .item.list-1 .ld-course-thumbnail,
#conedu-list-3 .item.list-1 .thumbnail a,
#conedu-list-3 .item.list-1 .post-thumbnail a,
#conedu-list-3 .item.list-1 .ld-course-thumbnail a {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#conedu-list-3 .item.list-1 img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 220px !important;
  max-height: 260px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f5f6fa !important;
  border-radius: 0 !important;
}

#conedu-list-3 .item.list-1 .button-wrapper .link,
#conedu-list-3 .item.list-1 a.ld-button,
#conedu-list-3 .item.list-1 a.button,
#conedu-list-3 .item.list-1 .entry-footer a {
  background: #14452F !important;
  color: #fff !important;
  border: 1px solid #14452F !important;
  border-radius: 4px !important;
  padding: 10px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
}

#conedu-list-3 .item.list-1 .button-wrapper .link:hover,
#conedu-list-3 .item.list-1 a.ld-button:hover,
#conedu-list-3 .item.list-1 a.button:hover,
#conedu-list-3 .item.list-1 .entry-footer a:hover {
  background: #fff !important;
  color: #14452F !important;
  border-color: #14452F !important;
}

/* ===== HOTFIX 2: target actual Studyhub markup ===== */
#conedu-list-3 .item.list-1 article .thumbnail .image,
#conedu-list-3 .item.list-1 article .thumbnail .image a {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

#conedu-list-3 .item.list-1 article .thumbnail .image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 220px !important;
  max-height: 260px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f5f6fa !important;
}

#conedu-list-3 .item.list-1 article .btn-group .link,
#conedu-list-3 .item.list-1 article a.link {
  background: #14452F !important;
  color: #fff !important;
  border: 1px solid #14452F !important;
  border-radius: 4px !important;
  padding: 10px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
}

#conedu-list-3 .item.list-1 article .btn-group .link:hover,
#conedu-list-3 .item.list-1 article a.link:hover {
  background: #fff !important;
  color: #14452F !important;
  border-color: #14452F !important;
}

/* ===== ULTRA OVERRIDE (priority) ===== */
body.home #conedu-list-3.item-listing,
body #conedu-list-3 {
}

body #conedu-list-3 .item.list-1 article > .thumbnail,
body #conedu-list-3 .item.list-1 article > div.thumbnail {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body #conedu-list-3 .item.list-1 article > .thumbnail .image,
body #conedu-list-3 .item.list-1 article > .thumbnail .image > a {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
}

body #conedu-list-3 .item.list-1 article > .thumbnail .image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 220px !important;
  max-height: 260px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #f5f6fa !important;
}

body #conedu-list-3 .item.list-1 article .btn-group a.link,
body #conedu-list-3 .item.list-1 article .button-wrapper a.link,
body #conedu-list-3 .item.list-1 article a.link {
  background: #14452F !important;
  color: #fff !important;
  border: 1px solid #14452F !important;
  border-radius: 4px !important;
  padding: 10px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
}

body #conedu-list-3 .item.list-1 article .btn-group a.link:hover,
body #conedu-list-3 .item.list-1 article .button-wrapper a.link:hover,
body #conedu-list-3 .item.list-1 article a.link:hover {
  background: #fff !important;
  color: #14452F !important;
  border-color: #14452F !important;
}

/* ===== description full-width fix ===== */
#conedu-list-3 .item.list-1 .content,
#conedu-list-3 .item.list-1 .entry-content {
  width: 100% !important;
  max-width: none !important;
}

#conedu-list-3 .item.list-1 .entry-content p,
#conedu-list-3 .item.list-1 p {
  width: 100% !important;
  max-width: none !important;
  white-space: normal !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
}

/* ===== Kon follow-up tweaks (course buttons + card border) ===== */
#conedu-list-3 .item.list-1 article,
body #conedu-list-3 .item.list-1 article {
  border: 1px solid #d6e6ff !important;
}

#conedu-list-3 .item.list-1 .button-wrapper .link::before,
#conedu-list-3 .item.list-1 .button-wrapper .link::after,
#conedu-list-3 .item.list-1 article .btn-group a.link::before,
#conedu-list-3 .item.list-1 article .btn-group a.link::after,
#conedu-list-3 .item.list-1 article a.link::before,
#conedu-list-3 .item.list-1 article a.link::after {
  content: none !important;
  display: none !important;
}

#conedu-list-3 .item.list-1 .button-wrapper .button,
#conedu-list-3 .item.list-1 .btn-group .button,
#conedu-list-3 .item.list-1 a.button {
  display: none !important;
}

/* list-3 pagination load more button: match course button style */
#conedu-list-3 .pagination .load-more,
body #conedu-list-3 .pagination .load-more {
  background: #14452F !important;
  color: #fff !important;
  border: 1px solid #14452F !important;
  border-radius: 4px !important;
  padding: 10px 28px !important;
}

#conedu-list-3 .pagination .load-more:hover,
body #conedu-list-3 .pagination .load-more:hover {
  background: #fff !important;
  color: #14452F !important;
  border-color: #14452F !important;
}

#conedu-list-3 .item.list-1 .conedu-course-meta {
  margin-top: 8px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
}

#conedu-list-3 .item.list-1 .conedu-course-meta strong {
  color: #1f2937;
  font-weight: 600;
}

#conedu-list-3 .item.list-1 .conedu-course-meta .sep {
  color: #9ca3af;
  margin: 0 6px;
}

/* Course detail hero: match blog header with white title + breadcrumb */
.single-sfwd-courses #crp-breadcrumb .breadcrumbs-inner .page-title,
.single-sfwd-courses #crp-breadcrumb .breadcrumbs-inner .brea-title,
.single-sfwd-courses #crp-breadcrumb .breadcrumbs-inner h1,
.single-sfwd-courses #crp-breadcrumb .breadcrumbs-inner .breadcrumbs-title,
.single-sfwd-courses #crp-breadcrumb .breadcrumbs-inner .breadcrumbs-title a,
.single-sfwd-courses #crp-breadcrumb .breadcrumbs-inner span,
.single-sfwd-courses #crp-breadcrumb .breadcrumbs-inner a,
.single-sfwd-courses #crp-breadcrumb .breadcrumbs-inner a span,
.single-sfwd-courses #crp-breadcrumb .breadcrumbs-inner [property="name"] {
  color: #fff !important;
}

.single-sfwd-courses #crp-breadcrumb .breadcrumbs-inner a:hover {
  color: #fff !important;
  opacity: 0.9;
}
   /* Lesson/Quiz/Topic: match course header white text */                      
   .single-sfwd-lessons #crp-breadcrumb .breadcrumbs-inner .page-title,         
   .single-sfwd-lessons #crp-breadcrumb .breadcrumbs-inner h1,                  
   .single-sfwd-lessons #crp-breadcrumb .breadcrumbs-inner span,                
   .single-sfwd-lessons #crp-breadcrumb .breadcrumbs-inner a,                   
   .single-sfwd-topic #crp-breadcrumb .breadcrumbs-inner .page-title,           
   .single-sfwd-topic #crp-breadcrumb .breadcrumbs-inner h1,                    
   .single-sfwd-topic #crp-breadcrumb .breadcrumbs-inner span,                  
   .single-sfwd-topic #crp-breadcrumb .breadcrumbs-inner a,                     
   .single-sfwd-quiz #crp-breadcrumb .breadcrumbs-inner .page-title,            
   .single-sfwd-quiz #crp-breadcrumb .breadcrumbs-inner h1,                     
   .single-sfwd-quiz #crp-breadcrumb .breadcrumbs-inner span,                   
   .single-sfwd-quiz #crp-breadcrumb .breadcrumbs-inner a {                     
       color: #fff !important;                                                  
   }    


/* ===== ConEdu Course List: Sponsor Section (matches webinar card style) ===== */

/* Create a flex row between button-wrapper and sponsor (mirrors .ce-webinar-card__bottom) */
#conedu-list-3 .item.list-1 .button-wrapper,
.conedu-course-list .item.list-1 .button-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  width: 100% !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}

/* Move sponsor inside the flex row visually */
#conedu-list-3 .item.list-1 .conedu-course-sponsor-inject,
.conedu-course-list .item.list-1 .conedu-course-sponsor-inject {
  margin-top: 0 !important;
}

/* Sponsor wrapper - flex column, centered, same as webinar */
.conedu-webinar-card__sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* "SPONSORED BY:" label */
.conedu-webinar-card__sponsor-label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
}

/* Sponsor logo */
/* Sponsor name text fallback - styled to match logo visual weight */
.button-wrapper .conedu-webinar-card__sponsor span:not(.conedu-webinar-card__sponsor-label) {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #1f2937 !important;
  font-family: Inter, sans-serif !important;
  letter-spacing: -0.02em !important;
}

.conedu-webinar-card__sponsor-logo {
  height: 40px !important;
  width: auto !important;
  max-width: 110px !important;
  max-height: 40px !important;
  object-fit: contain;
  display: block;
}


/* ===== ConEdu Registration Form Styling ===== */

/* Hide the "LearnDash Registration" section heading */
#learndash-registration-wrapper h2 {
    display: none !important;
}

/* Unify all ACF field inputs, selects, and textareas to same border style */
#learndash-registration-wrapper .acf-field input[type="text"],
#learndash-registration-wrapper .acf-field input[type="email"],
#learndash-registration-wrapper .acf-field input[type="number"],
#learndash-registration-wrapper .acf-field input[type="password"],
#learndash-registration-wrapper .acf-field textarea,
#learndash-registration-wrapper .acf-field select {
    width: 100% !important;
        padding: 8px !important;
        border: 1px solid rgba(32, 7, 7, 0.8) !important;
    border-radius: 4px !important;
    background: #fff !important;
        font-size: 16px !important;
    line-height: 1.4 !important;
    color: #333 !important;
    box-sizing: border-box !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    height: auto !important;
    box-shadow: none !important;
    outline: none !important;
}

#learndash-registration-wrapper .acf-field input[type="text"]:focus,
#learndash-registration-wrapper .acf-field input[type="email"]:focus,
#learndash-registration-wrapper .acf-field input[type="number"]:focus,
#learndash-registration-wrapper .acf-field input[type="password"]:focus,
#learndash-registration-wrapper .acf-field textarea:focus,
#learndash-registration-wrapper .acf-field select:focus {
    border-color: #14452F !important;
    outline: none !important;
}
/* ACF field labels: match WooCommerce form-row label style */
#learndash-registration-wrapper .acf-field .acf-label label {
	    font-size: 16px !important;
	    font-weight: 600 !important;
	    font-family: Inter, sans-serif !important;
	    color: #777 !important;
	    margin-bottom: 4px !important;
	    display: block !important;
}


/* Gender radio buttons: compact inline layout */
#learndash-registration-wrapper .acf-field-gender .acf-radio-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#learndash-registration-wrapper .acf-field-gender .acf-radio-list li {
    margin: 0 !important;
    padding: 0 !important;
}

#learndash-registration-wrapper .acf-field-gender .acf-radio-list li label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    cursor: pointer !important;
    line-height: 1.2 !important;
}

#learndash-registration-wrapper .acf-field-gender .acf-radio-list li input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    accent-color: #14452F !important;
}

/* Newsletter checkbox: inline with label on same line */
#learndash-registration-wrapper .acf-field-69b03bc1dc89e .acf-checkbox-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#learndash-registration-wrapper .acf-field-69b03bc1dc89e .acf-checkbox-list li {
    display: flex !important;
    align-items: flex-start !important;
}

#learndash-registration-wrapper .acf-field-69b03bc1dc89e .acf-checkbox-list li label {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
}

#learndash-registration-wrapper .acf-field-69b03bc1dc89e .acf-checkbox-list li input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 0 !important;
    flex-shrink: 0 !important;
    accent-color: #14452F !important;
    float: none !important;
    display: inline-block !important;
}

/* ===== ConEdu Registration Form: Polish Pass (dropdowns, radio, checkbox) ===== */

/* --- Dropdowns: enforce border same as text inputs --- */
#learndash-registration-wrapper .acf-field select,
#learndash-registration-wrapper .acf-field select.select2-hidden-accessible,
#learndash-registration-wrapper .acf-field .acf-input select {
	    display: block !important;
	    width: 100% !important;
	    padding: 8px 12px !important;
	    border: 1px solid rgba(32, 7, 7, 0.8) !important;
	    border-radius: 4px !important;
	    background: #fff !important;
	    font-size: 16px !important;
	    line-height: 1.4 !important;
	    color: #333 !important;
	    box-sizing: border-box !important;
	    appearance: auto !important;
	    -webkit-appearance: auto !important;
	    height: auto !important;
	    min-height: 38px !important;
	    box-shadow: none !important;
	    outline: none !important;
}

/* Hide any select2 UI overrides and show native select */
#learndash-registration-wrapper .acf-field .select2-container {
	    width: 100% !important;
}
#learndash-registration-wrapper .acf-field .select2-selection {
	    border: 1px solid rgba(32, 7, 7, 0.8) !important;
	    border-radius: 4px !important;
	    height: auto !important;
	    min-height: 38px !important;
	    padding: 6px 12px !important;
	    font-size: 16px !important;
	    line-height: 1.4 !important;
}
#learndash-registration-wrapper .acf-field .select2-selection--single .select2-selection__rendered {
	    line-height: 1.4 !important;
	    padding: 0 !important;
	    color: #333 !important;
	    font-size: 16px !important;
}
#learndash-registration-wrapper .acf-field .select2-selection--single .select2-selection__arrow {
	    height: 36px !important;
}

/* --- Radio buttons: compact, single row, normal size --- */
#learndash-registration-wrapper .acf-field-gender .acf-radio-list,
#learndash-registration-wrapper .acf-field[data-name="gender"] .acf-radio-list {
	    display: flex !important;
	    flex-direction: row !important;
	    flex-wrap: wrap !important;
	    gap: 8px 20px !important;
	    margin: 0 !important;
	    padding: 0 !important;
	    list-style: none !important;
	    align-items: center !important;
}
#learndash-registration-wrapper .acf-field-gender .acf-radio-list li,
#learndash-registration-wrapper .acf-field[data-name="gender"] .acf-radio-list li {
	    margin: 0 !important;
	    padding: 0 !important;
	    display: inline-flex !important;
	    align-items: center !important;
}
#learndash-registration-wrapper .acf-field-gender .acf-radio-list li label,
#learndash-registration-wrapper .acf-field[data-name="gender"] .acf-radio-list li label {
	    display: inline-flex !important;
	    align-items: center !important;
	    gap: 5px !important;
	    font-size: 14px !important;
	    font-weight: normal !important;
	    cursor: pointer !important;
	    line-height: 1 !important;
	    white-space: nowrap !important;
	    margin: 0 !important;
}
#learndash-registration-wrapper .acf-field-gender .acf-radio-list li input[type="radio"],
#learndash-registration-wrapper .acf-field[data-name="gender"] .acf-radio-list li input[type="radio"] {
	    width: 14px !important;
	    height: 14px !important;
	    min-width: 14px !important;
	    min-height: 14px !important;
	    margin: 0 !important;
	    flex-shrink: 0 !important;
	    accent-color: #14452F !important;
	    vertical-align: middle !important;
}

/* --- Newsletter checkbox: inline on one line, left aligned --- */
#learndash-registration-wrapper .acf-field-69b03bc1dc89e,
#learndash-registration-wrapper .acf-field[data-name="newsletter_dentistry_today"] {
	    display: block !important;
}
#learndash-registration-wrapper .acf-field-69b03bc1dc89e .acf-label,
#learndash-registration-wrapper .acf-field[data-name="newsletter_dentistry_today"] .acf-label {
	    display: none !important;
}
#learndash-registration-wrapper .acf-field-69b03bc1dc89e .acf-checkbox-list,
#learndash-registration-wrapper .acf-field[data-name="newsletter_dentistry_today"] .acf-checkbox-list {
	    list-style: none !important;
	    margin: 0 !important;
	    padding: 0 !important;
}
#learndash-registration-wrapper .acf-field-69b03bc1dc89e .acf-checkbox-list li,
#learndash-registration-wrapper .acf-field[data-name="newsletter_dentistry_today"] .acf-checkbox-list li {
	    display: flex !important;
	    align-items: flex-start !important;
	    gap: 8px !important;
	    margin: 0 !important;
	    padding: 0 !important;
	    text-align: left !important;
}
#learndash-registration-wrapper .acf-field-69b03bc1dc89e .acf-checkbox-list li input[type="checkbox"],
#learndash-registration-wrapper .acf-field[data-name="newsletter_dentistry_today"] .acf-checkbox-list li input[type="checkbox"] {
	    width: 15px !important;
	    height: 15px !important;
	    min-width: 15px !important;
	    min-height: 15px !important;
	    flex-shrink: 0 !important;
	    margin: 3px 0 0 0 !important;
	    accent-color: #14452F !important;
	    float: none !important;
	    display: inline-block !important;
	    vertical-align: top !important;
}
#learndash-registration-wrapper .acf-field-69b03bc1dc89e .acf-checkbox-list li label,
#learndash-registration-wrapper .acf-field[data-name="newsletter_dentistry_today"] .acf-checkbox-list li label {
	        display: inline-flex !important;
	    align-items: flex-start !important;
	    gap: 8px !important;
	    font-size: 13px !important;
	    line-height: 1.5 !important;
	    cursor: pointer !important;
	    text-align: left !important;
	    margin: 0 !important;
	    flex: 1 !important;
}

/* ===== ConEdu Registration: unify LearnDash native fields with ACF fields ===== */
/* Target the standard LD username / email / password / confirm-password inputs */
#learndash-registration-wrapper input[type="text"],
#learndash-registration-wrapper input[type="email"],
#learndash-registration-wrapper input[type="password"] {
	    width: 100% !important;
	    padding: 8px 12px !important;
	    border: 1px solid rgba(32, 7, 7, 0.8) !important;
	    border-radius: 4px !important;
	    background: #fff !important;
	    font-size: 16px !important;
	    line-height: 1.4 !important;
	    color: #333 !important;
	    box-sizing: border-box !important;
	    height: auto !important;
	    min-height: 38px !important;
	    box-shadow: none !important;
	    outline: none !important;
}
#learndash-registration-wrapper input[type="text"]:focus,
#learndash-registration-wrapper input[type="email"]:focus,
#learndash-registration-wrapper input[type="password"]:focus {
	    border-color: #14452F !important;
	    outline: none !important;
	    box-shadow: none !important;
}

/* ===== ConEdu Registration: fix ALL selects inside the registration wrapper ===== */
/* Broad rule  catches selects regardless of ACF wrapper markup */
#learndash-registration-wrapper select {
	    display: block !important;
	    width: 100% !important;
	    padding: 8px 12px !important;
	    border: 1px solid rgba(32, 7, 7, 0.8) !important;
	    border-radius: 4px !important;
	    background: #fff !important;
	    font-size: 16px !important;
	    line-height: 1.4 !important;
	    color: #333 !important;
	    box-sizing: border-box !important;
	    height: auto !important;
	    min-height: 38px !important;
	    box-shadow: none !important;
	    outline: none !important;
	    -webkit-appearance: auto !important;
	    appearance: auto !important;
}
#learndash-registration-wrapper select:focus {
	    border-color: #14452F !important;
	    outline: none !important;
	    box-shadow: none !important;
}
