.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; }

/* ===== Login flow: reset-request + set-new-password pages ===== */

/* 1. Make the reset-request confirmation readable on the indigo background */
body:has(#mepro-login-hero) .mepr_password_reset_requested,
body:has(#mepro-login-hero) .mepr_password_reset_requested h1,
body:has(#mepro-login-hero) .mepr_password_reset_requested h2,
body:has(#mepro-login-hero) .mepr_password_reset_requested h3,
body:has(#mepro-login-hero) .mepr_password_reset_requested p,
body:has(#mepro-login-hero) .mepr_password_reset_requested a{
	color:#ffffff !important;
}
body:has(#mepro-login-hero) .mepr_password_reset_requested a{ text-decoration:underline !important; }

/* 2. Inputs on the forgot / set-new-password forms — match the login inputs */
#mepr-template-login input[type="text"],
#mepr-template-login input[type="email"],
#mepr-template-login 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;
}

/* 3. Submit buttons on those forms — indigo, like the login button */
#mepr-template-login #wp-submit,
#mepr-template-login input[type="submit"],
#mepr-template-login button[type="submit"],
#mepr-template-login .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-template-login #wp-submit:hover,
#mepr-template-login input[type="submit"]:hover,
#mepr-template-login button[type="submit"]:hover,
#mepr-template-login .button-primary:hover{
	background:#4F46E5 !important;
	border-color:#4F46E5 !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; }

/* Head Office tab icon — building */
.mepr-nav-item a[href*="action=rr_head_office"]{
	display:flex;
	align-items:center;
}
.mepr-nav-item a[href*="action=rr_head_office"]::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='M6%2022V4a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202v18Z'/%3E%3Cpath%20d='M6%2012H4a2%202%200%200%200-2%202v6a2%202%200%200%200%202%202h2'/%3E%3Cpath%20d='M18%209h2a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202h-2'/%3E%3Cpath%20d='M10%206h4'/%3E%3Cpath%20d='M10%2010h4'/%3E%3Cpath%20d='M10%2014h4'/%3E%3Cpath%20d='M10%2018h4'/%3E%3C/svg%3E") !important;
}

/* RR - Online Courses category filter pill-nav */
html{ overflow-y:scroll; }

.rr-cat-nav{ font-family:"Aptos", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; width:100%; max-width:100%; box-sizing:border-box; padding:28px 0 4px; }
.rr-cat-nav-label{ max-width:1240px; margin:0 auto 10px; padding:0 48px; box-sizing:border-box; font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:#8A93A3; }
.rr-cat-nav-wrap{ max-width:1240px; margin:0 auto; padding:0 48px 6px; box-sizing:border-box; display:flex; flex-wrap:nowrap; gap:8px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.rr-cat-nav-wrap::-webkit-scrollbar{ height:4px; }
.rr-cat-nav-wrap::-webkit-scrollbar-thumb{ background:#E7EBEF; border-radius:4px; }
.rr-cat-pill{ display:inline-flex; align-items:center; flex:0 0 auto; padding:8px 16px; border-radius:999px; background:#fff; color:#4B5568; font-size:13.5px; font-weight:600; text-decoration:none !important; border:1px solid #E7EBEF; white-space:nowrap; transition:.15s; }
.rr-cat-pill:hover{ border-color:#0F172A; color:#0F172A; }
.rr-cat-pill.is-active{ background:#0F172A; color:#fff; border-color:#0F172A; }
@media (max-width:640px){
  .rr-cat-nav{ padding:20px 0 4px; }
  .rr-cat-nav-label{ padding:0 28px; }
  .rr-cat-nav-wrap{ padding:0 28px 6px; }
  .rr-cat-pill{ padding:7px 14px; font-size:13px; }
}


/* RR - Course card styling to match staging design */
.rr-course-hub .mpcs-cards{ display:flex; flex-wrap:wrap; gap:28px; justify-content:flex-start; }
.rr-course-hub .mpcs-card-wrapper{ width:calc(25% - 21px) !important; padding:0 !important; margin:0 !important; }
.rr-course-hub .mpcs-card{ background:#fff; transition:box-shadow .2s, transform .2s; height:100%; display:flex; flex-direction:column; border:1px solid #E7EBEF !important; border-radius:14px !important; box-shadow:0 4px 16px rgba(48,55,66,.06) !important; overflow:hidden !important; }
.rr-course-hub .mpcs-card:hover{ box-shadow:0 16px 40px rgba(15,23,42,.14) !important; transform:translateY(-3px); }
.rr-course-hub .mpcs-card-thumb{ background:#F4F6F8; }
.rr-course-hub .mpcs-card-thumb img{ width:100% !important; height:180px !important; object-fit:cover !important; display:block !important; }
.rr-course-hub .mpcs-card-title{ padding:20px 22px 0; }
.rr-course-hub .mpcs-card-title a.mpcs-card-link{ letter-spacing:-.2px; color:#0F172A !important; font-weight:600 !important; font-size:18px !important; text-decoration:none !important; }
.rr-course-hub .mpcs-card-title a.mpcs-card-link:hover{ color:#4F46E5 !important; }
.rr-course-hub .mpcs-card-content{ padding:8px 22px 18px !important; flex:1 1 0% !important; font-size:14.5px !important; }
.rr-course-hub .mpcs-card-content p{ color:#5A6B7B; font-size:14.5px; line-height:1.6; margin:0; }
.rr-course-hub .mpcs-card-footer{ padding:0 22px 20px !important; border-top:none !important; }
.rr-course-hub .mpcs-card-footer .mpcs-card-author{ display:none; }
@media (max-width:1300px){
  .rr-course-hub .mpcs-card-wrapper{ width:calc(33.333% - 19px) !important; }
}
@media (max-width:1100px){
  .rr-course-hub .mpcs-card-wrapper{ width:calc(50% - 14px) !important; }
}
@media (max-width:640px){
  .rr-course-hub .mpcs-card-wrapper{ width:100% !important; }
  .rr-course-hub .mpcs-cards{ gap:20px; }
}

/* RR - Compact course card sizing override */
.rr-course-hub .mpcs-card-title{ padding:14px 16px 0 !important; }
.rr-course-hub .mpcs-card-title a.mpcs-card-link{ font-size:16px !important; }
.rr-course-hub .mpcs-card-content{ padding:6px 16px 12px !important; }
.rr-course-hub .mpcs-card-content p{ font-size:13.5px !important; line-height:1.5 !important; }
.rr-course-hub .mpcs-card-footer{ padding:0 16px 14px !important; }


/* RR - Consistent card-grid centering across hub + category pages */
.rr-course-hub .mpcs-cards{ max-width:1240px !important; margin:0 auto !important; padding:0 48px !important; box-sizing:border-box !important; }
.elementor-element-13dcbc26.e-con{ padding:0 !important; }
@media (max-width:640px){
  .rr-course-hub .mpcs-cards{ padding:0 28px !important; }
}


/* RR - Team pricing banner above category pills */
.rr-team-banner{ background:#0F172A; color:#fff; text-align:center; padding:18px 0 15px; font-family:"Aptos", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
.rr-team-banner-inner{ max-width:1240px; margin:0 auto; padding:0 48px; display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap; box-sizing:border-box; }
.rr-team-banner-text{ font-size:16px; font-weight:600; color:#fff; letter-spacing:-.1px; line-height:1.4; }
.rr-team-banner-text strong{ color:#fff; font-weight:700; }
.rr-team-banner-cta{ display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:600; color:#fff !important; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.35); padding:7px 14px; border-radius:6px; text-decoration:none !important; white-space:nowrap; transition:.15s; }
.rr-team-banner-cta:hover{ background:#fff; color:#0F172A !important; border-color:#fff; }
.rr-team-banner-note{ max-width:1240px; margin:6px auto 0; padding:0 48px; font-size:12px; color:rgba(255,255,255,.55); text-align:center; box-sizing:border-box; }
@media (max-width:640px){
  .rr-team-banner{ padding:16px 0 13px; }
  .rr-team-banner-inner{ padding:0 28px; flex-direction:column; gap:10px; }
  .rr-team-banner-text{ font-size:15px; }
  .rr-team-banner-note{ padding:0 28px; }
}


/* Kiwi Property proposal page (5090): let section backgrounds run edge to edge */
.page-id-5090 section,
.page-id-5090 header.hero,
.page-id-5090 footer,
.page-id-5090 .nav{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}
.page-id-5090{overflow-x:clip;}

/* Kiwi Property proposal: keep inline SVG icons white (theme forces fill on svg) */
.page-id-5090 svg[fill="none"],.page-id-5090 svg[fill="none"] *{fill:none !important;}
.page-id-5090 .ad-item h3 span svg,.page-id-5090 .ad-item h3 span svg *,.page-id-5090 .ad-callout svg,.page-id-5090 .ad-callout svg *{stroke:#fff !important;}
