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

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:#22384b;
  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:#22384b !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:#22384b!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:#22384b;
  --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:#22384b;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:#213d52!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:#66747e!important;
    -webkit-text-fill-color:#66747e!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:#66747e!important;
    -webkit-text-fill-color:#66747e!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:#213d52!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:#213d52!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:#213d52!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:#213d52!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:#213d52!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:#213d52!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;}
body.page-id-594 .dre-dashboard-courses-button{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:10px;background:#006fd6;color:#fff!important;text-decoration:none;font-weight:800;line-height:1.2;}
body.page-id-594 .dre-dashboard-courses-button:hover,body.page-id-594 .dre-dashboard-courses-button:focus-visible{background:#213d52;color:#fff!important;}

/* =========================================================
   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;
}
