.dclms-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin:20px 0}.dclms-card,.dclms-module,.dclms-lesson{border:1px solid #e5e7eb;border-radius:12px;background:#fff;overflow:hidden}.dclms-card img{width:100%;height:180px;object-fit:cover}.dclms-card-body{padding:20px}.dclms-btn{display:inline-block;padding:11px 18px;border:0;border-radius:7px;background:#1d4ed8;color:#fff!important;text-decoration:none;cursor:pointer;margin-top:10px}.dclms-price{font-size:22px;font-weight:700;margin:15px 0}.dclms-module{padding:20px;margin:16px 0}.dclms-module ul{margin:10px 0;padding-left:20px}.dclms-progress{height:10px;background:#e5e7eb;border-radius:99px;overflow:hidden}.dclms-progress div{height:100%;background:#2563eb}.dclms-lesson{padding:24px;margin-top:25px}.dclms-certificate{padding:30px;background:#f5f5f5;text-align:center}.cert-inner{background:#fff;border:8px double #222;padding:60px 30px;max-width:800px;margin:auto}.cert-inner h1{font-size:38px}.cert-inner h2{font-size:32px}.cert-inner h3{font-size:25px}@media print{.dclms-btn{display:none!important}.dclms-certificate{background:#fff;padding:0}.cert-inner{max-width:none;height:80vh}.site-header,.site-footer{display:none!important}}.dclms-my-item{border:1px solid #e5e7eb;padding:18px;border-radius:10px;margin:12px 0}.dclms-register input{max-width:420px;width:100%;padding:10px}.dclms-error{padding:12px;background:#fee2e2;border-radius:6px}.dclms-coupon-row{display:flex;gap:8px;align-items:center;margin:15px 0;flex-wrap:wrap}.dclms-coupon{padding:10px;border:1px solid #ddd;border-radius:6px}.dclms-coupon-result{font-size:14px}.dclms-quiz{border:1px solid #e5e7eb;padding:20px;border-radius:12px;margin:20px 0}.dclms-quiz fieldset{border:0;margin:15px 0;padding:0}.dclms-quiz label{display:inline-block;margin:5px 0}.dclms-products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.dclms-product-card{border:1px solid #e5e7eb;border-radius:12px;padding:20px}.dclms-product-price{font-size:28px;font-weight:700;margin:20px 0}.dclms-product-type{font-size:13px;text-transform:uppercase;letter-spacing:.06em}
.dclms-certificate{max-width:850px;margin:30px auto;padding:70px;text-align:center;border:10px double currentColor;background:#fff}.dclms-certificate h1{font-size:38px}.dclms-certificate h2{font-size:32px}.dclms-certificate h3{font-size:26px}@media print{body *{visibility:hidden}.dclms-certificate,.dclms-certificate *{visibility:visible}.dclms-certificate{position:absolute;left:0;top:0;width:100%;box-sizing:border-box}}
.dclms-quiz fieldset{margin:0 0 20px;padding:15px}.dclms-quiz-result{margin-top:15px;font-weight:600}.dclms-question{border:1px solid #ddd;background:#fff;padding:15px;margin:15px 0}.dclms-question input,.dclms-question select{margin:5px}

.dclms-dashboard-header{padding:22px;border-radius:14px;border:1px solid #e5e7eb}.dclms-dashboard-nav{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.dclms-dashboard-nav a{padding:9px 14px;border:1px solid #ddd;border-radius:8px;text-decoration:none}.dclms-order-row{display:grid;grid-template-columns:100px 1fr 120px 140px;gap:10px;padding:12px;border-bottom:1px solid #eee}.dclms-billing{display:flex;gap:10px;margin:15px 0}.dclms-billing input{padding:10px}@media(max-width:700px){.dclms-order-row{grid-template-columns:1fr}.dclms-billing{flex-direction:column}}
.dclms-course-fields select,.dclms-course-fields input,.dclms-course-fields textarea{max-width:100%}.dclms-course-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.dclms-course-meta span{display:inline-block;padding:6px 10px;border:1px solid #e5e7eb;border-radius:999px;font-size:13px}.dclms-course-category{display:inline-block;font-size:13px;font-weight:600;margin:5px 0 10px}.dclms-course-thumbnail{margin-bottom:20px}.dclms-course-thumbnail img{width:100%;height:auto;border-radius:12px;display:block}.dclms-course-short{font-size:17px;margin:15px 0}.dclms-course-header{margin-bottom:20px}@media(max-width:700px){.dclms-course-meta{display:grid;grid-template-columns:1fr}.dclms-course-meta span{border-radius:8px}.dclms-card img{height:auto}}

/* v15 course player */
.dclms-lesson-player{border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:24px;margin-top:25px;box-shadow:0 4px 18px rgba(0,0,0,.04)}
.dclms-lesson-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.dclms-lesson-top h3{margin:4px 0 8px;font-size:28px}.dclms-lesson-label{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;opacity:.7}.dclms-lesson-duration{padding:7px 10px;border:1px solid #e5e7eb;border-radius:999px;font-size:13px;white-space:nowrap}.dclms-progress-wrap{display:flex;gap:12px;align-items:center;margin:12px 0 22px}.dclms-progress-wrap .dclms-progress{flex:1}.dclms-progress-wrap>span{font-size:13px;white-space:nowrap}.dclms-video-area{background:#111;border-radius:12px;overflow:hidden;margin:0 0 24px}.dclms-video-area iframe,.dclms-video-area video{width:100%;max-width:100%;display:block;aspect-ratio:16/9}.dclms-video-area .wp-video{width:100%!important}.dclms-lesson-content{line-height:1.75}.dclms-lesson-content h4,.dclms-study-material h4{font-size:20px;margin:0 0 12px}.dclms-study-material{margin-top:25px;padding:18px;border:1px solid #e5e7eb;border-radius:10px}.dclms-lesson-complete{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:25px}.dclms-required-badge,.dclms-optional-badge{font-size:12px;padding:6px 9px;border-radius:999px;border:1px solid #e5e7eb}.dclms-lesson-nav{display:flex;justify-content:space-between;gap:12px;margin-top:25px;padding-top:20px;border-top:1px solid #e5e7eb}.dclms-btn-secondary{background:#fff!important;color:inherit!important;border:1px solid #cbd5e1}.dclms-complete.is-done{opacity:.85}.dclms-card-body .dclms-course-meta{margin-bottom:10px}@media(max-width:700px){.dclms-lesson-player{padding:16px}.dclms-lesson-top{display:block}.dclms-lesson-duration{display:inline-block;margin-bottom:8px}.dclms-progress-wrap{display:block}.dclms-progress-wrap>span{display:block;margin-top:7px}.dclms-lesson-top h3{font-size:23px}.dclms-lesson-nav .dclms-btn{flex:1;text-align:center}}

/* v18 professional course template */
.dclms-course-template{max-width:var(--dclms-container,1180px);margin:0 auto;font-family:inherit}.dclms-template-hero{background:linear-gradient(135deg,#111827,#1f2937);color:#fff;border-radius:var(--dclms-radius,8px);overflow:hidden;margin:20px 0 28px}.dclms-template-hero-inner{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.75fr);gap:30px;align-items:center;padding:42px}.dclms-template-eyebrow{display:inline-block;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:13px;margin-bottom:12px}.dclms-template-hero h1{font-size:clamp(32px,5vw,52px);line-height:1.08;margin:0 0 14px;color:#fff}.dclms-template-hero p{font-size:18px;line-height:1.65;opacity:.92}.dclms-template-hero-image img{display:block;width:100%;border-radius:calc(var(--dclms-radius,8px) + 2px);object-fit:cover;max-height:310px}.dclms-template-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.dclms-template-meta span{padding:8px 11px;border:1px solid rgba(255,255,255,.2);border-radius:999px;font-size:13px;background:rgba(255,255,255,.06)}.dclms-template-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}.dclms-template-section{background:#fff;border:1px solid #e5e7eb;border-radius:var(--dclms-radius,8px);padding:28px;margin-bottom:22px}.dclms-template-section h2{font-size:27px;margin:0 0 18px}.dclms-richtext{line-height:1.8}.dclms-learning-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dclms-learning-grid>div{border:1px solid #e5e7eb;border-radius:8px;padding:14px;font-weight:600}.dclms-template-sidebar{position:sticky;top:25px}.dclms-purchase-card{border:1px solid #dbe2ea;border-radius:var(--dclms-radius,8px);padding:24px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.07)}.dclms-purchase-card h3{margin:0 0 12px;font-size:21px}.dclms-template-price{font-size:34px;font-weight:800;margin:8px 0 18px;color:var(--dclms-primary,#1d4ed8)}.dclms-template-price del{font-size:17px;font-weight:500;color:#6b7280;margin-left:8px}.dclms-purchase-action .dclms-btn,.dclms-template-coupon .dclms-btn{background:var(--dclms-button,#1d4ed8);color:var(--dclms-button-text,#fff)!important;border-radius:var(--dclms-radius,8px)}.dclms-purchase-action .dclms-btn{width:100%;text-align:center;box-sizing:border-box}.dclms-template-coupon{margin:15px 0}.dclms-template-coupon label{display:block;font-weight:600;margin-bottom:7px}.dclms-template-coupon>div{display:flex;gap:7px}.dclms-template-coupon .dclms-coupon{min-width:0;flex:1}.dclms-template-coupon .dclms-btn{margin-top:0;padding:9px 12px}.dclms-course-facts{list-style:none;margin:20px 0 0;padding:0;border-top:1px solid #eee}.dclms-course-facts li{padding:11px 0;border-bottom:1px solid #eee;font-size:14px}.dclms-curriculum details{border:1px solid #e5e7eb;border-radius:8px;margin:10px 0;background:#fff;overflow:hidden}.dclms-curriculum summary{cursor:pointer;padding:16px 18px;background:#f8fafc;list-style:none}.dclms-curriculum summary::-webkit-details-marker{display:none}.dclms-curriculum ul{list-style:none;margin:0;padding:0}.dclms-curriculum li{display:flex;justify-content:space-between;gap:12px;padding:13px 18px;border-top:1px solid #eee}.dclms-curriculum a{text-decoration:none}.dclms-done{font-weight:700}.dclms-builder-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px;margin-top:20px}.dclms-builder-panel{background:#fff;border:1px solid #dcdcde;padding:20px;border-radius:8px}.dclms-builder-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dclms-builder-two input,.dclms-builder-two select,.dclms-builder-panel input,.dclms-builder-panel textarea{max-width:100%;box-sizing:border-box}.dclms-builder-module{border:1px solid #dcdcde;border-radius:8px;margin:12px 0;padding:14px}.dclms-builder-module-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.dclms-builder-module ol{margin-bottom:14px}.dclms-builder-module li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #eee}.dclms-inline-form,.dclms-builder-add form{display:flex;gap:8px;flex-wrap:wrap}.dclms-inline-form input,.dclms-builder-add input{flex:1;min-width:160px}.dclms-muted{color:#6b7280}.dclms-template-coupon .dclms-coupon-result{margin-top:7px}.dclms-template-coupon .dclms-coupon-result.is-success{color:#15803d}.dclms-template-coupon .dclms-coupon-result.is-error{color:#b91c1c}
@media(max-width:900px){.dclms-template-hero-inner{grid-template-columns:1fr;padding:30px}.dclms-template-layout{grid-template-columns:1fr}.dclms-template-sidebar{position:static}.dclms-builder-grid{grid-template-columns:1fr}}
@media(max-width:600px){.dclms-template-section{padding:20px}.dclms-learning-grid{grid-template-columns:1fr}.dclms-template-coupon>div{display:block}.dclms-template-coupon .dclms-coupon{width:100%;margin-bottom:8px}.dclms-template-coupon .dclms-btn{width:100%}.dclms-template-meta{display:grid;grid-template-columns:1fr}.dclms-template-meta span{border-radius:8px}.dclms-builder-two{grid-template-columns:1fr}.dclms-inline-form,.dclms-builder-add form{display:block}.dclms-inline-form>*{width:100%;margin-bottom:7px}}

/* Digital Care LMS v19 course page hardening */
.dclms-course-page .dclms-course-template{width:100%;max-width:var(--dclms-container,1180px);margin:30px auto 50px;box-sizing:border-box}
.dclms-course-page .dclms-course-template *{box-sizing:border-box}
.dclms-course-page .dclms-template-hero{width:100%;margin:0 0 28px}
.dclms-course-page .dclms-template-hero-inner{min-height:300px}
.dclms-course-page .dclms-template-main{min-width:0}
.dclms-course-page .dclms-template-sidebar{min-width:0}
.dclms-course-page .dclms-template-coupon input{height:44px;font-size:15px;background:#fff;color:#111827;border:1px solid #cbd5e1}
.dclms-course-page .dclms-template-coupon button{height:44px;white-space:nowrap}
.dclms-course-page .dclms-purchase-card .dclms-btn{font-weight:700;line-height:1.2}
.dclms-course-page .dclms-payment-status{display:block;margin-top:10px;font-size:14px;line-height:1.5}
.dclms-course-page .dclms-coupon-result{line-height:1.5}
.dclms-course-page .dclms-template-price{line-height:1.15}
.dclms-course-page .dclms-template-price del{display:inline-block}
.dclms-course-page .dclms-curriculum summary{font-size:16px}
.dclms-course-page .dclms-curriculum li{align-items:center}
.dclms-course-page .dclms-template-section p:last-child{margin-bottom:0}
@media(max-width:900px){.dclms-course-page .dclms-course-template{padding:0 18px}.dclms-course-page .dclms-template-hero-inner{padding:30px}.dclms-course-page .dclms-template-hero-image img{max-height:360px}.dclms-course-page .dclms-template-sidebar{width:100%}}
@media(max-width:600px){.dclms-course-page .dclms-course-template{padding:0 12px;margin-top:15px}.dclms-course-page .dclms-template-hero-inner{padding:22px}.dclms-course-page .dclms-template-hero h1{font-size:32px}.dclms-course-page .dclms-template-hero p{font-size:16px}.dclms-course-page .dclms-template-section{padding:20px}.dclms-course-page .dclms-template-coupon>div{display:grid;grid-template-columns:1fr;gap:8px}.dclms-course-page .dclms-template-coupon .dclms-coupon{width:100%;margin:0}.dclms-course-page .dclms-template-coupon .dclms-btn{width:100%}}


/* Digital Care LMS v20 — native single-course theme cleanup */
body.dclms-course-page.dclms-course-default-template {
  --dclms-page-gap: 28px;
}
body.dclms-course-page.dclms-course-default-template .dclms-course-template {
  display:block;
  width:100%;
  max-width:var(--dclms-container,1180px);
  margin:var(--dclms-page-gap) auto 60px;
  padding:0 20px;
  box-sizing:border-box;
  clear:both;
}
body.dclms-course-page.dclms-course-default-template .dclms-template-hero,
body.dclms-course-page.dclms-course-default-template .dclms-template-section,
body.dclms-course-page.dclms-course-default-template .dclms-purchase-card {
  box-sizing:border-box;
}
body.dclms-course-page.dclms-course-default-template .dclms-template-hero {
  border:0;
  min-height:0;
}
body.dclms-course-page.dclms-course-default-template .dclms-template-hero-inner {
  max-width:none;
}
body.dclms-course-page.dclms-course-default-template .dclms-template-layout {
  width:100%;
}
body.dclms-course-page.dclms-course-default-template .dclms-template-main,
body.dclms-course-page.dclms-course-default-template .dclms-template-sidebar {
  min-width:0;
}
body.dclms-course-page.dclms-course-default-template .dclms-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 18px;
  border:0;
  text-decoration:none;
  cursor:pointer;
  font-weight:700;
  line-height:1.2;
}
body.dclms-course-page.dclms-course-default-template .dclms-purchase-action .dclms-btn {
  width:100%;
}
body.dclms-course-page.dclms-course-default-template .dclms-template-coupon {
  width:100%;
}
body.dclms-course-page.dclms-course-default-template .dclms-template-coupon > div {
  align-items:stretch;
}
body.dclms-course-page.dclms-course-default-template .dclms-template-coupon input {
  width:100%;
  min-height:44px;
  padding:10px 12px;
}
body.dclms-course-page.dclms-course-default-template .dclms-template-coupon button {
  min-width:125px;
}
body.dclms-course-page.dclms-course-default-template .dclms-curriculum details {
  box-shadow:none;
}
@media (max-width:900px) {
  body.dclms-course-page.dclms-course-default-template .dclms-course-template { padding:0 16px; }
}
@media (max-width:600px) {
  body.dclms-course-page.dclms-course-default-template .dclms-course-template { padding:0 12px; margin-top:15px; }
  body.dclms-course-page.dclms-course-default-template .dclms-template-hero-inner { padding:22px; }
}

.dclms-preview-notice{padding:14px 16px;border:1px solid #dbeafe;background:#eff6ff;border-radius:10px;margin:0 0 14px;display:flex;flex-direction:column;gap:5px}.dclms-preview-notice strong{font-size:15px}.dclms-preview-notice span{font-size:13px;color:#475569}.dclms-preview-complete{margin-top:18px}.dclms-preview-badge{display:inline-block;padding:10px 14px;border-radius:8px;background:#f1f5f9;color:#475569;font-size:13px}

/* Digital Care LMS v22 — suppress theme duplicate featured-image chrome on native course pages. */
body.dclms-course-page.dclms-course-default-template .elementor-widget-theme-post-featured-image,
body.dclms-course-page.dclms-course-default-template .elementor-widget-post-featured-image,
body.dclms-course-page.dclms-course-default-template .elementor-post-featured-image,
body.dclms-course-page.dclms-course-default-template .elementor-post__thumbnail,
body.dclms-course-page.dclms-course-default-template .entry-featured-image,
body.dclms-course-page.dclms-course-default-template .entry-thumbnail,
body.dclms-course-page.dclms-course-default-template .blog-featured-image,
body.dclms-course-page.dclms-course-default-template .single-post-thumbnail { display:none !important; }

/* V23 duplicate featured-image fallback. The JS above targets the exact course thumbnail URL. */
body.dclms-course-page.dclms-course-default-template article > .featured-image,
body.dclms-course-page.dclms-course-default-template article > .post-thumbnail,
body.dclms-course-page.dclms-course-default-template article > .post-featured-image { display:none !important; }

/* Course hero contrast fix: prevent theme styles from hiding the course title. */
body.dclms-course-page.dclms-course-default-template .dclms-template-hero h1,
body.dclms-course-page.dclms-course-default-template .dclms-template-hero h1 a {
  color:#fff !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
}
body.dclms-course-page.dclms-course-default-template .dclms-template-hero p {
  color:#fff !important;
}

/* Category filter for the course listing shortcode */
.dclms-course-listing{width:100%;}
.dclms-course-listing .dclms-category-filter{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 24px;padding:16px;background:#f7f9fc;border:1px solid #e3e8ef;border-radius:10px;}
.dclms-course-listing .dclms-category-filter label{font-weight:600;color:#1c2b3a;}
.dclms-course-listing .dclms-category-filter select{min-width:220px;max-width:100%;padding:10px 36px 10px 12px;border:1px solid #ccd4df;border-radius:7px;background:#fff;color:#1c2b3a;font:inherit;}
.dclms-course-listing .dclms-no-courses{grid-column:1/-1;padding:18px;border:1px solid #e3e8ef;border-radius:8px;background:#fff;}
@media(max-width:600px){.dclms-course-listing .dclms-category-filter{align-items:stretch;flex-direction:column}.dclms-course-listing .dclms-category-filter select{width:100%;min-width:0}}
