/*
 Theme Name: Astra Learn Child
 Template: astra
 Version: 1.7.108
*/

/* =============================================================
   DRE CSS MAINTENANCE — v1.7.32
   First-pass organisation only: cascade, specificity, and rule
   order are intentionally unchanged for safe visual comparison.

   Main areas (search these headings/selectors):
   - .dre-hub / .dre-scenario-topics: hub and topic tiles
   - .dre-member-menu: member navigation
   - .page-id-594: learner dashboard
   - body.single-dre_flex_course: course detail
   - body.dre-pmpro-checkout-page: checkout
   - body.dre-pmpro-confirmation-page: confirmation
   - body.post-type-archive-dre_flex_course: course catalogue
   - body.dre-live-classes-page: live classes
   - .dre-live-learning: My Live Learning

   IMPORTANT: repeated selectors and !important flags were retained
   because later overrides may be necessary. Do not delete blindly.
============================================================= */

body{ font-family:"Nunito",sans-serif; font-size:18px; line-height:1.7; color:#333; }

body, .site, .site-content, .ast-container, .entry-content, main.site-main {
	font-family:"Nunito",sans-serif;
}

.entry-content{
	display:block !important;
}

.wp-block-group.is-layout-constrained .dre-sw1-quiz,
.wp-block-group.is-layout-constrained .dre-dictation,
.wp-block-group.is-layout-constrained .dre-snips1{
	width:100%;
	max-width:none;
	padding-left:0;
	padding-right:0;
}

/* =========================================
   DRE HUB
========================================= */

.dre-hub{
	max-width:1200px;
	margin:0 auto;
	padding:32px 20px 56px;
}

.dre-hub > p:first-of-type{
	margin:0 0 24px;
	font-size:1rem;
	line-height:1.7;
	color:#4F535D;
}

.dre-hub .dre-hub-card{
	background:#fff;
	border:1px solid #e7e7e7;
	border-radius:20px;
	padding:28px;
	margin:0 0 28px;
	box-shadow:0 8px 24px rgba(24,165,221,.04);
}

.dre-hub .dre-hub-card h2{
	margin:0 0 16px;
	color:#22313f;
}

.dre-hub .dre-level-cards{
	gap:20px;
}

.dre-hub .dre-level-card{
	height:100%;
	border:1px solid #e7e7e7;
	border-radius:18px;
	padding:22px;
	background:#fff;
	transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.dre-hub .dre-level-card:hover,
.dre-hub .dre-level-card:focus-within{
	transform:translateY(-2px);
	border-color:#d4dbe1;
	box-shadow:0 10px 22px rgba(0,0,0,.05);
}

.dre-hub .dre-level-card h3{
	margin:0 0 8px;
	color:#22313f;
}

.dre-hub .dre-level-card p{
	margin:0;
	line-height:1.6;
	color:#4F535D;
}

/* fix visited / linked text inside clickable hub cards */

.dre-box,
.dre-box:visited{
	color:#4F535D;
	text-decoration:none;
}

.dre-box h3,
.dre-box h3:visited{
	color:#22313f;
}

.dre-box p,
.dre-box p:visited{
	color:#4F535D;
}

.dre-box:hover,
.dre-box:focus{
	color:#4F535D;
	text-decoration:none;
}

.dre-box:hover h3,
.dre-box:focus h3{
	color:#22313f;
}

.dre-box:hover p,
.dre-box:focus p{
	color:#4F535D;
}

/* =========================================
   SCENARIO TOPIC GRID
========================================= */

.dre-scenario-topics{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:10px;
	margin-top:18px;
}

.dre-scenario-topics div{
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:52px;
	border:1px solid #dfe7ed;
	border-radius:14px;
	background:#fbfdfe;
	font-weight:700;
	font-size:.82rem;
	letter-spacing:.03em;
	text-transform:uppercase;
	color:#355061;
}

.dre-scenario-panel{
	padding:26px;
}

.dre-scenario-meta{
	margin-top:16px;
	font-weight:700;
	color:#18a5dd;
}

@media (max-width:900px){

	.dre-hub{
		padding:24px 16px 44px;
	}

	.dre-hub .dre-hub-card{
		padding:20px 18px;
	}

}


/* DRE dashboard full-width page override */

.page-id-594 .ast-container,
.page-id-594 .entry-content,
.page-id-594 .site-content .ast-container,
.page-id-594 article {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* =========================================================
   DRE COURSE-LED LEARNING HUB — v1.1.2
   Theme owns the learner dashboard/global Hub navigation.
========================================================= */
.dre-member-menu{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:12px 24px;border-bottom:1px solid #e3e8ec;background:#fff}
.dre-member-menu-brand{display:flex;align-items:center;gap:12px;min-width:0}
.dre-member-menu-logo{display:block;flex:0 0 50px;width:50px;height:50px}
.dre-member-menu-logo img{display:block;width:50px;height:50px;object-fit:contain}
.dre-member-menu-brand-text{display:flex;flex-direction:column;line-height:1.15}
.dre-member-menu-brand-text strong{color:#22313f;font-size:.95rem;font-weight:800}.dre-member-menu-brand-text span{margin-top:3px;color:#8a959d;font-size:.72rem;font-weight:600}
.dre-member-menu-dropdown{position:relative;margin:0}.dre-member-menu-dropdown>summary{list-style:none;cursor:pointer;padding:8px 13px;border:1px solid #d8e1e6;border-radius:7px;background:#fff;color:#52616b;font-size:.82rem;font-weight:800}.dre-member-menu-dropdown>summary::-webkit-details-marker{display:none}
.dre-member-menu-nav{position:absolute;right:0;top:calc(100% + 7px);z-index:50;display:grid;min-width:180px;padding:6px;border:1px solid #dce4e9;border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(34,49,63,.10)}
.dre-member-menu-nav a,.dre-member-menu-nav a:visited{padding:9px 10px;border-radius:6px;color:#52616b!important;text-decoration:none!important;font-size:.82rem;font-weight:700}.dre-member-menu-nav a:hover,.dre-member-menu-nav a:focus{background:#eef8fc;color:#1594c8!important}

.dre-course-dashboard{max-width:1180px;margin:0 auto;padding:32px 24px 60px}.dre-course-dashboard-hero{margin-bottom:28px}.dre-course-dashboard-kicker{margin:0 0 4px;color:#18a5dd;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.dre-course-dashboard h1{margin:0;color:#22313f;font-size:clamp(2rem,4vw,3rem);line-height:1.08}.dre-course-dashboard-intro{max-width:720px;margin:10px 0 0;color:#66737c}
.dre-course-dashboard-section{margin-top:34px}.dre-course-dashboard-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:14px}.dre-course-dashboard-section h2{margin:0;color:#22313f;font-size:1.45rem}.dre-course-dashboard-section-head p{margin:0;color:#849099;font-size:.85rem}
.dre-course-continue{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:20px;align-items:center;padding:14px;border:1px solid #dce5ea;border-radius:14px;background:#fff;text-decoration:none!important;color:#4f5d66!important}.dre-course-continue img,.dre-course-card-image img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.dre-course-image-placeholder{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/9;background:#eaf2f6;color:#98a5ae;font-size:.72rem;font-weight:700}.dre-course-continue-copy strong{display:block;color:#22313f;font-size:1.05rem}.dre-course-continue-copy span{display:block;margin-top:4px;color:#7b8790;font-size:.8rem}.dre-course-continue-action{padding:9px 13px;border-radius:7px;background:#f238a6;color:#fff;font-size:.8rem;font-weight:800}
.dre-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dre-course-card{overflow:hidden;border:1px solid #dce5ea;border-radius:14px;background:#fff}.dre-course-card-body{padding:16px}.dre-course-card-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.dre-course-card-meta span{color:#77858e;font-size:.72rem;font-weight:700}.dre-course-card h3{margin:0;color:#22313f;font-size:1.05rem}.dre-course-card-progress{height:6px;margin:14px 0 7px;overflow:hidden;border-radius:999px;background:#e8eef1}.dre-course-card-progress span{display:block;height:100%;background:#18a5dd}.dre-course-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#849099;font-size:.74rem}.dre-course-card-foot a,.dre-course-card-foot a:visited{color:#168fc0!important;font-weight:800;text-decoration:none!important}.dre-course-empty{padding:22px;border:1px dashed #ccd8df;border-radius:12px;color:#7c8992;background:#fbfdfe}
.dre-course-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dre-course-level{padding:17px 18px;border:1px solid #dce5ea;border-radius:12px;background:#fff}.dre-course-level strong{display:block;color:#22313f}.dre-course-level span{display:block;margin-top:3px;color:#7d8992;font-size:.82rem}
@media(max-width:800px){.dre-member-menu{padding:8px 14px}.dre-member-menu-logo,.dre-member-menu-logo img{width:42px;height:42px}.dre-member-menu-brand-text span{display:none}.dre-course-dashboard{padding:24px 16px 44px}.dre-course-grid{grid-template-columns:1fr}.dre-course-continue{grid-template-columns:90px minmax(0,1fr)}.dre-course-continue-action{grid-column:1/-1;text-align:center}.dre-course-levels{grid-template-columns:1fr}}


/* =========================================================
   DRE COURSE HUB — v1.1.3 targeted dashboard correction
   Keep Flexible Learning lesson/activity styling untouched.
========================================================= */

/* Dashboard is itself the Hub: suppress Astra's duplicate site header only here. */
.page-id-594 .site-header,
.page-id-594 #masthead { display:none !important; }

/* Shared Hub identity bar. Deliberately mirrors the compact course-home identity. */
.dre-member-menu{
  box-sizing:border-box;
  max-width:1424px;
  margin:0 auto;
  padding:10px 24px;
  min-height:74px;
  border:1px solid #e1e7eb;
  border-top:0;
  background:#fff;
}
.dre-member-menu-brand{gap:12px}
.dre-member-menu-logo,
.dre-member-menu-logo img{width:48px;height:48px;flex-basis:48px}
.dre-member-menu-brand-text strong{font-size:1rem;color:#22313f}
.dre-member-menu-brand-text span{font-size:.72rem;color:#8a959d}
.dre-member-menu-actions{display:flex;align-items:center;margin-left:auto}
.dre-member-menu-current,
.dre-member-menu-current:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:8px 16px;
  border:1px solid #d6e0e6;
  border-radius:8px;
  background:#fff;
  color:#52616b !important;
  font-size:.82rem;
  font-weight:800;
  line-height:1;
  text-decoration:none !important;
}
.dre-member-menu-current:hover,
.dre-member-menu-current:focus{background:#eef8fc;color:#1594c8 !important}

/* Dashboard body: compact and intentionally course-led. */
.page-id-594 .dre-course-dashboard{
  box-sizing:border-box;
  max-width:1424px;
  margin:0 auto;
  padding:42px 24px 64px;
}
.page-id-594 .dre-course-dashboard-hero{margin:0 0 36px}
.page-id-594 .dre-course-dashboard-section{margin-top:34px}
.page-id-594 .dre-course-dashboard-section-head{
  align-items:baseline;
  margin-bottom:16px;
}

/* Cards should never stretch to a huge fraction of a wide desktop. */
.page-id-594 .dre-course-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,360px));
  justify-content:start;
  gap:20px;
}
.page-id-594 .dre-course-card{
  width:100%;
  max-width:360px;
  border-radius:12px;
  box-shadow:0 5px 18px rgba(34,49,63,.045);
}
.page-id-594 .dre-course-card-image{
  height:178px;
  overflow:hidden;
  background:#eaf2f6;
}
.page-id-594 .dre-course-card-image img{
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
}
.page-id-594 .dre-course-card-image .dre-course-image-placeholder{
  height:100%;
  min-height:178px;
  aspect-ratio:auto;
}
.page-id-594 .dre-course-card-body{padding:16px 18px 17px}
.page-id-594 .dre-course-card h3{font-size:1.15rem;line-height:1.25}
.page-id-594 .dre-course-card-foot{margin-top:2px}

/* Levels are secondary metadata, not another major dashboard destination. */
.page-id-594 #levels{margin-top:30px;padding-top:22px;border-top:1px solid #e4eaee}
.page-id-594 #levels .dre-course-dashboard-section-head{margin-bottom:10px}
.page-id-594 #levels h2{font-size:1rem}
.page-id-594 .dre-course-levels{display:flex;flex-wrap:wrap;gap:10px}
.page-id-594 .dre-course-level{
  display:flex;
  align-items:center;
  gap:6px;
  width:auto;
  min-width:0;
  padding:8px 12px;
  border-radius:8px;
  background:#fff;
}
.page-id-594 .dre-course-level strong,
.page-id-594 .dre-course-level span{display:inline;margin:0;font-size:.78rem}

@media(max-width:800px){
  .dre-member-menu{min-height:64px;padding:8px 14px;border-left:0;border-right:0}
  .dre-member-menu-logo,.dre-member-menu-logo img{width:42px;height:42px;flex-basis:42px}
  .dre-member-menu-brand-text span{display:block}
  .dre-member-menu-current{min-height:38px;padding:7px 11px;font-size:.76rem}
  .page-id-594 .dre-course-dashboard{padding:28px 16px 48px}
  .page-id-594 .dre-course-grid{grid-template-columns:1fr}
  .page-id-594 .dre-course-card{max-width:none}
  .page-id-594 .dre-course-card-image{height:auto;aspect-ratio:16/9}
  .page-id-594 .dre-course-card-image .dre-course-image-placeholder{height:100%;min-height:0}
}


/* =========================================================
   DRE COURSE HUB — v1.1.4 shared-shell correction
   Scope: dashboard + course-home navigation presentation.
   Flexible Learning lesson/activity UI is deliberately untouched.
========================================================= */

/* ---------- Shared Learning Hub shell ---------- */
.dre-member-menu{
  max-width:none;
  min-height:88px;
  margin:0;
  padding:14px clamp(22px,4vw,54px);
  border:0;
  border-radius:0;
  background:#4F535D;
  color:#fff;
}
.dre-member-menu-brand{gap:14px}
.dre-member-menu-logo,
.dre-member-menu-logo img{
  width:58px;
  height:58px;
  flex-basis:58px;
}
.dre-member-menu-brand-text,
.dre-member-menu-brand-text:visited{
  display:flex;
  flex-direction:column;
  text-decoration:none !important;
}
.dre-member-menu-brand-text strong{
  color:#fff;
  font-size:1.05rem;
  font-weight:800;
}
.dre-member-menu-brand-text span{
  margin-top:4px;
  color:#d4dde4;
  font-size:.75rem;
  font-weight:700;
}
.dre-member-menu-actions{gap:8px}
.dre-member-menu-link,
.dre-member-menu-link:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 15px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:8px;
  background:transparent;
  color:#fff !important;
  font-size:.82rem;
  font-weight:800;
  line-height:1;
  text-decoration:none !important;
}
.dre-member-menu-link:hover,
.dre-member-menu-link:focus{
  border-color:#fff;
  background:rgba(255,255,255,.10);
  color:#fff !important;
}
.dre-member-menu-link.is-current{
  border-color:#ef3fa8;
  background:#ef3fa8;
  color:#fff !important;
}

/* ---------- Dashboard: restore a deliberate, contained layout ---------- */
.page-id-594 .dre-course-dashboard{
  max-width:1240px;
  padding:38px 28px 60px;
}
.page-id-594 .dre-course-dashboard-hero{
  max-width:820px;
  margin-bottom:38px;
}
.page-id-594 .dre-course-dashboard h1{
  font-size:clamp(2.25rem,4vw,3.35rem);
}
.page-id-594 .dre-course-dashboard-section{
  margin-top:36px;
}
.page-id-594 .dre-course-dashboard-section-head{
  display:block;
  margin-bottom:16px;
}
.page-id-594 .dre-course-dashboard-section-head > div{
  max-width:720px;
}
.page-id-594 .dre-course-dashboard-section-head p{
  margin-top:5px;
  font-size:.88rem;
}
.page-id-594 .dre-course-grid{
  grid-template-columns:repeat(auto-fill,minmax(290px,340px));
  gap:22px;
}
.page-id-594 .dre-course-card{
  max-width:340px;
}
.page-id-594 .dre-course-card-image{
  height:auto;
  aspect-ratio:16/9;
}
.page-id-594 .dre-course-card-image .dre-course-image-placeholder{
  min-height:0;
  height:100%;
}
.page-id-594 #levels{
  margin-top:42px;
  padding-top:24px;
}
.page-id-594 #levels .dre-course-dashboard-section-head{
  margin-bottom:12px;
}

/* ---------- Course home: visually use the same shell ----------
   The stable 0.7.3 plugin still outputs this nav, so we make it match
   the theme-owned dashboard shell without changing the plugin. */
.drefl-course-home-nav{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  min-height:88px !important;
  margin:0 !important;
  padding:14px clamp(22px,4vw,54px) !important;
  border:0 !important;
  border-radius:0 !important;
  background:#4F535D !important;
  color:#fff !important;
}
.drefl-course-home-brand,
.drefl-course-home-brand:visited{
  color:#fff !important;
  text-decoration:none !important;
}
.drefl-course-home-brand img{
  width:58px !important;
  height:58px !important;
}
.drefl-course-home-brand strong{color:#fff !important}
.drefl-course-home-brand small{color:#d4dde4 !important}
.drefl-my-learning-link,
.drefl-my-learning-link:visited{
  min-height:42px !important;
  padding:9px 15px !important;
  border:1px solid rgba(255,255,255,.34) !important;
  border-radius:8px !important;
  background:transparent !important;
  color:#fff !important;
  font-size:.82rem !important;
  font-weight:800 !important;
  text-decoration:none !important;
}
.drefl-my-learning-link:hover,
.drefl-my-learning-link:focus{
  border-color:#fff !important;
  background:rgba(255,255,255,.10) !important;
  color:#fff !important;
}

/* Correct the pale-strip contrast bug. */
.drefl-course-progress h2,
.drefl-course-progress-title,
.drefl-course-hero-info .drefl-course-progress h2{
  color:#22313f !important;
}

/* Keep course information aligned with the same content edge as hero copy. */
.drefl-course-hero-info{
  box-sizing:border-box;
}
.drefl-course-about{
  text-align:left;
}

/* ---------- Mobile ---------- */
@media(max-width:800px){
  .dre-member-menu,
  .drefl-course-home-nav{
    min-height:72px !important;
    padding:9px 14px !important;
  }
  .dre-member-menu-logo,
  .dre-member-menu-logo img,
  .drefl-course-home-brand img{
    width:46px !important;
    height:46px !important;
    flex-basis:46px;
  }
  .dre-member-menu-brand-text span{display:none}
  .dre-member-menu-actions{gap:5px}
  .dre-member-menu-link,
  .drefl-my-learning-link{
    min-height:38px !important;
    padding:7px 10px !important;
    font-size:.75rem !important;
  }
  .page-id-594 .dre-course-dashboard{
    padding:28px 16px 46px;
  }
}

/* =========================================================
   DRE COURSE HUB — v1.1.5 shell alignment
   Dashboard + Course Home share one viewport-wide Hub bar.
   Lesson/course activity navigation is intentionally untouched.
========================================================= */

/* A course template is rendered inside Astra's content container.
   Break only the shared Hub bar out to the viewport so it has the
   same geometry as the dashboard bar. */
body.single-dre_flex_course .dre-member-menu{
  position:relative;
  left:50%;
  width:100vw;
  max-width:none;
  margin-left:-50vw;
  margin-right:-50vw;
}

/* The dashboard already owns its page shell; explicitly keep the same
   edge-to-edge bar there as well. */
.page-id-594 .dre-member-menu{
  width:100vw;
  max-width:none;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}

/* Course Home progress heading sits on a pale information band, so it
   must use the normal DRE dark text rather than inherited white. */
body.single-dre_flex_course .drefl-course-hero .drefl-course-progress-copy > span{
  color:#22313f !important;
}
body.single-dre_flex_course .drefl-course-hero .drefl-course-progress-copy > strong{
  color:#159fd3 !important;
}

/* Keep the two halves of the integrated information band aligned to
   the same vertical/content rhythm. */
body.single-dre_flex_course .drefl-course-hero-info{
  align-items:center;
}
body.single-dre_flex_course .drefl-course-about,
body.single-dre_flex_course .drefl-course-progress-card{
  align-self:center;
}

/* =========================================================
   DRE COURSE HUB — v1.1.6 course-home shell + alignment
   Scope: dashboard + Flexible Course Home only.
   Flexible Lesson/activity navigation remains untouched.
========================================================= */

/* Flexible Course Home was still being clipped by Astra's normal
   content-width container. Remove that outer constraint for this page
   type so the Hub bar and course zones can use the same page geometry
   as the dashboard. */
body.single-dre_flex_course .site-content > .ast-container,
body.single-dre_flex_course .site-content .ast-container,
body.single-dre_flex_course #primary,
body.single-dre_flex_course .site-main,
body.single-dre_flex_course article,
body.single-dre_flex_course .entry-content,
body.single-dre_flex_course .drefl-course-main,
body.single-dre_flex_course .drefl-course-home-page{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* Once the Astra wrapper is genuinely full width the shared Hub bar
   no longer needs the earlier viewport-breakout workaround. */
body.single-dre_flex_course .dre-member-menu{
  position:static !important;
  left:auto !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}

/* One horizontal content system for the whole Course Home.
   Hero copy, information band and Course contents now share the same
   left/right content edges. */
body.single-dre_flex_course .drefl-course-hero{
  width:100% !important;
  margin:0 !important;
  padding-left:clamp(28px,6vw,110px) !important;
  padding-right:clamp(28px,6vw,110px) !important;
}
body.single-dre_flex_course .drefl-course-outline{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:42px clamp(28px,6vw,110px) 64px !important;
}

/* Dashboard is already 'My learning', so do not display a button that
   simply links back to the page the learner is currently viewing. */
.page-id-594 .dre-member-menu-link.is-current{
  display:none !important;
}

/* On Course Home, My learning is the clear return action. Keep the
   action colour consistent with the DRE pink used elsewhere. */
body.single-dre_flex_course .dre-member-menu-actions .dre-member-menu-link:first-child,
body.single-dre_flex_course .dre-member-menu-actions .dre-member-menu-link:first-child:visited{
  border-color:#ef3fa8 !important;
  background:#ef3fa8 !important;
  color:#fff !important;
}
body.single-dre_flex_course .dre-member-menu-actions .dre-member-menu-link:first-child:hover,
body.single-dre_flex_course .dre-member-menu-actions .dre-member-menu-link:first-child:focus{
  border-color:#d92e94 !important;
  background:#d92e94 !important;
}

@media(max-width:900px){
  body.single-dre_flex_course .drefl-course-outline{
    padding:30px 18px 42px !important;
  }
}


/* =========================================================
   DRE COURSE HUB — v1.1.7 shell consolidation
   Dashboard + Course Home share one visual Hub shell.
   Lesson pages keep their focused course sidebar.
========================================================= */

:root{
  --dre-hub-shell-height:106px;
  --dre-hub-shell-pad-x:clamp(28px,3vw,56px);
  --dre-course-content-pad:clamp(32px,6vw,112px);
}

/* One visual header specification, whether the markup comes from the
   child theme (dashboard) or the stable Flexible Learning course view. */
.dre-member-menu,
.drefl-course-home-nav{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  max-width:none!important;
  height:var(--dre-hub-shell-height)!important;
  min-height:var(--dre-hub-shell-height)!important;
  margin:0!important;
  padding:14px var(--dre-hub-shell-pad-x)!important;
  border:0!important;
  border-radius:0!important;
  background:#4F535D!important;
}
.dre-member-menu-logo,
.dre-member-menu-logo img,
.drefl-course-home-brand img{
  width:62px!important;
  height:62px!important;
  flex:0 0 62px!important;
}
.dre-member-menu-brand,
.drefl-course-home-brand{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
}
.dre-member-menu-brand-text strong,
.drefl-course-home-brand strong{
  color:#fff!important;
  font-size:1.05rem!important;
  font-weight:800!important;
  line-height:1.15!important;
}
.dre-member-menu-brand-text span,
.drefl-course-home-brand small{
  display:block!important;
  margin-top:4px!important;
  color:#d4dde4!important;
  font-size:.75rem!important;
  font-weight:700!important;
  line-height:1.15!important;
}

/* Course Home: one content grid from hero through information and schedule. */
body.single-dre_flex_course .drefl-course-hero{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:var(--dre-course-content-pad)!important;
  padding-right:var(--dre-course-content-pad)!important;
}
body.single-dre_flex_course .drefl-course-hero-info{
  box-sizing:border-box!important;
  grid-column:1 / -1!important;
  margin-left:calc(-1 * var(--dre-course-content-pad))!important;
  margin-right:calc(-1 * var(--dre-course-content-pad))!important;
  padding-left:var(--dre-course-content-pad)!important;
  padding-right:var(--dre-course-content-pad)!important;
}
body.single-dre_flex_course .drefl-course-outline{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:42px var(--dre-course-content-pad) 64px!important;
}
body.single-dre_flex_course .drefl-course-outline-head{
  width:100%!important;
  margin:0 0 18px!important;
}

/* Lesson application: remove Astra's outer centring gutter. The course
   sidebar now begins at the viewport edge and the lesson follows it. */
@media(min-width:901px){
  body.single-dre_flex_lesson .site-content,
  body.single-dre_flex_lesson .site-content > .ast-container,
  body.single-dre_flex_lesson .site-content .ast-container,
  body.single-dre_flex_lesson #primary,
  body.single-dre_flex_lesson .site-main,
  body.single-dre_flex_lesson .drefl-site-main{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.single-dre_flex_lesson .drefl-course-layout{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    justify-content:start!important;
  }
  body.single-dre_flex_lesson .drefl-course-nav{
    margin-left:0!important;
    border-left:0!important;
  }
}

/* Lesson sidebar hierarchy: course learning items first; destinations
   outside the activity sequence live together at the bottom. */
body.single-dre_flex_lesson .drefl-course-brand .drefl-hub-home-link,
body.single-dre_flex_lesson .drefl-current-course-links{
  margin:0!important;
}
body.single-dre_flex_lesson .drefl-lesson-utility-nav{
  display:grid;
  gap:6px;
  margin-top:10px;
  padding:12px;
  border-top:1px solid #dfe5e9;
  background:#f7f9fa;
}
body.single-dre_flex_lesson .drefl-lesson-utility-nav .drefl-course-home-link,
body.single-dre_flex_lesson .drefl-lesson-utility-nav .drefl-hub-home-link,
body.single-dre_flex_lesson .drefl-lesson-utility-nav a:visited{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-height:34px!important;
  margin:0!important;
  padding:7px 9px!important;
  border:1px solid #dfe5e9!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#65727c!important;
  -webkit-text-fill-color:#65727c!important;
  text-decoration:none!important;
  font-size:.82rem!important;
  font-weight:800!important;
}
body.single-dre_flex_lesson .drefl-lesson-utility-nav a:hover,
body.single-dre_flex_lesson .drefl-lesson-utility-nav a:focus-visible{
  background:#eef3f5!important;
  border-color:#cbd6dc!important;
  color:#46545e!important;
  -webkit-text-fill-color:#46545e!important;
}

@media(max-width:900px){
  :root{--dre-hub-shell-height:76px;--dre-course-content-pad:18px}
  .dre-member-menu-logo,
  .dre-member-menu-logo img,
  .drefl-course-home-brand img{
    width:46px!important;
    height:46px!important;
    flex-basis:46px!important;
  }
  body.single-dre_flex_course .drefl-course-hero-info{
    margin-left:-18px!important;
    margin-right:-18px!important;
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.single-dre_flex_course .drefl-course-outline{
    padding:30px 18px 42px!important;
  }
}

/* =========================================================
   DRE COURSE HUB — v1.1.8 visual consistency pass
   Dashboard / Course Home / Lesson shell refinements only.
========================================================= */
:root{
  --dre-heading:#2f4658;
  --dre-heading-strong:#263b4c;
  --dre-shell:#4F535D;
  --dre-pink:#ef3fa8;
  --dre-soft:#edf5f9;
}

/* Shared Hub shell: force identical geometry on Dashboard and Course Home. */
body.page-id-594 .dre-member-menu,
body.single-dre_flex_course .drefl-course-home-nav{
  height:106px!important;
  min-height:106px!important;
  padding:14px 54px!important;
  background:var(--dre-shell)!important;
}
body.page-id-594 .dre-member-menu-logo,
body.page-id-594 .dre-member-menu-logo img,
body.single-dre_flex_course .drefl-course-home-brand img{
  width:62px!important;height:62px!important;flex:0 0 62px!important;
}
body.page-id-594 .dre-member-menu-brand-text strong,
body.single-dre_flex_course .drefl-course-home-brand strong{
  font-size:1.05rem!important;line-height:1.15!important;color:#fff!important;
}
body.page-id-594 .dre-member-menu-brand-text span,
body.single-dre_flex_course .drefl-course-home-brand small{
  margin-top:4px!important;font-size:.75rem!important;line-height:1.15!important;color:#d4dde4!important;
}

/* DRE headings: dark blue/charcoal rather than true black. */
.page-id-594 .dre-course-dashboard h1,
.page-id-594 .dre-course-dashboard h2,
.page-id-594 .dre-course-dashboard h3,
body.single-dre_flex_course .drefl-course-home-page h1,
body.single-dre_flex_course .drefl-course-home-page h2,
body.single-dre_flex_course .drefl-course-home-page h3{
  color:var(--dre-heading)!important;
}

/* Dashboard: cleaner hierarchy and a light split for the course area. */
.page-id-594 .dre-course-dashboard-kicker{display:none!important}
.page-id-594 .dre-course-dashboard-hero{margin-bottom:30px!important}
.page-id-594 .dre-course-dashboard-section.is-courses{
  margin-left:-28px!important;
  margin-right:-28px!important;
  padding:30px 28px 34px!important;
  background:var(--dre-soft)!important;
}
.page-id-594 .dre-course-card-meta{
  display:flex!important;
  gap:7px!important;
  margin:0 0 7px!important;
  color:#6f7f89!important;
}
.page-id-594 .dre-course-card-meta span{display:inline!important;color:#6f7f89!important}
.page-id-594 .dre-course-card-foot a,
.page-id-594 .dre-course-card-foot a:visited,
.page-id-594 .dre-course-continue-action{
  color:var(--dre-pink)!important;
  -webkit-text-fill-color:var(--dre-pink)!important;
}
.page-id-594 .dre-course-card-foot a:hover,
.page-id-594 .dre-course-card-foot a:focus{color:#d92e94!important;-webkit-text-fill-color:#d92e94!important}

/* Course Home: remove redundant blue eyebrow labels and keep all zones on one grid. */
body.single-dre_flex_course .drefl-course-eyebrow{display:none!important}
body.single-dre_flex_course .drefl-course-hero,
body.single-dre_flex_course .drefl-course-hero-info,
body.single-dre_flex_course .drefl-course-outline{
  --dre-course-content-pad:clamp(32px,6vw,112px);
}
body.single-dre_flex_course .drefl-course-hero-copy,
body.single-dre_flex_course .drefl-course-about,
body.single-dre_flex_course .drefl-course-outline-head{
  text-align:left!important;
}
body.single-dre_flex_course .drefl-course-about h2,
body.single-dre_flex_course .drefl-course-outline h2{margin-top:0!important}

/* Lesson shell identity: dark mini Hub header, then course-specific navigation. */
body.single-dre_flex_lesson .drefl-course-brand{
  padding:12px!important;
  background:var(--dre-shell)!important;
  border-bottom:0!important;
}
body.single-dre_flex_lesson .drefl-course-brand-row strong{color:#fff!important}
body.single-dre_flex_lesson .drefl-course-brand-row small{color:#d4dde4!important}
body.single-dre_flex_lesson .drefl-course-brand .drefl-course-close{color:#fff!important}
body.single-dre_flex_lesson .drefl-course-section-chevron,
body.single-dre_flex_lesson .drefl-course-section.is-open .drefl-course-section-chevron{
  color:#aeb8bf!important;
}

/* Continue is sequential navigation, not a lesson/menu pill. */
body.single-dre_flex_lesson .drefl-subsection-continue{
  min-height:40px!important;
  padding:9px 15px!important;
  border:0!important;
  border-radius:999px!important;
  background:#f5f7f8!important;
  color:var(--dre-pink)!important;
  -webkit-text-fill-color:var(--dre-pink)!important;
  box-shadow:none!important;
  font-weight:800!important;
}
body.single-dre_flex_lesson .drefl-subsection-continue:hover,
body.single-dre_flex_lesson .drefl-subsection-continue:focus{
  border:0!important;background:#edf1f3!important;color:#d92e94!important;-webkit-text-fill-color:#d92e94!important;
}

@media(max-width:900px){
  body.page-id-594 .dre-member-menu,
  body.single-dre_flex_course .drefl-course-home-nav{
    height:76px!important;min-height:76px!important;padding:9px 14px!important;
  }
  .page-id-594 .dre-course-dashboard-section.is-courses{
    margin-left:-16px!important;margin-right:-16px!important;padding:24px 16px 28px!important;
  }
}

/* =========================================================
   DRE COURSE HUB — v1.1.9 desktop refinement
========================================================= */

/* Course cards should read as active objects on the tinted dashboard zone. */
.page-id-594 .dre-course-card{
  border-color:#cfdde5!important;
  box-shadow:0 8px 24px rgba(34,56,75,.09)!important;
  background:#fff!important;
}
.page-id-594 .dre-course-card:hover{
  border-color:#bdd0db!important;
  box-shadow:0 11px 28px rgba(34,56,75,.12)!important;
}

/* Level controls are navigation, not static labels. */
.page-id-594 .dre-course-levels a.dre-course-level{
  text-decoration:none!important;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
.page-id-594 .dre-course-levels a.dre-course-level:hover,
.page-id-594 .dre-course-levels a.dre-course-level:focus-visible{
  border-color:#b9ccd7!important;
  background:#f7fbfd!important;
  transform:translateY(-1px);
}

/* Action buttons do not need decorative arrow glyphs. */
body.single-dre_flex_course .drefl-course-primary-action > span[aria-hidden="true"]{
  display:none!important;
}


/* =========================================================
   DRE COURSE HUB — v1.2.0 desktop architecture completion
========================================================= */

/* One course image, one ratio, everywhere. */
.page-id-594 .dre-course-card-image,
.page-id-594 .dre-course-continue > div:first-child,
body.single-dre_flex_lesson .drefl-course-menu-image{
  aspect-ratio:16/9!important;
  height:auto!important;
  overflow:hidden!important;
}
.page-id-594 .dre-course-card-image img,
.page-id-594 .dre-course-continue img,
body.single-dre_flex_lesson .drefl-course-menu-image img{
  width:100%!important;
  height:100%!important;
  aspect-ratio:16/9!important;
  object-fit:cover!important;
}

/* Price/access is information, so keep it quiet and distinct from pink actions. */
.page-id-594 .dre-course-card-access{
  display:inline-flex;
  width:max-content;
  margin:0 0 9px;
  padding:4px 8px;
  border-radius:999px;
  background:#f3f6f8;
  color:#52636f;
  font-size:.75rem;
  font-weight:800;
}
.page-id-594 .dre-course-card-foot-locked{
  margin-top:16px;
}

/* Lesson accordion chevrons are deliberately neutral in every state. */
body.single-dre_flex_lesson .drefl-course-section-chevron,
body.single-dre_flex_lesson .drefl-course-section-toggle .drefl-course-section-chevron,
body.single-dre_flex_lesson .drefl-course-section.is-open .drefl-course-section-chevron,
body.single-dre_flex_lesson .drefl-course-section-toggle:hover .drefl-course-section-chevron,
body.single-dre_flex_lesson .drefl-course-section-toggle:focus .drefl-course-section-chevron{
  color:#aeb8bf!important;
  -webkit-text-fill-color:#aeb8bf!important;
}

/* Remove decorative arrow glyphs from course/lesson actions. */
body.single-dre_flex_course .drefl-course-primary-action span[aria-hidden="true"],
.drefl-course-start span[aria-hidden="true"]{
  display:none!important;
}

/* v1.2.1 — public catalogue shell + learner-account dashboard */
.dre-public-course-header{box-sizing:border-box;width:100%;min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px clamp(22px,4vw,54px);background:#4F535D;color:#fff}
.dre-public-course-brand{display:flex;align-items:center;gap:14px}.dre-public-course-logo,.dre-public-course-logo img{display:block;width:58px;height:58px}
.dre-public-course-title,.dre-public-course-title:visited{display:flex;flex-direction:column;text-decoration:none!important}.dre-public-course-title strong{color:#fff;font-size:1.05rem;font-weight:800}.dre-public-course-title span{margin-top:4px;color:#d4dde4;font-size:.75rem;font-weight:700}
.dre-public-course-actions{display:flex;gap:8px;align-items:center}.dre-public-course-actions a,.dre-public-course-actions a:visited{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border:1px solid rgba(255,255,255,.34);border-radius:8px;color:#fff!important;font-size:.82rem;font-weight:800;text-decoration:none!important}.dre-public-course-actions a:hover{background:rgba(255,255,255,.1);border-color:#fff}.dre-public-course-actions .dre-public-course-primary{background:#ef3fa8;border-color:#ef3fa8}
.page-id-594 .dre-course-explore{margin-top:44px;padding-top:30px;border-top:1px solid #dce4e8}.page-id-594 .dre-level-links{grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px;margin-bottom:22px}.page-id-594 .dre-level-link.is-active{border-color:#ef3fa8;box-shadow:0 0 0 1px #ef3fa8}.page-id-594 .dre-course-empty{padding:18px 20px;background:#fff;border:1px solid #dfe6ea;border-radius:8px;color:#65737c}.page-id-594 .dre-public-catalogue-link{margin:20px 0 0}.page-id-594 .dre-public-catalogue-link a{color:#ef3fa8;font-weight:800;text-decoration:none}


/* =========================================================
   v1.2.3 — desktop regression repair
========================================================= */

/* Dashboard level filters: restore the intended card/button presentation. */
.page-id-594 .dre-level-links{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  max-width:720px!important;
  margin:0 0 24px!important;
}
.page-id-594 .dre-level-link,
.page-id-594 .dre-level-link:visited{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  min-height:66px!important;
  padding:12px 15px!important;
  border:1px solid #d9e2e7!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#314b5e!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.page-id-594 .dre-level-link span{font-size:.76rem!important;font-weight:700!important;color:#74848f!important}
.page-id-594 .dre-level-link strong{font-size:.95rem!important;font-weight:800!important;color:#314b5e!important}
.page-id-594 .dre-level-link.is-active{border-color:#ef3fa8!important;box-shadow:0 0 0 1px #ef3fa8!important}
.page-id-594 .dre-level-link.is-active strong{color:#ef3fa8!important}

/* Public archive: Astra's content container must not turn the shell header
   into the first column of its content layout. */
.post-type-archive-dre_flex_course .site-content > .ast-container{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  padding-left:0!important;
  padding-right:0!important;
}
.post-type-archive-dre_flex_course .dre-public-course-header{
  width:100%!important;
  max-width:none!important;
  min-height:104px!important;
  margin:0!important;
  padding:16px clamp(32px,4vw,64px)!important;
}
.post-type-archive-dre_flex_course .drefl-course-main{
  width:min(calc(100% - 64px),1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:42px 0 64px!important;
}
.post-type-archive-dre_flex_course .drefl-all-courses-head{
  margin:0 0 28px!important;
}
.post-type-archive-dre_flex_course .drefl-all-courses-grid{
  grid-template-columns:repeat(auto-fill,minmax(280px,340px))!important;
  justify-content:start!important;
}

/* Keep public shell dimensions visually consistent with the learning shell. */
.dre-public-course-header .dre-public-course-logo,
.dre-public-course-header .dre-public-course-logo img{
  width:64px!important;height:64px!important;
}
.dre-public-course-header .dre-public-course-title strong{font-size:1.08rem!important}
.dre-public-course-header .dre-public-course-actions a{white-space:nowrap!important}

/* Prevent the old lesson-sidebar My learning link flashing in its original
   position before JS moves it to the utility area at the bottom. */
body.single-dre_flex_lesson .drefl-course-brand .drefl-hub-home-link{
  display:none!important;
}
body.single-dre_flex_lesson .drefl-lesson-utility-nav .drefl-hub-home-link{
  display:flex!important;
}


/* =========================================================
   v1.2.4 — interaction polish
========================================================= */

/* Course tiles behave as cards, not as isolated text links. */
.dre-course-card,
.drefl-course-card,
.drefl-all-course-card{
  cursor:pointer;
}
.dre-course-card:focus-visible,
.drefl-course-card:focus-visible,
.drefl-all-course-card:focus-visible{
  outline:2px solid #ef3fa8;
  outline-offset:3px;
}

/* No decorative arrow is generated on Continue actions. */
a.dre-continue-course::after,
button.dre-continue-course::after,
.drefl-continue-button::after,
.drefl-course-continue::after{
  content:none!important;
  display:none!important;
}

/* Hide legacy lesson utility links in the top/brand area from first paint.
   Their intended copies remain available in the lower utility navigation. */
body.single-dre_flex_lesson .drefl-course-brand .drefl-hub-home-link,
body.single-dre_flex_lesson .drefl-course-brand .drefl-course-home-link{
  display:none!important;
}


/* =========================================================
   v1.2.5 — lesson nav / archive link repairs
========================================================= */

/* Prevent legacy Course home row from ever becoming visible during lesson redraw. */
body.single-dre_flex_lesson .dre-v125-hide-course-home,
body.single-dre_flex_lesson .drefl-course-home,
body.single-dre_flex_lesson .drefl-course-home-row{
  display:none!important;
}

/* Final external destination in lesson navigation. */
body.single-dre_flex_lesson .dre-v125-my-learning{
  display:block;
  margin:18px 14px 14px;
  padding:12px 16px;
  text-align:center;
  text-decoration:none;
  border-top:1px solid #e4e9ed;
  color:#ef3fa8;
  font-weight:700;
}

/* Whole cards advertise clickability without changing visual styling. */
.dre-course-card,
.drefl-course-card,
.drefl-all-course-card{cursor:pointer;}


/* v1.2.6 — account-aware public course journey */
.drefl-course-primary-action[data-dre-course-state="logged_out"]{
  background:#ef3fa8!important;
}
.drefl-course-primary-action[data-dre-course-state="buy"]{
  background:#ef3fa8!important;
}


/* ==========================================================
   v1.2.8 — MOBILE RESPONSIVE PASS
   Desktop and lesson-switching geometry intentionally untouched.
========================================================== */
@media (max-width: 767px){

  html, body{
    max-width:100%;
    overflow-x:hidden;
  }

  /* Shared shell: prevent viewport/scrollbar collision */
  .dre-learning-header,
  .dre-public-course-header{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* DASHBOARD */
  body.page-template-page-dre-dashboard .dre-learning-header{
    padding:14px 18px!important;
  }
  body.page-template-page-dre-dashboard .dre-learning-header .dre-learning-brand,
  body.page-template-page-dre-dashboard .dre-learning-brand{
    min-width:0;
    max-width:100%;
  }
  body.page-template-page-dre-dashboard .dre-learning-header .dre-learning-actions,
  body.page-template-page-dre-dashboard .dre-learning-header nav{
    display:none!important; /* Levels belongs in Explore courses on mobile */
  }

  body.page-template-page-dre-dashboard .dre-dashboard-wrap,
  body.page-template-page-dre-dashboard .dre-dashboard-inner,
  body.page-template-page-dre-dashboard main{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  /* Dashboard cards follow the already-good Explore Courses grid width */
  body.page-template-page-dre-dashboard .dre-dashboard-course-grid,
  body.page-template-page-dre-dashboard .dre-course-grid,
  body.page-template-page-dre-dashboard .dre-my-courses-grid{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
  body.page-template-page-dre-dashboard .dre-course-card,
  body.page-template-page-dre-dashboard .dre-dashboard-course-card{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }

  /* PUBLIC COURSES HEADER: real mobile layout rather than compressed desktop */
  .dre-public-course-header{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:10px!important;
    padding:14px 18px!important;
  }
  .dre-public-course-brand{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    min-width:0!important;
  }
  .dre-public-course-logo{
    flex:0 0 58px!important;
    width:58px!important;
    height:58px!important;
  }
  .dre-public-course-logo img{
    display:block!important;
    width:58px!important;
    height:58px!important;
    max-width:58px!important;
    object-fit:contain!important;
    aspect-ratio:1 / 1!important;
  }
  .dre-public-course-title{
    min-width:0!important;
    flex:1 1 auto!important;
  }
  .dre-public-course-title strong,
  .dre-public-course-title span{
    white-space:normal!important;
  }
  .dre-public-course-actions{
    width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
  }
  .dre-public-course-actions a{
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    padding:9px 12px!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }

  /* /courses/ content and archive cards */
  body.post-type-archive-dre_course main,
  body.post-type-archive-dre_course .site-main,
  body.post-type-archive-dre_course .dre-public-courses,
  body.page-template-page-dre-courses main,
  body.page-template-page-dre-courses .site-main,
  body.page-template-page-dre-courses .dre-public-courses{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.post-type-archive-dre_course .dre-course-grid,
  body.page-template-page-dre-courses .dre-course-grid{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:minmax(0,1fr)!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.post-type-archive-dre_course .dre-course-card,
  body.page-template-page-dre-courses .dre-course-card{
    width:100%!important;
    max-width:420px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }

  /* COURSE HOME HEADER */
  body.single-dre_course .dre-learning-header,
  body.single-flexible_course .dre-learning-header{
    padding:12px 16px!important;
  }
  body.single-dre_course .dre-learning-actions a,
  body.single-flexible_course .dre-learning-actions a{
    width:auto!important;
    min-width:96px!important;
    padding:10px 12px!important;
    white-space:nowrap!important;
    line-height:1.2!important;
    text-align:center!important;
  }

  /* Course hero: image remains proportional; metadata becomes a clean stack */
  body.single-dre_course .dre-course-hero,
  body.single-flexible_course .dre-course-hero{
    gap:24px!important;
  }
  body.single-dre_course .dre-course-image img,
  body.single-flexible_course .dre-course-image img{
    width:100%!important;
    height:auto!important;
    object-fit:cover!important;
  }
  body.single-dre_course .dre-course-meta,
  body.single-flexible_course .dre-course-meta{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    margin-top:14px!important;
    margin-bottom:18px!important;
  }
  body.single-dre_course .dre-course-meta > *,
  body.single-flexible_course .dre-course-meta > *{
    width:100%!important;
    padding:0!important;
    border-left:0!important;
    border-right:0!important;
  }

  /* LESSON PAGE mobile course-menu control */
  .drefl-mobile-menu-toggle,
  .dre-course-menu-toggle,
  button[aria-controls="drefl-course-nav"]{
    margin-top:14px!important;
    border:0!important;
    box-shadow:none!important;
    background:#f4f6f7!important;
    color:#ef3fa8!important;
    font-weight:600!important;
  }
  .drefl-mobile-menu-toggle:hover,
  .drefl-mobile-menu-toggle:focus,
  .drefl-mobile-menu-toggle:active,
  .dre-course-menu-toggle:hover,
  .dre-course-menu-toggle:focus,
  .dre-course-menu-toggle:active,
  button[aria-controls="drefl-course-nav"]:hover,
  button[aria-controls="drefl-course-nav"]:focus,
  button[aria-controls="drefl-course-nav"]:active{
    border:0!important;
    background:#f4f6f7!important;
    color:#ef3fa8!important;
    box-shadow:none!important;
    outline:0!important;
  }

  /* Engine feedback = messages, not buttons */
  .dre-feedback-correct,
  .dre-correct-feedback,
  .dre-answer-correct,
  .feedback-correct,
  .is-correct .dre-feedback{
    background:rgba(55,150,90,.09)!important;
    border:0!important;
    color:#2f7d4a!important;
    font-size:16px!important;
    font-weight:600!important;
    box-shadow:none!important;
  }
  .dre-feedback-incorrect,
  .dre-incorrect-feedback,
  .dre-answer-incorrect,
  .feedback-incorrect,
  .is-incorrect .dre-feedback{
    background:rgba(239,63,168,.08)!important;
    border:0!important;
    color:#d92f93!important;
    font-size:16px!important;
    font-weight:600!important;
    box-shadow:none!important;
  }
  .dre-answer-warning,
  .dre-feedback-warning,
  .dre-choose-answer,
  .dre-validation-message{
    font-size:14px!important;
    line-height:1.45!important;
    font-weight:400!important;
  }
}

/* ==========================================================
   v1.2.9 — targeted mobile corrections
========================================================== */
@media(max-width:767px){
  /* Dashboard shell: brand only. Level discovery remains in page content. */
  .page-id-594 .dre-member-menu{padding:10px 18px!important;min-height:78px!important;overflow:hidden!important}
  .page-id-594 .dre-member-menu-actions{display:none!important}
  .page-id-594 .dre-member-menu-brand{max-width:100%!important}
  .page-id-594 .dre-member-menu-logo,.page-id-594 .dre-member-menu-logo img{width:54px!important;height:54px!important;flex-basis:54px!important}
  .page-id-594 .dre-course-dashboard{width:100%!important;max-width:100%!important;padding-left:18px!important;padding-right:18px!important;box-sizing:border-box!important}
  .page-id-594 .dre-course-dashboard-section,.page-id-594 .dre-course-grid{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .page-id-594 .dre-course-card{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}

  /* Public courses: centred single-column catalogue. */
  .dre-public-courses{width:100%!important;max-width:100%!important;padding-left:18px!important;padding-right:18px!important;box-sizing:border-box!important}
  .dre-public-courses .dre-course-grid{width:100%!important;max-width:100%!important;grid-template-columns:minmax(0,1fr)!important;box-sizing:border-box!important}
  .dre-public-courses .dre-course-card{width:100%!important;max-width:360px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}

  /* Course Home: stack real metadata spans; no desktop divider geometry. */
  body.single-dre_flex_course .drefl-course-hero-copy{width:100%!important;min-width:0!important}
  body.single-dre_flex_course .drefl-course-meta{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;width:100%!important;margin:14px 0 20px!important}
  body.single-dre_flex_course .drefl-course-meta>span{display:flex!important;flex-direction:column!important;align-items:flex-start!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;text-align:left!important}
  body.single-dre_flex_course .drefl-course-meta>span+span{border:0!important}
  body.single-dre_flex_course .drefl-course-meta small{display:block!important;margin:0 0 2px!important}
  body.single-dre_flex_course .drefl-course-primary-action{margin-top:4px!important}

  /* Course Home shell action: prevent squeezed two-line label. */
  body.single-dre_flex_course .dre-member-menu{padding:10px 14px!important;gap:10px!important}
  body.single-dre_flex_course .dre-member-menu-brand{gap:9px!important;min-width:0!important}
  body.single-dre_flex_course .dre-member-menu-logo,body.single-dre_flex_course .dre-member-menu-logo img{width:48px!important;height:48px!important;flex-basis:48px!important}
  body.single-dre_flex_course .dre-member-menu-brand-text strong{font-size:.92rem!important;line-height:1.08!important}
  body.single-dre_flex_course .dre-member-menu-actions{gap:5px!important}
  body.single-dre_flex_course .dre-member-menu-link{padding:9px 10px!important;white-space:nowrap!important;font-size:.76rem!important}

  /* Actual lesson topbar Course menu trigger. */
  body.single-dre_flex_lesson .dre-lesson-topbar{padding-top:14px!important}
  body.single-dre_flex_lesson #dre-lesson-shell-01 .dre-lesson-toggle{border:0!important;background:#f6f7f8!important;color:#65727c!important;-webkit-text-fill-color:#65727c!important;box-shadow:0 2px 7px rgba(34,56,75,.08)!important}
  body.single-dre_flex_lesson #dre-lesson-shell-01 .dre-lesson-toggle:hover,
  body.single-dre_flex_lesson #dre-lesson-shell-01 .dre-lesson-toggle:focus,
  body.single-dre_flex_lesson #dre-lesson-shell-01 .dre-lesson-toggle:active{border:0!important;background:#f6f7f8!important;color:#65727c!important;-webkit-text-fill-color:#65727c!important;box-shadow:0 2px 7px rgba(34,56,75,.08)!important;outline:0!important}
}


/* ==========================================================
   v1.3.0 — MOBILE LAYOUT REFINEMENT
========================================================== */
.dre-public-course-mobile-menu{display:none}

@media(max-width:767px){

  /* Public Courses: compact identity + one menu control. */
  .dre-public-course-header{
    min-height:86px!important;
    padding:12px 16px!important;
    align-items:center!important;
    gap:10px!important;
  }
  .dre-public-course-brand{min-width:0!important;gap:10px!important}
  .dre-public-course-logo,
  .dre-public-course-logo img{
    width:54px!important;height:54px!important;flex:0 0 54px!important;
  }
  .dre-public-course-title strong{
    font-size:1rem!important;line-height:1.08!important;white-space:nowrap!important;
  }
  .dre-public-course-title span{font-size:.68rem!important}
  .dre-public-course-actions-desktop{display:none!important}
  .dre-public-course-mobile-menu{
    display:block!important;
    position:relative!important;
    margin-left:auto!important;
    flex:0 0 auto!important;
  }
  .dre-public-course-mobile-menu summary{
    list-style:none!important;
    cursor:pointer!important;
    padding:9px 12px!important;
    border:1px solid rgba(255,255,255,.34)!important;
    border-radius:9px!important;
    color:#fff!important;
    font-size:.78rem!important;
    font-weight:800!important;
  }
  .dre-public-course-mobile-menu summary::-webkit-details-marker{display:none!important}
  .dre-public-course-mobile-menu-panel{
    position:absolute!important;
    z-index:50!important;
    top:calc(100% + 8px)!important;
    right:0!important;
    width:150px!important;
    padding:6px!important;
    border:1px solid #d9e2e7!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:0 8px 24px rgba(25,45,60,.14)!important;
  }
  .dre-public-course-mobile-menu-panel a{
    display:block!important;
    padding:10px!important;
    border:0!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#334b5d!important;
    -webkit-text-fill-color:#334b5d!important;
    text-decoration:none!important;
    font-size:.78rem!important;
    font-weight:700!important;
  }
  .dre-public-course-mobile-menu-panel a:hover,
  .dre-public-course-mobile-menu-panel a:focus{
    background:#f2f6f8!important;
  }

  /* Dashboard: restore one useful nav control and centre owned-course tile. */
  .page-id-594 .dre-member-menu{
    overflow:visible!important;
    padding:10px 16px!important;
  }
  .page-id-594 .dre-member-menu-actions{
    display:flex!important;
    margin-left:auto!important;
    flex:0 0 auto!important;
  }
  .page-id-594 .dre-member-menu-link{
    display:inline-flex!important;
    min-height:38px!important;
    padding:8px 11px!important;
    white-space:nowrap!important;
  }
  .page-id-594 .dre-member-menu-link.is-current{display:none!important}
  .page-id-594 .dre-course-dashboard{
    padding-left:20px!important;
    padding-right:20px!important;
  }
  .page-id-594 .dre-course-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    justify-items:center!important;
  }
  .page-id-594 .dre-course-card{
    width:100%!important;
    max-width:350px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Course Home header: logo + action only; course identity belongs in content. */
  body.single-dre_flex_course .dre-member-menu-brand-text,
  body.single-dre_flex_course .drefl-course-home-brand strong,
  body.single-dre_flex_course .drefl-course-home-brand small{
    display:none!important;
  }
  body.single-dre_flex_course .dre-member-menu,
  body.single-dre_flex_course .drefl-course-home-nav{
    min-height:70px!important;
    height:70px!important;
    padding:8px 16px!important;
  }

  /* Course Home: compact title -> image -> metadata rhythm. */
  body.single-dre_flex_course .drefl-course-hero{
    display:block!important;
    padding:26px 20px 28px!important;
  }
  body.single-dre_flex_course .drefl-course-hero-copy{
    width:100%!important;
    max-width:100%!important;
  }
  body.single-dre_flex_course .drefl-course-hero-copy h1{
    margin:0 0 16px!important;
    font-size:2rem!important;
    line-height:1.08!important;
  }
  body.single-dre_flex_course .dre-mobile-course-media{
    width:100%!important;
    max-width:320px!important;
    margin:0 0 18px!important;
  }
  body.single-dre_flex_course .dre-mobile-course-media img,
  body.single-dre_flex_course .dre-mobile-course-media .dre-course-image-placeholder{
    width:100%!important;
    aspect-ratio:16/9!important;
    object-fit:cover!important;
  }
  body.single-dre_flex_course .drefl-course-meta{
    gap:7px!important;
    margin:0 0 14px!important;
  }
  body.single-dre_flex_course .drefl-course-meta>span{
    gap:0!important;
  }
  body.single-dre_flex_course .drefl-course-meta small{
    margin:0!important;
    line-height:1.15!important;
  }
  body.single-dre_flex_course .drefl-course-primary-action{
    margin-top:6px!important;
  }
}


/* ==========================================================
   v1.3.2 — VERIFIED MOBILE RULES
   Targets the actual theme/plugin markup used by v0.8.9.
========================================================== */
@media (max-width:767px){

  /* Shared header used by Dashboard, Courses and Course Home. */
  .dre-shared-page-header{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    max-width:none!important;
    min-height:72px!important;
    height:72px!important;
    margin:0!important;
    padding:8px 16px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    background:#4F535D!important;
  }
  .dre-shared-page-logo{
    display:flex!important;
    align-items:center!important;
    width:56px!important;
    height:56px!important;
    flex:0 0 56px!important;
    margin:0!important;
  }
  .dre-shared-page-logo img{
    display:block!important;
    width:56px!important;
    height:56px!important;
    max-width:56px!important;
    object-fit:contain!important;
  }
  .dre-shared-page-menu{
    position:static!important;
    margin:0!important;
    padding:0!important;
  }
  .dre-shared-page-menu summary{
    list-style:none!important;
    cursor:pointer!important;
    padding:9px 10px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:.8rem!important;
    font-weight:800!important;
    box-shadow:none!important;
  }
  .dre-shared-page-menu summary::-webkit-details-marker{display:none!important}
  .dre-shared-page-menu summary:hover,
  .dre-shared-page-menu summary:focus{
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
    outline:0!important;
  }
  .dre-shared-page-menu-panel{
    position:absolute!important;
    z-index:1000!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:0 8px 20px rgba(28,48,63,.14)!important;
  }
  .dre-shared-page-menu-panel a{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:14px 18px!important;
    border:0!important;
    border-bottom:1px solid #e3e9ed!important;
    border-radius:0!important;
    background:#fff!important;
    color:#314b5e!important;
    -webkit-text-fill-color:#314b5e!important;
    text-decoration:none!important;
    font-size:.86rem!important;
    font-weight:700!important;
  }
  .dre-shared-page-menu-panel a:last-child{border-bottom:0!important}
  .dre-shared-page-menu-panel a:hover,
  .dre-shared-page-menu-panel a:focus{
    background:#f3f7f9!important;
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
  }

  /* DASHBOARD — no header wording/button; compact text; centred cards. */
  body.page-id-594 .dre-member-menu-brand,
  body.page-id-594 .dre-member-menu-actions,
  body.page-id-594 .dre-member-menu-brand-text{
    display:none!important;
  }
  body.page-id-594 .dre-member-menu > .dre-shared-page-logo,
  body.page-id-594 .dre-member-menu > .dre-shared-page-menu{
    display:flex!important;
  }
  body.page-id-594 .dre-course-dashboard{
    width:100%!important;
    max-width:100%!important;
    padding:24px 20px 30px!important;
    box-sizing:border-box!important;
  }
  body.page-id-594 .dre-course-dashboard-hero h1{margin:0 0 20px!important}
  body.page-id-594 .dre-course-dashboard-intro{display:none!important}
  body.page-id-594 .dre-course-dashboard-section-head p{display:none!important}
  body.page-id-594 .dre-course-dashboard-section{margin-top:24px!important}
  body.page-id-594 .dre-course-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    justify-items:center!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.page-id-594 .dre-course-card{
    width:100%!important;
    max-width:340px!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
  }
  body.page-id-594 .dre-public-catalogue-link{display:none!important}
  .dre-dashboard-all-courses{
    width:100%!important;
    margin:26px auto 0!important;
    text-align:center!important;
  }
  .dre-dashboard-all-courses a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:42px!important;
    padding:9px 16px!important;
    border:0!important;
    border-radius:8px!important;
    background:#ef3eaa!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    text-decoration:none!important;
    font-size:.86rem!important;
    font-weight:800!important;
  }

  /* COURSES ARCHIVE — exact plugin classes. */
  body.post-type-archive-dre_flex_course .dre-public-course-brand,
  body.post-type-archive-dre_flex_course .dre-public-course-actions{
    display:none!important;
  }
  body.post-type-archive-dre_flex_course .dre-public-course-header > .dre-shared-page-logo,
  body.post-type-archive-dre_flex_course .dre-public-course-header > .dre-shared-page-menu{
    display:flex!important;
  }
  body.post-type-archive-dre_flex_course .drefl-course-main{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:24px 20px 36px!important;
    box-sizing:border-box!important;
  }
  body.post-type-archive-dre_flex_course .drefl-all-courses-head{
    margin:0 0 22px!important;
  }
  body.post-type-archive-dre_flex_course .drefl-all-courses-head h1{
    margin:0 0 7px!important;
  }
  body.post-type-archive-dre_flex_course .drefl-all-courses-head p{
    margin:0!important;
  }
  body.post-type-archive-dre_flex_course .drefl-all-courses-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    justify-items:center!important;
    width:100%!important;
    gap:18px!important;
  }
  body.post-type-archive-dre_flex_course .drefl-course-library-card{
    width:100%!important;
    max-width:340px!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
  }

  /* COURSE HOME — exact plugin classes and compact stack. */
  body.single-dre_flex_course .drefl-course-home-page{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0 0 36px!important;
  }
  body.single-dre_flex_course .drefl-course-home-nav.dre-shared-page-header{
    border-radius:0!important;
  }
  body.single-dre_flex_course .drefl-course-hero{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:22px 20px 24px!important;
    box-sizing:border-box!important;
    border-radius:0!important;
  }
  body.single-dre_flex_course .drefl-course-eyebrow{display:none!important}
  body.single-dre_flex_course .drefl-course-hero-copy{
    width:100%!important;
    padding:0!important;
  }
  body.single-dre_flex_course .drefl-course-hero-copy h1{
    margin:0 0 12px!important;
    font-size:2rem!important;
    line-height:1.08!important;
  }
  body.single-dre_flex_course .drefl-course-summary{
    margin:0 0 12px!important;
  }
  body.single-dre_flex_course .drefl-course-hero-media.dre-mobile-course-media{
    width:100%!important;
    max-width:320px!important;
    min-height:0!important;
    max-height:none!important;
    margin:0 0 14px!important;
    padding:0!important;
    aspect-ratio:16/9!important;
  }
  body.single-dre_flex_course .drefl-course-hero-media img,
  body.single-dre_flex_course .drefl-course-hero-placeholder{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:16/9!important;
    object-fit:cover!important;
  }
  body.single-dre_flex_course .drefl-course-meta{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:7px!important;
    width:100%!important;
    margin:0 0 12px!important;
  }
  body.single-dre_flex_course .drefl-course-meta span{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.single-dre_flex_course .drefl-course-meta small{
    display:block!important;
    margin:0 0 1px!important;
  }
  body.single-dre_flex_course .drefl-course-primary-action{
    margin-top:2px!important;
  }
  body.single-dre_flex_course .drefl-course-hero-info{
    margin-top:22px!important;
  }

  /* LESSON PAGE — exact v0.8.9 trigger/close classes. */
  body.single-dre_flex_lesson .drefl-mobile-menu-wrap{
    display:flex!important;
    justify-content:center!important;
    padding-top:18px!important;
    margin:0 0 12px!important;
  }
  body.single-dre_flex_lesson .drefl-course-open{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:40px!important;
    margin:0!important;
    padding:8px 15px!important;
    border:0!important;
    outline:0!important;
    border-radius:999px!important;
    background:#f4f6f7!important;
    color:#ed4db4!important;
    -webkit-text-fill-color:#ed4db4!important;
    box-shadow:0 2px 7px rgba(34,56,75,.08)!important;
  }
  body.single-dre_flex_lesson .drefl-course-open:hover,
  body.single-dre_flex_lesson .drefl-course-open:focus,
  body.single-dre_flex_lesson .drefl-course-open:active{
    border:0!important;
    outline:0!important;
    background:#f4f6f7!important;
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
    box-shadow:0 2px 7px rgba(34,56,75,.08)!important;
  }
  body.single-dre_flex_lesson .drefl-course-close{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:34px!important;
    height:34px!important;
    margin-left:auto!important;
    padding:0!important;
    border:0!important;
    border-radius:8px!important;
    background:#fdeaf6!important;
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
    font-size:1.3rem!important;
    font-weight:800!important;
    line-height:1!important;
    box-shadow:none!important;
  }
  body.single-dre_flex_lesson .drefl-course-close:hover,
  body.single-dre_flex_lesson .drefl-course-close:focus{
    background:#f9d9ed!important;
    color:#d92c94!important;
    -webkit-text-fill-color:#d92c94!important;
  }
}


/* ==========================================================
   v1.3.3 — final mobile refinements
========================================================== */
@media (max-width:767px){

  /* Dashboard hierarchy */
  body.page-id-594 .dre-course-dashboard-section-head h2,
  body.page-id-594 .dre-course-dashboard-section > h2,
  body.page-id-594 .dre-course-dashboard h2:not(.dre-course-card-title){
    color:#12a7df!important;
  }

  /*
   * One shared mobile header treatment for Dashboard, Courses archive
   * and Course Home.  Course Home is converted to the same DOM pattern
   * by the v1.3.3 footer script below.
   */
  body.page-id-594 .dre-shared-page-header,
  body.post-type-archive-dre_flex_course .dre-shared-page-header,
  body.single-dre_flex_course .dre-shared-page-header{
    min-height:94px!important;
    height:94px!important;
    padding:12px 22px!important;
  }

  body.page-id-594 .dre-shared-page-logo,
  body.post-type-archive-dre_flex_course .dre-shared-page-logo,
  body.single-dre_flex_course .dre-shared-page-logo{
    width:70px!important;
    height:70px!important;
    flex:0 0 70px!important;
  }

  body.page-id-594 .dre-shared-page-logo img,
  body.post-type-archive-dre_flex_course .dre-shared-page-logo img,
  body.single-dre_flex_course .dre-shared-page-logo img{
    width:70px!important;
    height:70px!important;
    max-width:70px!important;
  }

  body.page-id-594 .dre-shared-page-menu summary,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu summary,
  body.single-dre_flex_course .dre-shared-page-menu summary{
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
  }

  /* Lesson menu trigger */
  body.single-dre_flex_lesson .drefl-course-open{
    background:#fff!important;
    color:#ed4db4!important;
    -webkit-text-fill-color:#ed4db4!important;
    border:0!important;
  }
  body.single-dre_flex_lesson .drefl-course-open:hover,
  body.single-dre_flex_lesson .drefl-course-open:focus,
  body.single-dre_flex_lesson .drefl-course-open:active{
    background:#fff!important;
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
    border:0!important;
  }

  /* Lesson menu close control: white, with a clear pink X */
  body.single-dre_flex_lesson .drefl-course-close,
  body.single-dre_flex_lesson .drefl-course-close:hover,
  body.single-dre_flex_lesson .drefl-course-close:focus{
    background:#fff!important;
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
    border:0!important;
    box-shadow:none!important;
  }

  /*
   * Active lesson/activity row: remove the old blue edge/wash.
   * Cover the known active/current classes and aria-current variant
   * used by the lesson navigator without changing ordinary rows.
   */
  body.single-dre_flex_lesson .drefl-course-sidebar a.is-active,
  body.single-dre_flex_lesson .drefl-course-sidebar a.active,
  body.single-dre_flex_lesson .drefl-course-sidebar a.current,
  body.single-dre_flex_lesson .drefl-course-sidebar a[aria-current="page"],
  body.single-dre_flex_lesson .drefl-course-nav a.is-active,
  body.single-dre_flex_lesson .drefl-course-nav a.active,
  body.single-dre_flex_lesson .drefl-course-nav a.current,
  body.single-dre_flex_lesson .drefl-course-nav a[aria-current="page"],
  body.single-dre_flex_lesson .drefl-lesson-link.is-active,
  body.single-dre_flex_lesson .drefl-lesson-link.active,
  body.single-dre_flex_lesson .drefl-lesson-link.current,
  body.single-dre_flex_lesson .drefl-lesson-link[aria-current="page"]{
    background:#fff1f8!important;
    border-left:0!important;
    box-shadow:none!important;
  }

  body.single-dre_flex_lesson .drefl-course-sidebar a.is-active::before,
  body.single-dre_flex_lesson .drefl-course-sidebar a.active::before,
  body.single-dre_flex_lesson .drefl-course-sidebar a.current::before,
  body.single-dre_flex_lesson .drefl-course-sidebar a[aria-current="page"]::before,
  body.single-dre_flex_lesson .drefl-course-nav a.is-active::before,
  body.single-dre_flex_lesson .drefl-course-nav a.active::before,
  body.single-dre_flex_lesson .drefl-course-nav a.current::before,
  body.single-dre_flex_lesson .drefl-course-nav a[aria-current="page"]::before,
  body.single-dre_flex_lesson .drefl-lesson-link.is-active::before,
  body.single-dre_flex_lesson .drefl-lesson-link.active::before,
  body.single-dre_flex_lesson .drefl-lesson-link.current::before,
  body.single-dre_flex_lesson .drefl-lesson-link[aria-current="page"]::before{
    display:none!important;
    content:none!important;
  }
}


/* ==========================================================
   v1.3.4 — shared header/menu correction
   Dashboard, Courses archive and Course Home ONLY.
   Lesson navigation deliberately untouched.
========================================================== */
@media (max-width:767px){

  body.page-id-594 .dre-shared-page-menu summary,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu summary,
  body.single-dre_flex_course .dre-shared-page-menu summary{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:42px!important;
    padding:9px 14px!important;
    background:#fff!important;
    color:#314b5e!important;
    -webkit-text-fill-color:#314b5e!important;
    border:0!important;
    border-radius:8px!important;
    box-shadow:none!important;
    font-weight:800!important;
  }

  body.page-id-594 .dre-shared-page-menu summary:hover,
  body.page-id-594 .dre-shared-page-menu summary:focus,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu summary:hover,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu summary:focus,
  body.single-dre_flex_course .dre-shared-page-menu summary:hover,
  body.single-dre_flex_course .dre-shared-page-menu summary:focus{
    background:#fff!important;
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
    outline:0!important;
  }

  /* Force identical shell dimensions on all three page types. */
  body.page-id-594 .dre-shared-page-header,
  body.post-type-archive-dre_flex_course .dre-shared-page-header,
  body.single-dre_flex_course .dre-shared-page-header{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    max-width:none!important;
    min-height:94px!important;
    height:94px!important;
    margin:0!important;
    padding:12px 22px!important;
    box-sizing:border-box!important;
    background:#4F535D!important;
    overflow:visible!important;
  }

  body.page-id-594 .dre-shared-page-logo,
  body.post-type-archive-dre_flex_course .dre-shared-page-logo,
  body.single-dre_flex_course .dre-shared-page-logo{
    display:flex!important;
    align-items:center!important;
    width:70px!important;
    height:70px!important;
    flex:0 0 70px!important;
    margin:0!important;
  }

  body.page-id-594 .dre-shared-page-logo img,
  body.post-type-archive-dre_flex_course .dre-shared-page-logo img,
  body.single-dre_flex_course .dre-shared-page-logo img{
    display:block!important;
    width:70px!important;
    height:70px!important;
    max-width:70px!important;
    object-fit:contain!important;
  }

  body.page-id-594 .dre-shared-page-menu-panel,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu-panel,
  body.single-dre_flex_course .dre-shared-page-menu-panel{
    position:absolute!important;
    z-index:1000!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
  }

  body.page-id-594 .dre-shared-page-menu-panel a,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu-panel a,
  body.single-dre_flex_course .dre-shared-page-menu-panel a{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:14px 18px!important;
    background:#fff!important;
    color:#314b5e!important;
    -webkit-text-fill-color:#314b5e!important;
    border:0!important;
    border-bottom:1px solid #e3e9ed!important;
    border-radius:0!important;
    text-decoration:none!important;
    font-weight:700!important;
  }

  body.page-id-594 .dre-shared-page-menu-panel a:hover,
  body.page-id-594 .dre-shared-page-menu-panel a:focus,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu-panel a:hover,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu-panel a:focus,
  body.single-dre_flex_course .dre-shared-page-menu-panel a:hover,
  body.single-dre_flex_course .dre-shared-page-menu-panel a:focus{
    background:#fff!important;
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
  }
}


/* ==========================================================
   v1.3.5 — shared menu panel belongs to the header
   Dashboard, Courses archive and Course Home only.
========================================================== */
@media (max-width:767px){
  body.page-id-594 .dre-shared-page-header,
  body.post-type-archive-dre_flex_course .dre-shared-page-header,
  body.single-dre_flex_course .dre-shared-page-header{
    position:relative!important;
    isolation:isolate!important;
  }

  body.page-id-594 .dre-shared-page-menu,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu,
  body.single-dre_flex_course .dre-shared-page-menu{
    position:static!important;
  }

  body.page-id-594 .dre-shared-page-menu-panel,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu-panel,
  body.single-dre_flex_course .dre-shared-page-menu-panel{
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:9999!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
}


/* ==========================================================
   v1.3.6 — canonical shared mobile header
   Dashboard is the reference:
   logo left + plain white Menu text right, no button background.
   Applied identically to Dashboard, Courses and Course Home.
   Lesson pages intentionally untouched.
========================================================== */
@media (max-width:767px){

  body.page-id-594 .dre-shared-page-header,
  body.post-type-archive-dre_flex_course .dre-shared-page-header,
  body.single-dre_flex_course .dre-shared-page-header{
    position:relative!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    max-width:none!important;
    height:94px!important;
    min-height:94px!important;
    margin:0!important;
    padding:12px 22px!important;
    box-sizing:border-box!important;
    background:#4F535D!important;
    overflow:visible!important;
  }

  /* Logo: fixed at the left, same dimensions on all three pages. */
  body.page-id-594 .dre-shared-page-logo,
  body.post-type-archive-dre_flex_course .dre-shared-page-logo,
  body.single-dre_flex_course .dre-shared-page-logo{
    order:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:70px!important;
    height:70px!important;
    flex:0 0 70px!important;
    margin:0!important;
    padding:0!important;
  }

  body.page-id-594 .dre-shared-page-logo img,
  body.post-type-archive-dre_flex_course .dre-shared-page-logo img,
  body.single-dre_flex_course .dre-shared-page-logo img{
    display:block!important;
    width:70px!important;
    height:70px!important;
    max-width:70px!important;
    max-height:70px!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
  }

  /* Menu container: right-hand end of the header. */
  body.page-id-594 .dre-shared-page-menu,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu,
  body.single-dre_flex_course .dre-shared-page-menu{
    order:2!important;
    position:static!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
  }

  /* Menu trigger: TEXT ONLY. No white box/button. */
  body.page-id-594 .dre-shared-page-menu summary,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu summary,
  body.single-dre_flex_course .dre-shared-page-menu summary{
    display:block!important;
    min-width:0!important;
    min-height:0!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:8px 0 8px 14px!important;
    background:transparent!important;
    background-color:transparent!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    box-shadow:none!important;
    font-weight:800!important;
    line-height:1.2!important;
    cursor:pointer!important;
  }

  body.page-id-594 .dre-shared-page-menu summary:hover,
  body.page-id-594 .dre-shared-page-menu summary:focus,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu summary:hover,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu summary:focus,
  body.single-dre_flex_course .dre-shared-page-menu summary:hover,
  body.single-dre_flex_course .dre-shared-page-menu summary:focus{
    background:transparent!important;
    background-color:transparent!important;
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
    border:0!important;
    box-shadow:none!important;
  }

  body.page-id-594 .dre-shared-page-menu summary::-webkit-details-marker,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu summary::-webkit-details-marker,
  body.single-dre_flex_course .dre-shared-page-menu summary::-webkit-details-marker{
    display:none!important;
  }

  body.page-id-594 .dre-shared-page-menu summary::marker,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu summary::marker,
  body.single-dre_flex_course .dre-shared-page-menu summary::marker{
    content:""!important;
  }

  /* Open menu remains attached to the shared header. */
  body.page-id-594 .dre-shared-page-menu-panel,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu-panel,
  body.single-dre_flex_course .dre-shared-page-menu-panel{
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    z-index:9999!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
}


/* v1.3.7 — direct Course Home shared-header class */
@media (max-width:767px){
  .dre-course-home-shared-header{
    position:relative!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    max-width:none!important;
    height:94px!important;
    min-height:94px!important;
    margin:0!important;
    padding:12px 22px!important;
    box-sizing:border-box!important;
    background:#4F535D!important;
    overflow:visible!important;
  }
  .dre-course-home-shared-header .dre-shared-page-logo{
    display:flex!important;
    width:70px!important;
    height:70px!important;
    flex:0 0 70px!important;
    margin:0!important;
    padding:0!important;
  }
  .dre-course-home-shared-header .dre-shared-page-logo img{
    display:block!important;
    width:70px!important;
    height:70px!important;
    max-width:70px!important;
    object-fit:contain!important;
  }
  .dre-course-home-shared-header .dre-shared-page-menu{
    position:static!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
  }
  .dre-course-home-shared-header .dre-shared-page-menu summary{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:8px 0 8px 14px!important;
    background:transparent!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    font-weight:800!important;
    cursor:pointer!important;
  }
  .dre-course-home-shared-header .dre-shared-page-menu summary:hover,
  .dre-course-home-shared-header .dre-shared-page-menu summary:focus{
    background:transparent!important;
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
  }
  .dre-course-home-shared-header .dre-shared-page-menu summary::-webkit-details-marker{display:none!important;}
  .dre-course-home-shared-header .dre-shared-page-menu summary::marker{content:""!important;}
  .dre-course-home-shared-header .dre-shared-page-menu-panel{
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    z-index:9999!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    background:#fff!important;
  }
  .dre-course-home-shared-header .dre-shared-page-menu-panel a{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:14px 18px!important;
    background:#fff!important;
    color:#314b5e!important;
    -webkit-text-fill-color:#314b5e!important;
    border:0!important;
    border-bottom:1px solid #e3e9ed!important;
    border-radius:0!important;
    text-decoration:none!important;
    font-weight:700!important;
  }
  .dre-course-home-shared-header .dre-shared-page-menu-panel a:hover,
  .dre-course-home-shared-header .dre-shared-page-menu-panel a:focus{
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
  }
}


/* ==========================================================
   v1.3.9 — canonical Course Home header
========================================================== */
#dre-course-home-canonical-header{
  display:none;
}

@media (max-width:767px){
  body.single-dre_flex_course #dre-course-home-canonical-header{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }

  /*
   * Remove the old Course Home header/navigation entirely.  The canonical
   * PHP-rendered header above replaces it, so no JS discovery is required.
   */
  body.single-dre_flex_course .drefl-course-home-nav,
  body.single-dre_flex_course .dre-course-home-nav{
    display:none!important;
  }

  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-header{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    max-width:none!important;
    height:94px!important;
    min-height:94px!important;
    margin:0!important;
    padding:12px 22px!important;
    box-sizing:border-box!important;
    background:#4F535D!important;
    overflow:visible!important;
  }

  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-logo{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:70px!important;
    height:70px!important;
    flex:0 0 70px!important;
    margin:0!important;
    padding:0!important;
  }

  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-logo img{
    display:block!important;
    width:70px!important;
    height:70px!important;
    max-width:70px!important;
    max-height:70px!important;
    margin:0!important;
    object-fit:contain!important;
  }

  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu{
    position:static!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
  }

  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu summary{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:8px 0 8px 14px!important;
    background:transparent!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    font-weight:800!important;
    line-height:1.2!important;
    cursor:pointer!important;
  }

  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu summary:hover,
  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu summary:focus{
    background:transparent!important;
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
  }

  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu summary::-webkit-details-marker{
    display:none!important;
  }

  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu summary::marker{
    content:""!important;
  }

  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu-panel{
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    z-index:9999!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    background:#fff!important;
  }

  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu-panel a{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:14px 18px!important;
    background:#fff!important;
    color:#314b5e!important;
    -webkit-text-fill-color:#314b5e!important;
    border:0!important;
    border-bottom:1px solid #e3e9ed!important;
    border-radius:0!important;
    text-decoration:none!important;
    font-weight:700!important;
  }

  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu-panel a:hover,
  body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu-panel a:focus{
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
  }
}


/* ==========================================================
   v1.4.0 — Course Home header visibility correction
========================================================== */
#dre-course-home-canonical-header-v140{
  display:none;
}

@media (max-width:767px){
  #dre-course-home-canonical-header-v140{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-header{
    position:relative!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    max-width:none!important;
    height:94px!important;
    min-height:94px!important;
    margin:0!important;
    padding:12px 22px!important;
    box-sizing:border-box!important;
    background:#4F535D!important;
    overflow:visible!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-logo{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:70px!important;
    height:70px!important;
    flex:0 0 70px!important;
    margin:0!important;
    padding:0!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-logo img{
    display:block!important;
    width:70px!important;
    height:70px!important;
    max-width:70px!important;
    max-height:70px!important;
    margin:0!important;
    object-fit:contain!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-menu{
    position:static!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-menu summary{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:8px 0 8px 14px!important;
    background:transparent!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    font-weight:800!important;
    line-height:1.2!important;
    cursor:pointer!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-menu summary:hover,
  #dre-course-home-canonical-header-v140 .dre-shared-page-menu summary:focus{
    background:transparent!important;
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-menu summary::-webkit-details-marker{
    display:none!important;
  }
  #dre-course-home-canonical-header-v140 .dre-shared-page-menu summary::marker{
    content:""!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-menu-panel{
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    z-index:9999!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    background:#fff!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-menu-panel a{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:14px 18px!important;
    background:#fff!important;
    color:#314b5e!important;
    -webkit-text-fill-color:#314b5e!important;
    border:0!important;
    border-bottom:1px solid #e3e9ed!important;
    border-radius:0!important;
    text-decoration:none!important;
    font-weight:700!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-menu-panel a:hover,
  #dre-course-home-canonical-header-v140 .dre-shared-page-menu-panel a:focus{
    color:#ef3eaa!important;
    -webkit-text-fill-color:#ef3eaa!important;
  }
}


/* ==========================================================
   v1.4.1 — LESSON NAVIGATION CORRECTION ONLY
   1) Restore Day 1 / Day 2 etc. instead of numbered circles.
   2) Active activity: no blue left accent.
   3) Active activity: very light DRE pink wash.
   No shared-header changes.
========================================================== */

/* Course Home contents accordion: hide the numbered circle and retain Day label. */
.drefl-course-contents .drefl-section-number,
.drefl-course-contents .drefl-day-number,
.drefl-course-contents .section-number,
.drefl-course-contents .day-number{
  display:none!important;
}

/* Lesson slide-out/menu equivalents: no numbered day badge. */
.drefl-course-menu .drefl-section-number,
.drefl-course-menu .drefl-day-number,
.drefl-course-menu .section-number,
.drefl-course-menu .day-number,
.drefl-lesson-menu .drefl-section-number,
.drefl-lesson-menu .drefl-day-number,
.drefl-lesson-menu .section-number,
.drefl-lesson-menu .day-number{
  display:none!important;
}

/* Active lesson/activity tab: remove every blue edge/accent. */
.drefl-course-menu .is-active,
.drefl-course-menu .active,
.drefl-course-menu [aria-current="page"],
.drefl-lesson-menu .is-active,
.drefl-lesson-menu .active,
.drefl-lesson-menu [aria-current="page"],
.drefl-course-contents .drefl-activity.is-active,
.drefl-course-contents .drefl-activity.active{
  background:#fff2f9!important;
  border-left:0!important;
  border-left-color:transparent!important;
  box-shadow:none!important;
}

/* Common pseudo-element implementation of the old blue left stripe. */
.drefl-course-menu .is-active::before,
.drefl-course-menu .active::before,
.drefl-course-menu [aria-current="page"]::before,
.drefl-lesson-menu .is-active::before,
.drefl-lesson-menu .active::before,
.drefl-lesson-menu [aria-current="page"]::before{
  display:none!important;
  content:none!important;
  border:0!important;
  background:transparent!important;
}

/* Mobile slide-out active row: agreed pink wash, no blue accent. */
@media (max-width:767px){
  .drefl-course-menu a.is-active,
  .drefl-course-menu a.active,
  .drefl-course-menu a[aria-current="page"],
  .drefl-lesson-menu a.is-active,
  .drefl-lesson-menu a.active,
  .drefl-lesson-menu a[aria-current="page"]{
    background:#fff2f9!important;
    border-left:0!important;
    box-shadow:none!important;
  }
}


/* ==========================================================
   v1.4.3 — EXACT Flexible Learning active-row selector
   Plugin markup: .drefl-course-item.is-current
   Preserve 3px transparent geometry to avoid first-paint movement.
========================================================== */
body.single-dre_flex_lesson .drefl-course-nav .drefl-course-item.is-current,
body.single-dre_flex_lesson .drefl-course-nav .drefl-course-item.is-current:hover,
body.single-dre_flex_lesson .drefl-course-nav .drefl-course-item.is-current:focus,
body.single-dre_flex_lesson .drefl-course-nav .drefl-course-item.is-current:active,
body.single-dre_flex_lesson .drefl-sidebar-nav .drefl-course-item.is-current,
body.single-dre_flex_lesson .drefl-sidebar-nav .drefl-course-item.is-current:hover,
body.single-dre_flex_lesson .drefl-sidebar-nav .drefl-course-item.is-current:focus,
body.single-dre_flex_lesson .drefl-sidebar-nav .drefl-course-item.is-current:active{
  background:#fff2f9!important;
  border-left:3px solid transparent!important;
  box-shadow:none!important;
  color:#4F535D!important;
}

/* Keep the icon neutral on the active row rather than using the blue state. */
body.single-dre_flex_lesson .drefl-course-item.is-current .drefl-course-icon{
  color:#9da7af!important;
}


/* ==========================================================
   v1.4.4 — COURSE HOME contents labels only
   Remove numbered day circles; restore Day labels to DRE blue.
   Lesson-page navigation intentionally untouched.
========================================================== */
body.single-dre_flex_course .drefl-course-contents .drefl-section-number,
body.single-dre_flex_course .drefl-course-contents .drefl-day-number,
body.single-dre_flex_course .drefl-course-contents .section-number,
body.single-dre_flex_course .drefl-course-contents .day-number,
body.single-dre_flex_course .drefl-course-contents [class*="number-badge"],
body.single-dre_flex_course .drefl-course-contents [class*="day-badge"]{
  display:none!important;
}

body.single-dre_flex_course .drefl-course-contents .drefl-section-title,
body.single-dre_flex_course .drefl-course-contents .drefl-day-title,
body.single-dre_flex_course .drefl-course-contents .section-title,
body.single-dre_flex_course .drefl-course-contents .day-title{
  color:#08a5df!important;
}


/* ==========================================================
   v1.4.5 — exact Course Home accordion markup (plugin v0.8.9)
   Number = .drefl-course-card-number
   Day label = .drefl-course-card-copy > strong
========================================================== */
body.single-dre_flex_course .drefl-course-card-number{
  display:none!important;
}

/* Remove the now-unused first grid column so the Day label moves left cleanly. */
body.single-dre_flex_course .drefl-course-card-toggle{
  grid-template-columns:minmax(0,1fr) 30px!important;
}

/* Restore Day 1 / Day 2 / etc. to DRE blue. */
body.single-dre_flex_course .drefl-course-card-copy > strong{
  color:var(--drefl-blue)!important;
  -webkit-text-fill-color:var(--drefl-blue)!important;
}


/* ==========================================================
   v1.4.6 — Course Home shared menu behaviour
   Canonical header only. Lesson menu untouched.
========================================================== */
@media (max-width:767px){
  #dre-course-home-canonical-header-v140 .dre-shared-page-header{
    position:relative!important;
    z-index:10000!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-menu{
    position:static!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-menu[open] .dre-shared-page-menu-panel{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }

  #dre-course-home-canonical-header-v140 .dre-shared-page-menu-panel{
    display:none!important;
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:10001!important;
    background:#fff!important;
  }
}


/* ==========================================================
   v1.4.7 — SHARED HEADER/MENU ON DESKTOP TOO
   Applies to Dashboard, Courses archive and Course Home.
   Lesson pages deliberately excluded.
========================================================== */

/* Course Home canonical header is no longer mobile-only. */
body.single-dre_flex_course #dre-course-home-canonical-header-v140{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}

/* Canonical shared shell at all widths. */
body.page-id-594 .dre-shared-page-header,
body.post-type-archive-dre_flex_course .dre-shared-page-header,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-header{
  position:relative!important;
  z-index:10000!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  max-width:none!important;
  min-height:94px!important;
  height:94px!important;
  margin:0!important;
  padding:12px 32px!important;
  box-sizing:border-box!important;
  background:#4F535D!important;
  overflow:visible!important;
}

/* Same logo placement and dimensions. */
body.page-id-594 .dre-shared-page-logo,
body.post-type-archive-dre_flex_course .dre-shared-page-logo,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-logo{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:70px!important;
  height:70px!important;
  flex:0 0 70px!important;
  margin:0!important;
  padding:0!important;
}

body.page-id-594 .dre-shared-page-logo img,
body.post-type-archive-dre_flex_course .dre-shared-page-logo img,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-logo img{
  display:block!important;
  width:70px!important;
  height:70px!important;
  max-width:70px!important;
  max-height:70px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
}

/* Same plain-text Menu trigger: white, pink on hover/focus. */
body.page-id-594 .dre-shared-page-menu,
body.post-type-archive-dre_flex_course .dre-shared-page-menu,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu{
  position:static!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}

body.page-id-594 .dre-shared-page-menu summary,
body.post-type-archive-dre_flex_course .dre-shared-page-menu summary,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu summary{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:8px 0 8px 16px!important;
  background:transparent!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-weight:800!important;
  line-height:1.2!important;
  cursor:pointer!important;
  list-style:none!important;
}

body.page-id-594 .dre-shared-page-menu summary:hover,
body.page-id-594 .dre-shared-page-menu summary:focus,
body.post-type-archive-dre_flex_course .dre-shared-page-menu summary:hover,
body.post-type-archive-dre_flex_course .dre-shared-page-menu summary:focus,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu summary:hover,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu summary:focus{
  background:transparent!important;
  color:#ef3eaa!important;
  -webkit-text-fill-color:#ef3eaa!important;
  outline:0!important;
}

body.page-id-594 .dre-shared-page-menu summary::-webkit-details-marker,
body.post-type-archive-dre_flex_course .dre-shared-page-menu summary::-webkit-details-marker,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu summary::-webkit-details-marker{
  display:none!important;
}

/* Same full-width dropdown attached directly to header. */
body.page-id-594 .dre-shared-page-menu-panel,
body.post-type-archive-dre_flex_course .dre-shared-page-menu-panel,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu-panel{
  display:none!important;
  position:absolute!important;
  top:100%!important;
  left:0!important;
  right:0!important;
  z-index:10001!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
}

body.page-id-594 .dre-shared-page-menu[open] .dre-shared-page-menu-panel,
body.post-type-archive-dre_flex_course .dre-shared-page-menu[open] .dre-shared-page-menu-panel,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu[open] .dre-shared-page-menu-panel{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}

body.page-id-594 .dre-shared-page-menu-panel a,
body.post-type-archive-dre_flex_course .dre-shared-page-menu-panel a,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu-panel a{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:14px 32px!important;
  background:#fff!important;
  color:#314b5e!important;
  -webkit-text-fill-color:#314b5e!important;
  border:0!important;
  border-bottom:1px solid #e3e9ed!important;
  border-radius:0!important;
  text-decoration:none!important;
  font-weight:700!important;
}

body.page-id-594 .dre-shared-page-menu-panel a:hover,
body.page-id-594 .dre-shared-page-menu-panel a:focus,
body.post-type-archive-dre_flex_course .dre-shared-page-menu-panel a:hover,
body.post-type-archive-dre_flex_course .dre-shared-page-menu-panel a:focus,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu-panel a:hover,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu-panel a:focus{
  background:#fff!important;
  color:#ef3eaa!important;
  -webkit-text-fill-color:#ef3eaa!important;
}

/* Old Course Home nav must not coexist with canonical shared header at desktop. */
body.single-dre_flex_course .drefl-course-home-nav,
body.single-dre_flex_course .dre-course-home-nav{
  display:none!important;
}

/* Preserve the tighter mobile/tablet inset already approved. */
@media (max-width:767px){
  body.page-id-594 .dre-shared-page-header,
  body.post-type-archive-dre_flex_course .dre-shared-page-header,
  body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-header{
    padding-left:22px!important;
    padding-right:22px!important;
  }

  body.page-id-594 .dre-shared-page-menu-panel a,
  body.post-type-archive-dre_flex_course .dre-shared-page-menu-panel a,
  body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu-panel a{
    padding-left:18px!important;
    padding-right:18px!important;
  }
}


/* v1.5.2 — compact Dashboard course discovery. */
.dre-dashboard-explore-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.dre-dashboard-explore-links a{display:flex;flex-direction:column;gap:3px;padding:18px 20px;border:1px solid #d8e0e6;border-radius:12px;background:#fff;color:#213d52;text-decoration:none}
.dre-dashboard-explore-links a:hover,.dre-dashboard-explore-links a:focus-visible{border-color:#ed3fa5;box-shadow:0 0 0 1px #ed3fa5}
.dre-dashboard-explore-links span{font-weight:700;color:#5f7180}
.dre-dashboard-explore-links strong{font-size:1.15em;color:#213d52}
.dre-dashboard-all-courses{margin-top:16px}
.dre-dashboard-all-courses a{font-weight:800;color:#006fd6}
.drefl-course-catalogue-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 auto 24px;max-width:1200px;padding:0 20px}
.drefl-course-catalogue-filters a{display:inline-flex;gap:6px;align-items:baseline;padding:10px 16px;border:1px solid #d8e0e6;border-radius:999px;background:#fff;color:#213d52;text-decoration:none;font-weight:800}
.drefl-course-catalogue-filters a.is-active,.drefl-course-catalogue-filters a:hover,.drefl-course-catalogue-filters a:focus-visible{border-color:#ed3fa5;color:#ed3fa5}
.drefl-course-catalogue-filters a span{font-weight:700;font-size:.9em}
.drefl-course-library-card[hidden]{display:none!important}
.drefl-course-filter-empty{max-width:1200px;margin:0 auto;padding:0 20px 30px}
@media(max-width:767px){.dre-dashboard-explore-links{grid-template-columns:1fr}.drefl-course-catalogue-filters{gap:8px}.drefl-course-catalogue-filters a{padding:9px 13px}}


/* v1.5.3 — Dashboard now points to the single Courses catalogue. */
body.page-id-594 .dre-course-explore{padding-top:8px!important;}
body.page-id-594 .dre-dashboard-all-courses{margin-top:0;text-align:center;}
/* Dashboard CTA layout. Colours are set once in the v1.5.4 DRE pink rules below. */
body.page-id-594 .dre-dashboard-courses-button{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:10px;text-decoration:none;font-weight:800;line-height:1.2;}

/* =========================================================
   v1.5.4 — DRE colour consistency + catalogue alignment
========================================================= */

/* Primary Dashboard CTA uses the DRE pink action colour. */
body.page-id-594 .dre-dashboard-courses-button{
  background:var(--dre-pink)!important;
  border-color:var(--dre-pink)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.page-id-594 .dre-dashboard-courses-button:hover,
body.page-id-594 .dre-dashboard-courses-button:focus-visible{
  background:#d92e94!important;
  border-color:#d92e94!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Courses archive: filters begin on exactly the same left edge as the heading/grid. */
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters{
  max-width:none!important;
  margin:0 0 24px!important;
  padding:0!important;
}

/* DRE grey palette: #22313f for strong copy, #4F535D for normal copy,
   #8a949d for deliberately secondary copy. Avoid generic near-black text. */
body.post-type-archive-dre_flex_course .drefl-all-courses-head h1,
body.post-type-archive-dre_flex_course .drefl-course-library-card h2,
body.post-type-archive-dre_flex_course .drefl-course-library-card h2 a,
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters a{
  color:#22313f!important;
  -webkit-text-fill-color:#22313f!important;
}
body.post-type-archive-dre_flex_course .drefl-all-courses-head p,
body.post-type-archive-dre_flex_course .drefl-course-library-card,
body.post-type-archive-dre_flex_course .drefl-course-library-card p,
body.post-type-archive-dre_flex_course .drefl-course-library-body{
  color:#4F535D!important;
  -webkit-text-fill-color:#4F535D!important;
}
body.post-type-archive-dre_flex_course .drefl-course-library-meta span,
body.post-type-archive-dre_flex_course .drefl-course-library-image{
  color:#8a949d!important;
  -webkit-text-fill-color:#8a949d!important;
}
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters a.is-active,
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters a:hover,
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters a:focus-visible{
  color:var(--dre-pink)!important;
  -webkit-text-fill-color:var(--dre-pink)!important;
}

/* Apply the established DRE greys to ordinary learning-site text globally,
   while leaving buttons, coloured navigation and explicit component colours alone. */
body.page-id-594 .dre-course-dashboard,
body.single-dre_flex_course .drefl-course-main,
body.single-dre_flex_lesson .drefl-content-column{
  color:#4F535D;
}
body.page-id-594 .dre-course-dashboard h1,
body.page-id-594 .dre-course-dashboard h2,
body.page-id-594 .dre-course-dashboard h3,
body.single-dre_flex_course .drefl-course-main h1,
body.single-dre_flex_course .drefl-course-main h2,
body.single-dre_flex_course .drefl-course-main h3,
body.single-dre_flex_lesson .drefl-content-column h1,
body.single-dre_flex_lesson .drefl-content-column h2,
body.single-dre_flex_lesson .drefl-content-column h3{
  color:#22313f;
}


/* =========================================================
   v1.5.5 — typography + controls polish
========================================================= */
/* DRE text greys: strong text uses the established DRE dark grey, never near-black. */
body.post-type-archive-dre_flex_course .drefl-all-courses-head h1,
body.post-type-archive-dre_flex_course .drefl-course-library-card h2,
body.post-type-archive-dre_flex_course .drefl-course-library-card h2 a,
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters a,
body.page-id-594 .dre-course-dashboard h1,
body.page-id-594 .dre-course-dashboard h2,
body.page-id-594 .dre-course-dashboard h3{
  color:#4F535D!important;
  -webkit-text-fill-color:#4F535D!important;
}
body.post-type-archive-dre_flex_course .drefl-all-courses-head p,
body.page-id-594 .dre-course-dashboard-intro,
body.page-id-594 .dre-course-dashboard-section-head p{
  color:#7A8790!important;
  -webkit-text-fill-color:#7A8790!important;
}
/* Keep active catalogue filter in DRE pink. */
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters a.is-active,
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters a:hover,
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters a:focus-visible{
  color:var(--dre-pink)!important;
  -webkit-text-fill-color:var(--dre-pink)!important;
}
/* Compact catalogue filters on desktop and mobile. */
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters{gap:8px!important;}
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters a{
  padding:7px 12px!important;
  font-size:.88rem!important;
  line-height:1.15!important;
}
body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters a span{font-size:.88em!important;}
@media(max-width:767px){
  body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters{gap:6px!important;}
  body.post-type-archive-dre_flex_course .drefl-course-catalogue-filters a{padding:6px 9px!important;font-size:.78rem!important;}
}
/* Menu trigger is a subtle outlined control everywhere. Border follows text colour. */
.dre-shared-page-menu summary{
  border:1px solid currentColor!important;
  border-radius:7px!important;
  padding:7px 10px!important;
  background:transparent!important;
  box-shadow:none!important;
}
/* On dark shared headers, an open Close menu × remains white. */
.dre-shared-page-header .dre-shared-page-menu[open] > summary{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#fff!important;
}

/* =========================================================
   v1.5.6 — open shared-menu label must stay white
========================================================= */
/* Override older pink hover/focus rules when Menu is open.
   This applies to Dashboard, Courses, Course Home and lesson global headers. */
body .dre-shared-page-header .dre-shared-page-menu[open] > summary,
body .dre-shared-page-header .dre-shared-page-menu[open] > summary:hover,
body .dre-shared-page-header .dre-shared-page-menu[open] > summary:focus,
body .dre-shared-page-header .dre-shared-page-menu[open] > summary:focus-visible,
body.page-id-594 .dre-shared-page-menu[open] > summary,
body.page-id-594 .dre-shared-page-menu[open] > summary:hover,
body.page-id-594 .dre-shared-page-menu[open] > summary:focus,
body.post-type-archive-dre_flex_course .dre-shared-page-menu[open] > summary,
body.post-type-archive-dre_flex_course .dre-shared-page-menu[open] > summary:hover,
body.post-type-archive-dre_flex_course .dre-shared-page-menu[open] > summary:focus,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu[open] > summary,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu[open] > summary:hover,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu[open] > summary:focus,
body.single-dre_flex_lesson .dre-shared-page-menu[open] > summary,
body.single-dre_flex_lesson .dre-shared-page-menu[open] > summary:hover,
body.single-dre_flex_lesson .dre-shared-page-menu[open] > summary:focus{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#fff!important;
}

/* =========================================================
   v1.5.7 — context-aware global Menu control
========================================================= */
/* Shared dark-header pages: Menu and border are white in both states. */
body:not(.single-dre_flex_lesson) .dre-shared-page-header .dre-shared-page-menu > summary,
body:not(.single-dre_flex_lesson) .dre-shared-page-header .dre-shared-page-menu > summary:hover,
body:not(.single-dre_flex_lesson) .dre-shared-page-header .dre-shared-page-menu > summary:focus-visible{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid #fff!important;
  border-radius:7px!important;
  padding:7px 10px!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* =========================================================
   v1.5.8 — Course Home Menu border guarantee
========================================================= */
/* Course Home uses its own canonical header rules; explicitly keep the
   shared Menu control outlined in the same colour as its text. */
body.single-dre_flex_course .dre-course-home-shared-header .dre-shared-page-menu > summary,
body.single-dre_flex_course .dre-course-home-shared-header .dre-shared-page-menu > summary:hover,
body.single-dre_flex_course .dre-course-home-shared-header .dre-shared-page-menu > summary:focus-visible,
body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu > summary,
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu > summary{
  border:1px solid currentColor!important;
  border-radius:7px!important;
  padding:7px 10px!important;
  box-shadow:none!important;
}


/* =========================================================
   v1.5.10 — consistent shared Menu hover without layout shift
========================================================= */
body.page-id-594 .dre-shared-page-menu > summary,
body.post-type-archive-dre_flex_course .dre-shared-page-menu > summary,
body.single-dre_flex_course .dre-shared-page-menu > summary{
  box-sizing:border-box!important;
  border:1px solid currentColor!important;
  padding:7px 10px!important;
  font-size:inherit!important;
  line-height:1.2!important;
  transform:none!important;
}
body.page-id-594 .dre-shared-page-menu > summary:hover,
body.page-id-594 .dre-shared-page-menu > summary:focus-visible,
body.post-type-archive-dre_flex_course .dre-shared-page-menu > summary:hover,
body.post-type-archive-dre_flex_course .dre-shared-page-menu > summary:focus-visible,
body.single-dre_flex_course .dre-shared-page-menu > summary:hover,
body.single-dre_flex_course .dre-shared-page-menu > summary:focus-visible{
  color:#ef3eaa!important;
  -webkit-text-fill-color:#ef3eaa!important;
  border-color:#ef3eaa!important;
  padding:7px 10px!important;
  border-width:1px!important;
  transform:none!important;
}


/* =========================================================
   v1.5.11 — definitive shared Menu hover on dark DRE headers
========================================================= */
/* Earlier context rules forced white with !important on hover. These later,
   page-specific rules deliberately win for the CLOSED trigger only. */
body.page-id-594 .dre-shared-page-header .dre-shared-page-menu:not([open]) > summary:hover,
body.page-id-594 .dre-shared-page-header .dre-shared-page-menu:not([open]) > summary:focus-visible,
body.post-type-archive-dre_flex_course .dre-shared-page-header .dre-shared-page-menu:not([open]) > summary:hover,
body.post-type-archive-dre_flex_course .dre-shared-page-header .dre-shared-page-menu:not([open]) > summary:focus-visible{
  color:#ef3eaa!important;
  -webkit-text-fill-color:#ef3eaa!important;
  border-color:#ef3eaa!important;
  background:transparent!important;
}

/* =========================================================
   v1.6.3 — dashboard top-gap correction
   Astra's page-builder rule adds padding-top directly to the dashboard
   article. The DRE shared header is the first content inside that article,
   so remove only that dashboard article top padding.
========================================================= */
body.page-id-594 #primary main#main > article#post-594{
  padding-top:0!important;
}

/* v1.6.9 — Keep the dashboard's mobile course zones close together. */
@media(max-width:767px){
  body.page-id-594 .dre-course-dashboard{padding-top:16px!important;padding-bottom:30px!important}
  body.page-id-594 .dre-course-dashboard-hero{margin-bottom:16px!important}
  body.page-id-594 .dre-course-dashboard-hero h1{margin-bottom:12px!important}
  body.page-id-594 .dre-course-dashboard-section{margin-top:18px!important}
  body.page-id-594 .dre-course-dashboard-section-head{margin-bottom:10px!important}
  body.page-id-594 .dre-course-dashboard-section.is-courses{padding-top:20px!important;padding-bottom:24px!important}
  body.page-id-594 .dre-course-grid{gap:14px!important}
}

/* =========================================================
   v1.6.11 — PMPro account page: DRE visual integration only
   Presentation-only. PMPro account/membership behaviour is unchanged.
========================================================= */
body.pmpro-account .entry-content{
  max-width:1180px;
  margin:0 auto;
}
body.pmpro-account .entry-title{
  font-size:clamp(1.65rem,2.4vw,2.15rem)!important;
  line-height:1.2!important;
  color:#3f4650!important;
  margin-bottom:24px!important;
}
body.pmpro-account .pmpro_section{
  margin:0 0 28px!important;
}
body.pmpro-account .pmpro_section_title,
body.pmpro-account .pmpro_section_title h2,
body.pmpro-account #pmpro_account h2{
  font-size:clamp(1.3rem,2vw,1.65rem)!important;
  line-height:1.25!important;
  color:#4b525c!important;
  margin:0 0 12px!important;
}
body.pmpro-account .pmpro_card{
  border:1px solid #e1e5e8!important;
  border-radius:14px!important;
  box-shadow:0 5px 18px rgba(35,49,58,.06)!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.pmpro-account .pmpro_card_content{
  padding:24px 28px!important;
}
body.pmpro-account .pmpro_card_actions{
  padding:14px 28px!important;
  background:#f7f7f7!important;
  border-top:1px solid #e6e6e6!important;
}
body.pmpro-account .pmpro_heading-with-avatar{
  gap:14px!important;
  align-items:center!important;
}
body.pmpro-account .pmpro_heading-with-avatar h2,
body.pmpro-account .pmpro_heading-with-avatar h3{
  font-size:1.35rem!important;
  line-height:1.3!important;
  margin:0!important;
  color:#333!important;
}
body.pmpro-account .pmpro_card_content p{
  margin:0 0 10px!important;
  color:#4f5963!important;
  font-size:1rem!important;
}
body.pmpro-account .pmpro_card_content p:last-child{
  margin-bottom:0!important;
}
body.pmpro-account .pmpro_card_content strong,
body.pmpro-account .pmpro_list_item_label{
  color:#3f4650!important;
}
body.pmpro-account .pmpro_card_actions a,
body.pmpro-account .pmpro_actions_nav a{
  color:#ef3eaa!important;
  font-weight:700!important;
  text-decoration:none!important;
}
body.pmpro-account .pmpro_card_actions a:hover,
body.pmpro-account .pmpro_card_actions a:focus-visible,
body.pmpro-account .pmpro_actions_nav a:hover,
body.pmpro-account .pmpro_actions_nav a:focus-visible{
  text-decoration:underline!important;
}
body.pmpro-account .pmpro_card_action_separator{
  color:#c4c9ce!important;
}
body.pmpro-account .pmpro_tag{
  border-radius:999px!important;
}
body.pmpro-account .pmpro_table{
  font-size:1rem!important;
}
body.pmpro-account .pmpro_btn,
body.pmpro-account a.pmpro_btn{
  border-radius:999px!important;
  font-family:inherit!important;
  font-weight:700!important;
}
@media(max-width:767px){
  body.pmpro-account .entry-title{margin-bottom:18px!important}
  body.pmpro-account .pmpro_section{margin-bottom:22px!important}
  body.pmpro-account .pmpro_card_content{padding:20px!important}
  body.pmpro-account .pmpro_card_actions{padding:14px 20px!important}
}


/* =========================================================
   v1.6.12 — PMPro account: simple DRE Hub navigation bar
   Account page only. Replaces Astra's generic header visually;
   PMPro membership/account behaviour is untouched.
========================================================= */
body.pmpro-account .site-header{display:none!important}
.dre-account-hubbar{
  box-sizing:border-box;width:100%;min-height:82px;display:flex;align-items:center;
  justify-content:space-between;gap:20px;padding:12px clamp(20px,4vw,54px);
  background:#f7f7f7;border-bottom:1px solid #e1e5e8;
}
.dre-account-hubbar-logo{display:block;width:58px;height:58px;flex:0 0 58px}
.dre-account-hubbar-logo img{display:block;width:58px;height:58px;object-fit:contain}
.dre-account-hubbar-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.dre-account-hubbar-actions a,
.dre-account-hubbar-actions a:visited{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 17px;
  border-radius:999px;text-decoration:none!important;font-size:.9rem;font-weight:800;line-height:1.2;
}
.dre-account-hubbar-dashboard,
.dre-account-hubbar-dashboard:visited{background:#ef3eaa!important;border:2px solid #ef3eaa!important;color:#fff!important}
.dre-account-hubbar-dashboard:hover,
.dre-account-hubbar-dashboard:focus-visible{background:#fff!important;color:#ef3eaa!important}
.dre-account-hubbar-account,
.dre-account-hubbar-account:visited{background:#fff!important;border:2px solid #d9dee2!important;color:#4f535d!important}
.dre-account-hubbar-account:hover,
.dre-account-hubbar-account:focus-visible{border-color:#ef3eaa!important;color:#ef3eaa!important}
@media(max-width:600px){
  .dre-account-hubbar{min-height:70px;padding:8px 14px;gap:10px}
  .dre-account-hubbar-logo,.dre-account-hubbar-logo img{width:48px;height:48px;flex-basis:48px}
  .dre-account-hubbar-actions{gap:6px}
  .dre-account-hubbar-actions a,.dre-account-hubbar-actions a:visited{min-height:38px;padding:7px 11px;font-size:.76rem}
}


/* =========================================================
   v1.6.13 — DRE login page presentation
   Styling/header only. PMPro authentication and redirects are untouched.
========================================================= */
body.dre-pmpro-login-page .site-header{display:none!important}
body.dre-pmpro-login-page .site-content{padding-top:0!important}
body.dre-pmpro-login-page .ast-container,
body.dre-pmpro-login-page .site-content .ast-container{
  max-width:100%!important;padding-left:20px!important;padding-right:20px!important;
}
body.dre-pmpro-login-page main.site-main,
body.dre-pmpro-login-page article,
body.dre-pmpro-login-page .entry-content{
  width:100%!important;max-width:620px!important;margin-left:auto!important;margin-right:auto!important;
}
body.dre-pmpro-login-page article{margin-top:54px!important;margin-bottom:70px!important}
body.dre-pmpro-login-page .entry-header{display:none!important}
body.dre-pmpro-login-page .pmpro,
body.dre-pmpro-login-page .pmpro_login_wrap,
body.dre-pmpro-login-page .pmpro_card{
  width:100%!important;max-width:620px!important;margin-left:auto!important;margin-right:auto!important;
}
body.dre-pmpro-login-page .pmpro_card,
body.dre-pmpro-login-page .pmpro_login_wrap{
  box-sizing:border-box!important;background:#fff!important;border:1px solid #e1e5e8!important;
  border-radius:16px!important;box-shadow:0 6px 22px rgba(35,49,58,.07)!important;
}
body.dre-pmpro-login-page .pmpro_card_content,
body.dre-pmpro-login-page .pmpro_login_wrap > form{
  padding:28px!important;
}
body.dre-pmpro-login-page .pmpro_form_field{margin-bottom:18px!important}
body.dre-pmpro-login-page label{font-size:.95rem!important;color:#4b525c!important;font-weight:700!important}
body.dre-pmpro-login-page input[type="text"],
body.dre-pmpro-login-page input[type="email"],
body.dre-pmpro-login-page input[type="password"]{
  box-sizing:border-box!important;width:100%!important;min-height:48px!important;padding:10px 13px!important;
  border:1px solid #cfd5da!important;border-radius:9px!important;background:#fff!important;font:inherit!important;
}
body.dre-pmpro-login-page input[type="text"]:focus,
body.dre-pmpro-login-page input[type="email"]:focus,
body.dre-pmpro-login-page input[type="password"]:focus{
  border-color:#2498d4!important;box-shadow:0 0 0 2px rgba(36,152,212,.12)!important;outline:none!important;
}
body.dre-pmpro-login-page .site-content input[type="submit"],
body.dre-pmpro-login-page .site-content button[type="submit"],
body.dre-pmpro-login-page .pmpro_btn-submit,
body.dre-pmpro-login-page .pmpro_btn{
  width:auto!important;min-width:130px!important;min-height:44px!important;padding:9px 24px!important;
  border:2px solid #ef3eaa!important;border-radius:999px!important;background:#ef3eaa!important;
  color:#fff!important;font-family:inherit!important;font-size:.95rem!important;font-weight:800!important;line-height:1.2!important;
  box-shadow:none!important;cursor:pointer!important;
}
body.dre-pmpro-login-page .site-content input[type="submit"]:hover,
body.dre-pmpro-login-page .site-content input[type="submit"]:focus-visible,
body.dre-pmpro-login-page .site-content button[type="submit"]:hover,
body.dre-pmpro-login-page .site-content button[type="submit"]:focus-visible,
body.dre-pmpro-login-page .pmpro_btn:hover,
body.dre-pmpro-login-page .pmpro_btn:focus-visible{
  background:#fff!important;color:#ef3eaa!important;
}
body.dre-pmpro-login-page .pmpro_card_actions,
body.dre-pmpro-login-page .pmpro_actions_nav{
  padding:15px 28px!important;background:#f7f7f7!important;border-top:1px solid #e6e6e6!important;
}
body.dre-pmpro-login-page a{color:#ef3eaa}
body.dre-pmpro-login-page .pmpro_card_actions a,
body.dre-pmpro-login-page .pmpro_actions_nav a{font-weight:700!important;text-decoration:none!important}
body.dre-pmpro-login-page .pmpro_card_actions a:hover,
body.dre-pmpro-login-page .pmpro_actions_nav a:hover{text-decoration:underline!important}
body.dre-pmpro-login-page .pmpro_form_field-password-toggle,
body.dre-pmpro-login-page .pmpro_form_field-password-toggle button{
  color:#66717a!important;font-size:.9rem!important;
}
body.dre-pmpro-login-page .pmpro_form_field-checkbox label,
body.dre-pmpro-login-page label[for="rememberme"]{font-weight:600!important;font-size:.9rem!important;color:#66717a!important}
@media(max-width:680px){
  body.dre-pmpro-login-page .ast-container,
  body.dre-pmpro-login-page .site-content .ast-container{padding-left:14px!important;padding-right:14px!important}
  body.dre-pmpro-login-page article{margin-top:30px!important;margin-bottom:45px!important}
  body.dre-pmpro-login-page .pmpro_card_content,
  body.dre-pmpro-login-page .pmpro_login_wrap > form{padding:22px!important}
  body.dre-pmpro-login-page .pmpro_card_actions,
  body.dre-pmpro-login-page .pmpro_actions_nav{padding:14px 22px!important}
}


/* =========================================================
   v1.6.14 — DRE login polish
   Presentation only: no PMPro authentication/redirect logic changed.
========================================================= */
body.dre-pmpro-login-page .site-content input[type="submit"],
body.dre-pmpro-login-page .site-content button[type="submit"],
body.dre-pmpro-login-page .pmpro_btn-submit,
body.dre-pmpro-login-page .pmpro_btn{
  display:block!important;
  margin-left:auto!important;
  margin-right:auto!important;
  background:#fff!important;
  color:#ef3eaa!important;
  border:2px solid #ef3eaa!important;
}
body.dre-pmpro-login-page .site-content input[type="submit"]:hover,
body.dre-pmpro-login-page .site-content input[type="submit"]:focus-visible,
body.dre-pmpro-login-page .site-content button[type="submit"]:hover,
body.dre-pmpro-login-page .site-content button[type="submit"]:focus-visible,
body.dre-pmpro-login-page .pmpro_btn-submit:hover,
body.dre-pmpro-login-page .pmpro_btn-submit:focus-visible,
body.dre-pmpro-login-page .pmpro_btn:hover,
body.dre-pmpro-login-page .pmpro_btn:focus-visible{
  background:#ef3eaa!important;
  color:#fff!important;
}
/* Password visibility control: deliberately quiet, not a primary action. */
body.dre-pmpro-login-page .pmpro_form_field-password-toggle button,
body.dre-pmpro-login-page button.pmpro_form_field-password-toggle,
body.dre-pmpro-login-page [class*="password-toggle"] button{
  display:inline-flex!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:3px 7px!important;
  background:transparent!important;
  border:1px solid #d7dce0!important;
  border-radius:7px!important;
  color:#737b83!important;
  font-size:.82rem!important;
  font-weight:600!important;
  line-height:1.25!important;
  box-shadow:none!important;
}
body.dre-pmpro-login-page .pmpro_form_field-password-toggle button:hover,
body.dre-pmpro-login-page .pmpro_form_field-password-toggle button:focus-visible,
body.dre-pmpro-login-page button.pmpro_form_field-password-toggle:hover,
body.dre-pmpro-login-page button.pmpro_form_field-password-toggle:focus-visible,
body.dre-pmpro-login-page [class*="password-toggle"] button:hover,
body.dre-pmpro-login-page [class*="password-toggle"] button:focus-visible{
  background:#f7f7f7!important;
  border-color:#bfc6cc!important;
  color:#555e66!important;
}

/* =========================================================
   v1.6.15 — PMPro account compact desktop layout
   Presentation only: tighter spacing/type so core account sections
   fit comfortably within a typical desktop viewport.
========================================================= */
@media(min-width:768px){
  body.pmpro-account .site-content{padding-top:20px!important;padding-bottom:24px!important}
  body.pmpro-account .entry-content{max-width:1040px!important}
  body.pmpro-account .entry-title{
    font-size:1.55rem!important;
    margin:0 0 14px!important;
  }
  body.pmpro-account .pmpro_section{margin:0 0 16px!important}
  body.pmpro-account .pmpro_section_title,
  body.pmpro-account .pmpro_section_title h2,
  body.pmpro-account #pmpro_account h2{
    font-size:1.28rem!important;
    line-height:1.2!important;
    margin:0 0 8px!important;
  }
  body.pmpro-account .pmpro_card_content{padding:16px 22px!important}
  body.pmpro-account .pmpro_card_actions{padding:9px 22px!important}
  body.pmpro-account .pmpro_heading-with-avatar{gap:10px!important}
  body.pmpro-account .pmpro_heading-with-avatar h2,
  body.pmpro-account .pmpro_heading-with-avatar h3{
    font-size:1.12rem!important;
  }
  body.pmpro-account .pmpro_card_content p{
    font-size:.91rem!important;
    line-height:1.45!important;
    margin:0 0 6px!important;
  }
  body.pmpro-account .pmpro_card_actions,
  body.pmpro-account .pmpro_card_actions a,
  body.pmpro-account .pmpro_actions_nav,
  body.pmpro-account .pmpro_actions_nav a{
    font-size:.91rem!important;
  }
  body.pmpro-account .pmpro_table{
    font-size:.9rem!important;
    line-height:1.35!important;
  }
  body.pmpro-account .pmpro_table th,
  body.pmpro-account .pmpro_table td{
    padding:9px 12px!important;
  }
  body.pmpro-account .pmpro_tag{padding-top:3px!important;padding-bottom:3px!important}
}


/* =========================================================
   v1.6.16 — PMPro new-user / membership-level selection
   Presentation only. PMPro checkout and redirect query strings remain untouched.
========================================================= */
body.dre-pmpro-levels-page .site-header{display:none!important}
body.dre-pmpro-levels-page .site-content{padding-top:0!important}
body.dre-pmpro-levels-page .ast-container,
body.dre-pmpro-levels-page .site-content .ast-container{
  max-width:100%!important;padding-left:20px!important;padding-right:20px!important;
}
body.dre-pmpro-levels-page main.site-main,
body.dre-pmpro-levels-page article,
body.dre-pmpro-levels-page .entry-content{
  width:100%!important;max-width:620px!important;margin-left:auto!important;margin-right:auto!important;
}
body.dre-pmpro-levels-page article{margin-top:54px!important;margin-bottom:70px!important}
body.dre-pmpro-levels-page .entry-header{display:none!important}
body.dre-pmpro-levels-page .pmpro,
body.dre-pmpro-levels-page .pmpro_levels_table,
body.dre-pmpro-levels-page .pmpro_card{
  width:100%!important;max-width:620px!important;margin-left:auto!important;margin-right:auto!important;
}
body.dre-pmpro-levels-page .pmpro_levels_table,
body.dre-pmpro-levels-page .pmpro_card{
  box-sizing:border-box!important;background:#fff!important;border:1px solid #e1e5e8!important;
  border-radius:16px!important;box-shadow:0 6px 22px rgba(35,49,58,.07)!important;overflow:hidden!important;
}
/* Turn PMPro's one-level table into a compact account-creation card. */
body.dre-pmpro-levels-page .pmpro_levels_table thead{display:none!important}
body.dre-pmpro-levels-page .pmpro_levels_table tbody,
body.dre-pmpro-levels-page .pmpro_levels_table tr,
body.dre-pmpro-levels-page .pmpro_levels_table td{display:block!important;width:100%!important;box-sizing:border-box!important}
body.dre-pmpro-levels-page .pmpro_levels_table tr{padding:26px 28px!important}
body.dre-pmpro-levels-page .pmpro_levels_table td{
  border:0!important;padding:0!important;text-align:center!important;font-size:.95rem!important;color:#66717a!important;
}
body.dre-pmpro-levels-page .pmpro_levels_table td:first-child{
  color:#4b525c!important;font-size:1.15rem!important;font-weight:800!important;margin-bottom:6px!important;
}
body.dre-pmpro-levels-page .pmpro_levels_table td:nth-child(2){margin-bottom:18px!important}
body.dre-pmpro-levels-page .pmpro_levels_table td:nth-child(2),
body.dre-pmpro-levels-page .pmpro_levels_table td:nth-child(2) strong{font-weight:600!important;color:#66717a!important}
body.dre-pmpro-levels-page .pmpro_btn,
body.dre-pmpro-levels-page a.pmpro_btn,
body.dre-pmpro-levels-page .site-content input[type="submit"],
body.dre-pmpro-levels-page .site-content button[type="submit"]{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:180px!important;min-height:44px!important;margin:4px auto 0!important;padding:9px 24px!important;
  border:2px solid #ef3eaa!important;border-radius:999px!important;background:#fff!important;color:#ef3eaa!important;
  font-family:inherit!important;font-size:.95rem!important;font-weight:800!important;line-height:1.2!important;text-decoration:none!important;
  box-shadow:none!important;cursor:pointer!important;
}
body.dre-pmpro-levels-page .pmpro_btn:hover,
body.dre-pmpro-levels-page .pmpro_btn:focus-visible,
body.dre-pmpro-levels-page a.pmpro_btn:hover,
body.dre-pmpro-levels-page a.pmpro_btn:focus-visible,
body.dre-pmpro-levels-page .site-content input[type="submit"]:hover,
body.dre-pmpro-levels-page .site-content input[type="submit"]:focus-visible,
body.dre-pmpro-levels-page .site-content button[type="submit"]:hover,
body.dre-pmpro-levels-page .site-content button[type="submit"]:focus-visible{
  background:#ef3eaa!important;color:#fff!important;
}
@media(max-width:680px){
  body.dre-pmpro-levels-page .ast-container,
  body.dre-pmpro-levels-page .site-content .ast-container{padding-left:14px!important;padding-right:14px!important}
  body.dre-pmpro-levels-page article{margin-top:30px!important;margin-bottom:45px!important}
  body.dre-pmpro-levels-page .pmpro_levels_table tr{padding:22px!important}
}

/* =========================================================
   v1.6.17 — simplified single free-account choice
========================================================= */
body.dre-pmpro-levels-page .dre-free-account-intro{
  text-align:center!important;margin:0 auto 18px!important;padding:0 18px!important;
}
body.dre-pmpro-levels-page .dre-free-account-intro h1{
  margin:0 0 9px!important;color:#4b525c!important;font-size:1.45rem!important;line-height:1.25!important;font-weight:800!important;
}
body.dre-pmpro-levels-page .dre-free-account-intro p{
  margin:0 auto!important;max-width:470px!important;color:#737d86!important;font-size:.98rem!important;line-height:1.55!important;
}
body.dre-pmpro-levels-page .dre-pmpro-level-name-cell,
body.dre-pmpro-levels-page .dre-pmpro-level-price-cell{display:none!important}
body.dre-pmpro-levels-page .pmpro_levels_table tr{
  padding:22px 28px!important;text-align:center!important;
}
body.dre-pmpro-levels-page .pmpro_levels_table td:last-child{text-align:center!important}
body.dre-pmpro-levels-page .pmpro_levels_table .pmpro_btn,
body.dre-pmpro-levels-page .pmpro_levels_table a.pmpro_btn{
  margin:0 auto!important;
}
@media(max-width:680px){
  body.dre-pmpro-levels-page .dre-free-account-intro{padding:0 6px!important;margin-bottom:15px!important}
  body.dre-pmpro-levels-page .dre-free-account-intro h1{font-size:1.25rem!important}
  body.dre-pmpro-levels-page .dre-free-account-intro p{font-size:.94rem!important}
}

/* =========================================================
   v1.6.18 — remove residual PMPro level/price labels from the
   single free-account route. Presentation only.
========================================================= */
body.dre-pmpro-levels-page .pmpro_levels_table tbody tr > td:not(:last-child){
  display:none!important;
}
body.dre-pmpro-levels-page .pmpro_levels_table tbody tr > td:last-child{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
}
body.dre-pmpro-levels-page .pmpro_levels_table tbody tr{
  padding:18px 24px!important;
}


/* =========================================================
   v1.6.19 — final free-account wording and membership label
========================================================= */
body.dre-pmpro-levels-page .dre-free-membership-level{
  display:block!important;
  width:100%!important;
  margin:0 auto 16px!important;
  text-align:center!important;
  color:#737d86!important;
  font-size:.95rem!important;
  font-weight:600!important;
  line-height:1.4!important;
}

/* =========================================================
   v1.6.20 — hide the exact residual PMPro level-name cell on
   the single free-account route. Presentation only.
========================================================= */
body.dre-pmpro-levels-page .pmpro_levels_table tbody tr#pmpro_level-2 > th[data-title="Level"]{
  display:none!important;
}


/* =========================================================
   v1.6.21 — compact DRE styling for the free PMPro checkout /
   account-creation page. Presentation only.
========================================================= */
body.dre-pmpro-checkout-page .site-content .ast-container,
body.dre-pmpro-checkout-page .ast-container{
  max-width:760px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:20px!important;
  padding-right:20px!important;
}
body.dre-pmpro-checkout-page article{
  margin-top:42px!important;
  margin-bottom:55px!important;
}
body.dre-pmpro-checkout-page .entry-title{display:none!important}
body.dre-pmpro-checkout-page .pmpro_checkout,
body.dre-pmpro-checkout-page .pmpro_section,
body.dre-pmpro-checkout-page .pmpro_card{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:720px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
/* The previous screen already states that this is the free level. */
body.dre-pmpro-checkout-page #pmpro_pricing_fields,
body.dre-pmpro-checkout-page .pmpro_checkout-field-bcity + .pmpro_checkout-field-bstate + *[hidden]{display:none!important}
body.dre-pmpro-checkout-page .pmpro_section,
body.dre-pmpro-checkout-page .pmpro_card,
body.dre-pmpro-checkout-page #pmpro_user_fields{
  background:#fff!important;
  border:1px solid #e1e5e8!important;
  border-radius:16px!important;
  box-shadow:0 6px 22px rgba(35,49,58,.06)!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields,
body.dre-pmpro-checkout-page .pmpro_section{
  padding:26px 30px!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields h2,
body.dre-pmpro-checkout-page .pmpro_section h2,
body.dre-pmpro-checkout-page .pmpro_card_title{
  margin:0 0 20px!important;
  color:#4b525c!important;
  font-size:1.3rem!important;
  line-height:1.25!important;
  font-weight:800!important;
}
body.dre-pmpro-checkout-page .pmpro_checkout-field,
body.dre-pmpro-checkout-page .pmpro_form_field{margin-bottom:16px!important}
body.dre-pmpro-checkout-page label{
  color:#4b525c!important;
  font-size:.9rem!important;
  font-weight:700!important;
}
body.dre-pmpro-checkout-page input[type="text"],
body.dre-pmpro-checkout-page input[type="email"],
body.dre-pmpro-checkout-page input[type="password"]{
  min-height:48px!important;
  padding:10px 13px!important;
  border:1px solid #cbd2d7!important;
  border-radius:10px!important;
  font-family:inherit!important;
  font-size:1rem!important;
  box-shadow:none!important;
}
body.dre-pmpro-checkout-page .pmpro_form_field-password-toggle,
body.dre-pmpro-checkout-page .pmpro_form_field-password-toggle button,
body.dre-pmpro-checkout-page button.pmpro_form_field-password-toggle{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#737d86!important;
  font-size:.88rem!important;
  font-weight:600!important;
  padding:2px 4px!important;
}
body.dre-pmpro-checkout-page .pmpro_btn,
body.dre-pmpro-checkout-page .site-content input[type="submit"],
body.dre-pmpro-checkout-page .site-content button[type="submit"]{
  display:flex!important;
  width:auto!important;
  min-width:170px!important;
  min-height:44px!important;
  margin:20px auto 0!important;
  padding:9px 24px!important;
  align-items:center!important;
  justify-content:center!important;
  border:2px solid #ef3eaa!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#ef3eaa!important;
  font-family:inherit!important;
  font-size:.95rem!important;
  font-weight:800!important;
  box-shadow:none!important;
}
body.dre-pmpro-checkout-page .pmpro_btn:hover,
body.dre-pmpro-checkout-page .site-content input[type="submit"]:hover,
body.dre-pmpro-checkout-page .site-content button[type="submit"]:hover{
  background:#ef3eaa!important;
  color:#fff!important;
}
@media(max-width:680px){
  body.dre-pmpro-checkout-page article{margin-top:28px!important;margin-bottom:40px!important}
  body.dre-pmpro-checkout-page #pmpro_user_fields,
  body.dre-pmpro-checkout-page .pmpro_section{padding:20px 18px!important}
  body.dre-pmpro-checkout-page #pmpro_user_fields h2,
  body.dre-pmpro-checkout-page .pmpro_section h2,
  body.dre-pmpro-checkout-page .pmpro_card_title{font-size:1.15rem!important}
}


/* =========================================================
   v1.6.22 — simplify the free account-creation checkout.
   Presentation only: no PMPro fields, validation, submission
   or redirect behaviour is changed.
========================================================= */
body.dre-pmpro-checkout-page .site-header{display:none!important}
body.dre-pmpro-checkout-page .site-content{padding-top:0!important}

/* One clean card only: remove PMPro's nested card appearance. */
body.dre-pmpro-checkout-page .pmpro_checkout,
body.dre-pmpro-checkout-page .pmpro_section,
body.dre-pmpro-checkout-page .pmpro_card{
  max-width:620px!important;
}
body.dre-pmpro-checkout-page .pmpro_checkout,
body.dre-pmpro-checkout-page .pmpro_section,
body.dre-pmpro-checkout-page .pmpro_card,
body.dre-pmpro-checkout-page #pmpro_user_fields{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.dre-pmpro-checkout-page .entry-content > .pmpro,
body.dre-pmpro-checkout-page .pmpro > form{
  max-width:620px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields{
  max-width:620px!important;
  margin:0 auto!important;
  padding:30px 34px!important;
  background:#fff!important;
  border:1px solid #e1e5e8!important;
  border-radius:16px!important;
  box-shadow:0 6px 22px rgba(35,49,58,.06)!important;
}

/* One field per row. */
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_form_field,
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_checkout-field{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  float:none!important;
  clear:both!important;
  grid-column:1 / -1!important;
  margin:0 0 14px!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_form_fields,
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_form_fields-inline,
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_cols-2{
  display:block!important;
  grid-template-columns:none!important;
  column-count:1!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields input[type="text"],
body.dre-pmpro-checkout-page #pmpro_user_fields input[type="email"],
body.dre-pmpro-checkout-page #pmpro_user_fields input[type="password"]{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:46px!important;
}

/* Keep password visibility control quiet and out of the layout. */
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_form_field-password-toggle,
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_form_field-password-toggle button,
body.dre-pmpro-checkout-page #pmpro_user_fields button.pmpro_form_field-password-toggle{
  display:inline-flex!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:3px 0 5px!important;
  padding:2px 4px!important;
  background:transparent!important;
  border:0!important;
  color:#737d86!important;
  font-size:.86rem!important;
  font-weight:600!important;
}

@media(max-width:680px){
  body.dre-pmpro-checkout-page #pmpro_user_fields{padding:22px 18px!important}
}

/* =========================================================
   v1.6.23 — compact free account-creation viewport.
   Presentation only.
========================================================= */
body.dre-pmpro-checkout-page article{
  margin-top:16px!important;
  margin-bottom:24px!important;
}
body.dre-pmpro-checkout-page .site-content .ast-container,
body.dre-pmpro-checkout-page .ast-container{
  padding-top:0!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields{
  padding:18px 28px 20px!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields h2,
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_card_title,
body.dre-pmpro-checkout-page #pmpro_user_fields legend{
  margin:0 0 12px!important;
  font-size:1.18rem!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_form_field,
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_checkout-field{
  margin-bottom:9px!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields label{
  font-size:.84rem!important;
  line-height:1.25!important;
  margin-bottom:4px!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields input[type="text"],
body.dre-pmpro-checkout-page #pmpro_user_fields input[type="email"],
body.dre-pmpro-checkout-page #pmpro_user_fields input[type="password"]{
  min-height:40px!important;
  height:40px!important;
  padding:7px 11px!important;
  font-size:.94rem!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_form_field-password-toggle,
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_form_field-password-toggle button,
body.dre-pmpro-checkout-page #pmpro_user_fields button.pmpro_form_field-password-toggle{
  margin:1px 0 2px!important;
  font-size:.78rem!important;
}
body.dre-pmpro-checkout-page .pmpro_btn,
body.dre-pmpro-checkout-page .site-content input[type="submit"],
body.dre-pmpro-checkout-page .site-content button[type="submit"]{
  float:none!important;
  margin:12px auto 0!important;
}
body.dre-pmpro-checkout-page .pmpro_form_submit,
body.dre-pmpro-checkout-page .pmpro_submit,
body.dre-pmpro-checkout-page .pmpro_checkout-fields + p{
  text-align:center!important;
}
/* Keep the existing-account prompt present but visually secondary. */
body.dre-pmpro-checkout-page .pmpro_actions_nav,
body.dre-pmpro-checkout-page .pmpro_card_actions,
body.dre-pmpro-checkout-page .pmpro_checkout-h3-msg,
body.dre-pmpro-checkout-page .pmpro_checkout-h3-msg a{
  font-size:.78rem!important;
  line-height:1.35!important;
}
@media(max-width:680px){
  body.dre-pmpro-checkout-page article{margin-top:12px!important;margin-bottom:22px!important}
  body.dre-pmpro-checkout-page #pmpro_user_fields{padding:16px 16px 18px!important}
  body.dre-pmpro-checkout-page .pmpro_btn,
  body.dre-pmpro-checkout-page .site-content input[type="submit"],
  body.dre-pmpro-checkout-page .site-content button[type="submit"]{margin-left:auto!important;margin-right:auto!important}
}

/* =========================================================
   v1.6.24 — final account-creation spacing/alignment polish.
   Presentation only.
========================================================= */
body.dre-pmpro-checkout-page main.site-main,
body.dre-pmpro-checkout-page #primary,
body.dre-pmpro-checkout-page .site-content,
body.dre-pmpro-checkout-page .entry-content{
  padding-top:0!important;
  margin-top:0!important;
}
body.dre-pmpro-checkout-page article{
  margin-top:0!important;
  padding-top:12px!important;
}
/* PMPro adds its own content padding inside the card; remove the
   redundant layer so the heading sits near the top of the card. */
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_card_content,
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_section_content,
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_card_content_inner,
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_form_fields{
  padding-top:0!important;
  margin-top:0!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields{
  padding-top:12px!important;
  padding-bottom:14px!important;
}
body.dre-pmpro-checkout-page #pmpro_user_fields h2,
body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_card_title,
body.dre-pmpro-checkout-page #pmpro_user_fields legend{
  margin-top:0!important;
  padding-top:0!important;
  margin-bottom:9px!important;
}
/* Centre the submit action itself, not just its text wrapper. */
body.dre-pmpro-checkout-page .pmpro_form_submit,
body.dre-pmpro-checkout-page .pmpro_submit,
body.dre-pmpro-checkout-page .pmpro_checkout-submit,
body.dre-pmpro-checkout-page .pmpro_checkout-fields + p{
  width:100%!important;
  max-width:620px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  float:none!important;
}
body.dre-pmpro-checkout-page .pmpro_form_submit .pmpro_btn,
body.dre-pmpro-checkout-page .pmpro_submit .pmpro_btn,
body.dre-pmpro-checkout-page .pmpro_checkout-submit .pmpro_btn,
body.dre-pmpro-checkout-page .site-content input[type="submit"],
body.dre-pmpro-checkout-page .site-content button[type="submit"]{
  float:none!important;
  margin:10px auto 0!important;
}
@media(max-width:680px){
  body.dre-pmpro-checkout-page article{margin-top:0!important;padding-top:8px!important}
  body.dre-pmpro-checkout-page #pmpro_user_fields{padding-top:10px!important;padding-bottom:12px!important}
}


/* ==========================================================
   v1.6.32 — PMPro confirmation
   Mirrors the established DRE login / levels / checkout shell.
========================================================== */
body.dre-pmpro-confirmation-page .site-header{display:none!important}
body.dre-pmpro-confirmation-page .site-content{padding-top:0!important}
body.dre-pmpro-confirmation-page .ast-container,
body.dre-pmpro-confirmation-page .site-content .ast-container{
  max-width:760px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:20px!important;
  padding-right:20px!important;
}
body.dre-pmpro-confirmation-page main.site-main,
body.dre-pmpro-confirmation-page #primary,
body.dre-pmpro-confirmation-page article,
body.dre-pmpro-confirmation-page .entry-content{
  width:100%!important;
  max-width:none!important;
}
body.dre-pmpro-confirmation-page article{
  margin-top:54px!important;
  margin-bottom:70px!important;
}
body.dre-pmpro-confirmation-page .entry-header{display:none!important}

body.dre-pmpro-confirmation-page .dre-confirm-card{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:620px!important;
  margin:0 auto!important;
  padding:34px 36px!important;
  background:#fff!important;
  border:1px solid #dfe3e6!important;
  border-radius:14px!important;
  box-shadow:0 4px 14px rgba(35,49,58,.08)!important;
  text-align:center!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-card h1{
  margin:0 0 12px!important;
  font-size:1.65rem!important;
  line-height:1.25!important;
  color:#3f4a54!important;
  font-weight:800!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-card p{
  max-width:500px!important;
  margin:0 auto 24px!important;
  color:#66717a!important;
  font-size:1rem!important;
  line-height:1.6!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-button,
body.dre-pmpro-confirmation-page .dre-confirm-button:visited{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:9px 24px!important;
  border:2px solid #ef3eaa!important;
  border-radius:999px!important;
  background:#ef3eaa!important;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800!important;
  line-height:1.2!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-button:hover,
body.dre-pmpro-confirmation-page .dre-confirm-button:focus-visible{
  background:#fff!important;
  color:#ef3eaa!important;
}
@media(max-width:700px){
  body.dre-pmpro-confirmation-page .ast-container,
  body.dre-pmpro-confirmation-page .site-content .ast-container{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  body.dre-pmpro-confirmation-page article{
    margin-top:30px!important;
    margin-bottom:45px!important;
  }
  body.dre-pmpro-confirmation-page .dre-confirm-card{
    padding:26px 20px!important;
  }
  body.dre-pmpro-confirmation-page .dre-confirm-card h1{font-size:1.4rem!important}
}

/* v1.6.33 confirmation refinement — existing DRE logo/header untouched */
body.dre-pmpro-confirmation-page .dre-confirm-card{
  border:1px solid #e3e7ea!important;
  box-shadow:0 5px 18px rgba(35,49,58,.07)!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-card h1 span{color:#ef3eaa!important}
body.dre-pmpro-confirmation-page .dre-confirm-intro{
  color:#66717a!important;
  margin-bottom:26px!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-details{
  margin:0 auto 26px!important;
  padding:18px 22px!important;
  background:#f6f7f8!important;
  border:0!important;
  border-radius:10px!important;
  text-align:left!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-details>div{
  display:grid!important;
  grid-template-columns:145px 1fr!important;
  gap:12px!important;
  padding:9px 0!important;
  border-bottom:1px solid #e4e7e9!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-details>div:last-child{border-bottom:0!important}
body.dre-pmpro-confirmation-page .dre-confirm-details small{
  color:#7a858d!important;font-size:.9rem!important;font-weight:700!important
}
body.dre-pmpro-confirmation-page .dre-confirm-details strong{
  color:#35424c!important;font-size:1rem!important;font-weight:800!important;overflow-wrap:anywhere
}
body.dre-pmpro-confirmation-page .pmpro_actions_nav{display:none!important}
@media(max-width:600px){
 body.dre-pmpro-confirmation-page .dre-confirm-details>div{grid-template-columns:1fr!important;gap:2px!important}
}

/* v1.6.35 confirmation final colour refinements */
body.dre-pmpro-confirmation-page .dre-confirm-card h1,
body.dre-pmpro-confirmation-page .dre-confirm-card h1 span{
  color:#35424c!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-button,
body.dre-pmpro-confirmation-page .dre-confirm-button:visited{
  background:#fff!important;
  color:#ef3eaa!important;
  border:2px solid #ef3eaa!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-button:hover,
body.dre-pmpro-confirmation-page .dre-confirm-button:focus-visible{
  background:#ef3eaa!important;
  color:#fff!important;
  border-color:#ef3eaa!important;
}

/* v1.6.36 confirmation colour tuning */
body.dre-pmpro-confirmation-page .dre-confirm-card h1,
body.dre-pmpro-confirmation-page .dre-confirm-card h1 span{
  color:#046bd2!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-card p,
body.dre-pmpro-confirmation-page .dre-confirm-intro{
  color:#66717a!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-details small{
  color:#77828a!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-details strong{
  color:#56636d!important;
}

/* v1.6.37 — use established DRE brand palette */
body.dre-pmpro-confirmation-page .dre-confirm-card h1,
body.dre-pmpro-confirmation-page .dre-confirm-card h1 span{
  color:#18A5DD!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-card p,
body.dre-pmpro-confirmation-page .dre-confirm-intro,
body.dre-pmpro-confirmation-page .dre-confirm-details small,
body.dre-pmpro-confirmation-page .dre-confirm-details strong{
  color:#4F535D!important;
}

/* ==========================================================
   v1.6.45 — Dashboard reads DRE Tests results (display only)
   Test data remains owned by the DRE Tests/Level Test plugin.
========================================================== */
.page-id-594 .dre-dashboard-results .dre-course-dashboard-section-head{
  align-items:center;
}
.page-id-594 .dre-dashboard-results-all{
  color:#18a5dd;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
.page-id-594 .dre-dashboard-results-all:hover{text-decoration:underline}
.page-id-594 .dre-dashboard-results .dre-results-component,
.page-id-594 .dre-dashboard-results .dre-results-component *{
  font-family:"Nunito",sans-serif;
}
.page-id-594 .dre-dashboard-results .dre-results-grid{
  width:100%;
}
.page-id-594 .dre-dashboard-results .dre-results-list-card{
  box-sizing:border-box;
  width:100%;
}
@media(max-width:800px){
  .page-id-594 .dre-dashboard-results .dre-course-dashboard-section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
}


/* ==========================================================
   v1.6.46 — compact DRE results presentation on Dashboard
========================================================== */
.page-id-594 .dre-dashboard-results .dre-course-dashboard-section-head{margin-bottom:12px;}
.page-id-594 .dre-dashboard-results .dre-course-dashboard-section-head p{margin-bottom:0;}
.page-id-594 .dre-dashboard-results-all{font-size:.95rem;}
.page-id-594 .dre-dashboard-results .dre-results-compact{max-width:900px;}
.page-id-594 .dre-dashboard-results .dre-results-list-card{width:100%;}
.page-id-594 .dre-dashboard-results .dre-results-heading-row h2{color:#4F535D;}
@media(max-width:800px){
 .page-id-594 .dre-dashboard-results .dre-results-compact{max-width:none;}
}

/* ==========================================================
   v1.6.52 — STANDARD DRE LEARN PAGE
   Extends the EXISTING Dashboard / All Courses shared shell to
   ordinary non-lesson WordPress pages. No lesson selectors here.
========================================================== */
body.dre-learn-standard-page .site-header,
body.dre-learn-standard-page #masthead{
  display:none!important;
}
body.dre-learn-standard-page .ast-container,
body.dre-learn-standard-page .entry-content,
body.dre-learn-standard-page .site-content .ast-container,
body.dre-learn-standard-page article{
  max-width:100%!important;
  width:100%!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.dre-learn-standard-page .dre-learn-standard-primary,
body.dre-learn-standard-page .dre-learn-standard-main{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.dre-learn-standard-page .dre-learn-standard-content{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:32px 24px 60px;
  box-sizing:border-box;
}

/* Exact canonical desktop Learn header/menu dimensions. */
body.dre-learn-standard-page .dre-shared-page-header{
  position:relative!important;
  z-index:10000!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  max-width:none!important;
  min-height:94px!important;
  height:94px!important;
  margin:0!important;
  padding:12px 32px!important;
  box-sizing:border-box!important;
  background:#4F535D!important;
  overflow:visible!important;
}
body.dre-learn-standard-page .dre-shared-page-logo{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:70px!important;height:70px!important;flex:0 0 70px!important;margin:0!important;padding:0!important;
}
body.dre-learn-standard-page .dre-shared-page-logo img{
  display:block!important;width:70px!important;height:70px!important;max-width:70px!important;max-height:70px!important;
  margin:0!important;padding:0!important;object-fit:contain!important;
}
body.dre-learn-standard-page .dre-shared-page-menu{
  position:static!important;width:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;
}
body.dre-learn-standard-page .dre-shared-page-menu summary{
  display:block!important;width:auto!important;min-width:0!important;min-height:0!important;margin:0!important;
  padding:8px 0 8px 16px!important;background:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;font-weight:800!important;line-height:1.2!important;
  cursor:pointer!important;list-style:none!important;
}
body.dre-learn-standard-page .dre-shared-page-menu summary:hover,
body.dre-learn-standard-page .dre-shared-page-menu summary:focus{
  background:transparent!important;color:#ef3eaa!important;-webkit-text-fill-color:#ef3eaa!important;outline:0!important;
}
body.dre-learn-standard-page .dre-shared-page-menu summary::-webkit-details-marker{display:none!important;}
body.dre-learn-standard-page .dre-shared-page-menu-panel{
  display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;z-index:10001!important;
  width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important;background:#fff!important;border:0!important;border-radius:0!important;
}
body.dre-learn-standard-page .dre-shared-page-menu[open] .dre-shared-page-menu-panel{
  display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
}
body.dre-learn-standard-page .dre-shared-page-menu-panel a{
  display:block!important;width:100%!important;box-sizing:border-box!important;padding:14px 32px!important;background:#fff!important;
  color:#314b5e!important;-webkit-text-fill-color:#314b5e!important;border:0!important;border-bottom:1px solid #e3e9ed!important;
  border-radius:0!important;text-decoration:none!important;font-weight:700!important;
}
body.dre-learn-standard-page .dre-shared-page-menu-panel a:hover,
body.dre-learn-standard-page .dre-shared-page-menu-panel a:focus{
  background:#fff!important;color:#ef3eaa!important;-webkit-text-fill-color:#ef3eaa!important;
}

/* Exact canonical mobile Learn header/menu rules already used by Dashboard/Courses. */
@media (max-width:767px){
  body.dre-learn-standard-page .dre-shared-page-header{
    min-height:72px!important;height:72px!important;padding:8px 22px!important;
  }
  body.dre-learn-standard-page .dre-shared-page-logo{
    width:56px!important;height:56px!important;flex:0 0 56px!important;
  }
  body.dre-learn-standard-page .dre-shared-page-logo img{
    width:56px!important;height:56px!important;max-width:56px!important;max-height:56px!important;
  }
  body.dre-learn-standard-page .dre-shared-page-menu summary{
    padding:9px 10px!important;font-size:.8rem!important;
  }
  body.dre-learn-standard-page .dre-shared-page-menu-panel a{
    padding:14px 18px!important;font-size:.86rem!important;
  }
  body.dre-learn-standard-page .dre-learn-standard-content{
    padding:24px 16px 44px;
  }
}


/* ==========================================================
   v1.6.54 — STANDARD LEARN CONTENT GEOMETRY
   Ordinary non-lesson Learn pages use the same outer content
   measurements as the existing Dashboard. Feature plugins keep
   ownership of their own cards, borders, tables and controls.
========================================================== */
body.dre-learn-standard-page .dre-learn-standard-content{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:32px 24px 60px;
  box-sizing:border-box;
}
@media(max-width:800px){
  body.dre-learn-standard-page .dre-learn-standard-content{
    padding:24px 16px 44px;
  }
}


/* =========================================================
   v1.6.56 — LEVEL TEST ONBOARDING SHELL
   The virtual welcome/results endpoints join the existing DRE
   account/onboarding context. This suppresses Astra's masthead
   and removes its content-column constraint only on these routes.
   The Level Test plugin retains all result-card presentation.
========================================================= */
body.dre-lt-onboarding-page .site-header,
body.dre-lt-onboarding-page #masthead{
  display:none!important;
}
body.dre-lt-onboarding-page .site-content{
  padding-top:0!important;
}
body.dre-lt-onboarding-page .site-content > .ast-container,
body.dre-lt-onboarding-page .site-content .ast-container{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.dre-lt-onboarding-page #primary,
body.dre-lt-onboarding-page main.site-main,
body.dre-lt-onboarding-page article,
body.dre-lt-onboarding-page .entry-content{
  float:none!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.dre-lt-onboarding-page .dre-lt-member-page{
  width:100%!important;
  box-sizing:border-box!important;
}
body.dre-lt-onboarding-page .dre-lt-member-wrap{
  margin-left:auto!important;
  margin-right:auto!important;
}


/* =========================================================
   v1.6.57 — ONBOARDING HEADER GEOMETRY
   Onboarding/account-flow pages use the exact same header height
   and DRE logo dimensions as the canonical dark Learn header.
   Only the established light-grey account/onboarding background
   is retained. No lesson or feature-component styling is changed.
========================================================= */
body.dre-pmpro-login-page .dre-account-hubbar,
body.dre-pmpro-levels-page .dre-account-hubbar,
body.dre-pmpro-checkout-page .dre-account-hubbar,
body.dre-pmpro-confirmation-page .dre-account-hubbar,
body.dre-lt-onboarding-page .dre-account-hubbar{
  min-height:94px!important;
  height:94px!important;
  padding:12px 32px!important;
  background:#f7f7f7!important;
  box-sizing:border-box!important;
}
body.dre-pmpro-login-page .dre-account-hubbar-logo,
body.dre-pmpro-login-page .dre-account-hubbar-logo img,
body.dre-pmpro-levels-page .dre-account-hubbar-logo,
body.dre-pmpro-levels-page .dre-account-hubbar-logo img,
body.dre-pmpro-checkout-page .dre-account-hubbar-logo,
body.dre-pmpro-checkout-page .dre-account-hubbar-logo img,
body.dre-pmpro-confirmation-page .dre-account-hubbar-logo,
body.dre-pmpro-confirmation-page .dre-account-hubbar-logo img,
body.dre-lt-onboarding-page .dre-account-hubbar-logo,
body.dre-lt-onboarding-page .dre-account-hubbar-logo img{
  width:70px!important;
  height:70px!important;
  max-width:70px!important;
  max-height:70px!important;
  flex-basis:70px!important;
}
@media(max-width:767px){
  body.dre-pmpro-login-page .dre-account-hubbar,
  body.dre-pmpro-levels-page .dre-account-hubbar,
  body.dre-pmpro-checkout-page .dre-account-hubbar,
  body.dre-pmpro-confirmation-page .dre-account-hubbar,
  body.dre-lt-onboarding-page .dre-account-hubbar{
    min-height:72px!important;
    height:72px!important;
    padding:8px 22px!important;
  }
  body.dre-pmpro-login-page .dre-account-hubbar-logo,
  body.dre-pmpro-login-page .dre-account-hubbar-logo img,
  body.dre-pmpro-levels-page .dre-account-hubbar-logo,
  body.dre-pmpro-levels-page .dre-account-hubbar-logo img,
  body.dre-pmpro-checkout-page .dre-account-hubbar-logo,
  body.dre-pmpro-checkout-page .dre-account-hubbar-logo img,
  body.dre-pmpro-confirmation-page .dre-account-hubbar-logo,
  body.dre-pmpro-confirmation-page .dre-account-hubbar-logo img,
  body.dre-lt-onboarding-page .dre-account-hubbar-logo,
  body.dre-lt-onboarding-page .dre-account-hubbar-logo img{
    width:56px!important;
    height:56px!important;
    max-width:56px!important;
    max-height:56px!important;
    flex-basis:56px!important;
  }
}


/* =========================================================
   v1.6.58 — SHARED PMPRO / ACCOUNT-FLOW SHELL
   Every PMPro-facing WordPress page uses the same established
   light DRE account header. Feature/page content is untouched.
========================================================= */
body.dre-account-flow-page .site-header,
body.dre-account-flow-page #masthead{
  display:none!important;
}
body.dre-account-flow-page .dre-account-hubbar{
  min-height:94px!important;
  height:94px!important;
  padding:12px 32px!important;
  background:#f7f7f7!important;
  box-sizing:border-box!important;
}
body.dre-account-flow-page .dre-account-hubbar-logo,
body.dre-account-flow-page .dre-account-hubbar-logo img{
  width:70px!important;
  height:70px!important;
  max-width:70px!important;
  max-height:70px!important;
  flex-basis:70px!important;
}
@media(max-width:767px){
  body.dre-account-flow-page .dre-account-hubbar{
    min-height:72px!important;
    height:72px!important;
    padding:8px 22px!important;
  }
  body.dre-account-flow-page .dre-account-hubbar-logo,
  body.dre-account-flow-page .dre-account-hubbar-logo img{
    width:56px!important;
    height:56px!important;
    max-width:56px!important;
    max-height:56px!important;
    flex-basis:56px!important;
  }
}


/* =========================================================
   v1.6.59 — ACCOUNT SHELL CSS SCOPE FIX
   PMPro form-button presentation belongs to page content only.
   WordPress admin-bar controls are explicitly outside that scope.
========================================================= */
body.dre-account-flow-page #wpadminbar input,
body.dre-account-flow-page #wpadminbar button{
  font-family:inherit;
}


/* =========================================================
   v1.6.60 — ACCOUNT SHELL: ADMIN SEARCH + PROFILE ACTIONS
   Narrow shared fixes only. The WordPress toolbar search is not part
   of the DRE account shell, and PMPro profile actions use DRE buttons.
========================================================= */
body.dre-account-flow-page #wpadminbar #wp-admin-bar-search{
  display:none!important;
}

body.dre-account-flow-page .site-content .pmpro_form_submit .pmpro_btn-submit,
body.dre-account-flow-page .site-content .pmpro_form_submit input.pmpro_btn-submit{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:8px 17px!important;
  border:2px solid #ef3eaa!important;
  border-radius:999px!important;
  background:#ef3eaa!important;
  color:#fff!important;
  font-family:inherit!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-decoration:none!important;
}
body.dre-account-flow-page .site-content .pmpro_form_submit .pmpro_btn-submit:hover,
body.dre-account-flow-page .site-content .pmpro_form_submit .pmpro_btn-submit:focus-visible,
body.dre-account-flow-page .site-content .pmpro_form_submit input.pmpro_btn-submit:hover,
body.dre-account-flow-page .site-content .pmpro_form_submit input.pmpro_btn-submit:focus-visible{
  background:#fff!important;
  color:#ef3eaa!important;
}

body.dre-account-flow-page .site-content .pmpro_form_submit .pmpro_btn-cancel{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:8px 17px!important;
  border:2px solid #d9dee2!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#4f535d!important;
  font-family:inherit!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-decoration:none!important;
}
body.dre-account-flow-page .site-content .pmpro_form_submit .pmpro_btn-cancel:hover,
body.dre-account-flow-page .site-content .pmpro_form_submit .pmpro_btn-cancel:focus-visible{
  border-color:#ef3eaa!important;
  color:#ef3eaa!important;
}


/* =========================================================
   v1.6.62 — ONE SHARED NON-LESSON DRE LEARN MENU
   Dashboard, Courses, Course Home, Results and PMPro/account-flow
   surfaces use the same dark header/menu. Lesson pages are ringfenced.
========================================================= */
body:not(.single-dre_flex_lesson) .dre-shared-page-header{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  max-width:none!important;
  min-height:94px!important;
  height:94px!important;
  margin:0!important;
  padding:12px 32px!important;
  box-sizing:border-box!important;
  background:#4F535D!important;
  border:0!important;
  overflow:visible!important;
}

body:not(.single-dre_flex_lesson) .dre-shared-page-logo,
body:not(.single-dre_flex_lesson) .dre-shared-page-logo img{
  display:block!important;
  width:70px!important;
  height:70px!important;
  max-width:70px!important;
  max-height:70px!important;
  flex:0 0 70px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
}

body:not(.single-dre_flex_lesson) .dre-shared-page-menu{
  position:static!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

body:not(.single-dre_flex_lesson) .dre-shared-page-menu > summary{
  box-sizing:border-box!important;
  min-width:0!important;
  margin:0!important;
  padding:7px 10px!important;
  border:1px solid #fff!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:none!important;
  font-weight:800!important;
  line-height:1.2!important;
  cursor:pointer!important;
}
body:not(.single-dre_flex_lesson) .dre-shared-page-menu:not([open]) > summary:hover,
body:not(.single-dre_flex_lesson) .dre-shared-page-menu:not([open]) > summary:focus-visible{
  border-color:#ef3eaa!important;
  color:#ef3eaa!important;
  -webkit-text-fill-color:#ef3eaa!important;
}

body:not(.single-dre_flex_lesson) .dre-shared-page-menu-panel{
  position:absolute!important;
  top:100%!important;
  right:0!important;
  left:auto!important;
  z-index:9999!important;
  display:grid!important;
  width:min(320px,100%)!important;
  min-width:220px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  border:1px solid #dce4e9!important;
  border-radius:0 0 8px 8px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(34,49,63,.12)!important;
  overflow:hidden!important;
}

body:not(.single-dre_flex_lesson) .dre-shared-page-menu-panel a,
body:not(.single-dre_flex_lesson) .dre-shared-page-menu-panel a:visited{
  display:block!important;
  width:100%!important;
  padding:15px 22px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-bottom:1px solid #e3e8ec!important;
  border-radius:0!important;
  background:#fff!important;
  color:#163f63!important;
  -webkit-text-fill-color:#163f63!important;
  text-align:left!important;
  text-decoration:none!important;
  font-weight:700!important;
}
body:not(.single-dre_flex_lesson) .dre-shared-page-menu-panel a:last-child{
  border-bottom:0!important;
}
body:not(.single-dre_flex_lesson) .dre-shared-page-menu-panel a:hover,
body:not(.single-dre_flex_lesson) .dre-shared-page-menu-panel a:focus-visible{
  background:#f2f3f4!important;
  color:#ef3eaa!important;
  -webkit-text-fill-color:#ef3eaa!important;
}
body:not(.single-dre_flex_lesson) .dre-shared-page-menu-panel .dre-menu-logout{
  border-top:1px solid #d7dde1!important;
}

/* PMPro/account-flow pages use the shared header, not a second account header. */
body.dre-account-flow-page .dre-account-hubbar{
  display:none!important;
}

@media(max-width:767px){
  body:not(.single-dre_flex_lesson) .dre-shared-page-header{
    min-height:94px!important;
    height:94px!important;
    padding:12px 22px!important;
  }
  body:not(.single-dre_flex_lesson) .dre-shared-page-logo,
  body:not(.single-dre_flex_lesson) .dre-shared-page-logo img{
    width:70px!important;
    height:70px!important;
    max-width:70px!important;
    max-height:70px!important;
    flex-basis:70px!important;
  }
  body:not(.single-dre_flex_lesson) .dre-shared-page-menu-panel{
    left:0!important;
    right:0!important;
    width:100%!important;
    min-width:0!important;
    border-left:0!important;
    border-right:0!important;
  }
}

/* =========================================================
   v1.6.62 — SHARED NON-LESSON UI REPAIR
   One canonical menu control + one standard Learn card surface.
   Lesson pages remain deliberately ringfenced.
========================================================= */

/* The shared trigger must not inherit typography/size from its page context. */
body:not(.single-dre_flex_lesson) .dre-shared-page-header .dre-shared-page-menu > summary{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:92px!important;
  height:46px!important;
  min-height:46px!important;
  padding:0 14px!important;
  border:1px solid #fff!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-family:"Nunito",sans-serif!important;
  font-size:18px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:0!important;
  box-sizing:border-box!important;
  transform:none!important;
}
body:not(.single-dre_flex_lesson) .dre-shared-page-header .dre-shared-page-menu:not([open]) > summary:hover,
body:not(.single-dre_flex_lesson) .dre-shared-page-header .dre-shared-page-menu:not([open]) > summary:focus-visible{
  border-color:#ef3eaa!important;
  color:#ef3eaa!important;
  -webkit-text-fill-color:#ef3eaa!important;
  background:transparent!important;
}
body:not(.single-dre_flex_lesson) .dre-shared-page-header .dre-shared-page-menu[open] > summary,
body:not(.single-dre_flex_lesson) .dre-shared-page-header .dre-shared-page-menu[open] > summary:hover,
body:not(.single-dre_flex_lesson) .dre-shared-page-header .dre-shared-page-menu[open] > summary:focus-visible{
  border-color:#fff!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:transparent!important;
}

/* Canonical dropdown behaviour: page scroll only; the menu itself never creates
   a second page-height scrolling context. */
body:not(.single-dre_flex_lesson) .dre-shared-page-header,
body:not(.single-dre_flex_lesson) .dre-shared-page-menu{
  overflow:visible!important;
}
body:not(.single-dre_flex_lesson) .dre-shared-page-menu-panel{
  max-height:none!important;
  overflow:visible!important;
}

/* Reusable Learn card surface. v0.11.3 deliberately delegates these values to
   the theme through .dre-learn-card, so Results and future components can drop
   into the standard shell without page-by-page card CSS. */
body:not(.single-dre_flex_lesson) .dre-learn-card{
  box-sizing:border-box!important;
  border:1px solid #dfe5e9!important;
  border-radius:14px!important;
  background:#fff!important;
  padding:22px!important;
  box-shadow:0 1px 2px rgba(0,0,0,.025)!important;
}
body:not(.single-dre_flex_lesson) .dre-results-component,
body:not(.single-dre_flex_lesson) .dre-results-component *{
  font-family:"Nunito",sans-serif!important;
  letter-spacing:normal;
}
body:not(.single-dre_flex_lesson) .dre-results-detail-card.dre-learn-card{
  padding:26px!important;
}
body:not(.single-dre_flex_lesson) .dre-results-list-card.dre-learn-card{
  padding:20px 22px!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-list-card.dre-learn-card{
  padding:16px 18px!important;
  border-radius:12px!important;
  box-shadow:none!important;
}

@media(max-width:767px){
  body:not(.single-dre_flex_lesson) .dre-shared-page-header .dre-shared-page-menu > summary{
    min-width:92px!important;
    height:46px!important;
    min-height:46px!important;
    padding:0 14px!important;
    font-size:18px!important;
  }
  body:not(.single-dre_flex_lesson) .dre-learn-card,
  body:not(.single-dre_flex_lesson) .dre-results-detail-card.dre-learn-card,
  body:not(.single-dre_flex_lesson) .dre-results-list-card.dre-learn-card{
    padding:16px 14px!important;
  }
}


/* =========================================================
   v1.6.64 — CANONICAL NON-LESSON MEMBER DESIGN SYSTEM
   One font source, one type scale, one dark text colour and one
   desktop content rail. Lesson pages remain ringfenced.
========================================================= */
body.learn-site:not(.single-dre_flex_lesson){
  --dre-ink:#4F535D;
  --dre-blue:#18A5DD;
  --dre-pink:#EF3EAA;
  --dre-border:#DFE5E9;
  --dre-member-max:1180px;
  font-family:"Nunito",sans-serif!important;
  color:var(--dre-ink)!important;
}

/* Typography: prevent Astra/PMPro/plugin fallbacks from changing the face. */
body.learn-site:not(.single-dre_flex_lesson) .site-content,
body.learn-site:not(.single-dre_flex_lesson) .site-content :where(
  h1,h2,h3,h4,h5,h6,p,span,div,a,button,input,select,textarea,label,li,dt,dd,th,td,strong,small
){
  font-family:"Nunito",sans-serif!important;
}

body.learn-site:not(.single-dre_flex_lesson) .site-content{
  color:var(--dre-ink)!important;
  font-size:18px;
  line-height:1.6;
}
body.learn-site:not(.single-dre_flex_lesson) .site-content :where(p,li,dt,dd,label,th,td){
  color:var(--dre-ink);
}
body.learn-site:not(.single-dre_flex_lesson) .site-content h1{
  margin-top:0;
  color:var(--dre-ink)!important;
  font-size:32px!important;
  line-height:1.18!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
body.learn-site:not(.single-dre_flex_lesson) .site-content h2{
  color:var(--dre-ink)!important;
  font-size:24px!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
body.learn-site:not(.single-dre_flex_lesson) .site-content h3{
  color:var(--dre-ink)!important;
  font-size:20px!important;
  line-height:1.3!important;
  font-weight:700!important;
  letter-spacing:0!important;
}

/* Preserve deliberate DRE accent headings/results. */
body.learn-site:not(.single-dre_flex_lesson) .site-content :where(
  .dre-results-detail-heading,
  .dre-results-score,
  .dre-results-skill-score,
  .dre-course-dashboard-kicker
){
  color:var(--dre-blue)!important;
}

/* Buttons/actions use the same face and weight everywhere. */
body.learn-site:not(.single-dre_flex_lesson) :where(
  .dre-shared-page-menu > summary,
  .site-content button,
  .site-content input[type="submit"],
  .site-content .button,
  .site-content .pmpro_btn,
  .site-content .dre-btn
){
  font-family:"Nunito",sans-serif!important;
  font-weight:700!important;
  letter-spacing:0!important;
}

/* Canonical 1180px desktop rail for normal member-page shells.
   Narrow cards/forms can remain narrower inside this rail. */
body.learn-site:not(.single-dre_flex_lesson) :where(
  .dre-course-dashboard,
  .dre-learn-standard-content,
  .drefl-course-main,
  .drefl-course-home-page
){
  width:calc(100% - 48px)!important;
  max-width:var(--dre-member-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* The All Courses archive previously used a separate 1240px rail. */
body.post-type-archive-dre_flex_course.learn-site:not(.single-dre_flex_lesson) .drefl-course-main{
  width:calc(100% - 48px)!important;
  max-width:var(--dre-member-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* My Results headings must not inherit the old monospace presentation. */
body.learn-site:not(.single-dre_flex_lesson) .dre-results-component,
body.learn-site:not(.single-dre_flex_lesson) .dre-results-component *,
body.learn-site:not(.single-dre_flex_lesson) .dre-learn-standard-content > h1,
body.learn-site:not(.single-dre_flex_lesson) .dre-learn-standard-content > p{
  font-family:"Nunito",sans-serif!important;
}

/* Standard dark text token for formerly black/near-black member text. */
body.learn-site:not(.single-dre_flex_lesson) .site-content :where(
  .dre-results-test-title,
  .dre-results-meta,
  .dre-course-dashboard-intro,
  .pmpro_card_title,
  .pmpro_card_content
){
  color:var(--dre-ink)!important;
}

@media(max-width:767px){
  body.learn-site:not(.single-dre_flex_lesson) :where(
    .dre-course-dashboard,
    .dre-learn-standard-content,
    .drefl-course-main,
    .drefl-course-home-page
  ),
  body.post-type-archive-dre_flex_course.learn-site:not(.single-dre_flex_lesson) .drefl-course-main{
    width:100%!important;
    max-width:none!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
  body.learn-site:not(.single-dre_flex_lesson) .site-content h1{
    font-size:28px!important;
  }
  body.learn-site:not(.single-dre_flex_lesson) .site-content h2{
    font-size:22px!important;
  }
}


/* =========================================================
   v1.6.65 — MEMBER GEOMETRY + RESULTS TYPOGRAPHY REPAIR
========================================================= */

/* All Courses: align its outer content rail with the dashboard/standard
   member rail rather than retaining archive-specific horizontal spacing. */
body.post-type-archive-dre_flex_course.learn-site:not(.single-dre_flex_lesson)
.drefl-course-main{
  width:calc(100% - 48px)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* Dashboard result card: consume the full available dashboard rail. */
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard .dre-results-component,
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard .dre-results-list,
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard .dre-results-card{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

/* Give the course CTA its own breathing room below the result card. */
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-explore{
  margin-top:46px!important;
  padding-top:18px!important;
}

/* WordPress/code markup on My Results must never turn headings/body copy
   into monospace. */
body.learn-site:not(.single-dre_flex_lesson)
.dre-learn-standard-content code,
body.learn-site:not(.single-dre_flex_lesson)
.dre-results-component code,
body.learn-site:not(.single-dre_flex_lesson)
.dre-results-page-intro code{
  font-family:"Nunito",sans-serif!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  color:inherit!important;
  background:transparent!important;
  padding:0!important;
  border:0!important;
}

@media(max-width:767px){
  body.post-type-archive-dre_flex_course.learn-site:not(.single-dre_flex_lesson)
  .drefl-course-main{
    width:100%!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
}


/* =========================================================
   v1.6.66 — STANDARD MEMBER SPACING + ACCOUNT PRESENTATION
========================================================= */

/* Standard-page content begins at the same vertical position as Dashboard. */
body.learn-site:not(.single-dre_flex_lesson) .dre-learn-standard-content{
  padding-top:44px!important;
  padding-bottom:60px!important;
}
body.learn-site:not(.single-dre_flex_lesson) .dre-learn-standard-content > :first-child{
  margin-top:0!important;
}

/* Account surfaces use the same centred member rail as Dashboard. */
body.learn-site:not(.single-dre_flex_lesson) :where(
  .dre-account-page,
  .dre-account-content,
  .dre-member-page-content,
  .pmpro_account,
  #pmpro_account,
  .pmpro_member_profile_edit,
  #member-profile-edit
){
  width:calc(100% - 48px)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Account/profile form: a deliberate soft section rather than a huge
   white panel disappearing into a white page. */
body.learn-site:not(.single-dre_flex_lesson) :where(
  .pmpro_member_profile_edit,
  #member-profile-edit,
  .pmpro_form
){
  font-family:"Nunito",sans-serif!important;
}
body.learn-site:not(.single-dre_flex_lesson) :where(
  .pmpro_member_profile_edit,
  #member-profile-edit
){
  margin-top:44px!important;
  margin-bottom:60px!important;
  padding:38px 40px 42px!important;
  background:#F3F7F9!important;
  border:1px solid #DFE5E9!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
body.learn-site:not(.single-dre_flex_lesson) :where(
  .pmpro_member_profile_edit,
  #member-profile-edit
) :where(h1,h2,h3,legend){
  color:#4F535D!important;
  font-family:"Nunito",sans-serif!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
body.learn-site:not(.single-dre_flex_lesson) :where(
  .pmpro_member_profile_edit,
  #member-profile-edit
) :where(label,p){
  color:#4F535D!important;
}
body.learn-site:not(.single-dre_flex_lesson) :where(
  .pmpro_member_profile_edit,
  #member-profile-edit
) :where(input[type="text"],input[type="email"],input[type="password"],select,textarea){
  background:#fff!important;
  border:1px solid #C9D1D7!important;
  border-radius:8px!important;
  min-height:48px!important;
  font-family:"Nunito",sans-serif!important;
  color:#4F535D!important;
}

/* DRE account actions. Primary is solid pink; secondary is pink outline. */
body.learn-site:not(.single-dre_flex_lesson) :where(
  .pmpro_member_profile_edit,
  #member-profile-edit
) :where(input[type="submit"],button[type="submit"],.pmpro_btn-submit){
  background:#EF3EAA!important;
  border:2px solid #EF3EAA!important;
  color:#fff!important;
  border-radius:9px!important;
  font-weight:700!important;
  box-shadow:none!important;
}
body.learn-site:not(.single-dre_flex_lesson) :where(
  .pmpro_member_profile_edit,
  #member-profile-edit
) :where(.pmpro_btn-cancel,.pmpro_btn-secondary,a.button){
  background:#fff!important;
  border:2px solid #EF3EAA!important;
  color:#EF3EAA!important;
  border-radius:9px!important;
  font-weight:700!important;
  box-shadow:none!important;
}

/* Reusable soft-band utility for main Learn pages. It can be added to
   major sections without forcing every section to use a coloured strip. */
body.learn-site:not(.single-dre_flex_lesson) .dre-soft-section{
  position:relative;
  padding-top:36px;
  padding-bottom:36px;
  background:#F3F7F9;
}
body.learn-site:not(.single-dre_flex_lesson) .dre-soft-section > .dre-soft-section-inner{
  width:calc(100% - 48px);
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}

/* Dashboard: visually separate the results area from the surrounding white
   canvas while preserving the existing card and 1180px geometry. */
body.learn-site:not(.single-dre_flex_lesson) .dre-course-dashboard .dre-dashboard-results{
  margin-top:42px!important;
  padding:34px 28px 38px!important;
  background:#F3F7F9!important;
  border-radius:14px!important;
  box-sizing:border-box!important;
}

@media(max-width:767px){
  body.learn-site:not(.single-dre_flex_lesson) .dre-learn-standard-content{
    padding-top:32px!important;
    padding-bottom:44px!important;
  }
  body.learn-site:not(.single-dre_flex_lesson) :where(
    .dre-account-page,.dre-account-content,.dre-member-page-content,
    .pmpro_account,#pmpro_account,.pmpro_member_profile_edit,#member-profile-edit
  ){
    width:100%!important;
    max-width:none!important;
  }
  body.learn-site:not(.single-dre_flex_lesson) :where(
    .pmpro_member_profile_edit,#member-profile-edit
  ){
    margin-top:32px!important;
    padding:26px 18px 30px!important;
    border-radius:12px!important;
  }
  body.learn-site:not(.single-dre_flex_lesson) .dre-course-dashboard .dre-dashboard-results{
    padding:26px 16px 30px!important;
  }
}


/* =========================================================
   v1.6.67 — TWO NARROW GEOMETRY REPAIRS
========================================================= */

/* Dashboard only: remove the compact-results grid/card width ceiling so
   the white result card fills the pale Results section's inner width. */
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard .dre-dashboard-results .dre-results-compact,
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard .dre-dashboard-results .dre-results-component,
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard .dre-dashboard-results .dre-results-grid{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard .dre-dashboard-results .dre-results-card{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

/* All Courses only: restore a sticky-footer page frame. The previous
   archive geometry allowed #page to end before the viewport bottom,
   leaving a white strip beneath Astra's footer. */
body.post-type-archive-dre_flex_course.learn-site #page{
  min-height:100vh!important;
  display:flex!important;
  flex-direction:column!important;
}
body.post-type-archive-dre_flex_course.learn-site #content{
  flex:1 0 auto!important;
}
body.post-type-archive-dre_flex_course.learn-site #colophon,
body.post-type-archive-dre_flex_course.learn-site .site-footer{
  flex-shrink:0!important;
  margin-bottom:0!important;
}
body.post-type-archive-dre_flex_course.learn-site{
  margin-bottom:0!important;
  padding-bottom:0!important;
}


/* =========================================================
   v1.6.68 — SOURCE-TRACED MEMBER GEOMETRY REPAIRS
========================================================= */

/* Standard Learn pages: v1.6.66 added 44px here, which made My Results
   start visibly lower than the Dashboard. Restore the shared visual offset. */
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson) .dre-learn-standard-content{
  padding-top:28px!important;
}

/* Detailed result: use the complete standard-page content rail. */
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson) .dre-results-detail,
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson) .dre-results-detail-card{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

/* Detailed result actions only: centre the remaining action horizontally. */
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
.dre-results-detail-card .dre-results-actions{
  width:100%!important;
  justify-content:center!important;
  align-items:center!important;
}

/* All Courses: the visible blank region is below the rendered body/page,
   not inside Astra's footer. Make the document body itself own viewport height,
   then let #page fill it. */
html:has(body.post-type-archive-dre_flex_course.learn-site){
  min-height:100%!important;
  background:#eee!important;
}
body.post-type-archive-dre_flex_course.learn-site{
  min-height:100vh!important;
  min-height:100dvh!important;
  display:flex!important;
  flex-direction:column!important;
  background:#eee!important;
}
body.post-type-archive-dre_flex_course.learn-site #page{
  width:100%!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  flex:1 0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  background:#fff!important;
}
body.post-type-archive-dre_flex_course.learn-site #content{
  flex:1 0 auto!important;
}

@media(max-width:767px){
  body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson) .dre-learn-standard-content{
    padding-top:24px!important;
  }
}


/* =========================================================
   v1.6.69 — ARCHIVE GRID + SUBTLE MEMBER BACKGROUND SYSTEM
========================================================= */

/* Undo the v1.6.67/68 experimental sticky-footer rules. They made the
   footer/body absorb spare viewport height instead of solving the gap. */
html:has(body.post-type-archive-dre_flex_course.learn-site){
  min-height:initial!important;
  background:#fff!important;
}
body.post-type-archive-dre_flex_course.learn-site{
  min-height:initial!important;
  display:block!important;
  background:#fff!important;
}
body.post-type-archive-dre_flex_course.learn-site #page{
  min-height:initial!important;
  display:block!important;
  background:#fff!important;
}
body.post-type-archive-dre_flex_course.learn-site #content{
  display:block!important;
}

/* All Courses: four equal columns on normal desktop widths, centred in the
   standard member rail. Cards stretch to the same height regardless of copy. */
body.post-type-archive-dre_flex_course.learn-site .drefl-course-main{
  width:calc(100% - 48px)!important;
  max-width:1420px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.post-type-archive-dre_flex_course.learn-site .drefl-course-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:stretch!important;
  width:100%!important;
}
body.post-type-archive-dre_flex_course.learn-site .drefl-course-card{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  box-sizing:border-box!important;
}
body.post-type-archive-dre_flex_course.learn-site .drefl-course-card-body{
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
}
body.post-type-archive-dre_flex_course.learn-site .drefl-course-card-body > :last-child{
  margin-top:auto!important;
}

/* Very light page wash. Deliberately much lighter than the #EEE footer.
   White cards/containers therefore separate gently from the page. */
body.learn-site:not(.single-dre_flex_lesson) #content{
  background:#F8FAFB;
}
body.learn-site:not(.single-dre_flex_lesson) .dre-learn-standard-main,
body.learn-site:not(.single-dre_flex_lesson) .dre-course-dashboard,
body.post-type-archive-dre_flex_course.learn-site .drefl-course-main{
  background:transparent!important;
}

/* Preserve white component surfaces against the wash. */
body.learn-site:not(.single-dre_flex_lesson) :where(
  .dre-learn-card,
  .dre-results-card,
  .drefl-course-card,
  .pmpro_card
){
  background:#fff!important;
}

/* Existing soft sections remain slightly stronger than the page wash, but
   still lighter/cooler than the footer background. */
body.learn-site:not(.single-dre_flex_lesson) :where(
  .dre-soft-section,
  .dre-course-dashboard .dre-dashboard-results
){
  background:#F1F6F8!important;
}

@media(max-width:1200px){
  body.post-type-archive-dre_flex_course.learn-site .drefl-course-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:900px){
  body.post-type-archive-dre_flex_course.learn-site .drefl-course-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:600px){
  body.post-type-archive-dre_flex_course.learn-site .drefl-course-main{
    width:100%!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
  body.post-type-archive-dre_flex_course.learn-site .drefl-course-grid{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
}


/* =========================================================
   v1.6.70 — TIGHTER RHYTHM + WHITE PAGE-HEADER BAND
========================================================= */

/* Dashboard: tighten the large vertical gap before Results. */
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard .dre-dashboard-results{
  margin-top:24px!important;
}

/* Keep the following course-explore area comfortably separated without
   recreating the oversized gaps between major dashboard blocks. */
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard .dre-course-explore{
  margin-top:30px!important;
}

/* My Results / standard pages: remove the remaining excess top offset. */
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
.dre-learn-standard-content{
  padding-top:16px!important;
}

/* Reusable white title band for non-lesson member pages.  It deliberately
   breaks the very-light page wash while retaining the standard content rail. */
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard > .dre-course-dashboard-hero,
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
.dre-learn-standard-content > .dre-results-page-intro,
body.post-type-archive-dre_flex_course.learn-site
.drefl-course-main > .drefl-course-archive-header{
  position:relative;
  background:#fff!important;
  padding-top:28px!important;
  padding-bottom:28px!important;
  margin-top:0!important;
  margin-bottom:26px!important;
  z-index:0;
}

/* Extend those title surfaces horizontally across the available content
   region without changing the alignment of their actual text. */
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard > .dre-course-dashboard-hero::before,
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
.dre-learn-standard-content > .dre-results-page-intro::before,
body.post-type-archive-dre_flex_course.learn-site
.drefl-course-main > .drefl-course-archive-header::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:#fff;
}

/* If a standard member page begins with its normal WP heading rather than a
   specialised intro component, give that heading area the same white surface. */
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
.dre-learn-standard-content > h1:first-of-type{
  position:relative;
  background:#fff!important;
  padding-top:28px!important;
  padding-bottom:28px!important;
  margin-top:0!important;
  margin-bottom:26px!important;
  z-index:0;
}
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
.dre-learn-standard-content > h1:first-of-type::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:#fff;
}

@media(max-width:767px){
  body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
  .dre-learn-standard-content{
    padding-top:10px!important;
  }
  body.learn-site:not(.single-dre_flex_lesson)
  .dre-course-dashboard > .dre-course-dashboard-hero,
  body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
  .dre-learn-standard-content > .dre-results-page-intro,
  body.post-type-archive-dre_flex_course.learn-site
  .drefl-course-main > .drefl-course-archive-header{
    padding-top:22px!important;
    padding-bottom:22px!important;
    margin-bottom:20px!important;
  }
}


/* =========================================================
   v1.6.71 — DASHBOARD RESULTS EMPHASIS
========================================================= */

/* Dashboard only: give the complete My Results section a clear DRE-blue
   boundary against the pale page wash. Inner result card remains white. */
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard .dre-dashboard-results{
  border:2px solid #18A5DD!important;
  border-radius:14px!important;
  box-sizing:border-box!important;
}


/* =========================================================
   v1.6.72 — GLOBAL MAIN-PAGE TITLE RHYTHM + ARCHIVE BAND
========================================================= */

/* One title/subtitle rhythm for the main non-lesson Learn page families.
   Normalise inherited margins first so component-specific defaults cannot
   create visibly different heading-to-subheading gaps. */
body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard-hero > h1,
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
.dre-results-page-intro .dre-learn-section-head h1,
body.post-type-archive-dre_flex_course.learn-site
.drefl-course-archive-header h1{
  margin:0 0 12px!important;
  padding:0!important;
  line-height:1.15!important;
}

body.learn-site:not(.single-dre_flex_lesson)
.dre-course-dashboard-hero > p,
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
.dre-results-page-intro .dre-learn-section-head p,
body.post-type-archive-dre_flex_course.learn-site
.drefl-course-archive-header > p{
  margin:0!important;
  padding:0!important;
  line-height:1.5!important;
}

/* My Results has nested wrappers; remove their inherited margins too. */
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
.dre-results-page-intro .dre-learn-section-head,
body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
.dre-results-page-intro .dre-learn-section-head > div{
  margin:0!important;
}

/* All Courses was not matching the specialised header selector used in
   v1.6.70. Apply the same full-width white title band to the actual archive
   heading area, while keeping filters/cards on the pale page wash below. */
body.post-type-archive-dre_flex_course.learn-site .drefl-course-main{
  overflow:visible!important;
}
body.post-type-archive-dre_flex_course.learn-site .drefl-course-archive-header{
  position:relative!important;
  z-index:0!important;
  background:#fff!important;
  padding-top:28px!important;
  padding-bottom:28px!important;
  margin-top:0!important;
  margin-bottom:26px!important;
}
body.post-type-archive-dre_flex_course.learn-site .drefl-course-archive-header::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:#fff;
}

/* If the archive markup uses its page title/intro directly inside the main
   wrapper rather than the named archive-header wrapper, normalise that pair
   to the same spacing. */
body.post-type-archive-dre_flex_course.learn-site .drefl-course-main > h1{
  margin-top:0!important;
  margin-bottom:12px!important;
  line-height:1.15!important;
}
body.post-type-archive-dre_flex_course.learn-site .drefl-course-main > h1 + p{
  margin-top:0!important;
  line-height:1.5!important;
}

@media(max-width:767px){
  body.learn-site:not(.single-dre_flex_lesson)
  .dre-course-dashboard-hero > h1,
  body.dre-learn-standard-page.learn-site:not(.single-dre_flex_lesson)
  .dre-results-page-intro .dre-learn-section-head h1,
  body.post-type-archive-dre_flex_course.learn-site
  .drefl-course-archive-header h1{
    margin-bottom:10px!important;
  }
}


/* =========================================================
   v1.6.73 — ACTUAL ALL COURSES MARKUP
   Screenshot/DOM confirmed:
   header.drefl-all-courses-head > h1
   div.drefl-courses-page-content > p + nav + grid
========================================================= */

/* The title and subtitle live in separate sibling wrappers, so make one
   continuous white header band from the actual archive elements. */
body.post-type-archive-dre_flex_course.learn-site
.drefl-course-main{
  position:relative!important;
  overflow:visible!important;
}

body.post-type-archive-dre_flex_course.learn-site
.drefl-all-courses-head{
  position:relative!important;
  z-index:0!important;
  margin:0!important;
  padding:28px 0 0!important;
  background:#fff!important;
}

body.post-type-archive-dre_flex_course.learn-site
.drefl-all-courses-head::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:-72px;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:#fff;
}

body.post-type-archive-dre_flex_course.learn-site
.drefl-all-courses-head h1{
  margin:0!important;
  padding:0!important;
  line-height:1.15!important;
}

body.post-type-archive-dre_flex_course.learn-site
.drefl-courses-page-content{
  position:relative!important;
  z-index:1!important;
}

/* Actual subtitle paragraph shown in DevTools. */
body.post-type-archive-dre_flex_course.learn-site
.drefl-courses-page-content > p.wp-block-paragraph:first-child{
  position:relative!important;
  z-index:0!important;
  margin:12px 0 0!important;
  padding:0 0 28px!important;
  line-height:1.5!important;
  background:#fff!important;
}

body.post-type-archive-dre_flex_course.learn-site
.drefl-courses-page-content > p.wp-block-paragraph:first-child::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:#fff;
}

/* Start the filters below the completed white title band. */
body.post-type-archive-dre_flex_course.learn-site
.drefl-course-catalogue-filters{
  margin-top:26px!important;
}

@media(max-width:767px){
  body.post-type-archive-dre_flex_course.learn-site .drefl-all-courses-head{
    padding-top:22px!important;
  }
  body.post-type-archive-dre_flex_course.learn-site
  .drefl-courses-page-content > p.wp-block-paragraph:first-child{
    margin-top:10px!important;
    padding-bottom:22px!important;
  }
  body.post-type-archive-dre_flex_course.learn-site
  .drefl-course-catalogue-filters{
    margin-top:20px!important;
  }
}

/* v1.6.74 — Level Test contextual signup: Terms and Conditions added to the existing required legal acknowledgement. */

/* v1.6.75 — Optional level-test signup email consent; unticked by default. */
.dre-level-test-checkout .dre-lt-marketing-row{ margin-top:14px; }

/* v1.6.76 — Level-test signup clarity: key field labels in DRE pink and clearer spacing after optional email consent. */
body.dre-level-test-checkout .dre-display-name-field > label,
body.dre-level-test-checkout #pmpro_user_fields label[for="password"],
body.dre-level-test-checkout #pmpro_user_fields label[for="bemail"]{
  color:#EF3EAA!important;
}
body.dre-level-test-checkout .dre-lt-marketing-row{
  margin-bottom:18px!important;
}

/* v1.6.77 — Level-test signup: clearer separation between optional email consent and Email Address field. */
body.dre-level-test-checkout #pmpro_user_fields .pmpro_form_field-bemail{
  margin-top:22px!important;
}

/* v1.6.78 — Browser account-creation autocomplete semantics restored in functions.php; no visual changes. */


/* v1.6.81 — Native browser password generation retained; custom generator removed. */


/* v1.6.84 — dashboard email-support opt-in now requires explicit checkbox consent. */
.dre-dashboard-email-support-inner{
  max-width:760px;
  margin:0 auto;
  padding:28px 30px;
  background:#fff;
  border-radius:18px;
  text-align:center;
}
.dre-dashboard-email-support-inner h2{margin:0 0 10px;}
.dre-dashboard-email-support-inner p{margin:0 auto 18px;max-width:650px;}

.dre-dashboard-email-support-consent{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:10px;
  max-width:650px;
  margin:0 auto 18px;
  text-align:left;
  font-weight:700;
  cursor:pointer;
}
.dre-dashboard-email-support-consent input{
  width:18px;
  height:18px;
  margin:4px 0 0;
  flex:0 0 auto;
}

.dre-dashboard-email-support-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:11px 24px;
  border:2px solid #FF3FA4;
  border-radius:999px;
  background:#fff;
  color:#FF3FA4;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.dre-dashboard-email-support-button:hover,
.dre-dashboard-email-support-button:focus{background:#FF3FA4;color:#fff;border-color:#FF3FA4;outline:none;box-shadow:none;}
.dre-dashboard-email-support-button:disabled{opacity:.65;cursor:wait;}
.dre-dashboard-email-support-status{margin-top:12px!important;margin-bottom:0!important;font-weight:700;}
@media(max-width:767px){
  .dre-dashboard-email-support-inner{padding:22px 18px;}
  .dre-dashboard-email-support-button{width:100%;max-width:340px;}
}

/* v1.6.88 — compact dashboard hierarchy: current action first, archive elsewhere. */
.dre-dashboard-challenges .dre-my-challenges-compact{background:#fff;border:1px solid #e2e6e9;border-radius:14px;padding:16px 18px;}
.dre-dashboard-challenges .dre-challenge-current-label{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;color:#68737c;margin-bottom:3px;}
.dre-dashboard-challenges .dre-challenge-current h3{font-size:18px;margin:0 0 3px;}
.dre-dashboard-challenges .dre-challenge-current h3 a{text-decoration:none;}
.dre-dashboard-challenges .dre-challenge-continue{display:inline-block;margin-top:8px;font-weight:800;text-decoration:none;}
.dre-dashboard-challenges .dre-challenges-see-all{margin-top:10px;padding-top:10px;border-top:1px solid #edf0f2;font-size:14px;font-weight:800;}
.dre-dashboard-challenges .dre-challenges-see-all a{text-decoration:none;}
.dre-course-card-current{border:2px solid #18A5DD;box-shadow:0 5px 18px rgba(0,0,0,.06);}
.dre-course-card-secondary{transform:scale(.97);transform-origin:top center;opacity:.94;}
@media(max-width:600px){.dre-course-card-secondary{transform:none;}}


/* v1.6.89 — dashboard learner-controlled A2/B1 or B2/C1 email preference. */
.dre-dashboard-email-levels{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:20px;
  text-align:left;
}
.dre-dashboard-email-level{
  padding:20px;
  border:1px solid #dfe4e7;
  border-radius:14px;
  background:#F5F6F7;
}
.dre-dashboard-email-level.is-current{border:2px solid #18A5DD;background:#fff;}
.dre-dashboard-email-level h3{margin:0 0 10px;font-size:20px;}
.dre-dashboard-email-level p{margin:0!important;}
.dre-dashboard-email-level .dre-dashboard-email-support-consent{justify-content:flex-start;margin:0 0 16px;}
.dre-dashboard-email-level .dre-dashboard-email-support-button{width:100%;padding-left:16px;padding-right:16px;}
@media(max-width:767px){.dre-dashboard-email-levels{grid-template-columns:1fr;}}


/* v1.6.90 — compact mutually-exclusive dashboard email level choice. */
.dre-dashboard-email-choice-form{margin-top:18px;}
.dre-dashboard-email-level-choice{border:0;padding:0;margin:0 auto 16px;max-width:520px;}
.dre-dashboard-email-level-choice legend{font-weight:800;margin:0 auto 10px;padding:0;}
.dre-dashboard-email-radio-options{display:flex;align-items:center;justify-content:center;gap:36px;}
.dre-dashboard-email-radio-options label{display:inline-flex;align-items:center;gap:8px;font-weight:700;cursor:pointer;margin:0;}
.dre-dashboard-email-radio-options input{width:19px;height:19px;margin:0;}
.dre-dashboard-email-send-copy{margin:0 auto 16px!important;font-weight:700;}
@media(max-width:480px){
  .dre-dashboard-email-radio-options{gap:24px;}
  .dre-dashboard-email-support-inner{padding:20px 16px;}
}
\n\n/* v1.6.92 — compact email preference panel; avoid duplicating the Results level-test prompt. */\n.dre-dashboard-email-support-inner h2{\n  max-width:720px;\n  margin:0 auto 18px;\n}\n.dre-dashboard-email-choice-form{margin-top:0;}\n.dre-dashboard-email-level-choice{margin-bottom:20px;}\n.dre-dashboard-email-radio-options{gap:14px;}\n.dre-dashboard-email-radio-options label{\n  padding:10px 16px;\n  border:1px solid #e2e6e9;\n  border-radius:999px;\n  background:#fafafa;\n}\n.dre-dashboard-email-radio-options label:has(input:checked){\n  background:#fff;\n  border-color:#18A5DD;\n}\n.dre-dashboard-email-radio-options input{accent-color:#18A5DD;}\n.dre-dashboard-email-level-test-prompt a,\n.dre-dashboard-email-level-test-prompt a:visited{color:#FF3FA4!important;text-decoration:none!important;}\n.dre-dashboard-email-level-test-prompt a:hover,\n.dre-dashboard-email-level-test-prompt a:focus{color:#FF3FA4!important;text-decoration:none!important;}\n@media(max-width:600px){\n  .dre-dashboard-email-radio-options{flex-direction:column;align-items:stretch;gap:10px;}\n  .dre-dashboard-email-radio-options label{justify-content:flex-start;width:100%;}\n}\n

/* v1.6.94 — subscribed email-preference state and immediate confirmation. */
.dre-dashboard-email-success{
  max-width:720px!important;
  margin:0 auto 16px!important;
  padding:10px 14px;
  border-radius:10px;
  background:#f3faf6;
  font-weight:700;
}
.dre-dashboard-email-current{margin:0 auto 16px!important;}
.dre-dashboard-email-stop-form{margin:12px 0 0;}
.dre-dashboard-email-stop-button{
  appearance:none;
  border:0;
  background:transparent;
  color:#FF3FA4;
  font:inherit;
  font-weight:700;
  padding:4px 8px;
  cursor:pointer;
  text-decoration:none;
}
.dre-dashboard-email-stop-button:hover,
.dre-dashboard-email-stop-button:focus{color:#FF3FA4;text-decoration:none;outline:none;}

/* v1.6.95 — subscribed dashboard state + deliberate email-preferences page. */
.dre-dashboard-email-statusbar{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:760px;margin:0 auto;padding:15px 18px;border:1px solid #e2e6e9;border-radius:12px;background:#fafafa;text-align:left;}
.dre-dashboard-email-statusbar span{font-size:.95em;color:#56616A;}
.dre-dashboard-email-statusbar a,.dre-dashboard-email-statusbar a:visited{color:#FF3FA4!important;text-decoration:none!important;font-weight:800;white-space:nowrap;}
.dre-dashboard-email-statusbar a:hover,.dre-dashboard-email-statusbar a:focus{color:#FF3FA4!important;text-decoration:none!important;}
.dre-email-preferences-wrap{max-width:760px;margin:36px auto;padding:0 20px;}
.dre-email-preferences-card{background:#F5F6F7;border-radius:14px;padding:28px;text-align:center;}
.dre-email-preferences-card h1{margin:0 0 10px;}
.dre-email-preferences-current{margin:0 0 22px;}
.dre-email-preferences-help{margin:0 auto 20px;max-width:620px;}
.dre-email-preferences-stop{margin-top:20px;}
.dre-email-preferences-stop button{border:0;background:transparent;color:#FF3FA4;font-weight:800;cursor:pointer;padding:6px 8px;}
.dre-email-preferences-back{margin-top:20px;text-align:center;}
.dre-email-preferences-back a{color:#56616A;text-decoration:none;font-weight:700;}
@media(max-width:600px){.dre-dashboard-email-statusbar{align-items:flex-start;flex-direction:column;gap:10px}.dre-dashboard-email-statusbar a{white-space:normal}.dre-email-preferences-card{padding:22px 16px}}


/* v1.6.97 — completion state after email-preference update. */
.dre-email-preferences-success-actions{margin:26px 0 14px;text-align:center;}
.dre-email-preferences-success-actions .dre-dashboard-email-support-button{display:inline-block;text-decoration:none!important;}
.dre-email-preferences-change-link{text-align:center;margin:0;}
.dre-email-preferences-change-link a,.dre-email-preferences-change-link a:visited{color:#FF3FA4;text-decoration:none;}
.dre-email-preferences-change-link a:hover,.dre-email-preferences-change-link a:focus{text-decoration:underline;}

/* Uniform course tiles: grow to fit content, without scaling the active tile. */
body.learn-site .drefl-all-courses-grid,body.learn-site .dre-course-grid{grid-auto-rows:1fr!important;align-items:stretch!important;}
body.learn-site .drefl-all-courses-grid .drefl-course-library-card,
body.learn-site .dre-course-grid .dre-course-card{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;box-sizing:border-box!important;border:2px solid #dfe6ea!important;transform:none!important;opacity:1!important;}
body.learn-site .drefl-all-courses-grid .drefl-course-library-card[hidden]{display:none!important;}
body.learn-site .drefl-all-courses-grid .drefl-course-library-active,
body.learn-site .dre-course-grid .dre-course-card-current{border-color:#F34CA3!important;}
body.learn-site .drefl-course-library-image,body.learn-site .dre-course-card-image{height:180px!important;min-height:180px!important;max-height:180px!important;aspect-ratio:auto!important;flex:none!important;overflow:hidden;}
body.learn-site .drefl-course-library-image img,body.learn-site .dre-course-card-image img{height:100%!important;width:100%!important;object-fit:cover!important;}
body.learn-site .drefl-course-library-body,body.learn-site .dre-course-card-body{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important;}
body.learn-site .drefl-course-library-body .drefl-course-start,body.learn-site .dre-course-card-body .dre-course-card-foot{margin-top:auto!important;padding-top:12px!important;}
body.learn-site .drefl-course-library-body h2,body.learn-site .dre-course-card-body h3{overflow-wrap:anywhere;}
body.learn-site .drefl-active-course-slot{min-height:30px;margin-bottom:6px;}
body.learn-site .drefl-active-course-badge{display:inline-block;padding:3px 9px;border-radius:6px;background:#fff0f8!important;color:#d92987!important;-webkit-text-fill-color:#d92987!important;font-size:12px!important;line-height:1.5!important;font-weight:700!important;}
body.learn-site .drefl-level-test-invite{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;padding:20px 24px;margin:0 0 24px;border:1px solid #cce8f5;border-radius:14px;background:#f0f9fe;}
body.learn-site .drefl-level-test-invite h2{font-size:20px!important;line-height:1.35!important;margin:0 0 6px!important;}
body.learn-site .drefl-level-test-invite p{font-size:15px!important;line-height:1.5!important;margin:0!important;}
body.learn-site .drefl-level-test-invite>a{display:inline-flex;align-items:center;justify-content:center;padding:9px 15px;max-width:100%;box-sizing:border-box;border:1px solid #F34CA3;border-radius:999px;background:#fff!important;color:#F34CA3!important;-webkit-text-fill-color:#F34CA3!important;font-size:14px!important;line-height:1.4!important;text-align:center;text-decoration:none!important;font-weight:700;}
body.learn-site .drefl-level-test-invite>a:focus-visible{outline:2px solid #F34CA3;outline-offset:3px;}
@media(max-width:600px){body.learn-site .drefl-level-test-invite{padding:16px;}body.learn-site .drefl-level-test-invite h2{font-size:18px!important;}}

/* v1.7.01 — evenly filled course rows and a prominent Level Test invitation. */
body.learn-site .site-content .drefl-all-courses-grid,
body.learn-site .site-content .dre-course-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important;justify-content:stretch!important;width:100%!important;gap:22px!important;}
body.learn-site .site-content .drefl-all-courses-grid .drefl-course-library-card,
body.learn-site .site-content .dre-course-grid .dre-course-card{width:100%!important;max-width:none!important;min-width:0!important;}
body.learn-site .site-content .drefl-level-test-invite{padding:26px 28px!important;gap:18px 28px!important;border:2px solid #F34CA3!important;border-left-width:6px!important;background:#fff3f9!important;border-radius:14px!important;box-sizing:border-box;width:100%;}
body.learn-site .site-content .drefl-level-test-invite h2{font-size:24px!important;line-height:1.3!important;color:#4F535D!important;}
body.learn-site .site-content .drefl-level-test-invite p{font-size:16px!important;}
body.learn-site .site-content .drefl-level-test-invite>a{background:#F34CA3!important;color:#fff!important;-webkit-text-fill-color:#fff!important;padding:12px 20px!important;font-size:16px!important;line-height:1.4!important;border-radius:10px!important;min-height:46px;}
body.learn-site .site-content .drefl-level-test-invite>a:hover{background:#df328e!important;}
@media(max-width:700px){
 body.learn-site .site-content .drefl-all-courses-grid,body.learn-site .site-content .dre-course-grid{grid-template-columns:minmax(0,1fr)!important;}
 body.learn-site .site-content .drefl-level-test-invite{padding:20px!important;}
 body.learn-site .site-content .drefl-level-test-invite h2{font-size:21px!important;}
 body.learn-site .site-content .drefl-level-test-invite>a{width:100%!important;font-size:14px!important;}
}

/* v1.7.02 — separate the invitation from the white introduction strip. */
body.learn-site.post-type-archive-dre_flex_course,
body.learn-site.post-type-archive-dre_flex_course .site-content,
body.learn-site.post-type-archive-dre_flex_course .drefl-course-main{background-color:#eaf2f7!important;}
body.learn-site .site-content .drefl-level-test-invite{margin-top:32px!important;margin-bottom:28px!important;border-width:2px!important;}
body.learn-site .site-content .drefl-level-test-invite>div{flex:1 1 480px;min-width:0;}
body.learn-site .site-content .drefl-level-test-invite>a{flex:0 0 auto;}
@media(max-width:700px){body.learn-site .site-content .drefl-level-test-invite{margin-top:24px!important;}}

/* v1.7.03 — shared email preferences below the public catalogue. */
body.learn-site.post-type-archive-dre_flex_course .dre-dashboard-email-support{margin-top:30px!important;padding:22px!important;background:#fff!important;border:1px solid #cce8f5!important;border-radius:14px;}
body.learn-site.post-type-archive-dre_flex_course .dre-dashboard-email-support h2{font-size:21px!important;line-height:1.35!important;margin:0 0 14px!important;}
body.learn-site.post-type-archive-dre_flex_course .dre-dashboard-email-statusbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;}
body.learn-site.post-type-archive-dre_flex_course .dre-dashboard-email-statusbar a{color:#F34CA3!important;}

/* v1.7.04 — email units match the dashboard's white panel/soft-grey status. */
body.learn-site .site-content .dre-email-preferences-card{background:#fff!important;border:0!important;border-radius:16px!important;padding:28px!important;box-shadow:none!important;}
body.learn-site .site-content .dre-email-preferences-card h1{font-size:24px!important;line-height:1.35!important;}
body.learn-site .site-content .dre-email-preferences-current{padding:15px 18px!important;background:#fafafa!important;border:0!important;border-radius:10px!important;font-size:16px!important;line-height:1.5!important;}
body.learn-site.post-type-archive-dre_flex_course .site-content .dre-dashboard-email-support{background:#fff!important;border:0!important;border-radius:16px!important;padding:0!important;}
body.learn-site.post-type-archive-dre_flex_course .site-content .dre-dashboard-email-statusbar{background:#fafafa!important;border:0!important;border-radius:10px!important;padding:15px 18px!important;}
@media(max-width:600px){body.learn-site .site-content .dre-email-preferences-card{padding:20px!important;}}

/* Public catalogue account invitation. */
body.learn-site .site-content .dre-catalogue-join { margin:28px 0; padding:22px; text-align:center; }
body.learn-site .site-content .dre-catalogue-join p { margin:0 0 14px; font-size:16px; line-height:1.5; }
body.learn-site .site-content a.dre-catalogue-join-button { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; max-width:100%; min-height:44px; padding:10px 20px; border:2px solid #E6007E; border-radius:10px; background:#fff; color:#E6007E; -webkit-text-fill-color:#E6007E; font-size:15px; font-weight:700; line-height:1.3; text-align:center; text-decoration:none; transition:background-color .18s ease,color .18s ease; }
body.learn-site .site-content a.dre-catalogue-join-button:hover,
body.learn-site .site-content a.dre-catalogue-join-button:focus-visible { background:#E6007E; color:#fff; -webkit-text-fill-color:#fff; }
@media(max-width:700px) { body.learn-site .site-content .dre-catalogue-join { padding:20px 12px; } body.learn-site .site-content a.dre-catalogue-join-button { font-size:14px; padding:10px 16px; } }

/* v1.7.06 — course header trigger overrides the legacy ID-based sizing. */
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu > summary,
body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu > summary,
body.single-dre_flex_course .dre-course-home-shared-header .dre-shared-page-menu > summary {
  display:flex!important; align-items:center!important; justify-content:center!important;
  box-sizing:border-box!important; width:92px!important; min-width:92px!important;
  height:46px!important; min-height:46px!important; padding:0 14px!important;
  border:1px solid currentColor!important; border-radius:8px!important;
  font-family:"Nunito",sans-serif!important; font-size:18px!important;
  font-weight:800!important; line-height:1!important; letter-spacing:0!important;
  margin:0!important; transform:none!important; list-style:none!important;
}
body.single-dre_flex_course #dre-course-home-canonical-header-v140 .dre-shared-page-menu > summary::-webkit-details-marker,
body.single-dre_flex_course #dre-course-home-canonical-header .dre-shared-page-menu > summary::-webkit-details-marker { display:none!important; }

/* v1.7.09 — Live English classes. Scoped to this public page only. */
body.dre-live-classes-page .dre-live-content{
  max-width:1180px!important; margin:0 auto!important; padding:28px 24px 56px!important;
  box-sizing:border-box; color:#4F535D; font-family:"Nunito",sans-serif; font-size:18px; line-height:1.6;
}
body.dre-live-classes-page .dre-live-content *{box-sizing:border-box}
body.dre-live-classes-page .dre-live-content .dre-live-intro{
  padding:32px!important; margin:0 0 26px!important; border-radius:14px;
  background:#F1F6F8; border:1px solid #DFE5E9;
}
body.dre-live-classes-page .dre-live-intro h1{font-size:32px!important; line-height:1.15; color:#4F535D; margin:0 0 18px!important}
body.dre-live-classes-page .dre-live-content p{margin:0 0 16px}
body.dre-live-classes-page .dre-live-content .dre-live-section{
  position:relative; padding:30px!important; margin:0 0 24px!important;
  background:#fff; border:1px solid #DFE5E9; border-radius:14px;
  box-shadow:none;
}
body.dre-live-classes-page .dre-live-content .dre-live-service{border-top:3px solid #18A5DD}
body.dre-live-classes-page .dre-live-content .dre-live-service-2{border-top-color:#18A5DD}
body.dre-live-classes-page .dre-live-content .dre-live-service-3{border-top-color:#18A5DD}
body.dre-live-classes-page .dre-live-content h2{font-size:24px!important; line-height:1.25; color:#4F535D; margin:0 0 12px!important}
body.dre-live-classes-page .dre-live-content h3{font-size:20px!important; line-height:1.4; color:#4F535D; margin:0 0 18px!important; font-weight:600}
body.dre-live-classes-page .dre-live-content h4{font-size:20px!important; margin:0 0 12px!important; color:#4F535D}
body.dre-live-classes-page .dre-live-content ul{padding-left:23px; margin:14px 0 22px}
body.dre-live-classes-page .dre-live-content li{padding-left:3px; margin:0 0 9px; overflow-wrap:anywhere}
body.dre-live-classes-page .dre-live-content .dre-live-prices{
  padding:20px 22px!important; margin:22px 0 0!important; background:#F3F7F9;
  border:1px solid #DFE5E9; border-radius:14px;
}
body.dre-live-classes-page .dre-live-service-2 .dre-live-prices{background:#F3F7F9; border-color:#DFE5E9}
body.dre-live-classes-page .dre-live-service-3 .dre-live-prices{background:#F3F7F9; border-color:#DFE5E9}
body.dre-live-classes-page .dre-live-prices ul{list-style:none; padding:0!important; margin:0!important; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px}
body.dre-live-classes-page .dre-live-prices li{padding:14px!important; margin:0!important; background:#fff; border-radius:10px; border:1px solid #DFE5E9; font-size:16px}
body.dre-live-classes-page .dre-live-prices li strong{font-size:24px; color:#4F535D; white-space:nowrap}
body.dre-live-classes-page .dre-live-steps ol{padding-left:26px; margin:18px 0 22px}
body.dre-live-classes-page .dre-live-steps ol li::marker{font-weight:800; color:#EF3EAA}
body.dre-live-classes-page .dre-live-content .dre-live-enquiry{background:#fff; scroll-margin-top:30px}
body.dre-live-classes-page .dre-live-actions{margin:24px 0 0!important}
body.dre-live-classes-page .dre-live-button,
body.dre-live-classes-page #wpforms-submit-1454{
  display:inline-block; background:#EF3EAA!important; color:#fff!important; -webkit-text-fill-color:#fff!important; border:0!important;
  padding:13px 23px!important; min-height:48px; border-radius:10px!important;
  text-decoration:none!important; font:inherit!important; font-weight:800!important; cursor:pointer;
}
body.dre-live-classes-page .dre-live-button:hover,
body.dre-live-classes-page #wpforms-submit-1454:hover{background:#d92e94!important}
body.dre-live-classes-page .dre-live-button:focus-visible,
body.dre-live-classes-page #wpforms-form-1454 :focus-visible{outline:3px solid #18A5DD!important; outline-offset:3px}
body.dre-live-classes-page #wpforms-1454{margin:20px 0 0!important}
body.dre-live-classes-page #wpforms-form-1454 .wpforms-field{padding:12px 0!important}
body.dre-live-classes-page #wpforms-form-1454 .wpforms-field-label{color:#4F535D!important; font-size:17px!important; line-height:1.4!important; margin-bottom:9px!important}
body.dre-live-classes-page #wpforms-form-1454 input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
body.dre-live-classes-page #wpforms-form-1454 select,
body.dre-live-classes-page #wpforms-form-1454 textarea{
  max-width:100%!important; border-radius:8px!important; border:1px solid #C9D1D7!important;
  background:#fff!important; color:#4F535D!important; font:inherit!important;
}
body.dre-live-classes-page #wpforms-form-1454 input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
body.dre-live-classes-page #wpforms-form-1454 select{min-height:48px}
body.dre-live-classes-page #wpforms-form-1454 .wpforms-field-description{color:#4F535D!important; font-size:14px!important}
body.dre-live-classes-page #wpforms-confirmation-1454{padding:22px!important; border-radius:12px; background:#F1F6F8!important; border:1px solid #DFE5E9!important; color:#4F535D!important}
@media(max-width:640px){
  body.dre-live-classes-page .dre-live-content{padding:18px 14px 36px!important; font-size:16px}
  body.dre-live-classes-page .dre-live-content .dre-live-intro,
  body.dre-live-classes-page .dre-live-content .dre-live-section{padding:22px 18px!important; border-radius:14px}
  body.dre-live-classes-page .dre-live-content .dre-live-prices{padding:16px!important}
  body.dre-live-classes-page .dre-live-prices ul{grid-template-columns:1fr}
  body.dre-live-classes-page .dre-live-button{width:100%; text-align:center}
}

/* v1.7.10 — DRE blue H2 headings on Live English Classes. */
body.learn-site.dre-live-classes-page .site-content .dre-live-content h2{
  color:#18A5DD!important;
  -webkit-text-fill-color:#18A5DD!important;
}

/* v1.7.11 — Enquiry border and DRE blue teaching calendar. */
body.dre-live-classes-page .dre-live-content .dre-live-enquiry{
  border:2px solid #EF3EAA!important;
  background:#fff!important;
}
body.dre-live-classes-page .dre-live-content .dre-live-calendar{
  border:1px solid #18A5DD!important;
  border-top:4px solid #18A5DD!important;
  background:#fff!important;
  border-radius:14px;
  overflow:hidden;
}
body.dre-live-classes-page .dre-live-calendar .wp-block-table{
  margin:22px 0!important; border:1px solid #DFE5E9;
  border-radius:10px; overflow-x:auto; -webkit-overflow-scrolling:touch;
}
body.dre-live-classes-page .dre-live-calendar table{
  width:100%; border-collapse:collapse; margin:0!important;
  font-size:17px; line-height:1.5; background:#fff;
}
body.dre-live-classes-page .dre-live-calendar table th,
body.dre-live-classes-page .dre-live-calendar table td{
  padding:16px 20px!important; border:0!important;
  border-bottom:1px solid #DFE5E9!important;
  text-align:left; vertical-align:middle; color:#4F535D!important;
}
body.dre-live-classes-page .dre-live-calendar table th{
  background:#18A5DD!important; color:#fff!important;
  -webkit-text-fill-color:#fff!important; font-weight:800;
}
body.dre-live-classes-page .dre-live-calendar table th *{
  color:#fff!important; -webkit-text-fill-color:#fff!important;
}
body.dre-live-classes-page .dre-live-calendar table tbody tr:nth-child(even){background:#F1F6F8!important}
body.dre-live-classes-page .dre-live-calendar table td:first-child{
  font-weight:800; color:#18A5DD!important; width:25%;
}
body.dre-live-classes-page .dre-live-calendar table td:first-child strong{color:#18A5DD!important}
body.dre-live-classes-page .dre-live-calendar table tbody tr:last-child td{border-bottom:0!important}
body.dre-live-classes-page .dre-live-calendar ul{
  list-style:none; padding:0!important; display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;
}
body.dre-live-classes-page .dre-live-calendar ul li{
  margin:0!important; padding:14px 16px!important;
  border-left:3px solid #18A5DD; border-radius:8px;
  background:#F1F6F8; color:#4F535D;
}
body.dre-live-classes-page .dre-live-calendar ul li strong{color:#18A5DD!important}
body.dre-live-classes-page #course-dates{scroll-margin-top:30px}
@media(max-width:640px){
  body.dre-live-classes-page .dre-live-calendar table{font-size:15px}
  body.dre-live-classes-page .dre-live-calendar table th,
  body.dre-live-classes-page .dre-live-calendar table td{padding:12px 10px!important}
  body.dre-live-classes-page .dre-live-calendar table td:first-child{width:28%}
  body.dre-live-classes-page .dre-live-calendar ul{grid-template-columns:1fr}
}

/* v1.7.12 — Compact service comparison; authored links retained. */
body.dre-live-classes-page .dre-live-content .dre-live-summary{
  margin:24px 0!important; overflow-x:auto;
  border:1px solid #DFE5E9; border-radius:10px;
  background:#fff; -webkit-overflow-scrolling:touch;
}
body.dre-live-classes-page .dre-live-content .dre-live-summary table{
  width:100%; min-width:560px; table-layout:fixed;
  border-collapse:collapse; margin:0!important;
  background:#fff; font-size:17px; line-height:1.5;
}
body.dre-live-classes-page .dre-live-content .dre-live-summary table th,
body.dre-live-classes-page .dre-live-content .dre-live-summary table td{
  width:33.333%; padding:16px 18px!important;
  border:1px solid #DFE5E9!important;
  text-align:center; vertical-align:top;
  color:#4F535D!important; background:#fff!important;
}
body.dre-live-classes-page .dre-live-content .dre-live-summary table th,
body.dre-live-classes-page .dre-live-content .dre-live-summary table tr:first-child > *{
  background:#F3F7F9!important; font-weight:800;
}
body.dre-live-classes-page .dre-live-content .dre-live-summary table tr:first-child a{
  color:#18A5DD!important; -webkit-text-fill-color:#18A5DD!important;
  font-weight:800; text-decoration:none!important;
}
body.dre-live-classes-page .dre-live-content .dre-live-summary table tfoot a,
body.dre-live-classes-page .dre-live-content .dre-live-summary table tbody tr:last-child a{
  color:#EF3EAA!important; -webkit-text-fill-color:#EF3EAA!important;
  font-weight:800; text-decoration:none!important;
}
body.dre-live-classes-page .dre-live-content .dre-live-summary table a:hover{text-decoration:underline!important}
body.dre-live-classes-page .dre-live-content .dre-live-summary table a:focus-visible{
  outline:2px solid #18A5DD; outline-offset:3px;
}
@media(max-width:640px){
  body.dre-live-classes-page .dre-live-content .dre-live-summary table{font-size:15px}
  body.dre-live-classes-page .dre-live-content .dre-live-summary table th,
  body.dre-live-classes-page .dre-live-content .dre-live-summary table td{padding:12px!important}
}

/* v1.7.13 — Pink content links and entirely white service summary. */
body.learn-site.dre-live-classes-page .site-content .dre-live-content a:not(.dre-live-button),
body.learn-site.dre-live-classes-page .site-content .dre-live-content a:not(.dre-live-button):visited,
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary table tr:first-child a{
  color:#EF3EAA!important;
  -webkit-text-fill-color:#EF3EAA!important;
}
body.learn-site.dre-live-classes-page .site-content .dre-live-content a:not(.dre-live-button):hover{
  color:#EF3EAA!important;
  -webkit-text-fill-color:#EF3EAA!important;
  text-decoration:underline!important;
}
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary,
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary table,
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary table :is(thead,tbody,tfoot,tr,th,td){
  background:#fff!important;
}

/* v1.7.14 — Blue comparison header; remove Gutenberg's heavy head rule. */
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary table thead,
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary table tfoot{
  border:0!important;
}
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary table thead tr,
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary table thead tr > *,
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary table > tbody:first-child > tr:first-child,
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary table > tbody:first-child > tr:first-child > *{
  background:#18A5DD!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-bottom:1px solid #DFE5E9!important;
}
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary table thead *,
body.learn-site.dre-live-classes-page .site-content .dre-live-content .dre-live-summary table > tbody:first-child > tr:first-child *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* v1.7.15 — Live teaching entry on the public course catalogue. */
body.learn-site .site-content .dre-catalogue-live{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:18px 28px; margin:0 0 24px; padding:26px 28px;
  border:1px solid #DFE5E9; border-left:4px solid #18A5DD;
  border-radius:14px; background:#fff; box-sizing:border-box;
}
body.learn-site .site-content .dre-catalogue-live > div{flex:1 1 480px}
body.learn-site .site-content .dre-catalogue-live h2{
  color:#18A5DD!important; font-size:24px!important; margin:0 0 10px;
}
body.learn-site .site-content .dre-catalogue-live p{margin:0; color:#4F535D; line-height:1.6}
body.learn-site .site-content .dre-catalogue-live .dre-catalogue-live-note{margin-top:8px; font-size:15px}
body.learn-site .site-content a.dre-catalogue-live-button{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 20px; min-height:46px; border:2px solid #EF3EAA;
  border-radius:10px; background:#EF3EAA; color:#fff!important;
  -webkit-text-fill-color:#fff!important; font-weight:800;
  text-decoration:none!important; text-align:center; line-height:1.4;
}
body.learn-site .site-content a.dre-catalogue-live-button:hover{background:#d92e94; border-color:#d92e94}
body.learn-site .site-content a.dre-catalogue-live-button:focus-visible{outline:2px solid #18A5DD; outline-offset:3px}
@media(max-width:640px){
  body.learn-site .site-content .dre-catalogue-live{padding:22px 18px}
  body.learn-site .site-content a.dre-catalogue-live-button{width:100%; box-sizing:border-box}
}

/* v1.7.17 — Space the catalogue live-teaching panel from adjacent cards. */
body.learn-site .site-content .dre-catalogue-live{
  margin-top:32px!important;
  margin-bottom:32px!important;
}
@media(max-width:640px){
  body.learn-site .site-content .dre-catalogue-live{
    margin-top:24px!important;
    margin-bottom:24px!important;
  }
}

/* v1.7.22 — DRE-blue account-flow text links; leave pink CTA buttons alone. */
body.dre-account-flow-page .site-content a:not(.pmpro_btn):not(.button):not(.ast-button):not([role="button"]),
body.dre-account-flow-page .site-content a:not(.pmpro_btn):not(.button):not(.ast-button):not([role="button"]):visited {
  color:#18A5DD!important;
  -webkit-text-fill-color:#18A5DD!important;
}
body.dre-account-flow-page .site-content a:not(.pmpro_btn):not(.button):not(.ast-button):not([role="button"]):hover {
  text-decoration:underline!important;
}
body.dre-account-flow-page .site-content a:not(.pmpro_btn):not(.button):not(.ast-button):not([role="button"]):focus-visible {
  outline:2px solid #18A5DD!important;
  outline-offset:3px;
}
body.dre-pmpro-levels-page .dre-existing-member-signin {
  margin:12px 0 0!important;
  font-size:15px;
  line-height:1.5;
  text-align:center;
  color:#4F535D;
}
body.dre-pmpro-levels-page .dre-existing-member-signin a {font-weight:700;}

/* v1.7.23 — informational package list on Live English Classes */
body.dre-live-classes-page .dre-live-content .dre-live-package-list{border-top:3px solid #18A5DD}
body.dre-live-classes-page .dre-live-package-list .wp-block-table{overflow-x:auto;max-width:100%}
body.dre-live-classes-page .dre-live-package-list table{width:100%;border-collapse:collapse;font-size:16px}
body.dre-live-classes-page .dre-live-package-list table th,
body.dre-live-classes-page .dre-live-package-list table td{padding:12px 14px;border:1px solid #DFE5E9;text-align:left;vertical-align:top}
body.dre-live-classes-page .dre-live-package-list table th{background:#F1F6F8;font-weight:700}
body.dre-live-classes-page .dre-live-package-list table tr:nth-child(even) td{background:#FAFCFD}
@media(max-width:600px){body.dre-live-classes-page .dre-live-package-list table{font-size:14px}body.dre-live-classes-page .dre-live-package-list table th,body.dre-live-classes-page .dre-live-package-list table td{padding:9px 8px}}

/* v1.7.25 — Service description lists: simple readable bullets, not calendar/price tiles. */
body.dre-live-classes-page .dre-live-content .dre-live-service > ul.wp-block-list,
body.dre-live-classes-page .dre-live-content .dre-live-service > ul,
body.dre-live-classes-page .dre-live-content .dre-live-calendar:has(> h2:first-child) > ul.wp-block-list {
  display:block!important; list-style:disc outside!important;
  grid-template-columns:none!important; padding:0 0 0 24px!important;
  margin:14px 0 22px!important; background:transparent!important;
}
body.dre-live-classes-page .dre-live-content .dre-live-service > ul > li,
body.dre-live-classes-page .dre-live-content .dre-live-calendar:has(> h2:first-child) > ul.wp-block-list > li {
  display:list-item!important; list-style:disc outside!important;
  background:transparent!important; border:0!important; border-radius:0!important;
  padding:0 0 0 2px!important; margin:0 0 8px!important;
  color:inherit!important; box-shadow:none!important;
}
body.dre-live-classes-page .dre-live-content .dre-live-service > ul > li strong {
  color:inherit!important; font-size:inherit!important;
}


/* v1.7.26 — Mobile-only service package cards. Desktop pricing tables unchanged. */
@media (max-width: 600px) {
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) {
    overflow:visible!important;
    width:100%!important;
    max-width:100%!important;
    margin:14px 0 18px!important;
  }
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) table,
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) tbody,
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) tr,
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) td {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) thead,
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) tbody > tr:first-child:has(th) {
    /* Visually hide headers but keep their text available to screen readers. */
    position:absolute!important;width:1px!important;height:1px!important;
    padding:0!important;margin:-1px!important;overflow:hidden!important;
    clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
  }
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) tbody tr:not(:has(th)) {
    margin:0 0 12px!important;
    border:1px solid #DCE5EB!important;
    border-radius:10px!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) tbody tr:not(:has(th)) td {
    padding:10px 13px!important;
    border:0!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    white-space:normal!important;
    background:#fff!important;
    text-align:left!important;
  }
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) tbody tr:not(:has(th)) td:first-child {
    background:#EFF7FB!important;
    color:#087FBA!important;
    font-weight:700!important;
  }
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) tbody tr:not(:has(th)) td:nth-child(2)::before {
    content:"What's included";display:block;font-size:12px;font-weight:700;color:#59636B;margin-bottom:4px;
  }
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) tbody tr:not(:has(th)) td:nth-child(3) {
    border-top:1px solid #E5EDF1!important;
    font-weight:700!important;
  }
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) tbody tr:not(:has(th)) td:nth-child(3)::before {
    content:"Price: ";font-weight:600;color:#59636B;
  }
}


/* v1.7.27 — Remove the original square table frame on mobile cards.
   The rounded package rows are the only visible borders. */
@media (max-width: 600px) {
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)),
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) table,
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) tbody {
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    border-radius:0!important;
    background:transparent!important;
  }
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) {
    padding:0!important;
  }
  body.dre-live-classes-page .dre-live-content .dre-live-service .wp-block-table:has(table tr > :nth-child(3)) table {
    border-collapse:separate!important;
    border-spacing:0!important;
  }
}

/* DRE v1.7.28: subtle availability and paid group timetable panels (staging) */
body.dre-live-classes-page .dre-live-content .dre-cap,
body.dre-live-classes-page .dre-live-content .dre-group-schedule {
  box-sizing:border-box; width:100%; max-width:760px;
  padding:18px 20px; margin:16px 0 22px;
  background:#f8fafc; border:1px solid #d8e2e9; border-radius:10px;
}
body.dre-live-classes-page .dre-live-content .dre-cap .dre-cap-day {background:#fff;}
body.dre-live-classes-page .dre-live-content .dre-group-schedule p {margin:0 0 9px;}
body.dre-live-classes-page .dre-live-content .dre-group-schedule p:last-child {margin-bottom:0;}
body.dre-live-classes-page .dre-live-content .dre-group-note {font-size:.9em;opacity:.78;}
@media(max-width:600px){body.dre-live-classes-page .dre-live-content .dre-cap,body.dre-live-classes-page .dre-live-content .dre-group-schedule{padding:14px 12px;}}

/* v1.7.29: My Live Learning */
.dre-live-learning{max-width:1100px;margin:0 auto;padding:20px 0 40px}
.dre-live-learning>header{margin-bottom:24px}
.dre-live-learning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}
.dre-live-learning-card{padding:24px;border:1px solid #dce3e8;border-radius:12px;background:#fff}
.dre-live-learning-card h2{margin-top:0}
.dre-live-learning-button{display:inline-block;padding:10px 17px;border-radius:7px;background:#225e89;color:#fff!important;text-decoration:none;font-weight:700}
.dre-live-learning-button:hover{background:#174664}
.dre-live-learning-schedule{max-height:460px;overflow:auto;margin:16px 0}
.dre-live-dashboard-preview{padding:20px;border:1px solid #dce3e8;border-radius:12px}
@media(max-width:760px){.dre-live-learning-grid{grid-template-columns:1fr}.dre-live-learning-card{padding:18px}}


/* =========================================================
   v1.7.33 — Dashboard joined-course tiles: fixed card proportions
   Keep archive-like tile width instead of stretching one card
   across the full dashboard rail. Scoped to dashboard #594.
========================================================= */
body.page-id-594.learn-site .site-content .dre-course-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),340px))!important;
  justify-content:start!important;
  justify-items:stretch!important;
  align-items:start!important;
  grid-auto-rows:auto!important;
}
body.page-id-594.learn-site .site-content .dre-course-grid > .dre-course-card{
  width:100%!important;
  max-width:340px!important;
  height:auto!important;
  min-width:0!important;
  justify-self:start!important;
}
body.page-id-594.learn-site .site-content .dre-course-grid .dre-course-card-image{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:16 / 9!important;
  flex:none!important;
  overflow:hidden!important;
}
body.page-id-594.learn-site .site-content .dre-course-grid .dre-course-card-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
}
@media(max-width:700px){
  body.page-id-594.learn-site .site-content .dre-course-grid{
    grid-template-columns:minmax(0,min(100%,340px))!important;
  }
}

/* v1.7.34 — Standard member pages: phase 1 (dashboard live preview + My Live Learning).
   Lesson, exercise and payment pages are deliberately excluded. */
body.page-id-594 .dre-course-dashboard, body.learn-site .dre-live-learning{
 --dre-ui-border:#dce3e8;--dre-ui-pink:#EF3EAA;--dre-ui-muted:#667786;
 font-size:16px;line-height:1.55;color:#344557;
}
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview{
 padding:24px!important;border:1px solid var(--dre-ui-border)!important;
 border-radius:12px!important;background:#fff!important;min-height:0!important;height:auto!important;
}
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview .dre-course-dashboard-section-head{
 margin:0 0 18px!important;padding:0!important;
}
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview h2,
body.learn-site .dre-live-learning .dre-live-learning-card h2{
 font-size:24px!important;line-height:1.3!important;font-weight:800!important;margin:0 0 8px!important;
}
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview .dre-course-dashboard-section-head p,
body.learn-site .dre-live-learning .dre-live-learning-card p{
 display:block!important;font-size:16px!important;line-height:1.55!important;
 color:var(--dre-ui-muted)!important;margin:0!important;
}
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview>p{margin:0!important;}
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview a.dre-dashboard-courses-button,
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview a.dre-dashboard-courses-button:visited,
body.learn-site .dre-live-learning a.dre-live-learning-button,
body.learn-site .dre-live-learning a.dre-live-learning-button:visited{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-height:44px!important;padding:10px 17px!important;
 border:1px solid var(--dre-ui-pink)!important;border-radius:9px!important;
 background:#fff!important;color:#EF3EAA!important;-webkit-text-fill-color:#EF3EAA!important;
 font-size:16px!important;font-weight:700!important;line-height:1.3!important;
 text-decoration:none!important;box-shadow:none!important;
}
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview a.dre-dashboard-courses-button:hover,
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview a.dre-dashboard-courses-button:focus-visible,
body.learn-site .dre-live-learning a.dre-live-learning-button:hover,
body.learn-site .dre-live-learning a.dre-live-learning-button:focus-visible{
 background:#fff0f8!important;color:#C51C80!important;-webkit-text-fill-color:#C51C80!important;
}
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview a.dre-dashboard-courses-button:focus-visible,
body.learn-site .dre-live-learning a.dre-live-learning-button:focus-visible{
 outline:2px solid #18a5dd!important;outline-offset:3px!important;
}
body.learn-site .dre-live-learning .dre-live-learning-card{
 padding:24px!important;border:1px solid var(--dre-ui-border)!important;
 border-radius:12px!important;background:#fff!important;
}
@media(max-width:767px){
 body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview,
 body.learn-site .dre-live-learning .dre-live-learning-card{padding:18px!important;}
 body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview h2,
 body.learn-site .dre-live-learning .dre-live-learning-card h2{font-size:22px!important;}
}

/* v1.7.35 — Dashboard hierarchy and secondary navigation consistency */
body.page-id-594 .dre-course-dashboard .dre-course-dashboard-section-head h2{font-size:24px!important;line-height:1.3!important;font-weight:800!important;color:#344557!important}
body.page-id-594 .dre-course-dashboard .dre-course-dashboard-section-head p{font-size:16px!important;line-height:1.55!important;color:#647789!important}
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview{height:auto!important;min-height:0!important}
body.page-id-594 .dre-course-dashboard .dre-live-dashboard-preview a.dre-dashboard-courses-button{text-decoration:none!important;font-size:16px!important}
@media(max-width:767px){body.page-id-594 .dre-course-dashboard .dre-course-dashboard-section-head h2{font-size:22px!important}}

/* v1.7.36: Primary DRE brand colour for standard-page components. */
body.page-id-594 .dre-course-dashboard, body.learn-site .dre-live-learning {--dre-ui-pink:#EF3EAA;}

/* v1.7.37 — shared site menu in Flexible Learning course sidebar. */
body.single-dre_flex_lesson .drefl-brand-site-menu .dre-shared-page-menu,
body.drefl-intro-page .drefl-brand-site-menu .dre-shared-page-menu {position:relative!important;margin:0!important;overflow:visible!important}
body.single-dre_flex_lesson .drefl-brand-site-menu .dre-shared-page-menu > summary,
body.drefl-intro-page .drefl-brand-site-menu .dre-shared-page-menu > summary {
 display:flex!important;align-items:center!important;justify-content:center!important;
 min-width:92px!important;height:46px!important;min-height:46px!important;padding:0 14px!important;
 margin:0!important;border:1px solid #fff!important;border-radius:8px!important;
 background:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 font-family:"Nunito",sans-serif!important;font-size:18px!important;font-weight:800!important;
 line-height:1!important;letter-spacing:0!important;box-shadow:none!important;text-decoration:none!important;
 cursor:pointer!important;list-style:none!important;box-sizing:border-box!important;
}
body.single-dre_flex_lesson .drefl-brand-site-menu .dre-shared-page-menu > summary::-webkit-details-marker,
body.drefl-intro-page .drefl-brand-site-menu .dre-shared-page-menu > summary::-webkit-details-marker{display:none!important}
body.single-dre_flex_lesson .drefl-brand-site-menu .dre-shared-page-menu > summary:hover,
body.single-dre_flex_lesson .drefl-brand-site-menu .dre-shared-page-menu > summary:focus-visible,
body.single-dre_flex_lesson .drefl-brand-site-menu .dre-shared-page-menu[open] > summary,
body.drefl-intro-page .drefl-brand-site-menu .dre-shared-page-menu > summary:hover,
body.drefl-intro-page .drefl-brand-site-menu .dre-shared-page-menu > summary:focus-visible,
body.drefl-intro-page .drefl-brand-site-menu .dre-shared-page-menu[open] > summary {
 border-color:#ef3eaa!important;color:#ef3eaa!important;-webkit-text-fill-color:#ef3eaa!important;background:transparent!important;
}
body.single-dre_flex_lesson .drefl-brand-site-menu .dre-shared-page-menu-panel,
body.drefl-intro-page .drefl-brand-site-menu .dre-shared-page-menu-panel {
 position:absolute!important;top:calc(100% + 7px)!important;right:0!important;left:auto!important;
 width:240px!important;max-width:min(240px,88vw)!important;min-width:0!important;
 z-index:10040!important;overflow:hidden!important;background:#fff!important;
 border:1px solid #d8e0e6!important;border-radius:10px!important;
 box-shadow:0 10px 28px rgba(20,42,58,.16)!important;
}
body.single-dre_flex_lesson .drefl-brand-site-menu .dre-shared-page-menu-panel a,
body.drefl-intro-page .drefl-brand-site-menu .dre-shared-page-menu-panel a{
 display:block!important;padding:11px 15px!important;background:#fff!important;
 color:#213d52!important;-webkit-text-fill-color:#213d52!important;
 font-family:"Nunito",sans-serif!important;font-size:16px!important;font-weight:700!important;
 line-height:1.4!important;text-decoration:none!important;
}
body.single-dre_flex_lesson .drefl-brand-site-menu .dre-shared-page-menu-panel a:hover,
body.single-dre_flex_lesson .drefl-brand-site-menu .dre-shared-page-menu-panel a:focus-visible,
body.drefl-intro-page .drefl-brand-site-menu .dre-shared-page-menu-panel a:hover,
body.drefl-intro-page .drefl-brand-site-menu .dre-shared-page-menu-panel a:focus-visible{
 background:#f7f9fa!important;color:#ef3eaa!important;-webkit-text-fill-color:#ef3eaa!important;
}
/* Logo + site menu fit inside 332px sidebar: omit redundant 'Course' label. */
body.single-dre_flex_lesson .drefl-course-brand-title,
body.drefl-intro-page .drefl-course-brand-title{display:none!important}
body.single-dre_flex_lesson .drefl-course-brand-row,
body.drefl-intro-page .drefl-course-brand-row{justify-content:space-between!important}

/* v1.7.38 — Standard page refinements: course titles and live learning. */
/* Reserve exactly three lines for dashboard course titles, without clipping text. */
body.page-id-594 .dre-course-grid .dre-course-card-body h3{
  font-size:20px!important;line-height:1.35!important;
  min-height:4.05em!important;height:auto!important;max-height:none!important;
  margin-bottom:12px!important;overflow:visible!important;
  overflow-wrap:break-word!important;word-break:normal!important;
}
/* Standard DRE palette and typography in My Live Learning, scoped to this component. */
body.learn-site .dre-live-learning{--dre-ll-pink:#EF3EAA;--dre-ll-blue:#18A5DD;--dre-ll-text:#4F535D;--dre-ll-muted:#687888;--dre-ll-border:#dce3e8;color:var(--dre-ll-text);font-size:16px;line-height:1.55}
body.learn-site .dre-live-learning h1{font-size:34px!important;line-height:1.2!important;color:var(--dre-ll-text)!important}
body.learn-site .dre-live-learning h2{font-size:24px!important;line-height:1.3!important;color:var(--dre-ll-text)!important;font-weight:800!important}
body.learn-site .dre-live-learning p,body.learn-site .dre-live-learning li{font-size:16px!important;line-height:1.55!important;color:var(--dre-ll-text)!important}
body.learn-site .dre-live-learning .dre-live-learning-card{border:1px solid var(--dre-ll-border)!important;border-radius:12px!important;padding:24px!important;background:#fff!important}
body.learn-site .dre-live-learning a:not(.dre-live-learning-button),body.learn-site .dre-live-learning a:not(.dre-live-learning-button):visited{color:var(--dre-ll-pink)!important;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
body.learn-site .dre-live-learning a:not(.dre-live-learning-button):hover{color:var(--dre-ll-pink)!important}
body.learn-site .dre-live-learning a.dre-live-learning-button,body.learn-site .dre-live-learning a.dre-live-learning-button:visited{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:10px 17px!important;border:1px solid var(--dre-ll-pink)!important;border-radius:9px!important;background:transparent!important;color:var(--dre-ll-pink)!important;-webkit-text-fill-color:var(--dre-ll-pink)!important;text-decoration:none!important;font-size:16px!important;font-weight:700!important;box-shadow:none!important}
body.learn-site .dre-live-learning a.dre-live-learning-button:hover,body.learn-site .dre-live-learning a.dre-live-learning-button:focus-visible{background:#fff0f8!important;color:var(--dre-ll-pink)!important;-webkit-text-fill-color:var(--dre-ll-pink)!important;text-decoration:none!important}
/* DRE Services shortcode nested inside My Live Learning: harmonise buttons and tabs. */
body.learn-site .dre-live-learning .dre-live-learning-schedule button,
body.learn-site .dre-live-learning .dre-live-learning-schedule [role=tab]{font-size:16px!important;line-height:1.35!important;border-radius:9px!important}
body.learn-site .dre-live-learning .dre-live-learning-schedule button[aria-selected=true],
body.learn-site .dre-live-learning .dre-live-learning-schedule [role=tab][aria-selected=true]{background:var(--dre-ll-blue)!important;border-color:var(--dre-ll-blue)!important;color:#fff!important}
@media(max-width:760px){body.learn-site .dre-live-learning h1{font-size:29px!important}body.learn-site .dre-live-learning h2{font-size:22px!important}body.learn-site .dre-live-learning .dre-live-learning-card{padding:18px!important}}

/* v1.7.40 — Course archive: stable card columns and proportional images.
   Scope: catalogue archive only; no lesson or commerce logic changed. */
body.learn-site.post-type-archive-dre_flex_course .site-content .drefl-all-courses-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:stretch!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-course-library-card{
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  transform:none!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-course-library-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:16 / 9!important;
  overflow:hidden!important;
  flex:0 0 auto!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-course-library-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
@media(max-width:1050px){
  body.learn-site.post-type-archive-dre_flex_course .site-content .drefl-all-courses-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:700px){
  body.learn-site.post-type-archive-dre_flex_course .site-content .drefl-all-courses-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* v1.7.40 — Confirmation page only: shared header geometry and CTA. */
body.dre-pmpro-confirmation-page .dre-shared-page-header{
  padding-left:clamp(16px,3vw,40px)!important;
  padding-right:clamp(16px,3vw,40px)!important;
}
body.dre-pmpro-confirmation-page .dre-shared-page-header .dre-shared-page-logo{
  flex:0 0 70px!important;
  width:70px!important;
  min-width:70px!important;
  margin-left:0!important;
  transform:none!important;
}
body.dre-pmpro-confirmation-page .dre-shared-page-header .dre-shared-page-menu > summary{
  width:auto!important;
  min-width:76px!important;
  padding:9px 16px!important;
  font-size:16px!important;
  line-height:1.2!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-button,
body.dre-pmpro-confirmation-page .dre-confirm-button:visited{
  color:#ef3eaa!important;
  -webkit-text-fill-color:#ef3eaa!important;
  background:#fff!important;
  border-color:#ef3eaa!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-button:hover,
body.dre-pmpro-confirmation-page .dre-confirm-button:focus-visible{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:#ef3eaa!important;
}
@media(max-width:767px){
  body.dre-pmpro-confirmation-page .dre-shared-page-header .dre-shared-page-logo{
    flex-basis:56px!important;width:56px!important;min-width:56px!important;
  }
  body.dre-pmpro-confirmation-page .dre-shared-page-header .dre-shared-page-logo img{
    width:56px!important;height:56px!important;
  }
}

/* v1.7.41 — Archive: preserve a consistent maximum tile width when only
   one or two results are visible. Images retain their natural proportions. */
body.learn-site.post-type-archive-dre_flex_course .site-content .drefl-all-courses-grid{
  grid-template-columns:repeat(3,minmax(0,340px))!important;
  justify-content:start!important;
}
body.learn-site.post-type-archive-dre_flex_course .site-content .drefl-all-courses-grid > .drefl-course-library-card{
  max-width:340px!important;
  width:100%!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-course-library-image{
  aspect-ratio:16 / 9!important;
  height:auto!important;
}
@media(max-width:1100px){
  body.learn-site.post-type-archive-dre_flex_course .site-content .drefl-all-courses-grid{
    grid-template-columns:repeat(2,minmax(0,340px))!important;
  }
}
@media(max-width:740px){
  body.learn-site.post-type-archive-dre_flex_course .site-content .drefl-all-courses-grid{
    grid-template-columns:minmax(0,min(100%,340px))!important;
  }
}
/* v1.7.41 — PMPro confirmation: render a self-contained header within the
   confirmation content. The wp_body_open header is hidden ONLY on this page.
   This avoids dependence on Astra's page wrapper/header positioning. */
body.dre-pmpro-confirmation-page > .dre-member-menu{
  display:none!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-page-header{
  display:flex!important;
  position:relative!important;
  align-items:center!important;
  justify-content:space-between!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:620px!important;
  min-height:78px!important;
  margin:0 auto 20px!important;
  padding:8px 16px!important;
  border-radius:12px!important;
  background:#4F535D!important;
  overflow:visible!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-page-logo,
body.dre-pmpro-confirmation-page .dre-confirm-page-logo img{
  display:block!important;
  width:60px!important;
  height:60px!important;
  max-width:60px!important;
  object-fit:contain!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-page-header .dre-shared-page-menu{
  display:block!important;
  position:relative!important;
  margin:0!important;
  width:auto!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-page-header .dre-shared-page-menu > summary{
  display:block!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid #d8dee3!important;
  border-radius:8px!important;
  padding:9px 16px!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.3!important;
  cursor:pointer!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-page-header .dre-shared-page-menu-panel{
  position:absolute!important;
  z-index:100!important;
  right:0!important;
  top:calc(100% + 8px)!important;
}
body.dre-pmpro-confirmation-page article{margin-top:18px!important;}
body.dre-pmpro-confirmation-page .dre-confirm-button,
body.dre-pmpro-confirmation-page .dre-confirm-button:visited{
  color:#EF3EAA!important;
  -webkit-text-fill-color:#EF3EAA!important;
  background:#fff!important;
  border:2px solid #EF3EAA!important;
}
body.dre-pmpro-confirmation-page .dre-confirm-button:hover,
body.dre-pmpro-confirmation-page .dre-confirm-button:focus-visible{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:#EF3EAA!important;
}


/* v1.7.42 — Course archive: three equal cards fill each full row.
   Flex layout centres incomplete rows (one or two cards) without stretching images. */
body.learn-site.post-type-archive-dre_flex_course .site-content .drefl-all-courses-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:stretch!important;
  gap:24px!important;
  grid-template-columns:none!important;
}
body.learn-site.post-type-archive-dre_flex_course .site-content .drefl-all-courses-grid > .drefl-course-library-card{
  box-sizing:border-box!important;
  flex:0 0 calc((100% - 48px) / 3)!important;
  width:calc((100% - 48px) / 3)!important;
  max-width:none!important;
  min-width:0!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-course-library-image{
  aspect-ratio:16 / 9!important;
  width:100%!important;
  height:auto!important;
  overflow:hidden!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-course-library-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
@media(max-width:1050px){
  body.learn-site.post-type-archive-dre_flex_course .site-content .drefl-all-courses-grid > .drefl-course-library-card{
    flex-basis:calc((100% - 24px) / 2)!important;
    width:calc((100% - 24px) / 2)!important;
  }
}
@media(max-width:700px){
  body.learn-site.post-type-archive-dre_flex_course .site-content .drefl-all-courses-grid > .drefl-course-library-card{
    flex-basis:100%!important;
    width:100%!important;
  }
}

/* v1.7.43 — Reserve two title lines in every course archive tile.
   One-line titles leave an intentional blank second line so enrolment
   status and View course stay aligned across the row. */
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-body > h2{
  line-height:1.3!important;
  min-height:2.6em!important;
  margin-top:0!important;
  margin-bottom:14px!important;
  flex:0 0 auto!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-body > .drefl-course-join-status{
  flex:0 0 auto!important;
}

/* v1.7.44 — Dashboard course tiles: match archive's two-line title slot.
   A one-line title leaves a blank second line; progress and actions align.
   Longer titles may grow naturally rather than being clipped. */
body.page-id-594.learn-site .site-content .dre-course-grid .dre-course-card-body > h3{
  line-height:1.35!important;
  min-height:2.7em!important;
  height:auto!important;
  max-height:none!important;
  margin-top:0!important;
  margin-bottom:12px!important;
  flex:0 0 auto!important;
  overflow:visible!important;
}
body.page-id-594.learn-site .site-content .dre-course-grid > .dre-course-card{
  align-self:stretch!important;
}
body.page-id-594.learn-site .site-content .dre-course-grid .dre-course-card-body > .dre-course-card-progress{
  flex:0 0 auto!important;
}
body.page-id-594.learn-site .site-content .dre-course-grid .dre-course-card-body > .dre-course-card-foot{
  margin-top:auto!important;
}


/* v1.7.45 — Dashboard My courses: mirror the centred archive layout.
   Earlier dashboard rules capped cards at 340px and aligned them left;
   the dashboard also reserved THREE title lines. Override both here. */
body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:stretch!important;
  gap:22px!important;
  width:100%!important;
  grid-template-columns:none!important;
  grid-auto-rows:auto!important;
}
body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-grid > .dre-course-card{
  box-sizing:border-box!important;
  flex:0 0 calc((100% - 44px) / 3)!important;
  width:calc((100% - 44px) / 3)!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  height:auto!important;
  align-self:stretch!important;
}
body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-card-image{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:16 / 9!important;
  overflow:hidden!important;
}
body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-card-image img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
}
body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-card-body{
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
}
body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-card-body > h3{
  font-size:20px!important;
  line-height:1.35!important;
  min-height:2.7em!important;
  height:auto!important;
  max-height:none!important;
  margin:0 0 12px!important;
  flex:0 0 auto!important;
  overflow:visible!important;
}
body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-card-progress{
  margin-top:auto!important;
  flex:0 0 auto!important;
}
body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-card-foot{
  margin-top:0!important;
  flex:0 0 auto!important;
}
@media(max-width:1050px){
  body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-grid > .dre-course-card{
    flex-basis:calc((100% - 22px) / 2)!important;
    width:calc((100% - 22px) / 2)!important;
  }
}
@media(max-width:700px){
  body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-grid > .dre-course-card{
    flex-basis:100%!important;
    width:100%!important;
  }
}

/* v1.7.46 — PMPro free-account confirmation only.
   Header was part of the_content output; removed from PHP template.
   Override account-flow generic link colour and prior confirmation variants. */
body.dre-pmpro-confirmation-page .site-content .dre-confirm-page-header{display:none!important;}
body.dre-pmpro-confirmation-page .site-content .dre-confirm-card{
  margin:24px auto 32px!important;
}
body.dre-pmpro-confirmation-page .site-content .dre-confirm-card a.dre-confirm-button,
body.dre-pmpro-confirmation-page .site-content .dre-confirm-card a.dre-confirm-button:link,
body.dre-pmpro-confirmation-page .site-content .dre-confirm-card a.dre-confirm-button:visited{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#EF3EAA!important;border:2px solid #EF3EAA!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  border-radius:999px!important;text-decoration:none!important;
  font-weight:800!important;min-height:48px!important;padding:10px 26px!important;
}
body.dre-pmpro-confirmation-page .site-content .dre-confirm-card a.dre-confirm-button:hover,
body.dre-pmpro-confirmation-page .site-content .dre-confirm-card a.dre-confirm-button:focus-visible{
  background:#D72893!important;border-color:#D72893!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  text-decoration:none!important;
}

/* v1.7.48 — DRE brand colours: public catalogue, member events, footer. */
body.learn-site .dre-member-events-teaser a,
body.learn-site .dre-member-events-teaser a:visited,
body.learn-site .dre-member-events-teaser a:hover,
body.learn-site .dre-member-events-teaser a:focus-visible{
  color:#18A5DD!important;
  -webkit-text-fill-color:#18A5DD!important;
}
/* Member Events: preserve existing card design and brand-blue borders,
   but ensure links and action buttons use the DRE palette. */
body.learn-site .dreme-wrap a:not(.dreme-button),
body.learn-site .dreme-wrap a:not(.dreme-button):visited{
  color:#18A5DD!important;
  -webkit-text-fill-color:#18A5DD!important;
}
body.learn-site .dreme-wrap a.dreme-button,
body.learn-site .dreme-wrap a.dreme-button:visited{
  background:#EF3EAA!important;
  border-color:#EF3EAA!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.learn-site .dreme-wrap a.dreme-button:hover,
body.learn-site .dreme-wrap a.dreme-button:focus-visible{
  background:#fff!important;
  border-color:#EF3EAA!important;
  color:#EF3EAA!important;
  -webkit-text-fill-color:#EF3EAA!important;
}
/* Footer: correct Astra's global blue link variable without changing
   the main site navigation or the back-to-top button. */
body.learn-site .site-footer .ast-footer-copyright a,
body.learn-site .site-footer .ast-footer-copyright a:visited,
body.learn-site .site-footer .ast-footer-copyright a:hover{
  color:#18A5DD!important;
  -webkit-text-fill-color:#18A5DD!important;
}

/* v1.7.49: Gutenberg Groups may introduce an inner container; keep the
   existing My Live Learning grid and card appearance without global changes. */
body.learn-site .dre-live-learning-grid > .wp-block-group.dre-live-learning-card {min-width:0;}
body.learn-site .dre-live-learning .wp-block-shortcode {margin:0;}
body.learn-site .dre-live-learning .dre-live-learning-bookings {padding-left:32px;}


/* v1.7.51 — compact archive thumbnails within course information */
.drefl-all-courses-grid .drefl-course-library-card {overflow:hidden;}
.drefl-all-courses-grid .drefl-course-library-body {padding:17px 19px 19px;}
.drefl-all-courses-grid .drefl-course-library-head {display:flex;align-items:flex-start;gap:13px;margin-bottom:12px;min-width:0;}
.drefl-all-courses-grid .drefl-course-library-head-info {flex:1;min-width:0;}
.drefl-all-courses-grid .drefl-course-library-head .drefl-course-library-image {display:flex;flex:0 0 92px;width:92px;height:92px;min-width:92px;max-width:92px;min-height:92px;max-height:92px;aspect-ratio:1/1;margin:0;border-radius:9px;overflow:hidden;align-items:center;justify-content:center;background:#eaf2f6;}
.drefl-all-courses-grid .drefl-course-library-head .drefl-course-library-image img {width:100%;height:100%;object-fit:cover;display:block;}
.drefl-all-courses-grid .drefl-course-library-head .drefl-course-library-image span {font-size:12px;text-align:center;padding:5px;}
.drefl-all-courses-grid .drefl-course-library-head h2 {font-size:1.18rem;line-height:1.3;margin:7px 0 0;overflow-wrap:anywhere;}
.drefl-all-courses-grid .drefl-course-library-head .drefl-course-library-meta {margin:0;gap:5px;}
.drefl-all-courses-grid .drefl-course-library-head .drefl-course-library-meta span {font-size:.72rem;padding:4px 7px;}
@media(max-width:600px){
 .drefl-all-courses-grid .drefl-course-library-body {padding:14px 15px 16px;}
 .drefl-all-courses-grid .drefl-course-library-head {gap:11px;}
 .drefl-all-courses-grid .drefl-course-library-head .drefl-course-library-image {flex-basis:80px;width:80px;height:80px;min-width:80px;max-width:80px;min-height:80px;max-height:80px;}
}

/* v1.7.52 — Archive-only landscape card header, matching the 16:9
   lesson sidebar image. Overrides legacy catalogue !important rules. */
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-body{
  padding:20px!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head{
  display:grid!important;
  grid-template-columns:160px minmax(0,1fr)!important;
  align-items:start!important;
  column-gap:16px!important;
  margin:0 0 17px!important;
  min-width:0!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head .drefl-course-library-image{
  display:flex!important;
  width:160px!important;
  max-width:160px!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:16/9!important;
  flex:none!important;
  margin:0!important;
  border-radius:10px!important;
  align-items:center!important;
  justify-content:center!important;
  background:#eaf2f6!important;
  overflow:hidden!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head .drefl-course-library-image img{
  width:100%!important;height:100%!important;aspect-ratio:16/9!important;
  object-fit:cover!important;display:block!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head .drefl-course-library-image span{
  font-size:13px!important;padding:8px!important;text-align:center!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head-info{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:8px!important;min-width:0!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head-info .drefl-active-course-slot:empty{display:none!important;}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head-info .drefl-course-library-meta{
  display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head-info h2{
  font-size:1.22rem!important;line-height:1.3!important;
  min-height:0!important;margin:0!important;overflow-wrap:normal!important;
  word-break:normal!important;
}
@media(max-width:700px){
 body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-body{padding:18px!important;}
 body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head{
   grid-template-columns:1fr!important;gap:12px!important;margin-bottom:16px!important;
 }
 body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head .drefl-course-library-image{
   width:180px!important;max-width:100%!important;aspect-ratio:16/9!important;
 }
 body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head-info{gap:7px!important;}
 body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-course-library-head-info h2{font-size:1.3rem!important;}
}


/* v1.7.53 — Public catalogue only: tinted image overlay with accessible
   foreground text, compact footer and consistent 16:9 source images.
   Does not affect lesson sidebars, engine CSS or course permissions. */
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid > .drefl-course-library-card{
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
  border-radius:13px!important;background:#fff!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card{
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
  padding:0!important;min-width:0!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-head{
  display:flex!important;position:relative!important;flex-direction:column!important;
  justify-content:flex-end!important;align-items:stretch!important;
  grid-template-columns:none!important;gap:0!important;
  margin:0!important;padding:22px 22px 20px!important;
  min-height:244px!important;isolation:isolate!important;
  background:linear-gradient(130deg,#285066,#537a91)!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-image{
  display:block!important;position:absolute!important;inset:0!important;z-index:-2!important;
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  min-width:0!important;min-height:0!important;margin:0!important;
  border-radius:0!important;aspect-ratio:auto!important;overflow:hidden!important;
  background:#38657d!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-image img{
  width:100%!important;height:100%!important;object-fit:cover!important;
  object-position:center!important;aspect-ratio:auto!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-image span{
  display:none!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-head::before{
  content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;
  background:linear-gradient(180deg,rgba(19,37,51,.38) 0%,rgba(20,35,50,.54) 35%,rgba(12,27,43,.88) 100%)!important;
  pointer-events:none!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-head-info{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-end!important;gap:10px!important;width:100%!important;min-width:0!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-meta{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important;margin:0!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-meta span{
  display:inline-flex!important;align-items:center!important;padding:5px 11px!important;
  border-radius:999px!important;background:rgba(255,255,255,.96)!important;
  color:#24394a!important;-webkit-text-fill-color:#24394a!important;
  font-size:.73rem!important;font-weight:750!important;line-height:1.25!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-meta .drefl-course-library-price{
  background:#ffe66a!important;color:#253443!important;-webkit-text-fill-color:#253443!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-meta .drefl-active-course-badge{
  background:#fff0f8!important;color:#c21b79!important;-webkit-text-fill-color:#c21b79!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-head h2{
  margin:0!important;min-height:0!important;font-size:1.43rem!important;
  line-height:1.25!important;font-weight:800!important;overflow-wrap:break-word!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-head h2 a,
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-head h2 a:visited{
  color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card p.drefl-overlay-summary{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:.92rem!important;line-height:1.5!important;margin:0!important;
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  overflow:hidden!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card-footer{
  display:flex!important;flex-direction:column!important;gap:10px!important;
  padding:14px 18px 17px!important;margin-top:auto!important;background:#fff!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card-footer .drefl-course-join-status{
  display:block!important;margin:0!important;padding:8px 12px!important;
  border:0!important;border-radius:999px!important;background:#eaf6fb!important;
  color:#168fc0!important;-webkit-text-fill-color:#168fc0!important;
  font-size:.82rem!important;font-weight:500!important;line-height:1.3!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card-footer a.drefl-course-start,
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card-footer a.drefl-course-start:visited{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  width:100%!important;box-sizing:border-box!important;margin:0!important;padding:11px 14px!important;
  border-radius:9px!important;background:#ef3eaa!important;border:1px solid #ef3eaa!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important;
  font-size:1rem!important;font-weight:800!important;line-height:1.2!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card-footer a.drefl-course-start:hover,
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card-footer a.drefl-course-start:focus-visible{
  background:#d92e94!important;border-color:#d92e94!important;
}
@media(max-width:767px){
  body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-head{
    min-height:205px!important;padding:18px!important;
  }
  body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-head h2{
    font-size:1.25rem!important;
  }
}

/* v1.7.54 — My Learning / My Courses only. Compact horizontal cards.
   Intentionally scoped to the new markup; All Courses remains untouched. */
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:flex-start!important;gap:16px!important;width:100%!important;
}
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > .dre-my-course-row{
  display:block!important;box-sizing:border-box;width:100%;max-width:860px;
  margin:0 auto;padding:16px;border:1px solid #dce5ea;border-radius:16px;
  background:#fff;box-shadow:none;
}
body.learn-site .dre-my-course-top{display:flex;align-items:center;gap:16px;min-width:0;}
body.learn-site .dre-my-course-thumb{
  flex:0 0 140px;width:140px;aspect-ratio:16/9;overflow:hidden;
  border-radius:12px;background:#eaf2f6;
}
body.learn-site .dre-my-course-thumb img{display:block;width:100%;height:100%;object-fit:cover;}
body.learn-site .dre-my-course-thumb .dre-course-image-placeholder{height:100%;}
body.learn-site .dre-my-course-details{flex:1 1 auto;min-width:0;}
body.learn-site .dre-my-course-level{font-size:12px;font-weight:800;color:#657581;text-transform:uppercase;margin-bottom:5px;}
body.learn-site .dre-my-course-details h3{margin:0 0 6px!important;font-size:20px!important;line-height:1.3!important;min-height:0!important;}
body.learn-site .dre-my-course-details h3 a,
body.learn-site .dre-my-course-details h3 a:visited{color:#253645!important;text-decoration:none!important;}
body.learn-site .dre-my-course-status{font-size:13px;color:#657581;}
body.learn-site .dre-my-course-progress-label{
  display:flex;justify-content:space-between;gap:12px;margin-top:18px;margin-bottom:8px;
  font-size:13px;color:#566672;
}
body.learn-site .dre-my-course-progress-label strong{font-weight:800;color:#344557;}
body.learn-site .dre-my-course-progress{
  width:100%;height:8px;background:#e5ebef;border-radius:99px;overflow:hidden;
}
body.learn-site .dre-my-course-progress span{
  display:block;height:100%;background:#18A5DD;border-radius:inherit;
}
body.learn-site .dre-my-course-action,
body.learn-site .dre-my-course-action:visited{
  display:flex!important;align-items:center;justify-content:center;width:100%;min-height:48px;
  margin-top:14px;padding:10px 18px;border-radius:9px;
  background:#EF3EAA!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-weight:800;text-decoration:none!important;text-align:center;
}
body.learn-site .dre-my-course-action:hover,
body.learn-site .dre-my-course-action:focus-visible{background:#d72893!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
@media(max-width:600px){
  body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > .dre-my-course-row{padding:13px;}
  body.learn-site .dre-my-course-top{gap:12px;}
  body.learn-site .dre-my-course-thumb{flex-basis:105px;width:105px;}
  body.learn-site .dre-my-course-details h3{font-size:17px!important;}
  body.learn-site .dre-my-course-level{font-size:11px;}
}

/* v1.7.55 — My Courses: align internal spacing with DRE card conventions.
   Scoped to enrolled course rows; the public All Courses archive is unchanged. */
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-row{
  padding:24px!important;
}
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-row .dre-my-course-action,
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-row .dre-my-course-action:visited{
  display:flex!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:280px!important;
  min-height:46px!important;
  margin:18px auto 0!important;
  padding:10px 18px!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  border:2px solid #EF3EAA!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#EF3EAA!important;
  -webkit-text-fill-color:#EF3EAA!important;
  font-weight:800!important;
  text-decoration:none!important;
  transition:background-color .15s ease,color .15s ease!important;
}
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-row .dre-my-course-action:hover,
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-row .dre-my-course-action:focus-visible,
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-row .dre-my-course-action:active{
  background:#EF3EAA!important;
  border-color:#EF3EAA!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
@media(max-width:600px){
  body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-row{
    padding:18px!important;
  }
  body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-row .dre-my-course-action{
    max-width:280px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}


/* v1.7.56 — My Learning only: responsive tinted image course cards. */
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-overlay{
  padding:0!important;overflow:hidden!important;max-width:860px!important;
  border:1px solid #dce5ea!important;border-radius:16px!important;background:#263846!important;
}
body.learn-site .dre-my-course-overlay .dre-my-course-hero{position:relative;isolation:isolate;min-height:280px;display:flex;}
body.learn-site .dre-my-course-overlay .dre-my-course-hero-image{position:absolute;inset:0;z-index:-2;background:#34495b;}
body.learn-site .dre-my-course-overlay .dre-my-course-hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
body.learn-site .dre-my-course-overlay .dre-my-course-hero::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(13,27,39,.91) 0%,rgba(13,27,39,.76) 53%,rgba(13,27,39,.51) 100%);
}
body.learn-site .dre-my-course-overlay .dre-my-course-hero-content{
  display:flex;flex-direction:column;justify-content:space-between;gap:28px;
  width:100%;min-width:0;padding:26px 30px;box-sizing:border-box;
}
body.learn-site .dre-my-course-overlay .dre-my-course-details{min-width:0;max-width:100%;}
body.learn-site .dre-my-course-overlay .dre-my-course-level,
body.learn-site .dre-my-course-overlay .dre-my-course-status,
body.learn-site .dre-my-course-overlay .dre-my-course-progress-label,
body.learn-site .dre-my-course-overlay .dre-my-course-progress-label strong{color:#fff!important;}
body.learn-site .dre-my-course-overlay .dre-my-course-level{font-size:12px;letter-spacing:.04em;}
body.learn-site .dre-my-course-overlay .dre-my-course-details h3{font-size:clamp(20px,2.5vw,27px)!important;line-height:1.25!important;overflow-wrap:break-word;}
body.learn-site .dre-my-course-overlay .dre-my-course-details h3 a,
body.learn-site .dre-my-course-overlay .dre-my-course-details h3 a:visited{color:#fff!important;-webkit-text-fill-color:#fff!important;}
body.learn-site .dre-my-course-overlay .dre-my-course-status{font-size:14px;}
body.learn-site .dre-my-course-overlay .dre-my-course-progress-label{margin:0 0 8px!important;font-size:13px;}
body.learn-site .dre-my-course-overlay .dre-my-course-progress{background:rgba(255,255,255,.36)!important;height:9px;}
body.learn-site .dre-my-course-overlay .dre-my-course-progress span{background:#18A5DD!important;}
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-overlay .dre-my-course-action,
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-overlay .dre-my-course-action:visited{
  width:100%!important;max-width:280px!important;margin:17px auto 0!important;
  background:#fff!important;border:2px solid #ef3eaa!important;
  color:#d72893!important;-webkit-text-fill-color:#d72893!important;
}
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-overlay .dre-my-course-action:hover,
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-overlay .dre-my-course-action:focus-visible,
body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-overlay .dre-my-course-action:active{
  background:#ef3eaa!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
@media(max-width:767px){
  body.learn-site .dre-my-course-overlay .dre-my-course-hero{min-height:300px;}
  body.learn-site .dre-my-course-overlay .dre-my-course-hero-content{padding:22px 20px;gap:26px;}
  body.learn-site .dre-my-course-overlay .dre-my-course-details h3{font-size:22px!important;}
}
@media(max-width:420px){
  body.learn-site .dre-my-course-overlay .dre-my-course-hero{min-height:310px;}
  body.learn-site .dre-my-course-overlay .dre-my-course-hero-content{padding:20px 17px;}
  body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-overlay .dre-my-course-action{max-width:100%!important;}
}

/* v1.7.57 — My Courses: desktop-only three-column layout.
   Keep the v1.7.56 tinted image, overlay text, progress and action styling.
   Tablet and mobile styles are intentionally untouched. */
@media (min-width:1025px){
  body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:22px!important;
    align-items:stretch!important;
  }
  body.learn-site .site-content .dre-course-dashboard .dre-my-courses-list > article.dre-my-course-overlay{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    height:100%!important;
  }
  body.learn-site .dre-my-course-overlay .dre-my-course-hero{
    min-height:340px;
    height:100%;
  }
  body.learn-site .dre-my-course-overlay .dre-my-course-hero-content{
    padding:22px 20px;
    gap:24px;
  }
  body.learn-site .dre-my-course-overlay .dre-my-course-details h3{
    font-size:22px!important;
  }
}

/* v1.7.58 — Correct desktop My Courses layout.
   The earlier page-id-594 .dre-course-grid and .dre-my-courses-list flex rules
   override the less-specific v1.7.57 grid rule. Match their specificity and
   use the same three-across tile sizing as the All Courses catalogue.
   Desktop only; no tablet/mobile changes. */
@media (min-width:1025px){
  body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-grid.dre-my-courses-list{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    align-items:stretch!important;
    gap:22px!important;
    grid-template-columns:none!important;
  }
  body.page-id-594.learn-site .site-content .dre-course-dashboard .dre-course-grid.dre-my-courses-list > article.dre-my-course-row.dre-my-course-overlay{
    box-sizing:border-box!important;
    flex:0 0 calc((100% - 44px) / 3)!important;
    width:calc((100% - 44px) / 3)!important;
    max-width:calc((100% - 44px) / 3)!important;
    min-width:0!important;
    margin:0!important;
    align-self:stretch!important;
  }
}

/* v1.7.59 — Catalogue overlay: badges aligned at top; titles anchored below.
   Archive tiles only; My Courses and other layouts are unaffected. */
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-head-info{
  flex:1 1 auto!important;
  justify-content:flex-end!important;
}
body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-meta{
  position:absolute!important;
  top:20px!important;
  left:22px!important;
  right:22px!important;
  z-index:1!important;
  align-self:flex-start!important;
}
@media(max-width:767px){
  body.learn-site.post-type-archive-dre_flex_course .drefl-all-courses-grid .drefl-overlay-card .drefl-course-library-meta{
    top:18px!important;
    left:18px!important;
    right:18px!important;
  }
}

/* v1.7.62 — My Courses paid entitlement indicator only. */
.dre-my-course-unlocked{display:inline-block;margin-left:9px;padding:3px 9px;border:1px solid #fff;border-radius:20px;background:rgba(255,255,255,.95);color:#1679a0;font-size:.72rem;line-height:1.5;font-weight:700;letter-spacing:0;text-transform:none;vertical-align:middle;}

/* v1.7.63 — Registration confirmation only; no course or lesson styling. */
body.dre-pmpro-confirmation-page .site-content .dre-confirm-card{
  padding:28px 32px!important;
}
body.dre-pmpro-confirmation-page .site-content .dre-confirm-card .dre-confirm-intro{
  margin:8px auto 20px!important;
}
body.dre-pmpro-confirmation-page .site-content .dre-confirm-card .dre-confirm-details{
  margin-bottom:20px!important;
}
body.dre-pmpro-confirmation-page .site-content .dre-confirm-card a.dre-confirm-button,
body.dre-pmpro-confirmation-page .site-content .dre-confirm-card a.dre-confirm-button:visited{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  padding:10px 22px!important;
}
@media(max-width:640px){body.dre-pmpro-confirmation-page .site-content .dre-confirm-card{padding:22px 18px!important;}}

/* v1.7.64 — Confirmation button text only; scoped to confirmation card.
   Does not depend on the optional body page class. */
.dre-confirm-card a.dre-confirm-button,
.dre-confirm-card a.dre-confirm-button:link,
.dre-confirm-card a.dre-confirm-button:visited,
.dre-confirm-card a.dre-confirm-button:hover,
.dre-confirm-card a.dre-confirm-button:focus,
.dre-confirm-card a.dre-confirm-button:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}

/* ==========================================================
   v1.7.66 — SHARED NON-LESSON DRE PAGE BACKGROUND
   Use the established All Courses #EAF2F7 canvas for standard
   Learn pages and dashboard shells, regardless of WP page template.
   No lesson, engine or activity selectors are changed.
========================================================== */
body.learn-site.dre-learn-standard-page:not(.single-dre_flex_lesson),
body.learn-site.dre-learn-standard-page:not(.single-dre_flex_lesson) .site-content,
body.learn-site.dre-learn-standard-page:not(.single-dre_flex_lesson) .dre-learn-standard-primary,
body.learn-site.dre-learn-standard-page:not(.single-dre_flex_lesson) .dre-learn-standard-main,
body.learn-site.dre-learn-standard-page:not(.single-dre_flex_lesson) .dre-learn-standard-content,
body.learn-site:not(.single-dre_flex_lesson) .site-content:has(.dre-course-dashboard),
body.learn-site:not(.single-dre_flex_lesson) .site-content:has(.dre-course-dashboard) .ast-container,
body.learn-site:not(.single-dre_flex_lesson) .site-content .dre-course-dashboard{
  background-color:#EAF2F7!important;
}

/* ==========================================================
   v1.7.68 — CANONICAL STANDARD-PAGE TITLE BAND
   Presentation only. All DRE Standard Page shortcode families share the
   same title rhythm and viewport-wide white surface. No engine selectors.
========================================================== */
body.learn-site.dre-learn-standard-page:not(.single-dre_flex_lesson){
  --dre-standard-title-size:clamp(32px,3.4vw,46px);
  --dre-standard-title-pad:28px;
}
/* The shared rail must not clip the title-band bleed. */
body.learn-site.dre-learn-standard-page .dre-learn-standard-primary,
body.learn-site.dre-learn-standard-page .dre-learn-standard-main,
body.learn-site.dre-learn-standard-page .dre-learn-standard-content,
body.learn-site.dre-learn-standard-page .dre-course-dashboard{
  overflow:visible!important;
}
/* Cover shortcode-rendered headers and Gutenberg headings with a common
   style; keep headings in lesson and course templates untouched. */
body.learn-site.dre-learn-standard-page .dre-learn-standard-content :is(
  .dre-course-dashboard-hero h1,
  .dre-results-page-intro h1,
  .dre-live-learning > header h1,
  .dre-member-events > header h1,
  .dre-member-events h1,
  .dre-events-page h1,
  .dre-learn-standard-content > h1,
  .dre-learn-standard-content > header h1
){
  font-family:Nunito,sans-serif!important;
  font-size:var(--dre-standard-title-size)!important;
  font-weight:800!important;
  line-height:1.15!important;
  margin:0 0 12px!important;
  padding:0!important;
  color:#4F535D!important;
}
/* White band is attached to the page-introduction container, not to the
   entire shortcode; it is deliberately independent of the page ID. */
body.learn-site.dre-learn-standard-page .dre-learn-standard-content :is(
  .dre-course-dashboard > .dre-course-dashboard-hero,
  .dre-results-page-intro,
  .dre-live-learning > header,
  .dre-member-events > header,
  .dre-events-page > header,
  .dre-learn-standard-content > header:first-child,
  .dre-learn-standard-content > h1:first-child
){
  position:relative!important;
  isolation:isolate;
  z-index:0;
  background:#fff!important;
  padding-top:var(--dre-standard-title-pad)!important;
  padding-bottom:var(--dre-standard-title-pad)!important;
  margin-top:0!important;
  margin-bottom:26px!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.learn-site.dre-learn-standard-page .dre-learn-standard-content :is(
  .dre-course-dashboard > .dre-course-dashboard-hero,
  .dre-results-page-intro,
  .dre-live-learning > header,
  .dre-member-events > header,
  .dre-events-page > header,
  .dre-learn-standard-content > header:first-child,
  .dre-learn-standard-content > h1:first-child
)::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:#fff;
  z-index:-1;
  pointer-events:none;
}
body.learn-site.dre-learn-standard-page .dre-learn-standard-content :is(
  .dre-course-dashboard-hero > p,
  .dre-results-page-intro p,
  .dre-live-learning > header p,
  .dre-member-events > header p,
  .dre-events-page > header p
){
  margin:0!important;
  line-height:1.5!important;
}
@media(max-width:767px){
  body.learn-site.dre-learn-standard-page:not(.single-dre_flex_lesson){
    --dre-standard-title-size:30px;
    --dre-standard-title-pad:22px;
  }
}


/* ==========================================================
   v1.7.69 — TEMPLATE-OWNED STANDARD TITLE STRIP
   Full-viewport surface; identical inner rail for all standard pages.
   Only legacy page-introduction fragments are suppressed; all cards,
   lesson pages, controls and event functionality are unaffected.
========================================================== */
body.dre-learn-standard-page .dre-standard-title-band,
body.post-type-archive-dre_flex_course .dre-standard-title-band{
  width:100%;max-width:none;box-sizing:border-box;
  margin:0!important;padding:28px 24px!important;
  background:#fff!important;border:0;box-shadow:none;
}
body.dre-learn-standard-page .dre-standard-title-inner,
body.post-type-archive-dre_flex_course .dre-standard-title-inner{
  width:100%;max-width:966px;margin:0 auto;box-sizing:border-box;
}
body.dre-learn-standard-page .dre-standard-title-band h1,
body.post-type-archive-dre_flex_course .dre-standard-title-band h1{
  font-family:Nunito,sans-serif!important;font-size:clamp(32px,3.4vw,46px)!important;
  font-weight:800!important;line-height:1.15!important;color:#4F535D!important;
  margin:0 0 12px!important;padding:0!important;
}
body.dre-learn-standard-page .dre-standard-title-band p,
body.post-type-archive-dre_flex_course .dre-standard-title-band p{
  font-family:Nunito,sans-serif!important;font-size:16px!important;
  line-height:1.5!important;color:#687684!important;margin:0!important;padding:0!important;
}
body.dre-learn-standard-page .dre-learn-standard-content{
  padding-top:24px!important;
}
/* The new template band replaces the legacy shortcode-owned intros. */
body.dre-learn-standard-page .dre-course-dashboard > .dre-course-dashboard-hero,
body.dre-learn-standard-page .dre-live-learning > header:first-child,
body.dre-learn-standard-page .dre-results-page-intro,
body.dre-learn-standard-page .dreme-wrap > h2:first-child,
body.dre-learn-standard-page .dreme-wrap > h2:first-child + p.dreme-intro,
body.dre-learn-standard-page .dreme-wrap > h2:first-child + p:not([class]){
  display:none!important;
}
/* Remove the dashboard's extra top offset now that its intro is template-owned. */
body.dre-learn-standard-page .dre-course-dashboard{padding-top:0!important;}
body.dre-learn-standard-page .dre-live-learning{padding-top:0!important;}
body.post-type-archive-dre_flex_course .drefl-course-main{padding-top:24px!important;}
@media(max-width:767px){
  body.dre-learn-standard-page .dre-standard-title-band,
  body.post-type-archive-dre_flex_course .dre-standard-title-band{padding:22px 16px!important;}
  body.dre-learn-standard-page .dre-standard-title-band h1,
  body.post-type-archive-dre_flex_course .dre-standard-title-band h1{font-size:30px!important;}
}

/* ==========================================================
   v1.7.70 — STANDARD PAGE TITLE RAIL ALIGNMENT ONLY
   Match the All Courses title rail at all desktop widths.
   The white surface remains viewport-wide; the title rail is
   independent of shortcode/card widths. No lesson selectors.
========================================================== */
body.dre-learn-standard-page .dre-standard-title-band{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  box-sizing:border-box!important;
}
body.dre-learn-standard-page .dre-standard-title-band > .dre-standard-title-inner{
  width:100%!important;
  max-width:1104px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
@media(max-width:1152px){
  body.dre-learn-standard-page .dre-standard-title-band > .dre-standard-title-inner{
    max-width:100%!important;
  }
}

/* v1.7.71 — All Courses: remove archive-only top gutter between
   shared navigation and canonical white title band. No standard-page,
   lesson or engine selectors are affected. */
body.learn-site.post-type-archive-dre_flex_course .site-content,
body.learn-site.post-type-archive-dre_flex_course .site-content > .ast-container{
  padding-top:0!important;
  margin-top:0!important;
}
body.learn-site.post-type-archive-dre_flex_course .dre-public-course-header + .dre-standard-title-band{
  margin-top:0!important;
}

/* v1.7.76 — All Courses uses the shared title band without legacy
   archive-only negative offsets or padding overrides. Flexible Learning
   v0.10.418 renders this band immediately after course navigation. */
body.learn-site.post-type-archive-dre_flex_course .dre-public-course-header + .dre-standard-title-band{
  margin-top:0!important;
}

/* v1.7.78 — STANDARD PAGE CONTENT RAIL ONLY.
   Title band and its 1104px rail are intentionally unchanged.
   Give shortcode content the same centred 1104px inner rail, rather than
   the older 1180px container with nested inset/centred 1028px cards. */
@media(min-width:768px){
  body.learn-site.dre-learn-standard-page .dre-learn-standard-content{
    width:100%!important;
    max-width:1152px!important; /* 1104px usable width + 24px each side */
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:24px!important;
    padding-right:24px!important;
    box-sizing:border-box!important;
  }
  body.learn-site.dre-learn-standard-page .dre-learn-standard-content > .dre-course-dashboard,
  body.learn-site.dre-learn-standard-page .dre-learn-standard-content > .dre-live-learning,
  body.learn-site.dre-learn-standard-page .dre-learn-standard-content > .dre-member-events,
  body.learn-site.dre-learn-standard-page .dre-learn-standard-content > .dre-events-page{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }
}

/* v1.7.79 — MATCH ALL COURSES RAIL ON STANDARD PAGES.
   Reference: All Courses content rail is 1180px. Keep the existing
   title band height and navigation spacing; align its text and the
   standard-page content on the same 1180px centred rail. */
@media (min-width:768px){
  body.learn-site.dre-learn-standard-page .dre-standard-title-band > .dre-standard-title-inner{
    max-width:1180px!important;
  }
  body.learn-site.dre-learn-standard-page .dre-learn-standard-content{
    width:100%!important;
    max-width:1228px!important;
    padding-left:24px!important;
    padding-right:24px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.learn-site.dre-learn-standard-page .dre-learn-standard-content > :is(
    .dre-course-dashboard,.dre-live-learning,.dre-member-events,.dre-events-page
  ){
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }
  body.learn-site.dre-learn-standard-page .dre-member-events > :not(header),
  body.learn-site.dre-learn-standard-page .dre-events-page > :not(header){
    max-width:100%!important;
  }
}

/* v1.7.80 — Standard-page responsive title, content and menu only.
   Desktop (>=1025px) retains the approved v1.7.79 geometry. */
@media (max-width:1024px){
  body.learn-site.dre-learn-standard-page .dre-standard-title-band > .dre-standard-title-inner{
    width:100%!important;max-width:none!important;margin:0!important;
    padding:0 24px!important;box-sizing:border-box!important;
  }
  body.learn-site.dre-learn-standard-page .dre-learn-standard-content{
    width:100%!important;max-width:none!important;
    margin:0 auto!important;padding:24px 24px 44px!important;
    box-sizing:border-box!important;
  }
  body.learn-site.dre-learn-standard-page .dre-learn-standard-content > :is(
    .dre-course-dashboard,.dre-live-learning,.dre-member-events,.dre-events-page
  ){
    width:100%!important;max-width:none!important;
    margin-left:0!important;margin-right:0!important;
    padding-left:0!important;padding-right:0!important;
    box-sizing:border-box!important;
  }
  body.learn-site.dre-learn-standard-page .dre-member-events > :not(header),
  body.learn-site.dre-learn-standard-page .dre-events-page > :not(header){max-width:100%!important;}
  body:not(.single-dre_flex_lesson) .dre-shared-page-menu-panel a{
    font-size:17px!important;line-height:1.45!important;
    padding:15px 20px!important;
  }
}
@media (max-width:767px){
  body.learn-site.dre-learn-standard-page .dre-standard-title-band > .dre-standard-title-inner{
    padding:0 20px!important;
  }
  body.learn-site.dre-learn-standard-page .dre-learn-standard-content{
    padding:24px 16px 40px!important;
  }
  body.learn-site.dre-learn-standard-page .dre-course-dashboard :is(
    .dre-dashboard-card,.dre-dashboard-section,.dre-dashboard-results
  ){max-width:100%;box-sizing:border-box;}
  body.learn-site.dre-learn-standard-page .dre-shared-page-menu-panel a{
    font-size:17px!important;padding:15px 20px!important;
  }
}

/* v1.7.81 — Course Home responsive content rail.
   The course home is a separate Flexible Course single template, not a
   DRE Standard page. Leave its navigation and lesson templates unchanged. */
@media (max-width:1024px){
  body.learn-site.single-dre_flex_course .drefl-course-main,
  body.learn-site.single-dre_flex_course .drefl-course-home-page{
    width:100%!important;max-width:none!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;
    box-sizing:border-box!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-hero{
    width:100%!important;max-width:none!important;min-width:0!important;
    box-sizing:border-box!important;
    padding-left:24px!important;padding-right:24px!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-hero-copy,
  body.learn-site.single-dre_flex_course .drefl-course-hero-info{
    width:100%!important;max-width:none!important;min-width:0!important;
    box-sizing:border-box!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-hero-media.dre-mobile-course-media{
    width:100%!important;max-width:none!important;min-width:0!important;
  }
}
@media (max-width:767px){
  body.learn-site.single-dre_flex_course .drefl-course-hero{
    padding-left:16px!important;padding-right:16px!important;
  }
}

/* v1.7.82 — Course Home ONLY: unify phone/tablet content width.
   The Flexible Learning plugin has narrower inner outline widths and
   earlier theme rules give the information band negative margins.
   Do not apply to single-dre_flex_lesson or standard pages. */
@media (max-width:1024px){
  body.single-dre_flex_course .site-content > .ast-container,
  body.single-dre_flex_course .site-content .ast-container,
  body.single-dre_flex_course #primary,
  body.single-dre_flex_course .site-main,
  body.single-dre_flex_course article,
  body.single-dre_flex_course .entry-content,
  body.single-dre_flex_course .drefl-course-main,
  body.single-dre_flex_course .drefl-course-home-page{
    width:100%!important;max-width:none!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;
    padding-left:0!important;padding-right:0!important;
    box-sizing:border-box!important;
  }
  body.single-dre_flex_course .drefl-course-hero{
    width:100%!important;max-width:none!important;min-width:0!important;
    margin:0!important;padding:24px!important;
    grid-template-columns:minmax(0,1fr)!important;
    box-sizing:border-box!important;
  }
  body.single-dre_flex_course .drefl-course-hero-copy,
  body.single-dre_flex_course .drefl-course-hero-info,
  body.single-dre_flex_course .drefl-course-about,
  body.single-dre_flex_course .drefl-course-progress-card,
  body.single-dre_flex_course .drefl-course-outline,
  body.single-dre_flex_course .drefl-course-outline-card,
  body.single-dre_flex_course .drefl-course-outline-head{
    width:100%!important;max-width:none!important;min-width:0!important;
    box-sizing:border-box!important;
  }
  body.single-dre_flex_course .drefl-course-hero-info{
    grid-column:1 / -1!important;
    margin:0!important;padding:20px 0 0!important;
    justify-self:stretch!important;
  }
  body.single-dre_flex_course .drefl-course-hero-media.dre-mobile-course-media{
    width:100%!important;max-width:none!important;min-width:0!important;
  }
  body.single-dre_flex_course .drefl-course-outline{
    margin:0!important;padding:28px 24px 44px!important;
  }
  body.single-dre_flex_course .drefl-course-outline-card{
    margin-left:0!important;margin-right:0!important;
  }
}
@media (max-width:767px){
  body.single-dre_flex_course .drefl-course-hero{
    padding:20px 16px 22px!important;
  }
  body.single-dre_flex_course .drefl-course-outline{
    padding:24px 16px 40px!important;
  }
}

/* v1.7.83 — Course Home desktop rail + freemium action hierarchy.
   Scoped to course home only. Flexible lesson pages untouched. */
@media (min-width:1025px){
  body.learn-site.single-dre_flex_course .drefl-course-hero{
    padding-left:max(24px,calc((100% - 1180px)/2))!important;
    padding-right:max(24px,calc((100% - 1180px)/2))!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-outline{
    padding-left:max(24px,calc((100% - 1180px)/2))!important;
    padding-right:max(24px,calc((100% - 1180px)/2))!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-hero-info{
    margin-left:calc(-1 * max(24px,(100vw - 1180px)/2))!important;
    margin-right:calc(-1 * max(24px,(100vw - 1180px)/2))!important;
    padding-left:max(24px,calc((100vw - 1180px)/2))!important;
    padding-right:max(24px,calc((100vw - 1180px)/2))!important;
  }
}
/* Keep Buy full course as the primary button. Continue free unit is a
   quieter text action, retaining its existing destination and semantics. */
body.learn-site.single-dre_flex_course .drefl-course-hero-copy a.drefl-course-free-continue{
  display:table!important;
  width:auto!important;min-height:0!important;
  padding:0!important;margin:16px 0 0!important;
  background:transparent!important;border:0!important;
  box-shadow:none!important;border-radius:0!important;
  color:#e72e9e!important;-webkit-text-fill-color:#e72e9e!important;
  font-size:16px!important;font-weight:700!important;
  line-height:1.5!important;text-decoration:underline!important;
  text-underline-offset:3px!important;
}
body.learn-site.single-dre_flex_course .drefl-course-hero-copy a.drefl-course-free-continue:hover,
body.learn-site.single-dre_flex_course .drefl-course-hero-copy a.drefl-course-free-continue:focus{
  color:#b91c79!important;-webkit-text-fill-color:#b91c79!important;
  background:transparent!important;text-decoration-thickness:2px!important;
}

/* v1.7.84 — Course Home geometry correction only.
   Use the same 24px inner edge for title, information and outline.
   Remove earlier negative-margin info breakout, which overlaps the image
   at tablet widths. Do not target lesson pages. */
@media (min-width:1025px){
  body.learn-site.single-dre_flex_course .drefl-course-hero{
    padding-left:24px!important;padding-right:24px!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-outline{
    padding-left:24px!important;padding-right:24px!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-hero-info{
    margin-left:-24px!important;margin-right:-24px!important;
    padding-left:24px!important;padding-right:24px!important;
  }
}
@media (max-width:1024px){
  body.learn-site.single-dre_flex_course .drefl-course-hero{
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;gap:0!important;
    height:auto!important;min-height:0!important;
    overflow:visible!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-hero-copy,
  body.learn-site.single-dre_flex_course .drefl-course-hero-media.dre-mobile-course-media,
  body.learn-site.single-dre_flex_course .drefl-course-hero-info{
    position:static!important;float:none!important;clear:both!important;
    transform:none!important;inset:auto!important;
    flex:none!important;align-self:stretch!important;
    width:100%!important;max-width:100%!important;
    min-height:0!important;box-sizing:border-box!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-hero-copy{order:1!important;}
  body.learn-site.single-dre_flex_course .drefl-course-hero-media.dre-mobile-course-media{
    order:2!important;margin:18px 0 0!important;
    height:auto!important;max-height:none!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-hero-media.dre-mobile-course-media img{
    display:block!important;width:100%!important;height:auto!important;
    max-height:none!important;object-fit:cover!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-hero-info{
    order:3!important;display:block!important;
    margin:24px 0 0!important;padding:20px 0 0!important;
    background:transparent!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-outline{
    position:relative!important;clear:both!important;
  }
}

/* v1.7.85 — Course Home only: remove plugin's 44px desktop inset
   so hero heading matches the course outline rail; separate the
   responsive photograph from the metadata below it. */
@media (min-width:1025px){
  body.learn-site.single-dre_flex_course .drefl-course-hero > .drefl-course-hero-copy{
    padding-left:0!important;padding-right:0!important;
  }
}
@media (max-width:1024px){
  body.learn-site.single-dre_flex_course .drefl-course-hero-media.dre-mobile-course-media{
    margin-bottom:18px!important;
  }
  body.learn-site.single-dre_flex_course .drefl-course-meta{
    margin-top:16px!important;
  }
}

/* v1.7.86 — Catalogue secondary CTAs; course-card buttons unchanged. */
body.learn-site .site-content .drefl-level-test-invite > a,
body.learn-site .site-content .drefl-level-test-invite > a:visited {
  background:#fff!important; color:#ED4DB4!important; -webkit-text-fill-color:#ED4DB4!important;
  border:2px solid #ED4DB4!important;
}
body.learn-site .site-content .drefl-level-test-invite > a:hover,
body.learn-site .site-content .drefl-level-test-invite > a:active {
  background:#ED4DB4!important; color:#fff!important; -webkit-text-fill-color:#fff!important;
}
body.learn-site .site-content a.dre-catalogue-live-button,
body.learn-site .site-content a.dre-catalogue-live-button:visited {
  background:transparent!important; border:0!important; padding:0!important; min-height:0!important;
  width:auto!important; border-radius:0!important; color:#ED4DB4!important;
  -webkit-text-fill-color:#ED4DB4!important; text-decoration:underline!important;
  text-underline-offset:3px; font-weight:700!important;
}
body.learn-site .site-content a.dre-catalogue-live-button:hover,
body.learn-site .site-content a.dre-catalogue-live-button:active {
  background:transparent!important; border:0!important; color:#c82e8f!important;
  -webkit-text-fill-color:#c82e8f!important; text-decoration-thickness:2px!important;
}
body.learn-site .site-content .dre-member-events-teaser a,
body.learn-site .site-content .dre-member-events-teaser a:visited {
  color:#ED4DB4!important; -webkit-text-fill-color:#ED4DB4!important; text-decoration:underline!important;
  text-underline-offset:3px; font-weight:700!important;
}
body.learn-site .site-content .dre-member-events-teaser a:hover,
body.learn-site .site-content .dre-member-events-teaser a:active {
  color:#c82e8f!important; -webkit-text-fill-color:#c82e8f!important;
}

/* v1.7.88 — Compact optional imagery for catalogue feature panels only. */
body.learn-site .site-content .dre-catalogue-feature {
  display:flex; align-items:center; gap:22px; overflow:hidden; position:relative;
}
body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-media {
  flex:0 0 210px; width:210px; height:138px; overflow:hidden; position:relative;
  border-radius:8px; align-self:center;
}
body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-media img {
  width:100%; height:100%; object-fit:cover; display:block;
}
body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-media:after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(110deg,rgba(24,165,221,.13),rgba(237,77,180,.10));
}
body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-copy {flex:1 1 0;min-width:0;}
body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-copy > a {display:inline-block;margin-top:10px;}
body.learn-site .site-content .dre-member-events-teaser {
  margin:20px 0; padding:14px 18px; background:#f1f9fc;
  border-left:3px solid #18a5dd; border-radius:8px;
}
body.learn-site .site-content .dre-member-events-teaser p {margin:0;}
@media(max-width:700px){
  body.learn-site .site-content .dre-catalogue-feature {gap:12px;align-items:center;}
  body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-media {
    flex:0 0 92px;width:92px;height:112px;
  }
  body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-copy > a {margin-top:6px;}
}
@media(max-width:390px){
  body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-media {flex-basis:72px;width:72px;height:96px;}
}

/* v1.7.89 — Atmospheric right-edge image treatment; no underlined feature CTAs. */
body.learn-site .site-content .dre-catalogue-feature {
  display:block; position:relative; isolation:isolate; overflow:hidden;
  min-height:0;
}
body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-media {
  position:absolute; z-index:-1; top:0; right:0; bottom:0; left:auto;
  width:40%; height:100%; border-radius:0; margin:0; overflow:hidden;
}
body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-media img {
  width:100%; height:100%; object-fit:cover; object-position:center;
}
body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-media:after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 16%, rgba(255,255,255,.18) 80%, rgba(237,77,180,.18) 100%);
}
body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-copy {
  position:relative; z-index:1; width:100%; max-width:none; padding-right:25%; box-sizing:border-box;
}
body.learn-site .site-content .dre-member-events-teaser .dre-catalogue-feature-media:after {
  background:linear-gradient(90deg, #f1f9fc 0%, rgba(241,249,252,.92) 18%, rgba(241,249,252,.18) 82%, rgba(237,77,180,.16) 100%);
}
body.learn-site .site-content a.dre-catalogue-live-button,
body.learn-site .site-content a.dre-catalogue-live-button:visited,
body.learn-site .site-content a.dre-catalogue-live-button:hover,
body.learn-site .site-content a.dre-catalogue-live-button:active,
body.learn-site .site-content a.dre-catalogue-live-button:focus-visible,
body.learn-site .site-content .dre-member-events-teaser a,
body.learn-site .site-content .dre-member-events-teaser a:visited,
body.learn-site .site-content .dre-member-events-teaser a:hover,
body.learn-site .site-content .dre-member-events-teaser a:active,
body.learn-site .site-content .dre-member-events-teaser a:focus-visible {
  text-decoration:none!important;
}
@media(max-width:700px){
  body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-media {
    width:45%; height:100%;
  }
  body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-copy {
    padding-right:10%;
  }
  body.learn-site .site-content .dre-catalogue-feature .dre-catalogue-feature-media:after {
    background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 38%,rgba(255,255,255,.74) 80%,rgba(237,77,180,.16) 100%);
  }
  body.learn-site .site-content .dre-member-events-teaser .dre-catalogue-feature-media:after {
    background:linear-gradient(90deg,#f1f9fc 0%,rgba(241,249,252,.96) 38%,rgba(241,249,252,.74) 80%,rgba(237,77,180,.14) 100%);
  }
}

/* v1.7.91 — DRE catalogue registration CTA (only this CTA). */
body.learn-site .site-content a.dre-catalogue-join-button,
body.learn-site .site-content a.dre-catalogue-join-button:visited {background:#ED4DB4!important;border-color:#ED4DB4!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important;}
body.learn-site .site-content a.dre-catalogue-join-button:hover,
body.learn-site .site-content a.dre-catalogue-join-button:active,
body.learn-site .site-content a.dre-catalogue-join-button:focus-visible {background:#d52c9c!important;border-color:#d52c9c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important;}

/* v1.7.94 — PMPro membership levels and checkout: mobile width only.
   Keep PMPro form, submission and membership behaviour unchanged. */
@media (max-width: 767px) {
  body.dre-pmpro-levels-page .site-content .ast-container,
  body.dre-pmpro-checkout-page .site-content .ast-container {
    width:100%!important; max-width:100%!important;
    padding-left:14px!important; padding-right:14px!important;
    margin-left:auto!important; margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dre-pmpro-levels-page #primary,
  body.dre-pmpro-checkout-page #primary,
  body.dre-pmpro-levels-page main.site-main,
  body.dre-pmpro-checkout-page main.site-main,
  body.dre-pmpro-levels-page article,
  body.dre-pmpro-checkout-page article,
  body.dre-pmpro-levels-page .entry-content,
  body.dre-pmpro-checkout-page .entry-content,
  body.dre-pmpro-levels-page .entry-content > .pmpro,
  body.dre-pmpro-checkout-page .entry-content > .pmpro,
  body.dre-pmpro-checkout-page .pmpro > form {
    width:100%!important; max-width:100%!important; min-width:0!important;
    margin-left:auto!important; margin-right:auto!important;
    padding-left:0!important; padding-right:0!important;
    box-sizing:border-box!important;
  }
  body.dre-pmpro-levels-page .pmpro,
  body.dre-pmpro-levels-page .pmpro_levels_table,
  body.dre-pmpro-levels-page .pmpro_card,
  body.dre-pmpro-checkout-page .pmpro_checkout,
  body.dre-pmpro-checkout-page .pmpro_section,
  body.dre-pmpro-checkout-page .pmpro_card,
  body.dre-pmpro-checkout-page #pmpro_user_fields {
    width:100%!important; max-width:100%!important; min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dre-pmpro-levels-page .pmpro_levels_table tbody tr {
    padding:16px 12px!important;
  }
  body.dre-pmpro-levels-page .dre-free-account-intro {
    padding-left:8px!important; padding-right:8px!important;
  }
  body.dre-pmpro-levels-page .pmpro_levels_table .pmpro_btn,
  body.dre-pmpro-levels-page .pmpro_levels_table a.pmpro_btn {
    max-width:100%!important; min-width:0!important;
    white-space:normal!important; overflow-wrap:anywhere!important;
    padding-left:14px!important; padding-right:14px!important;
    box-sizing:border-box!important;
  }
  body.dre-pmpro-checkout-page #pmpro_user_fields,
  body.dre-pmpro-checkout-page .pmpro_section {
    padding-left:14px!important; padding-right:14px!important;
  }
  body.dre-pmpro-checkout-page input:not([type=checkbox]):not([type=radio]),
  body.dre-pmpro-checkout-page select {
    max-width:100%!important; box-sizing:border-box!important;
  }
}

/* v1.7.95 — PMPro confirmation: match mobile widths of levels/checkout. */
@media (max-width:767px) {
  body.dre-pmpro-confirmation-page .site-content .ast-container {
    width:100%!important; max-width:100%!important;
    padding-left:14px!important; padding-right:14px!important;
    margin-left:auto!important; margin-right:auto!important; box-sizing:border-box!important;
  }
  body.dre-pmpro-confirmation-page #primary,
  body.dre-pmpro-confirmation-page main.site-main,
  body.dre-pmpro-confirmation-page article,
  body.dre-pmpro-confirmation-page .entry-content,
  body.dre-pmpro-confirmation-page .entry-content > .pmpro,
  body.dre-pmpro-confirmation-page .pmpro_confirmation_wrap,
  body.dre-pmpro-confirmation-page .dre-confirm-card {
    width:100%!important; max-width:100%!important; min-width:0!important;
    margin-left:auto!important; margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dre-pmpro-confirmation-page #primary,
  body.dre-pmpro-confirmation-page main.site-main,
  body.dre-pmpro-confirmation-page article,
  body.dre-pmpro-confirmation-page .entry-content,
  body.dre-pmpro-confirmation-page .entry-content > .pmpro {
    padding-left:0!important; padding-right:0!important;
  }
  body.dre-pmpro-confirmation-page .dre-confirm-card {
    padding:20px 14px!important; overflow-wrap:anywhere;
  }
  body.dre-pmpro-confirmation-page .dre-confirm-card a.dre-confirm-button {
    max-width:100%!important; min-width:0!important;
    box-sizing:border-box!important; white-space:normal!important;
    overflow-wrap:anywhere!important; text-align:center!important;
  }
}

/* v1.7.96 — Checkout form fields use the available mobile card width.
   Scoped to the PMPro checkout page; no changes to field behaviour. */
@media (max-width:767px) {
  body.dre-pmpro-checkout-page #pmpro_user_fields,
  body.dre-pmpro-checkout-page #pmpro_user_fields.pmpro_card,
  body.dre-pmpro-checkout-page #pmpro_user_fields.pmpro_section {
    padding-left:10px!important;
    padding-right:10px!important;
  }
  body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_card_content,
  body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_section_content,
  body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_card_content_inner,
  body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_form_fields,
  body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_form_field,
  body.dre-pmpro-checkout-page #pmpro_user_fields .pmpro_checkout-field {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding-left:0!important;
    padding-right:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
  body.dre-pmpro-checkout-page #pmpro_user_fields input[type=text],
  body.dre-pmpro-checkout-page #pmpro_user_fields input[type=email],
  body.dre-pmpro-checkout-page #pmpro_user_fields input[type=password],
  body.dre-pmpro-checkout-page #pmpro_user_fields input[type=tel],
  body.dre-pmpro-checkout-page #pmpro_user_fields select,
  body.dre-pmpro-checkout-page #pmpro_user_fields textarea {
    display:block;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
}

/* v1.7.97 — PMPro mobile inner content rail.
   The outer page containers were corrected in v1.7.94–96; this targets
   nested card content, text and fields, not the approved outer width.
   Applies to levels, checkout, confirmation and login only. */
@media (max-width:767px) {
  body:is(.dre-pmpro-levels-page,.dre-pmpro-checkout-page,.dre-pmpro-confirmation-page,.dre-pmpro-login-page)
  :is(.pmpro_card,.pmpro_section,.pmpro_checkout,.pmpro_confirmation_wrap,.pmpro_login_wrap,.dre-confirm-card) {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body:is(.dre-pmpro-levels-page,.dre-pmpro-checkout-page,.dre-pmpro-confirmation-page,.dre-pmpro-login-page)
  :is(.pmpro_card_content,.pmpro_card_content_inner,.pmpro_section_content,.pmpro_form_fields,.pmpro_form_field,.pmpro_checkout-field) {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
  body:is(.dre-pmpro-levels-page,.dre-pmpro-checkout-page,.dre-pmpro-confirmation-page,.dre-pmpro-login-page)
  :is(.pmpro_card_content,.pmpro_card_content_inner,.pmpro_section_content) {
    padding-left:10px!important;
    padding-right:10px!important;
  }
  body:is(.dre-pmpro-levels-page,.dre-pmpro-checkout-page,.dre-pmpro-confirmation-page,.dre-pmpro-login-page)
  :is(.pmpro_form_fields,.pmpro_form_field,.pmpro_checkout-field) {
    padding-left:0!important;
    padding-right:0!important;
  }
  body:is(.dre-pmpro-levels-page,.dre-pmpro-checkout-page,.dre-pmpro-confirmation-page,.dre-pmpro-login-page)
  :is(input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],select,textarea) {
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dre-pmpro-checkout-page :is(.pmpro_form_field,.pmpro_checkout-field)
  :is(input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],select,textarea),
  body.dre-pmpro-login-page .pmpro_form_field :is(input[type=text],input[type=email],input[type=password]) {
    width:100%!important;
  }
  body.dre-pmpro-levels-page .pmpro_levels_table,
  body.dre-pmpro-levels-page .pmpro_levels_table tbody,
  body.dre-pmpro-levels-page .pmpro_levels_table tr {
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dre-pmpro-levels-page .pmpro_levels_table tbody tr {
    padding-left:10px!important;
    padding-right:10px!important;
  }
  body.dre-pmpro-confirmation-page .dre-confirm-card {
    padding-left:12px!important;
    padding-right:12px!important;
  }
  body.dre-pmpro-levels-page .dre-free-account-intro {
    width:100%!important;
    max-width:100%!important;
    padding-left:6px!important;
    padding-right:6px!important;
    box-sizing:border-box!important;
  }
}

/* ==========================================================
   v1.7.100 — Dashboard-only compact My Results
   Keeps the results shortcode and full My Results page untouched.
========================================================== */
body.page-id-594 .dre-course-dashboard .dre-dashboard-results{
  padding:22px 24px 24px!important;
}
body.page-id-594 .dre-dashboard-results .dre-course-dashboard-section-head{
  margin-bottom:12px!important;
  align-items:center;
}
body.page-id-594 .dre-dashboard-results .dre-results-grid{
  display:grid!important;
  gap:8px!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-list-card.dre-learn-card{
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr) auto!important;
  align-items:center!important;
  column-gap:18px!important;
  row-gap:7px!important;
  min-height:0!important;
  padding:12px 16px!important;
  margin:0!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-heading-row{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
  min-width:0;
}
body.page-id-594 .dre-dashboard-results .dre-results-heading-row h2{
  font-size:16px!important;
  line-height:1.3!important;
  margin:2px 0 0!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-kicker{
  margin:0!important;
  font-size:12px!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-date{
  font-size:12px!important;
  margin:0!important;
  color:#737f88!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-list-summary{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:5px 16px!important;
  margin:0!important;
  min-width:0;
}
body.page-id-594 .dre-dashboard-results .dre-results-list-summary span{
  display:flex!important;
  flex-direction:column!important;
  gap:1px!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-list-summary small{
  font-size:11px!important;
  line-height:1.25!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-list-summary strong{
  font-size:15px!important;
  line-height:1.35!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin:0!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  padding:6px 11px!important;
  font-size:13px!important;
  line-height:1.2!important;
  white-space:nowrap;
}
@media(max-width:900px){
  body.page-id-594 .dre-dashboard-results .dre-results-list-card.dre-learn-card{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  body.page-id-594 .dre-dashboard-results .dre-results-heading-row{
    grid-column:1 / -1;
  }
  body.page-id-594 .dre-dashboard-results .dre-results-actions{
    grid-column:2;
  }
}
@media(max-width:600px){
  body.page-id-594 .dre-course-dashboard .dre-dashboard-results{
    padding:18px 14px 20px!important;
  }
  body.page-id-594 .dre-dashboard-results .dre-results-list-card.dre-learn-card{
    grid-template-columns:minmax(0,1fr)!important;
    padding:12px!important;
    gap:8px!important;
  }
  body.page-id-594 .dre-dashboard-results .dre-results-heading-row,
  body.page-id-594 .dre-dashboard-results .dre-results-actions{
    grid-column:1;
  }
  body.page-id-594 .dre-dashboard-results .dre-results-actions{
    justify-content:flex-start!important;
  }
  body.page-id-594 .dre-dashboard-results .dre-results-button{
    min-height:40px!important;
  }
}

/* v1.7.101 — Dashboard-only results as a compact, border-separated list.
   Keep DRE Tests markup, result destinations and retake actions intact. */
body.page-id-594 .dre-course-dashboard .dre-dashboard-results{padding:22px 26px!important;}
body.page-id-594 .dre-dashboard-results .dre-course-dashboard-section-head{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 8px!important;}
body.page-id-594 .dre-dashboard-results .dre-course-dashboard-section-head h2{margin:0!important;}
body.page-id-594 .dre-dashboard-results .dre-results-compact{max-width:none!important;}
body.page-id-594 .dre-dashboard-results .dre-results-component,
body.page-id-594 .dre-dashboard-results .dre-results-grid{background:transparent!important;border:0!important;box-shadow:none!important;}
body.page-id-594 .dre-dashboard-results .dre-results-grid{display:block!important;gap:0!important;}
body.page-id-594 .dre-dashboard-results .dre-results-list-card.dre-learn-card{
 display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) auto!important;
 align-items:center!important;gap:8px 18px!important;width:100%!important;
 padding:10px 0!important;margin:0!important;min-height:0!important;
 border:0!important;border-top:1px solid #dce3e8!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-heading-row{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;min-width:0!important;grid-column:auto!important;}
body.page-id-594 .dre-dashboard-results .dre-results-heading-row h2{font-size:15px!important;line-height:1.3!important;margin:0!important;}
body.page-id-594 .dre-dashboard-results .dre-results-kicker{font-size:11px!important;line-height:1.3!important;margin:0!important;}
body.page-id-594 .dre-dashboard-results .dre-results-date{font-size:11px!important;line-height:1.3!important;margin:0!important;}
body.page-id-594 .dre-dashboard-results .dre-results-list-summary{display:flex!important;flex-wrap:wrap!important;gap:4px 14px!important;align-items:center!important;margin:0!important;}
body.page-id-594 .dre-dashboard-results .dre-results-list-summary span{display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:5px!important;}
body.page-id-594 .dre-dashboard-results .dre-results-list-summary small{font-size:11px!important;}
body.page-id-594 .dre-dashboard-results .dre-results-list-summary strong{font-size:13px!important;}
body.page-id-594 .dre-dashboard-results .dre-results-actions{display:flex!important;grid-column:auto!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;margin:0!important;}
body.page-id-594 .dre-dashboard-results .dre-results-actions .dre-results-button{
 display:inline!important;min-height:0!important;height:auto!important;width:auto!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;
 color:#ED4DB4!important;font-size:12px!important;font-weight:700!important;
 line-height:1.5!important;text-decoration:underline!important;text-underline-offset:2px!important;
}
body.page-id-594 .dre-dashboard-results .dre-results-actions .dre-results-button-secondary{color:#4F535D!important;}
body.page-id-594 .dre-dashboard-results .dre-results-actions .dre-results-button:hover{text-decoration:none!important;}
@media(max-width:850px){
 body.page-id-594 .dre-dashboard-results .dre-results-list-card.dre-learn-card{grid-template-columns:minmax(0,1fr) auto!important;gap:5px 12px!important;}
 body.page-id-594 .dre-dashboard-results .dre-results-heading-row{grid-column:1 / -1!important;}
 body.page-id-594 .dre-dashboard-results .dre-results-actions{grid-column:2!important;grid-row:2!important;}
}
@media(max-width:600px){
 body.page-id-594 .dre-course-dashboard .dre-dashboard-results{padding:16px!important;}
 body.page-id-594 .dre-dashboard-results .dre-course-dashboard-section-head{flex-direction:row!important;align-items:center!important;}
 body.page-id-594 .dre-dashboard-results .dre-results-list-card.dre-learn-card{padding:10px 0!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;}
 body.page-id-594 .dre-dashboard-results .dre-results-heading-row{grid-column:1!important;}
 body.page-id-594 .dre-dashboard-results .dre-results-list-summary{grid-column:1!important;}
 body.page-id-594 .dre-dashboard-results .dre-results-actions{grid-column:1!important;grid-row:auto!important;justify-content:flex-start!important;}
}

/* v1.7.103 — Dashboard result rows: override the Level Test plugin's
   high-specificity site-content rules. Scope strictly to dashboard. */
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-grid{
 display:block!important;gap:0!important;margin:0!important;background:transparent!important;
}
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card.dre-learn-card{
 display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr) auto!important;
 gap:8px 14px!important;align-items:center!important;min-height:0!important;
 padding:10px 0!important;margin:0!important;border:0!important;
 border-top:1px solid #dce3e8!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;
}
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-heading-row{
 grid-column:1!important;grid-row:auto!important;display:flex!important;flex-direction:column!important;
 align-items:flex-start!important;gap:2px!important;margin:0!important;
}
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-heading-row h2{
 font-size:20px!important;line-height:1.3!important;margin:0!important;
}
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-list-summary{
 grid-column:2!important;grid-row:auto!important;align-self:center!important;
 display:flex!important;flex-wrap:wrap!important;gap:3px 12px!important;margin:0!important;
}
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-list-summary span{
 display:inline-flex!important;flex-direction:row!important;gap:5px!important;align-items:baseline!important;
}
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-list-summary small{font-size:16px!important;}
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-list-summary strong{font-size:18px!important;}
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-actions{
 grid-column:3!important;grid-row:auto!important;align-self:center!important;
 display:flex!important;flex-direction:row!important;justify-content:flex-end!important;
 align-items:center!important;flex-wrap:wrap!important;gap:12px!important;
 width:auto!important;margin:0!important;padding:0!important;
}
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-actions .dre-results-button,
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-actions .dre-results-button-secondary{
 display:inline!important;flex:0 0 auto!important;min-height:0!important;height:auto!important;
 width:auto!important;padding:0!important;margin:0!important;border:0!important;
 border-radius:0!important;background:transparent!important;box-shadow:none!important;
 color:#ED4DB4!important;-webkit-text-fill-color:#ED4DB4!important;
 font-size:17px!important;font-weight:600!important;line-height:1.4!important;
 text-decoration:underline!important;text-underline-offset:2px!important;
}
body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-actions .dre-results-button-secondary{
 color:#4F535D!important;-webkit-text-fill-color:#4F535D!important;
}
@media(max-width:900px){
 body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card.dre-learn-card{
  grid-template-columns:minmax(0,1fr) auto!important;gap:5px 12px!important;
 }
 body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-heading-row{grid-column:1 / -1!important;}
 body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-list-summary{grid-column:1!important;}
 body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-actions{grid-column:2!important;}
}
@media(max-width:600px){
 body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card.dre-learn-card{
  grid-template-columns:minmax(0,1fr)!important;gap:4px!important;padding:9px 0!important;
 }
 body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-heading-row,
 body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-list-summary,
 body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-actions{grid-column:1!important;grid-row:auto!important;justify-content:flex-start!important;}
}

/* v1.7.104 — Consistent dashboard results order and legible text.
   The test plugin emits score/result in different DOM orders by test type.
   CSS order keeps Score first, Result second without modifying plugin data. */
body.learn-site.page-id-594 .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-list-summary > span:has(.dre-results-score){order:0!important;}
body.learn-site.page-id-594 .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-list-summary > span:not(:has(.dre-results-score)){order:1!important;}
/* v1.7.106: Typography is set in the higher-specificity v1.7.103 rules above.
   Keep score/result ordering from v1.7.104; avoid conflicting font overrides. */
@media(max-width:600px){
 body.learn-site.page-id-594:not(.single-dre_flex_lesson) .site-content .dre-dashboard-results .dre-results-component.dre-results-index .dre-results-list-card .dre-results-heading-row h2{font-size:19px!important;}
}
/* ==========================================================
   ALL COURSES PAGE — HIDE EMPTY SELF-STUDY GRID
========================================================== */

/* Hide empty self-study course message */
.drefl-courses-page-content .drefl-all-courses-grid > p:only-child {
    display: none !important;
}
