.course-author{
  display: none !important;
}

/* Course overview: show all lessons under each topic without clicking */
.single-mpcs-course.mpcs-course-with-accordion #mpcs-main .mpcs-lessons {
  display: block !important;
}

/* Optional: make the arrow show "expanded" (up) for all topics */
.single-mpcs-course.mpcs-course-with-accordion #mpcs-main .mpcs-section-header:after {
  border-bottom: 6px solid #666;
  border-top: none;
}

.mpcs-sidebar-with-accordion #mpcs-sidebar .mpcs-lessons {
  display: block !important;
}
.mpcs-sidebar-with-accordion #mpcs-sidebar .mpcs-section-header:after {
  border-bottom: 6px solid #666;
  border-top: none;
}

.mpcs-lesson-template-default #jp-relatedposts{
  display: none !important;
}

.mpcs-lesson-template-default #jp-relatedposts{
  display: none !important;
}

/* Fix MemberPress registration page conflict */
#page.app-layout {
    height: auto !important;
    overflow-y: visible !important;
}
#primary.site-main {
    height: auto !important;
}
/* Account tab icons — pinned by current slug, all self-contained */
.mepr-nav-item a[href*="action=tab0"],
.mepr-nav-item a[href*="action=tab1"],
.mepr-nav-item a[href*="action=tab2"]{
	display:flex;
	align-items:center;
}
.mepr-nav-item a[href*="action=tab0"]::before,
.mepr-nav-item a[href*="action=tab1"]::before,
.mepr-nav-item a[href*="action=tab2"]::before{
	content:"";
	display:block;
	width:16px;
	height:16px;
	margin:0 10px 0 0;
	background-size:contain;
	background-repeat:no-repeat;
	background-position:50% 50%;
}
/* Webinars (tab0) — calendar */
.mepr-nav-item a[href*="action=tab0"]::before{
	background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23ffffff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='4'%20width='18'%20height='18'%20rx='2'%20ry='2'/%3E%3Cline%20x1='16'%20y1='2'%20x2='16'%20y2='6'/%3E%3Cline%20x1='8'%20y1='2'%20x2='8'%20y2='6'/%3E%3Cline%20x1='3'%20y1='10'%20x2='21'%20y2='10'/%3E%3C/svg%3E") !important;
}
/* Previous Webinars (tab1) — play */
.mepr-nav-item a[href*="action=tab1"]::before{
	background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23ffffff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='10'/%3E%3Cpolygon%20points='10%208%2016%2012%2010%2016%2010%208'/%3E%3C/svg%3E") !important;
}
/* Support tab icon — headphones (now links to /faqs/) */
.mepr-nav-item a[href*="/faqs"]{
	display:flex;
	align-items:center;
}
.mepr-nav-item a[href*="/faqs"]::before{
	content:"";
	display:block;
	width:16px;
	height:16px;
	margin:0 10px 0 0;
	background-size:contain;
	background-repeat:no-repeat;
	background-position:50% 50%;
	background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23ffffff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2014h3a2%202%200%200%201%202%202v3a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-7a9%209%200%200%201%2018%200v7a2%202%200%200%201-2%202h-1a2%202%200%200%201-2-2v-3a2%202%200%200%201%202-2h3'/%3E%3C/svg%3E") !important;
}
/* Re-lock ONLY the logged-in account dashboard (desktop) */
.site-header.account-header{
	position: sticky;
	top: 0;
	z-index: 9999;
}
@media (min-width: 992px){
	html:has(.mepr-account-container),
	body:has(.mepr-account-container){
		height: 100vh;
		overflow: hidden;
	}
	.mepr-account-container{
		height: calc(100vh - 74px) !important;
	}
}
/* ===== ResponseRise login page — Midnight indigo + glow ===== */

/* Full-page slate with a soft (dimmed) indigo glow */
body:has(#mepro-login-hero){
	background-color:#0F172A !important;
	background-image:radial-gradient(circle at 50% 32%, rgba(99,102,241,0.26) 0%, rgba(99,102,241,0.10) 30%, rgba(99,102,241,0.03) 50%, rgba(15,23,42,0) 70%) !important;
	background-repeat:no-repeat !important;
	background-attachment:fixed !important;
}

/* ===== ResponseRise login page — Midnight indigo + glow ===== */

/* Full-page slate with a soft (dimmed) indigo glow */
body:has(#mepro-login-hero){
	background-color:#0F172A !important;
	background-image:radial-gradient(circle at 50% 32%, rgba(99,102,241,0.26) 0%, rgba(99,102,241,0.10) 30%, rgba(99,102,241,0.03) 50%, rgba(15,23,42,0) 70%) !important;
	background-repeat:no-repeat !important;
	background-attachment:fixed !important;
}

/* Make the login wrappers transparent and strip leftover borders/shadows */
#mepro-login-hero,
.mepro-boxed,
.mepro-login-contents{
	background:transparent !important;
	border:none !important;
	box-shadow:none !important;
}

/* Blend the top logo bar into the page */
body:has(#mepro-login-hero) header,
body:has(#mepro-login-hero) #masthead,
body:has(#mepro-login-hero) .site-header,
body:has(#mepro-login-hero) .mepro-login-header,
body:has(#mepro-login-hero) #mepro-login-header{
	background:transparent !important;
}

/* The login card */
#mepr-template-login{
	background:#ffffff !important;
	max-width:380px !important;
	margin:0 auto !important;
	padding:32px !important;
	border-radius:14px !important;
	box-shadow:0 18px 50px rgba(99,102,241,0.20) !important;
}

/* Heading */
#mepr_loginform h1{ color:#0F172A !important; font-weight:600 !important; }

/* Inputs — static grey border, no change on focus */
#mepr_loginform input[type="text"],
#mepr_loginform input[type="password"]{
	border:1px solid #CBD5E1 !important;
	border-radius:8px !important;
	padding:12px 14px !important;
	background:#ffffff !important;
	outline:none !important;
	box-shadow:none !important;
}

/* Primary button — indigo */
#mepr_loginform #wp-submit,
#mepr_loginform .button-primary{
	background:#6366F1 !important;
	border:1px solid #6366F1 !important;
	color:#ffffff !important;
	border-radius:8px !important;
	padding:12px !important;
	font-weight:500 !important;
	width:100% !important;
}
#mepr_loginform #wp-submit:hover,
#mepr_loginform .button-primary:hover{
	background:#4F46E5 !important;
	border-color:#4F46E5 !important;
}

/* Forgot password link — indigo */
.mepr-login-actions a{ color:#4F46E5 !important; font-weight:500 !important; }

/* ===== ResponseRise account dashboard — Midnight (indigo) ===== */

/* Side menu — dark slate */
#mepr-account-nav{ background:#0F172A !important; }

/* Menu items — hover (white text) + active accent */
#mepr-account-nav .mepr-nav-item a{ border-left:3px solid transparent !important; }
#mepr-account-nav .mepr-nav-item a:hover{ background:#1E293B !important; color:#ffffff !important; }
#mepr-account-nav.mepr-nav .mepr-nav-item.--active a,
#mepr-account-nav.mepr-nav .mepr-nav-item.mepr-active-nav-tab a,
#mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a{ border-left:3px solid #6366F1 !important; }

/* "My Team" tab — show active when on the sub-accounts page */
body:has(.mepr-manage_sub_accounts-wrapper) #mepr-account-nav .mepr-my-team a{
	background:#385168 !important;
	color:#ffffff !important;
	border-left:3px solid #6366F1 !important;
}

/* Content workspace — white (so the grey cards keep their gaps) */
.mepr-account-container .mp_wrapper{ background:#ffffff !important; }

/* Sub-account search box — static grey border, no change on focus/hover */
#mpca_sub_account_search{
	border:1px solid #CBD5E1 !important;
	border-radius:8px !important;
	outline:none !important;
	box-shadow:none !important;
}

/* Buttons — indigo */
.mepr-account-container .btn-orange,
.mepr-account-container .btn.btn-orange{
	background:#6366F1 !important;
	border-color:#6366F1 !important;
	color:#ffffff !important;
}
.mepr-account-container .btn-orange:hover{
	background:#4F46E5 !important;
	border-color:#4F46E5 !important;
}
/* Course buttons (Start Next Lesson etc.) — white text on the indigo button */
.btn-green,
.btn-green span,
.mpcs-classroom a.btn-green,
.mpcs-classroom a.btn-green span{
	color:#ffffff !important;
}
/* ===== Webinar registration posts — on-brand styling ===== */
body.rr-webinar-post{ background:#F4F6F8 !important; }

body.rr-webinar-post,
body.rr-webinar-post p,
body.rr-webinar-post li,
body.rr-webinar-post .entry-content{
	font-family:"Aptos",-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif !important;
}
body.rr-webinar-post p,
body.rr-webinar-post li{ color:#203345 !important; }

body.rr-webinar-post h1,
body.rr-webinar-post h2,
body.rr-webinar-post h3,
body.rr-webinar-post h4{
	font-family:"Aptos",-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif !important;
	color:#0F172A !important;
}

/* "Register" button → indigo */
body.rr-webinar-post .wp-block-button__link{
	background:#6366F1 !important;
	color:#ffffff !important;
	border-radius:6px !important;
}
body.rr-webinar-post .wp-block-button__link:hover{
	background:#4F46E5 !important;
}
/* Webinar post top bar */
.rr-webinar-topbar{
	display:flex;
	align-items:center;
	justify-content:space-between;
	background:#0F172A;
	padding:12px 24px;
}
.rr-topbar-back{
	display:inline-flex;
	align-items:center;
	gap:8px;
	color:#CBD5E1 !important;
	text-decoration:none !important;
	font-family:"Aptos",-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;
	font-size:15px;
	font-weight:500;
	border:1px solid rgba(255,255,255,0.18);
	border-radius:6px;
	padding:7px 14px;
}
.rr-topbar-back:hover{ background:rgba(255,255,255,0.08); color:#ffffff !important; }
.rr-topbar-logo{
	font-family:"Aptos",-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;
	color:#ffffff;
	font-size:20px;
	font-weight:500;
	letter-spacing:-0.5px;
}
.rr-topbar-logo .rr-dot{ color:#6366F1; }
.rr-topbar-logo .rr-rise{ font-weight:400; letter-spacing:3px; }