/* Pages that keep their own content under the new header: tidy login box (Tutor) */
.tutor-login-wrap.tutor-card{max-width:520px;margin:40px auto!important;padding:10px 0 16px!important;border:1px solid #f1e6ec!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(40,30,80,.08)!important;background:#fff;font-family:Prompt,Inter,system-ui,sans-serif}
.tutor-login-wrap .tutor-login-form-wrapper{padding:22px 26px 10px!important}
.tutor-login-wrap .tutor-h3{font-size:24px;font-weight:700;letter-spacing:-.02em;color:#16213e;margin:0 0 22px!important}
.tutor-login-wrap .tutor-input-field{margin-bottom:16px!important}
.tutor-login-wrap .tutor-form-control{width:100%;height:48px;padding:0 14px;border:1px solid #e3d5dd!important;border-radius:12px!important;background:#fff!important;font-size:15px;box-sizing:border-box}
.tutor-login-wrap .tutor-form-control:focus{border-color:#ff2c78!important;outline:0;box-shadow:0 0 0 3px rgba(255,44,120,.12)}
.tutor-login-wrap form>.tutor-flex.tutor-justify-between{margin-top:4px!important;gap:12px;flex-wrap:wrap}
.tutor-login-wrap .tutor-label{font-size:14px;color:#3a4256;margin:0}
.tutor-login-wrap a.tutor-btn-link-gray,.tutor-login-wrap a.tutor-btn-link{color:#ff2c78!important;font-weight:600;text-decoration:none}
.tutor-login-wrap a.tutor-btn-link-gray:hover,.tutor-login-wrap a.tutor-btn-link:hover{text-decoration:underline}
.tutor-login-wrap .tutor-btn-primary.tutor-btn-block{width:100%;height:50px;border:0!important;border-radius:12px!important;background:#ff2c78!important;color:#fff!important;font-size:16px;font-weight:700;margin-top:24px!important;cursor:pointer}
.tutor-login-wrap .tutor-btn-primary.tutor-btn-block:hover{background:#e0206a!important}
.tutor-login-wrap form>.tutor-flex.tutor-justify-center{margin-top:18px!important;font-size:14px}
.tutor-login-wrap>.tutor-border-top-light{margin:10px 26px 0;padding:22px 0 8px!important;border-top:1px solid #f1e6ec!important;align-items:center}
.tutor-login-wrap>.tutor-border-top-light>div{max-width:100%}
@media(max-width:560px){.tutor-login-wrap.tutor-card{margin:24px 16px!important}.tutor-login-wrap .tutor-login-form-wrapper{padding:18px 18px 8px!important}.tutor-login-wrap>.tutor-border-top-light{margin:8px 18px 0}}

/* breadcrumb and title get more room under the header; the sticky header sits below the WordPress admin bar when signed in */
.cth .co-hero .ca-hero-in{padding-top:44px}
body.admin-bar .cth .header{top:32px}
@media(max-width:782px){body.admin-bar .cth .header{top:46px}}
@media(max-width:620px){.cth .co-hero .ca-hero-in{padding-top:32px}}

/* theme styles stay on these pages: keep the footer text light on the dark background */
.cth .footer-cta h2,.cth .footer-cta h2 *,.cth .footer-cta p{color:#fff!important}
.cth .footer-cta p{opacity:.85}
.cth .footer-new h3,.cth .footer-new h3 *,.cth .footer-new h4,.cth .footer-new h4 *{color:#fff!important}
.cth .footer-new,.cth .footer-new p,.cth .footer-new a,.cth .footer-new small,.cth .footer-new li{color:inherit}
.cth .footer-new .copyright{color:#b9c0cc!important}
.cth .footer-new p,.cth .footer-new a,.cth .footer-new small,.cth .footer-new li{color:#d0d5df!important}
.cth .footer-new a:hover{color:#ff82ac!important}
.cth .footer-new .footer-cols small{color:#8a93a3!important}
.cth .cta-inner a{color:#16213e!important}

/* Tutor dashboard: always light, and the site's pink instead of Tutor blue */
:root,[data-tutor-theme],.tutor-dashboard,.tutor-wrap{color-scheme:light;
--tutor-brand-50:#fff0f6!important;--tutor-brand-100:#ffe3ee!important;--tutor-brand-200:#ffc2da!important;--tutor-brand-300:#ff94bd!important;--tutor-brand-400:#ff5c97!important;--tutor-brand-500:#ff2c78!important;--tutor-brand-600:#ff2c78!important;--tutor-brand-700:#e0206a!important;--tutor-brand-800:#b8185a!important;--tutor-brand-900:#8e1347!important;--tutor-brand-950:#5e0c2f!important}

/* the dashboard's own sidebar logo repeats the site logo in the header: hide it but keep its space so the top bars stay aligned */
a.tutor-dashboard-sidebar-logo{visibility:hidden;pointer-events:none}

/* dashboard menu in a card (the script above adds the class) */
.cth-side-card{background:#fff!important;border:1px solid #f1e6ec!important;border-radius:16px!important;box-shadow:0 8px 28px rgba(40,30,80,.07)!important;overflow:hidden}



/* dashboard: the left menu is a framed card beside the content, not a full-height strip */
.tutor-dashboard-layout{padding:24px 24px 40px!important;gap:24px!important;align-items:start!important}
.tutor-dashboard-layout>.tutor-dashboard-sidebar{background:#fff!important;border:1px solid #f1e6ec!important;border-radius:16px!important;box-shadow:0 8px 28px rgba(40,30,80,.07)!important;overflow:hidden;align-self:start!important;height:auto!important;min-height:0!important;position:sticky!important;top:90px!important;padding-bottom:12px}
.tutor-dashboard-layout>.tutor-dashboard-sidebar a.tutor-dashboard-sidebar-logo{display:none!important}
body.admin-bar .tutor-dashboard-layout>.tutor-dashboard-sidebar{top:122px!important}

/* dashboard: menu card and content sit together inside the same centred width as the rest of the site */
.tutor-dashboard-layout{max-width:1240px!important;margin-left:auto!important;margin-right:auto!important;grid-template-columns:272px minmax(0,1fr)!important;box-sizing:border-box}
@media(max-width:900px){.tutor-dashboard-layout{grid-template-columns:minmax(0,1fr)!important}.tutor-dashboard-layout>.tutor-dashboard-sidebar{position:static!important}}

/* dashboard content fills the space next to the menu card (Tutor centres it in a 944px box on wide screens) */
html body .tutor-dashboard-layout .tutor-dashboard-page{max-width:none!important;margin-left:0!important;margin-right:0!important;padding-inline:0!important}
html body .tutor-dashboard-layout .tutor-dashboard-header-inner{max-width:none!important;margin-left:0!important;margin-right:0!important}

/* same width and side padding as the page header above (1180px box, 24px inside) so the menu card lines up with the logo and title */
html body .tutor-dashboard-layout{max-width:1180px!important;padding-left:24px!important;padding-right:24px!important}

/* notifications: the bell shows its own icon and the list slides in from the right when the bell is pressed (Tutor's side-drawer styles are not loaded here) */
html body #tutor-notifications-wrapper>button.btn-offcanvas-open{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#fff0f6;border:0;cursor:pointer;padding:0}
html body #tutor-notifications-wrapper>button.btn-offcanvas-open:before{content:"";display:block;width:22px;height:22px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff2c78' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9'/><path d='M13.7 21a2 2 0 0 1-3.4 0'/></svg>") center/contain no-repeat}
html body #tutor-notifications-wrapper>button.btn-offcanvas-open:hover{background:#ffe3ee}
html body #tutor-notifications-wrapper .tutor-offcanvas{position:fixed!important;top:0!important;right:0!important;left:auto!important;bottom:auto!important;height:100vh!important;width:min(420px,92vw)!important;max-width:none!important;background:#fff!important;z-index:100001!important;transform:translateX(105%);visibility:hidden;transition:transform .25s ease,visibility .25s;box-shadow:-12px 0 40px rgba(0,0,0,.18);overflow-y:auto;display:block!important;padding-top:8px}
html body #tutor-notifications-wrapper .tutor-offcanvas.cth-open{transform:none;visibility:visible}
.cth-backdrop{position:fixed;inset:0;background:rgba(20,24,40,.45);z-index:100000;opacity:0;pointer-events:none;transition:opacity .2s}
.cth-backdrop.on{opacity:1;pointer-events:auto}
.cth-drawer-x{position:absolute;top:10px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:#fff0f6;color:#ff2c78;font-size:22px;line-height:1;cursor:pointer;z-index:2}
html body #tutor-notifications-wrapper .tutor-notification-element-empty{height:auto!important;min-height:60vh}

/* the menu card keeps following the reader: no ancestor may clip (overflow:hidden would stop "sticky"), sideways overflow is cut with "clip" instead */
html body .tutor-dashboard-layout,html body .tutor-dashboard-main{overflow:visible!important}
html,html body,html body #page,html body .site,html body #content,html body .site-content{overflow-x:clip!important;overflow-y:visible!important}
html body .tutor-dashboard-layout>.tutor-dashboard-sidebar{position:sticky!important;align-self:start!important}
