/**
 * Futuready login styles.
 *
 * Keep this file limited to the custom login page until the public LMS
 * stylesheet loading and LearnPress selectors are settled separately.
 */

:root {
    --futuready-purple: #2a0550;
    --futuready-purple-hover: #3b0870;
    --futuready-module-colour: var(--futuready-purple);
    --futuready-module-soft: #f9f9f9;
    --futuready-module-ink: #ffffff;
}

/* Temporary spacing test: components provide their own paragraph spacing. */
.elementor-kit-9 p {
	margin-block-end: 0;
}

/* Light module backgrounds use purple text. */
body.futuready-module-finance-money,
body.futuready-module-academic-essentials,
body.futuready-module-do-it-yourself,
body.futuready-module-the-outside-world,
body.futuready-module-business-pathways,
body.futuready-module-practical-living {
    --futuready-module-ink: #2A0550;
}

body.futuready-module-finance-money {
    --futuready-module-colour: #D8FDC8;
    --futuready-module-soft: #D8FDC8;
}

body.futuready-module-academic-essentials {
    --futuready-module-colour: #CFD8DF;
    --futuready-module-soft: #CFD8DF;
}

body.futuready-module-do-it-yourself {
    --futuready-module-colour: #FFF8BD;
    --futuready-module-soft: #FFF8BD;
}

body.futuready-module-the-outside-world {
    --futuready-module-colour: #C0F0F7;
    --futuready-module-soft: #C0F0F7;
}

body.futuready-module-business-pathways {
    --futuready-module-colour: #FBC3C5;
    --futuready-module-soft: #FBC3C5;
}

body.futuready-module-practical-living {
    --futuready-module-colour: #FCC288;
    --futuready-module-soft: #FCC288;
}

/* Dark module backgrounds use white text. */
body.futuready-module-growing-you {
    --futuready-module-colour: #58BDCB;
    --futuready-module-soft: #58BDCB;
    --futuready-module-ink: #ffffff;
}

body.futuready-module-life-experiences {
    --futuready-module-colour: #7F6465;
    --futuready-module-soft: #7F6465;
    --futuready-module-ink: #ffffff;
}

body.futuready-module-property-ladder {
    --futuready-module-colour: #75BD5C;
    --futuready-module-soft: #75BD5C;
    --futuready-module-ink: #ffffff;
}

body.futuready-login-page {
    min-height: 100vh;
    margin: 0;
    background: #f9f9f9;
    color: var(--futuready-purple);
    font-family: "Bricolage Grotesque", sans-serif;
}

.futuready-login {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
	padding: 0;
    box-sizing: border-box;
}

body.futuready-login-page .futuready-login::before {
    content: none;
    display: none;
}

.futuready-login__animated-bg {
    position: fixed;
	inset: 0;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.futuready-login__animated-bg svg {
	display: block;
	width: 100%;
	height: 100%;
	transform: scale(1.1);
	transform-origin: center;
}

.futuready-login__static-bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.futuready-login-page .futuready-login > *:not(.futuready-login__animated-bg) {
    position: relative;
    z-index: 1;
}

.futuready-login__panel {
    width: 35%;
    min-width: 380px;
    max-width: 520px;
    padding: 5%;
    border: 2px solid #fff;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.6);
    box-sizing: border-box;
}

.futuready-login__brand {
    margin-bottom: 1.75rem;
    text-align: center;
}

.futuready-login__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.futuready-login__logo {
    display: block;
    width: min(100%, 246px);
    height: auto;
    margin: 0 auto 8px;
}

.futuready-login__brand p {
    margin: 0;
    color: var(--futuready-purple);
    font-size: 18px;
}

.futuready-login__message {
    margin-bottom: 1rem;
    padding: 10px;
    border: 1px solid rgba(42, 5, 80, 0.2);
    border-radius: 6px;
    background: rgba(42, 5, 80, 0.06);
    color: var(--futuready-purple);
    text-align: center;
    font-weight: 600;
}

.futuready-login__message--error {
    border-color: rgba(170, 35, 35, 0.3);
    background: rgba(170, 35, 35, 0.08);
    color: #7f1515;
}

.futuready-login__form label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--futuready-purple);
    font-weight: 700;
}

.futuready-login__form input[type="text"],
.futuready-login__form input[type="password"] {
    width: 100%;
    min-height: 0;
    margin-bottom: 1rem;
    padding: 10px;
    border: 2px solid #fff;
    border-radius: 8px;
    background: #fff;
    color: var(--futuready-purple);
    font: inherit;
    box-sizing: border-box;
}

.futuready-login__password {
    position: relative;
}

.futuready-login__password input {
    padding-right: 92px;
}

body.futuready-login-page .futuready-login .futuready-login__toggle,
body.futuready-login-page .futuready-login .futuready-login__submit {
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--futuready-purple) !important;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: none !important;
    text-decoration: none !important;
}

body.futuready-login-page .futuready-login .futuready-login__toggle {
    position: absolute;
    top: 6px;
    right: 8px;
    min-height: 34px;
    padding: 0 15px;
    font-size: 14px;
    line-height: 1;
}

body.futuready-login-page .futuready-login .futuready-login__submit {
    display: block;
    width: auto;
    min-height: 0;
    margin: 0 auto;
    padding: 10px 22px;
    border: 0 !important;
    background: var(--futuready-purple) !important;
    color: #fff !important;
    line-height: 1.2 !important;
}

body.futuready-login-page .futuready-login .futuready-login__submit:hover,
body.futuready-login-page .futuready-login .futuready-login__submit:focus,
body.futuready-login-page .futuready-login .futuready-login__toggle:hover,
body.futuready-login-page .futuready-login .futuready-login__toggle:focus {
    background: var(--futuready-purple-hover) !important;
    color: #fff !important;
    border-color: #fff !important;
    outline: none !important;
}

@keyframes futuready-bg-reveal {
    to {
        clip-path: inset(0 0 0 0);
    }
}

@media (max-width: 1024px) {
    .futuready-login__panel {
        width: min(100%, 520px);
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .futuready-login {
        padding: 24px;
    }

    .futuready-login__animated-bg {
        inset: 12px;
    }

    .futuready-login__panel {
        width: 100%;
        padding: 32px 24px;
        border-radius: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .futuready-login__animated-bg {
        animation: none;
    }
}

/**
 * LearnPress curriculum item icons.
 *
 * Elementor already loads Font Awesome on this site, so these replacements
 * do not need additional image assets.
 */
.course-curriculum .course-item-ico,
.lp-course-curriculum .course-item-ico {
    position: relative;
    width: 1.5em;
    min-width: 1.5em;
    height: 1.5em;
    background: none !important;
    color: var(--futuready-purple) !important;
    font-size: 1.1rem;
    line-height: 1;
}

.course-curriculum .course-item-ico::before,
.lp-course-curriculum .course-item-ico::before {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 1em;
    line-height: 1.5;
    text-align: center;
}

/* Lesson: video camera. */
.course-curriculum .course-item-ico.lp_lesson::before,
.lp-course-curriculum .course-item-ico.lp_lesson::before {
    content: "\f03d";
}

/* Quiz: puzzle piece. */
.course-curriculum .course-item-ico.lp_quiz::before,
.lp-course-curriculum .course-item-ico.lp_quiz::before {
    content: "\f12e";
}

.lp-course-curriculum .course-section .course-item-ico.lp_lesson::before,
.lp-course-curriculum .course-section .course-item-ico.lp_quiz::before {
    content: "\f03d" !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif !important;
    font-weight: 900 !important;
}

.lp-course-curriculum .course-section .course-item-ico.lp_quiz::before {
    content: "\f12e" !important;
}

.course-curriculum .course-item-ico.lp_lesson::before,
.course-curriculum .course-item-ico.lp_quiz::before,
.lp-course-curriculum .course-item-ico.lp_lesson::before,
.lp-course-curriculum .course-item-ico.lp_quiz::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif;
    font-size: 1em;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
}

/* Hide the original icon element when the replacement is present. */
.course-curriculum .course-item-ico > *,
.lp-course-curriculum .course-item-ico > * {
    display: none !important;
}

/* Keep lesson titles/slugs concise, but identify lessons in curriculum rows. */
.lp-course-curriculum li.course-item[data-item-type="lp_lesson"] .course-item-title::after {
    content: " Lesson";
}

/* LearnPress outputs a check glyph even when an item's status is "Unread".
 * Only expose it when the item is genuinely complete/evaluated or locked. */
.course-item-status::before {
    display: none !important;
    visibility: hidden !important;
}

.course-item:is(.status-completed, .status-evaluated, .item-locked) .course-item-status::before,
.course-item-status:is(.status-completed, .status-evaluated, .item-locked)::before {
    display: inline-block !important;
    visibility: visible !important;
}

/* LearnPress 4.4's current curriculum renderer uses an `in-progress` check
 * for every enrolled but unread item. A tick is reserved for completion. */
.lp-course-curriculum .course-item__status .course-item-ico.in-progress::before,
.lp-course-curriculum .course-item__status .course-item-ico.started::before {
    display: none !important;
    content: none !important;
}

/* Handout blocks: temporary paper fallback. */
.content-item-wrap :where(
    .course-materials,
    .course-material,
    .lesson-materials,
    .lp-course-materials,
    .course-material-table
)::before {
    content: "▤  Handouts";
    display: block;
    margin: 2rem 0 0.75rem;
    color: var(--futuready-purple);
    font-size: 1.1rem;
    font-weight: 700;
}

/*Elementor CSS*/
body.futuready-course-not-enrolled label[for="tab-curriculum-input"] {
	opacity: 0.55;
	cursor: not-allowed;
}

body.futuready-course-not-enrolled label[for="tab-curriculum-input"]::after {
	content: " 🔒";
	margin-left: 0.35em;
}

body.futuready-course-not-enrolled .futuready-lockable-lessons {
	position: relative;
	opacity: 0.55;
	pointer-events: none;
}

.futuready-takeaways h2.futuready-lesson-title {
	margin: 0 0 0.33em;
	color: var(--futuready-purple);
	font-size: clamp(1.65rem, 2.5vw, 2.25rem);
}

.futuready-lesson-acf .futuready-takeaways ul {
	padding-inline-start: 0 !important;
}

.futuready-lesson-acf .futuready-takeaways ul > li::marker {
	content: "• ";
	font-size: 1.2em;
}

.futuready-lesson-acf .futuready-takeaways ol > li::marker {
	font-weight: 700;
}

mark.futuready-note-highlight {
	padding: 0;
	background: rgba(48, 0, 95, 0.16);
	color: inherit;
	cursor: help;
}

mark.futuready-note-highlight:hover,
mark.futuready-note-highlight:focus-visible {
	background: rgba(48, 0, 95, 0.28);
	outline: none;
}

.futuready-note-tooltip {
	position: fixed;
	z-index: 10001;
	max-width: min(320px, calc(100vw - 24px));
	padding: 9px 12px;
	border-radius: 8px;
	background: var(--futuready-purple, #30005f);
	color: #fff;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
	font-size: 0.9rem;
	line-height: 1.4;
	white-space: pre-line;
	pointer-events: none;
}

.futuready-note-tooltip[hidden] {
	display: none;
}

/* LearnPress private notes: align the toolbox with the Futuready palette. */
.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__heading,
.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__view-all {
	color: var(--futuready-purple, #30005f);
}

.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-learning-bar-item-title {
	color: var(--futuready-purple, #30005f) !important;
}

.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__heading .lp-icon {
	color: currentColor;
}

.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__help {
	border-color: rgba(48, 0, 95, 0.42);
	background: rgba(48, 0, 95, 0.08);
	color: var(--futuready-purple, #30005f);
}

.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__help::before {
	color: var(--futuready-purple, #30005f);
}

.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__add,
.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__form-save,
.lp-notes .lp-button.lp-notes__selection-btn {
	border-color: var(--futuready-purple, #30005f);
	background: var(--futuready-purple, #30005f);
	color: #fff;
}

.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__card-quote,
.lp-notes__all .lp-notes__card-quote {
	border-inline-start-color: var(--futuready-purple, #30005f);
	background: rgba(48, 0, 95, 0.16);
}

.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__card-actions .lp-button,
.lp-notes__all .lp-notes__card-actions .lp-button {
	border-color: var(--futuready-purple, #30005f);
	background: transparent;
	color: var(--futuready-purple, #30005f);
}

.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__card-actions .lp-button:hover,
.lp-notes__all .lp-notes__card-actions .lp-button:hover {
	background: var(--futuready-purple, #30005f);
	color: #fff;
}

.lp-addon-content-bar[data-learning-bar-item="notes"] button.lp-icon-close,
.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__help-dismiss {
	display: inline-flex;
	width: 24px;
	height: 24px;
	min-width: 24px;
	padding: 0 !important;
	align-items: center;
	justify-content: center;
	color: var(--futuready-purple, #30005f);
	font-size: 0;
}

.lp-addon-content-bar[data-learning-bar-item="notes"] button.lp-icon-close::before,
.lp-addon-content-bar[data-learning-bar-item="notes"] .lp-notes__help-dismiss::before {
	content: "×";
	font-family: inherit;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

/* Learner-facing Transcript and Resources tools. */
.lp-addon-content-bar__head > .lp-addon-content-bar__left {
	display: flex;
	min-height: 24px;
	align-items: center;
}

.popup-right-sidebar__icon.futuready-tool-icon,
.futuready-tool-panel__heading .futuready-tool-icon {
	display: inline-block;
	width: 22px;
	height: 22px;
	background: currentColor;
	vertical-align: middle;
}

.futuready-tool-icon--transcript,
.futuready-tool-icon--video-transcript {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h9l5 5v15H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm8 2H6v16h12V8h-4V4Zm-5 8h6v2H9v-2Zm0 4h6v2H9v-2Zm6-11.2V7h2.2L15 4.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h9l5 5v15H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm8 2H6v16h12V8h-4V4Zm-5 8h6v2H9v-2Zm0 4h6v2H9v-2Zm6-11.2V7h2.2L15 4.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.futuready-tool-icon--resources,
.futuready-tool-icon--handout {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v10.2l3.6-3.6L18 11l-6 6-6-6 1.4-1.4 3.6 3.6V3ZM5 19h14v2H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v10.2l3.6-3.6L18 11l-6 6-6-6 1.4-1.4 3.6 3.6V3ZM5 19h14v2H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.futuready-tool-icon--external-resources {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.6 13.4a2 2 0 0 0 2.8 0l3-3a2 2 0 1 0-2.8-2.8l-1.3 1.3-1.4-1.4 1.3-1.3a4 4 0 1 1 5.6 5.6l-3 3a4 4 0 0 1-5.6 0l-.7-.7 1.4-1.4.7.7Zm2.8-2.8a2 2 0 0 0-2.8 0l-3 3a2 2 0 1 0 2.8 2.8l1.3-1.3 1.4 1.4-1.3 1.3a4 4 0 1 1-5.6-5.6l3-3a4 4 0 0 1 5.6 0l.7.7-1.4 1.4-.7-.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.6 13.4a2 2 0 0 0 2.8 0l3-3a2 2 0 1 0-2.8-2.8l-1.3 1.3-1.4-1.4 1.3-1.3a4 4 0 1 1 5.6 5.6l-3 3a4 4 0 0 1-5.6 0l-.7-.7 1.4-1.4.7.7Zm2.8-2.8a2 2 0 0 0-2.8 0l-3 3a2 2 0 1 0 2.8 2.8l1.3-1.3 1.4 1.4-1.3 1.3a4 4 0 1 1-5.6-5.6l3-3a4 4 0 0 1 5.6 0l.7.7-1.4 1.4-.7-.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.futuready-tool-panel__heading {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 24px;
	line-height: 1;
	color: var(--futuready-purple, #30005f);
}

.futuready-tool-panel__heading .lp-learning-bar-item-title {
	display: inline-flex;
	align-items: center;
	height: 24px;
	color: inherit !important;
	font-weight: 600;
	line-height: 1 !important;
}

.lp-addon-content-bar[data-learning-bar-item^="futuready-"] .lp-addon-content-bar__left,
.lp-addon-content-bar[data-learning-bar-item^="futuready-"] .futuready-tool-panel__head {
	display: flex;
	align-items: center;
}

.futuready-tool-panel {
	box-sizing: border-box;
	height: 100%;
	color: var(--futuready-purple, #30005f);
}

.futuready-tool-panel__scroll {
	box-sizing: border-box;
	height: 100%;
	overflow-y: auto;
	padding: 24px;
}

.futuready-transcript > :first-child {
	margin-block-start: 0;
}

.futuready-transcript > :last-child {
	margin-block-end: 0;
}

.futuready-transcript-timestamp {
	display: inline;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 0 0.25em 0 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--futuready-purple, #30005f);
	font: inherit;
	font-weight: 700;
	line-height: inherit !important;
	text-decoration: underline;
	text-underline-offset: 0.12em;
	appearance: none;
	cursor: pointer;
}

.futuready-transcript-timestamp:hover,
.futuready-transcript-timestamp:focus-visible {
	color: #6f2da8;
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* LearnPress quiz Refresh confirmation. */
#lp-modal-window {
	color: var(--futuready-purple, #2a0550) !important;
}

#lp-modal-window #lp-modal-content,
#lp-modal-window #lp-modal-content p,
#lp-modal-window #lp-modal-content h2,
#lp-modal-window #lp-modal-content h3 {
	color: var(--futuready-purple, #2a0550) !important;
}

#lp-modal-window #lp-modal-buttons .lp-button {
	box-sizing: border-box;
	border-width: 2px !important;
	border-style: solid !important;
	box-shadow: none !important;
}

#lp-modal-window #lp-modal-buttons .modal-button-cancel {
	border-color: var(--futuready-purple, #2a0550) !important;
	background: #fff !important;
	color: var(--futuready-purple, #2a0550) !important;
}

#lp-modal-window #lp-modal-buttons .modal-button-ok,
#lp-modal-window #lp-modal-buttons button:first-child {
	border-color: var(--futuready-module-colour, var(--futuready-purple, #2a0550)) !important;
	background: var(--futuready-module-colour, var(--futuready-purple, #2a0550)) !important;
	background-color: var(--futuready-module-colour, var(--futuready-purple, #2a0550)) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

#lp-modal-window button[class*="close"],
#lp-modal-window > button {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--futuready-purple, #2a0550) !important;
}

#lp-modal-window #lp-modal-content svg,
#lp-modal-window #lp-modal-content svg * {
	stroke: var(--futuready-module-colour, var(--futuready-purple, #2a0550)) !important;
}

/* Runtime-labelled Refresh dialog (some LearnPress builds use a different wrapper). */
.futuready-refresh-dialog {
	color: var(--futuready-purple, #2a0550) !important;
}

.futuready-refresh-dialog :where(p, h2, h3, h4, span) {
	color: inherit;
}

.futuready-refresh-dialog .futuready-refresh-confirm,
.futuready-refresh-dialog .futuready-refresh-cancel {
	box-sizing: border-box !important;
	border-width: 2px !important;
	border-style: solid !important;
	box-shadow: none !important;
}

.futuready-refresh-dialog .futuready-refresh-confirm {
	border-color: var(--futuready-module-colour, var(--futuready-purple, #2a0550)) !important;
	background: var(--futuready-module-colour, var(--futuready-purple, #2a0550)) !important;
	color: var(--futuready-purple, #2a0550) !important;
	-webkit-text-fill-color: var(--futuready-purple, #2a0550) !important;
}

.futuready-refresh-dialog .futuready-refresh-cancel {
	border-color: var(--futuready-purple, #2a0550) !important;
	background: #fff !important;
	color: var(--futuready-purple, #2a0550) !important;
}

.futuready-refresh-dialog .futuready-refresh-close {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--futuready-purple, #2a0550) !important;
}

.futuready-refresh-dialog svg {
	color: var(--futuready-module-colour, var(--futuready-purple, #2a0550)) !important;
}

.futuready-refresh-dialog svg :where(path, circle, line, polyline, polygon) {
	stroke: var(--futuready-module-colour, var(--futuready-purple, #2a0550)) !important;
}

.futuready-refresh-dialog :where([class*="warning"], [class*="alert"], [class*="icon"]):has(svg) {
	color: var(--futuready-module-colour, var(--futuready-purple, #2a0550)) !important;
	background-color: color-mix(in srgb, var(--futuready-module-colour, #2a0550) 16%, #fff) !important;
}

.futuready-resource-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.futuready-resource-list > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.futuready-resource-list > li::marker,
.futuready-resource-list > li::before {
	content: none !important;
	display: none !important;
}

.futuready-resource-link {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 14px 16px;
	border: 1px solid rgba(48, 0, 95, 0.3);
	border-radius: 10px;
	background: rgba(48, 0, 95, 0.06);
	color: var(--futuready-purple, #30005f) !important;
	text-decoration: none !important;
}

.futuready-resource-link:hover,
.futuready-resource-link:focus-visible {
	border-color: var(--futuready-purple, #30005f);
	background: rgba(48, 0, 95, 0.12);
}

.futuready-resource-link span {
	font-weight: 600;
}

.futuready-resource-link small {
	font-size: 0.8em;
	opacity: 0.75;
}

.lp-addon-content-bar[data-learning-bar-item^="futuready-"] button.lp-icon-close {
	display: inline-flex;
	width: 24px;
	height: 24px;
	min-width: 24px;
	padding: 0 !important;
	align-items: center;
	justify-content: center;
	color: var(--futuready-purple, #30005f);
	font-size: 0;
	line-height: 1;
}

.lp-addon-content-bar[data-learning-bar-item^="futuready-"] button.lp-icon-close::before {
	display: block;
	content: "×";
	font-family: inherit;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

.futuready-takeaways__title {
	display: block;
	margin-block-end: 0.75em;
}

.futuready-takeaways > :last-child {
	margin-block-end: 0;
}

/* Keep desktop lessons as a single-screen layout. Longer learning content
 * scrolls inside the right column instead of moving beneath the fixed footer. */
@media (min-width: 768px) {
	body.course-item-lp_lesson #popup-content,
	body.course-item-lp_lesson .content-item-scrollable {
		overflow: hidden;
	}

	body.course-item-lp_lesson .futuready-takeaways {
		max-height: calc(100dvh - 190px);
		padding-inline-end: 0.75rem;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-gutter: stable;
	}
}

.content-item-wrap .content-item-description {
	margin: 0;
}

/* wpautop can add empty paragraphs around the generated lesson columns. */
.futuready-video-wrapper > p:empty,
.futuready-takeaways > p:empty {
	display: none !important;
	margin: 0 !important;
}

.futuready-video-area {
	border-radius: 30px;
}

.futuready-video-play {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0 !important;
	border-radius: 30px;
	background-color: var(--futuready-purple) !important;
	background-image: linear-gradient(rgba(42, 5, 80, 0.18), rgba(42, 5, 80, 0.18)), var(--futuready-video-cover, none) !important;
	background-position: center !important;
	background-size: cover !important;
	cursor: pointer;
}

.futuready-video-play__icon {
	position: relative;
	display: block;
	width: clamp(72px, 7vw, 104px);
	aspect-ratio: 1;
	border: 3px solid #ffffff;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.futuready-video-play__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 53%;
	width: 0;
	height: 0;
	border-top: 13px solid transparent;
	border-bottom: 13px solid transparent;
	border-left: 21px solid var(--futuready-purple);
	transform: translate(-50%, -50%);
}

.futuready-video-area.is-playing .futuready-video-play {
	display: none;
}

html {
    margin-top: 0px !important;
}

ul {
	padding: 0!important;
}

li {
	margin-block-end: 0.5em;
}

/* LearnPress learner profile.
 * These navigation restrictions are temporary and can be replaced with
 * role-aware classes when separate learner types are introduced. */
.lp-user-profile {
	--lp-primary-color: var(--futuready-purple, #30005f);
	--lp-color-base: var(--futuready-purple, #30005f);
	--lp-border-color: rgba(48, 0, 95, 0.24);
	--lp-white-grey: rgba(48, 0, 95, 0.06);
}

.lp-content-area.lp-profile-content-area,
#profile-nav .lp-profile-nav-tabs > li.orders,
#profile-nav .lp-profile-nav-tabs > li.settings {
	display: none !important;
}

.lp-user-profile #profile-sidebar,
.lp-user-profile .lp-profile-nav-tabs > li,
.lp-user-profile .lp-table-wrap,
.lp-user-profile table.lp-list-table,
.lp-user-profile table.lp-list-table :is(th, td) {
	border-color: rgba(48, 0, 95, 0.24);
}

.lp-user-profile .learn-press-tabs {
	border-bottom-color: rgba(48, 0, 95, 0.24);
}

.lp-user-profile .learn-press-filters :is(a, span),
.lp-user-profile .profile-list-quizzes .lp-label,
.lp-user-profile .profile-list-quizzes .column-time-interval {
	color: var(--futuready-purple, #30005f);
}

.lp-user-profile table.lp-list-table thead tr {
	background: rgba(48, 0, 95, 0.06);
}

.lp-user-profile table.lp-list-table tbody tr:nth-child(even) {
	background: rgba(48, 0, 95, 0.035);
}

.lp-user-profile table.lp-list-table tbody tr:hover {
	background: rgba(48, 0, 95, 0.08);
}

.lp-user-profile .learn-press-message.info {
	border-color: rgba(48, 0, 95, 0.42);
	background: rgba(48, 0, 95, 0.08);
	color: var(--futuready-purple, #30005f);
}

.lp-user-profile .learn-press-message.info::before {
	color: var(--futuready-purple, #30005f);
}

.lp_profile_course_progress .lp_profile_course_progress__item > :first-child {
	width: 56px !important;
	min-width: 56px !important;
	max-width: 56px !important;
	padding-inline: 8px !important;
}

.lp_profile_course_progress .lp_profile_course_progress__item > :first-child img {
	display: block;
	width: 40px;
	max-width: 40px;
	height: auto;
}

/* Individual course sidebar uses the same module colour as its course card. */
body[class*="futuready-module-"] .lp-archive-courses .course-summary-sidebar__inner > div {
	background: var(--futuready-module-colour);
	color: var(--futuready-module-ink);
}

/* The single-course featured image is now an icon-only image. */
.lp-archive-courses .course-summary-sidebar .course-sidebar-top img {
	display: block;
	width: 20%;
	height: auto;
	max-width: none;
	padding-top: 20px;
	margin-left: auto;
	margin-right: auto;
	object-fit: contain;
}

.course-item {
	background: var(--course-card-bg);
	color: var(--course-card-text);
}

.course-item :where(
	.course-title,
	.course-permalink,
	.course-wrap-meta,
	.course-wrap-meta .meta-item
) {
	color: var(--course-card-text);
}

/* Optional ACF copy displayed between the course title and metadata. */
.learn-press-courses .course-item .futuready-module-description {
	margin: 0.75rem 0 1rem;
	color: var(--course-card-text) !important;
	text-align: center;
	line-height: 1.25;
}

.course-item .course-wrap-meta .meta-item::before {
	color: var(--course-card-text);
}

.course-item[data-id="490"] {
	--course-card-bg: #FFF8BD;
}

.course-item[data-id="488"] {
	--course-card-bg: #58BDCB;
	--course-card-text: #ffffff;
}

.course-item[data-id="486"] {
	--course-card-bg: #75BD5C;
	--course-card-text: #ffffff;
}

.course-item[data-id="484"] {
	--course-card-bg: #7F6465;
	--course-card-text: #ffffff;
}

.course-item[data-id="482"] {
	--course-card-bg: #CFD8DF;
}

.course-item[data-id="480"] {
	--course-card-bg: #D8FDC8;
}

.course-item[data-id="478"] {
	--course-card-bg: #FBC3C5;
}

.course-item[data-id="476"] {
	--course-card-bg: #C0F0F7;
}

.course-item[data-id="103"] {
	--course-card-bg: #FCC288;
}





.learn-press-courses[data-layout=grid] .course-item {
	border-radius: 30px;
	border: 1px solid var(--lp-border-color, #2A0550);
}

.learn-press-courses[data-layout=grid] .course-thumbnail {
	border-radius: 29px;
}

/* Course cards use the featured image as an icon-only tile image. */
.learn-press-courses[data-layout="grid"] .course-thumbnail {
	display: block;
	overflow: hidden;
	background: var(--course-card-bg, #ffffff);
}

.learn-press-courses[data-layout="grid"] .course-thumbnail > a {
	display: block;
	width: 100%;
	height: auto;
}

.learn-press-courses[data-layout="grid"] .course-thumbnail .course-img {
	display: flex;
	justify-content: center;
	width: auto;
	height: auto;
	padding-top: 20px;
	margin: 0 auto;
}

.learn-press-courses[data-layout="grid"] .course-thumbnail .course-img img {
	display: block;
	height: 4vw;
	width: auto;
	object-fit: contain;
	transform: none !important;
	transition: none !important;
}

@media (max-width: 767px) {
	.learn-press-courses[data-layout="grid"] .course-thumbnail {
		width: 100%;
	}
}

/*.lp-courses-bar .search-courses input, .courses-order-by-wrapper {
	margin: 0 20px 0 0!important;
}*/

.learn-press-courses .courses-order-by option[value="price"],
.learn-press-courses .courses-order-by option[value="price_low"] {
	display: none!important;
}

.learn-press-breadcrumb, .lp-archive-courses .learn-press-courses-header {	
	display: none!important;
}

.lp-courses-bar {
	display: none !important;
}

/* The homepage module grid is populated by LearnPress after its initial AJAX
 * request. Reserve the viewport while it loads so the footer does not appear
 * first and then jump down when the course cards are inserted. */
body.page-id-89 .lp-load-ajax-element {
	min-height: calc(100dvh - 190px);
}

.lp-archive-courses .course-detail-info {
	display: none !important;
}

.lp-archive-courses .course-detail-info .course-title, h1.course-title{
	margin: 0!important;
	padding: 0!important;
	border: 0!important;
}

.learn-press-courses .course {
    width: 32%;}

.lp-list-courses-no-css {
	padding: 6% 0 4% 0!important;
	column-gap: 2% !important;
}

.learn-press-courses[data-layout=grid] .course {
	margin: 0 0 2vw 0!important;
	padding: 0!important;}

.learn-press-courses{
	margin: 0px!important;
}

/* This sizing belongs to the course summary, not the lesson popup header. */
body.lp_course-template-default.single:not(.course-item-popup) .course-title {
	min-height: 120px!important;
	display: flex;
	align-items: center;
	margin: 0;
}

.lp-archive-courses .course-detail-info {
	margin: 0px!important;
	padding: 0px!important;
}

/***Unknown***/
.course-tab-panel .lp-course-author {
	display: flex;
	align-items: center;
}

.course-tab-panel .lp-course-author .author-title a, .course-tab-panel .lp-course-author .author-description {
	color: red!important;
}

.elementor-widget-heading .elementor-heading-title {
	color: #2A0550!important;
}

.course-content .course-summary-content{
	margin-bottom: 3em;
}

.lp-loading-change{
	background: transparent;
}

.quiz-intro-item__title, .quiz-intro-item__content {
	color: var(--futuready-purple);
}

#popup-content {
	display: flex;
	align-items: center;
	overflow: auto;
	position: relative;
	flex: 1 1 auto;
	margin: 70px 0 0;
	padding: 0;
	min-width: 0;
	box-sizing: border-box;
}

#popup-content .learn-press-message,
#popup-content .lp-button.completed {
	display: none !important;
}

#learn-press-content-item,
.content-item-scrollable {
	margin-top: 0;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.content-item-wrap {
	padding: 0;
	margin: 0 auto;
	width: 100%;
	max-width: 90%;
	box-sizing: border-box;
}

#popup-sidebar,.course-curriculum{
	background: #ffffff;
}

.wrapper-course-nav-tabs {
	border: 0;
}

ul.learn-press-breadcrumb{
	color: #ffffff;
}

input::placeholder, .learn-press-message.info, .lp-courses-bar .search-courses input{
	color: #2A0550!important;
}

.learn-press-message.info {
    background-color: transparent;
	color: #2A0550;
}

/****************************/
/*Courses*/
.lp-archive-courses .learn-press-courses-header h1{
	color: #ffffff;
}

.lp-courses-bar .switch-layout {
	display: none;
}

.lp-courses-bar .switch-layout .switch-btn::before, .lp-courses-bar .search-courses button, .courses-order-by{
	color: #ffffff;
}

.courses-order-by{
	color: #2A0550!important;
}

.learn-press-nav-tabs li.active label, .learn-press-courses .course-content .course-readmore a, .learn-press-courses .course-content .course-readmore a:hover, 
.course-summary-sidebar .lp-course-buttons button, #popup-content .lp-button,
#popup-footer .futuready-footer-complete .lp-button,
#popup-footer .lp-button.futuready-footer-complete,
#popup-footer .course-item-nav .prev a, #popup-footer .course-item-nav .next a {
	color: var(--futuready-module-ink) !important;
	background: var(--futuready-module-colour);
	border: 0 !important;
	border-radius: 35px 35px 35px 35px;
	padding: clamp(0.875rem, 1.04vw, 1.25rem);
	line-height: 1rlh;
	position: relative;
	z-index: 999;
}

/**Course Blocks**/
.learn-press-courses .course-instructor-category,.meta-item-student, .learn-press-courses .course-content .course-info .course-price .free, .learn-press-courses .course-wrap-meta .meta-item-duration, .learn-press-courses .course-wrap-meta .meta-item-level {
	display: none!important;
}

.meta-item meta-item-lesson{
	gap: 0px!important;
}

/***Course Grid***/
.learn-press-courses[data-layout=grid] .course-wrap-meta .meta-item-quiz{
	display: block;
}

.learn-press-courses[data-layout="grid"] .wap-course-title {
	text-align: center;
	font-size: clamp(1.35rem, 1.7vw, 1.6rem);
}

.learn-press-courses[data-layout="grid"] .course-wrap-meta {
	justify-content: center;
}

/***Course List***/
.learn-press-courses[data-layout=list] .course-content .course-info {
	justify-content: flex-start;
	gap: 0px;
}

.learn-press-courses[data-layout=list] .course{
	margin: 0px!important;
	padding: 32px 0px!important;
}

.learn-press-courses[data-layout=list] .course-content {
	width: 120%;
	height: stretch;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

/****************************/
/*Course*/
.lp-content-area {
	padding: 0px;
}

.lp-archive-courses .course-detail-info{
	background: #ffffff00;
}

.course-meta-primary, .course-meta-secondary, .course-nav-tab-instructor {
	display: none;
}

.lp-archive-courses .lp-entry-content {
	flex-direction: row-reverse;
	padding: 5% 0 2.5% 0;
	gap: 40px;
}

.lp-archive-courses .lp-entry-content .entry-content-left {
	padding: 0px;
}

.learn-press-nav-tabs, .course-nav-tabs{
	gap: 20px;
}

.course-tab-panels .course-tab-panel {
	padding-top: 20px;
}

.lp-course-curriculum .course-curriculum-info__left li::after, .course-duration {
	display: none;
}

.learn-press-nav-tabs li.active::after, .course-nav-tab-overview::after, .course-nav-tab-curriculum::after, .course-nav-tab-instructor::after{
	background: transparent!important;
}

.learn-press-nav-tabs li label, .lp-button.button-enroll-course {
	color: var(--e-global-color-secondary);
	border: solid var(--e-global-color-secondary) 1px;
	border-radius: 35px 35px 35px 35px;
	padding: clamp(0.875rem, 1.04vw, 1.25rem);
	line-height: 1rlh;
}

.course-curriculum-info__left li::after{
	background: #2A0550!important;
}

#popup-sidebar .search-course button i, .course-curriculum, .course-item__right, .course-curriculum :hover, .lp-course-curriculum .course-section, .course-item-ico::before {
	color: #2A0550!important;
}

.lp-course-curriculum .course-section-header {
	align-items: center;
	gap: clamp(12px, 1.1vw, 18px);
}

.lp-course-curriculum .course-section-header .section-toggle {
	flex: 0 0 clamp(18px, 1.4vw, 24px);
	width: clamp(18px, 1.4vw, 24px);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(1rem, 1.1vw, 1.25rem);
	line-height: 1;
}

.lp-course-curriculum .course-section-header .course-section-info {
	flex: 1 1 auto;
	min-width: 0;
	font-size: clamp(1.25rem, 1.45vw, 1.75rem);
	line-height: 1.2;
}

.lp-course-curriculum .course-section-header .section-count-items {
	display: none !important;
}

/**Course Left Side**/
.lp-archive-courses .course-summary-sidebar {
    margin-top: 0px;
}

.lp-archive-courses .course-summary-sidebar__inner .course-sidebar-top {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.0);
}

.lp-archive-courses .course-summary-sidebar__inner>div {
	border-radius: 30px
}

.course-summary-sidebar, .course-sidebar-preview{
	background: transparent!important;
}

.info-learning {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.course-items-completed-progress-bar{
	padding: 11px 0 3px;
}

.info-learning .course-progress > div {
	margin-bottom: 0;
}

.course-sidebar-preview, .lp-course-buttons, .enroll-course, .lp-entry-content .course-tabs {
	margin-bottom: 0!important;
}

.info-learning .course-progress__line {
	background: #2A055040;
}

/* LearnPress 4.4.11 renamed the filled course-progress element. */
.info-learning .course-progress__line__active {
	background: var(--futuready-purple) !important;
}

.course-sidebar-preview .media-preview {
    margin: -20px -20px 10px;
}

.course-sidebar-preview .futuready-course-sidebar-title {
	margin: 0;
	color: var(--futuready-module-ink, var(--futuready-purple));
	font-size: clamp(1.35rem, 1.6vw, 1.75rem);
	line-height: 1.2;
	text-align: center;
}

.course-sidebar-preview .course-price,
.course-sidebar-preview .will-end-date,
.course-sidebar-preview .start-date,
.course-sidebar-preview .course-results-progress > .course-progress:last-child,
.course-sidebar-preview .info-learning .course-progress > .course-progress__label:last-child {
	display: none;
}

.course-sidebar-preview .course-progress__label {
	display: flex;
	align-items: baseline;
	gap: 4px;
}

/****************************/
/*Lessons*/
#popup-header {
	display: flex !important;
	align-items: center;
	min-height: 70px;
	padding: 0 clamp(18px, 3vw, 48px);
	box-sizing: border-box;
}

#popup-header .popup-header__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 0;
}

#popup-header .popup-header__inner .curriculum-info {
	display: none !important;
}

/* LearnPress 4.4+ renders this control as a checkbox. Keep it visible when
 * the saved sidebar cookie starts the curriculum in its closed state. */
#popup-content #sidebar-toggle {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: grid !important;
	place-items: center;
	position: fixed !important;
	top: 50% !important;
	left: calc(var(--lp-width-popup-curriculum, 450px) - 23px) !important;
	width: 46px !important;
	height: 46px !important;
	margin: 0 !important;
	transform: translateY(-50%);
	border: 1px solid var(--futuready-purple) !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: var(--futuready-purple) !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	cursor: pointer;
	z-index: 10001 !important;
}

#popup-content #sidebar-toggle::before,
#popup-content #sidebar-toggle::after {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 18px !important;
	height: 3px !important;
	padding: 0 !important;
	background: currentColor !important;
	border: 0 !important;
	border-radius: 999px;
	box-sizing: border-box;
}

#popup-content #sidebar-toggle::before {
	transform: translate(-50%, -50%);
}

#popup-content #sidebar-toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

body.lp-sidebar-toggle__close #popup-content #sidebar-toggle {
	left: 12px !important;
}

/* An open sidebar shows a centred ×; a closed sidebar shows a hamburger. */
body.lp-sidebar-toggle__close #popup-content #sidebar-toggle::before {
	box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

body.lp-sidebar-toggle__close #popup-content #sidebar-toggle::after {
	opacity: 0;
}

body:not(.lp-sidebar-toggle__close) #popup-content #sidebar-toggle::before {
	transform: translate(-50%, -50%) rotate(45deg);
	box-shadow: none;
}

body:not(.lp-sidebar-toggle__close) #popup-content #sidebar-toggle::after {
	transform: translate(-50%, -50%) rotate(135deg);
	opacity: 1;
}

.popup-right-sidebar__toggle,
.popup-right-sidebar__icon {
	color: var(--futuready-purple) !important;
}

/* Present the learning bar as tools rather than another quiz puzzle. */
.popup-right-sidebar__toggle::before {
	content: "" !important;
	display: block;
	width: 26px;
	height: 26px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.3 18.2 13 9.9a5.6 5.6 0 0 0-7-7L9.2 6 6 9.2 2.9 6a5.6 5.6 0 0 0 7 7l8.3 8.3a2.2 2.2 0 0 0 3.1-3.1ZM8.7 12.4a4 4 0 0 1-4.4-4.8L6 9.3 9.3 6 7.6 4.3a4 4 0 0 1 4.8 4.4l-3.7 3.7Zm11.5 7.8a.7.7 0 0 1-1 0l-8.1-8.1 1-1 8.1 8.1a.7.7 0 0 1 0 1ZM20.8 2.2l1 1-2 3-2.1.5-6.1 6.1-1.4-1.4 6.1-6.1.5-2.1 3-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.3 18.2 13 9.9a5.6 5.6 0 0 0-7-7L9.2 6 6 9.2 2.9 6a5.6 5.6 0 0 0 7 7l8.3 8.3a2.2 2.2 0 0 0 3.1-3.1ZM8.7 12.4a4 4 0 0 1-4.4-4.8L6 9.3 9.3 6 7.6 4.3a4 4 0 0 1 4.8 4.4l-3.7 3.7Zm11.5 7.8a.7.7 0 0 1-1 0l-8.1-8.1 1-1 8.1 8.1a.7.7 0 0 1 0 1ZM20.8 2.2l1 1-2 3-2.1.5-6.1 6.1-1.4-1.4 6.1-6.1.5-2.1 3-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

#popup-header .course-title a, #popup-header .number {
	color: #2A0550;
}


#popup-course .quiz-intro {
	display: flex;
	justify-content: center;
}

.content-item-wrap .course-item-title {
	display: none;
}

#popup-footer {
	max-width: 100%;
	border-top: 0;
	background: transparent;
	padding: 0px 20px 20px 20px
}

#popup-footer .course-item-nav .prev a:hover, #popup-footer .course-item-nav .next a:hover{
	color: #ffffff;
}

/****************************/
/*Quizzes*/
.quiz-status {
	display: none !important;
}

/* Quizzes begin immediately, so introductory and elapsed-time UI is omitted. */
#popup-course .quiz-intro,
.quiz-intro-item--duration,
#learn-press-quiz-app .countdown,
.quiz-result .result-time-spend,
.quiz-attempts .quiz-attempts__spend {
	display: none !important;
}

.question .answer-option .option-title{
	color: #2A0550!important;
	border: 1px solid var(--lp-border-color, #2a0451);
	border-radius: 30px !important;
}

#popup-course .quiz-buttons {
	margin-bottom: 0;
}

.content-item-wrap .quiz-buttons.align-center .button-left.nav-center {
	height: 0;
}

/**topbar**/
#popup-header .number {
	display: none;
}

/* The sidebar Continue button sits on the module-coloured panel. */
.lp-button.course-btn-continue {
    color: #ffffff !important;
    background: var(--futuready-purple) !important;
    border: 0 !important;
    border-radius: 35px !important;
}

.course-summary-sidebar .lp-course-buttons .lp-button.course-btn-continue {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Course sidebar actions stay on-brand rather than inheriting module colours. */
.course-summary-sidebar .lp-course-buttons .lp-button,
.course-summary-sidebar .lp-course-buttons button {
	background: var(--futuready-purple) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	border: 2px solid var(--futuready-purple) !important;
}

.course-summary-sidebar .lp-course-buttons .lp-button:hover,
.course-summary-sidebar .lp-course-buttons .lp-button:focus,
.course-summary-sidebar .lp-course-buttons button:hover,
.course-summary-sidebar .lp-course-buttons button:focus {
	background: #ffffff !important;
	color: var(--futuready-purple) !important;
	-webkit-text-fill-color: var(--futuready-purple) !important;
	border-color: var(--futuready-purple) !important;
}

/* Keep the post-enrolment confirmation compact inside the sidebar card. */
.course-summary-sidebar .learn-press-message {
	padding: 12px 14px !important;
	font-size: 1rem !important;
	line-height: 1.35 !important;
}

/* Remove the default LearnPress divider under course tabs. */
.learn-press-nav-tabs li::after {
    display: none !important;
}

/* Match the quiz result circle to the current module. */
.quiz-result .result-grade svg circle {
    stroke: var(--futuready-module-colour) !important;
}

.futuready-hard-mode {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 16px;
    background: var(--futuready-module-colour);
    color: #ffffff;
    font-weight: 700;
    border-radius: 8px;
}

/**pagenation**/
.question .answer-option .option-title:hover, .answer-options .answer-option:hover, .content-item-wrap .quiz-buttons.align-center .button-left.fixed{
	background: transparent;
}

/* Keep the selected answer and progress fill on the current module colour. */
.question .answer-option:active .option-title,
.question .answer-option.selected .option-title,
.question .answer-option.checked .option-title,
.question .answer-option.is-selected .option-title,
.question .answer-option[aria-checked="true"] .option-title,
.learn-press-progress .learn-press-progress__active {
	background: var(--futuready-module-colour) !important;
}

/* Persistent radio selection. :active above only lasts during the click. */
.answer-options .answer-option input[type="radio"] {
	accent-color: var(--futuready-module-colour);
}

.answer-options .answer-option input[type="radio"]:checked::after {
	background: var(--futuready-module-colour) !important;
}

.answer-options .answer-option:has(input[type="radio"]:checked) .option-title {
	background: var(--futuready-module-colour) !important;
}

.content-item-wrap .questions-pagination .nav-links .page-numbers.current{
	background: #2A0550;
	color: #FFFFFF;
}

.content-item-wrap .questions-pagination .nav-links .page-numbers, .content-item-wrap .questions-pagination .nav-links .page-numbers:hover{
	color: #2A0550;
	background: #FFFFFF;
	border-color: #2A0550;
}

#popup-footer .course-item-nav .prev:hover::before, 
#popup-footer .course-item-nav .next:hover::before{
	color: #2A0550;
}

#popup-footer .course-item-nav .prev:hover .course-item-nav__name, #popup-footer .course-item-nav .next:hover .course-item-nav__name {
    display: none;
}

#popup-footer .course-item-nav .prev::before, #popup-footer .course-item-nav .next::before{
	display: none;
}

#popup-footer .course-item-nav .prev a::before,
#popup-footer .course-item-nav .next a::before {
	display: none !important;
}

/* global.js moves this LearnPress action into the same flex row as Prev/Next. */
#popup-footer .course-item-nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	width: 100%;
	max-width: 90% !important;
	margin-inline: auto !important;
}

#popup-footer .course-item-nav > .prev {
	grid-column: 1;
	justify-self: start;
}

#popup-footer .course-item-nav > .futuready-footer-complete {
	grid-column: 2;
	justify-self: center;
	position: static !important;
	margin: 0 !important;
	align-self: center;
}

#popup-footer .course-item-nav > .next {
	grid-column: 3;
	justify-self: end;
}

#popup-footer .course-item-nav > [hidden] {
	display: none !important;
}

/* Completion is automatic when the video ends, with Start Quiz as fallback. */
#popup-content form[name="learn-press-form-complete-lesson"] {
	display: none !important;
}

#popup-footer .course-item-nav a.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

#popup-footer .futuready-footer-complete .lp-button,
#popup-footer .lp-button.futuready-footer-complete {
	background: var(--futuready-module-colour) !important;
	color: var(--futuready-module-ink) !important;
	border: 0 !important;
	border-radius: 35px !important;
	padding: clamp(0.875rem, 1.04vw, 1.25rem) !important;
	line-height: 1rlh !important;
}

/* Quiz results */
body.futuready-quiz-result #popup-content {
	background-color: #f4edf9;
	background-image: url("../img/futuready-login-background.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#learn-press-quiz-app .quiz-result {
	width: min(90%, 560px);
	margin: clamp(2rem, 6vh, 5rem) auto;
	padding: clamp(2rem, 4vw, 3.5rem);
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.72) !important;
	box-shadow:
		0 28px 55px rgba(42, 5, 80, 0.2),
		0 8px 18px rgba(42, 5, 80, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
	box-sizing: border-box;
	backdrop-filter: blur(10px);
}

.content-item-wrap #learn-press-quiz-app {
	padding-bottom: 62px;
}
.quiz-result .result-grade {
	margin-bottom: 22px;
}
	
.quiz-result .result-message {
	margin-bottom: 0px;
}

.content-item-wrap #learn-press-quiz-app {
    padding-bottom: 0px;
}

.content-item-wrap #learn-press-quiz-app {
    margin-bottom: 0px;
}

.elementor-kit-9 p {
	margin-block-end: 1em;
}

.quiz-result .result-grade::before {
	border: 10px solid #f02224;
}

.quiz-result .result-grade .result-require, .quiz-result .result-statistic .result-statistic-field span, .quiz-result .result-statistic .result-statistic-field p {
	color: #2A0550;
	line-height: 2.1875em;
}

.result-questions-skipped, .result-questions-minus {
	display: none!important;
}

@media (max-width: 767px) {
	#learn-press-quiz-app .quiz-result {
		width: calc(100% - 32px);
		padding: 28px 22px;
		border-radius: 34px;
	}
}

.button-left, .button-right{
	z-index: 999;
}

/* LearnPress keeps `.lp-material-skeleton` as the wrapper after replacing its
 * loading state with the real table. Hide skeleton animations globally, but
 * never hide that wrapper or its completed content. */
.lp-skeleton-animation {
	display: none !important;
}

/* Handout names and download controls are sufficient; all resources are PDFs. */
.course-materials .lp-material-th-file-type,
.course-materials .lp-material-file-type,
.course-materials .lp-material-th-file-size,
.course-materials .lp-material-file-size,
.course-material .lp-material-th-file-type,
.course-material .lp-material-file-type,
.course-material .lp-material-th-file-size,
.course-material .lp-material-file-size,
.lp-material-th-file-type,
.lp-material-file-type,
.lp-material-th-file-size,
.lp-material-file-size {
	display: none !important;
}

.course-material-table .lp-material-th-file-link {
	font-size: 0;
}

.course-material-table .lp-material-th-file-link::after {
	content: "Download Handout";
	font-size: 1rem;
}

/**
 * LearnPress icons.
 * Use embedded SVGs so the result does not depend on a Font Awesome font
 * being loaded by the current LearnPress or Elementor view.
 */
.course-item-ico.lp_lesson::before {
    content: "" !important;
    display: block !important;
    width: 1.5em;
    height: 1.5em;
    background-color: currentColor !important;
    -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='m10 9 5 3-5 3V9Z'/%3E%3C/svg%3E") !important;
    mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='m10 9 5 3-5 3V9Z'/%3E%3C/svg%3E") !important;
    font-family: sans-serif !important;
    font-size: 1em !important;
}

.course-item-ico.lp_quiz::before {
    content: "" !important;
    display: block !important;
    width: 1.5em;
    height: 1.5em;
    background-color: currentColor !important;
    -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12.8 3.4a2.2 2.2 0 1 0-4.1 1.1 2.2 2.2 0 1 0-1.1 4.1 2.2 2.2 0 1 0 4.1 1.1 2.2 2.2 0 1 0 1.1-4.1 2.2 2.2 0 0 0 0-2.2Z'/%3E%3Cpath d='M12.8 3.4a2.2 2.2 0 1 1 4.1 1.1 2.2 2.2 0 1 1 1.1 4.1 2.2 2.2 0 1 1-4.1 1.1 2.2 2.2 0 1 1-1.1-4.1 2.2 2.2 0 0 1 0-2.2Z'/%3E%3Cpath d='M12 9.7v4.6'/%3E%3Cpath d='M9.7 12h4.6'/%3E%3C/svg%3E") !important;
    mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12.8 3.4a2.2 2.2 0 1 0-4.1 1.1 2.2 2.2 0 1 0-1.1 4.1 2.2 2.2 0 1 0 4.1 1.1 2.2 2.2 0 1 0-1.1-4.1 2.2 2.2 0 0 0 0-2.2Z'/%3E%3Cpath d='M12.8 3.4a2.2 2.2 0 1 1 4.1 1.1 2.2 2.2 0 1 1 1.1 4.1 2.2 2.2 0 1 1-4.1 1.1 2.2 2.2 0 1 1-1.1-4.1 2.2 2.2 0 0 1 0-2.2Z'/%3E%3Cpath d='M12 9.7v4.6'/%3E%3Cpath d='M9.7 12h4.6'/%3E%3C/svg%3E") !important;
    font-family: sans-serif !important;
    font-size: 1em !important;
}

/* Use the uploaded child-theme icons in every LearnPress view. */
.course-item-ico.lp_lesson::before {
    -webkit-mask-image: url("/wp-content/themes/hello-futuready/assets/img/futuready-lesson.svg") !important;
    mask-image: url("/wp-content/themes/hello-futuready/assets/img/futuready-lesson.svg") !important;
    -webkit-mask: none !important;
    mask: none !important;
    background: url("/wp-content/themes/hello-futuready/assets/img/futuready-lesson.svg") center / contain no-repeat !important;
}

.course-item-ico.lp_quiz::before {
    -webkit-mask-image: url("/wp-content/themes/hello-futuready/assets/img/futuready-quiz.svg") !important;
    mask-image: url("/wp-content/themes/hello-futuready/assets/img/futuready-quiz.svg") !important;
    -webkit-mask: none !important;
    mask: none !important;
    background: url("/wp-content/themes/hello-futuready/assets/img/futuready-quiz.svg") center / contain no-repeat !important;
}

/* Archive-card lesson and quiz metadata icons. */
.learn-press-courses .course-wrap-meta .meta-item-lesson::before,
.learn-press-courses .course-wrap-meta .meta-item-quiz::before {
    content: "" !important;
    display: inline-block !important;
    width: 1.15em;
    height: 1.15em;
	margin-right: 0;
    background-color: currentColor !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}

.learn-press-courses .course-wrap-meta .meta-item-lesson::before {
    background: url("/wp-content/themes/hello-futuready/assets/img/futuready-lesson.svg") center / contain no-repeat !important;
    -webkit-mask: none !important;
    mask: none !important;
}

.learn-press-courses .course-wrap-meta .meta-item-quiz::before {
    background: url("/wp-content/themes/hello-futuready/assets/img/futuready-quiz.svg") center / contain no-repeat !important;
    -webkit-mask: none !important;
    mask: none !important;
}

/* Homepage course-card icons. Use purple by default, with white icons on the
 * three module cards whose artwork uses white text. */
body:is(.home, .front-page) .learn-press-courses .course-item .course-wrap-meta .meta-item-lesson::before,
body:is(.home, .front-page) .learn-press-courses .course-item .course-wrap-meta .meta-item-quiz::before {
    background-image: none !important;
}

body:is(.home, .front-page) .learn-press-courses .course-item .course-wrap-meta .meta-item-lesson::before {
    background: url("/wp-content/themes/hello-futuready/assets/img/futuready-lesson-midnight-purple.svg") center / contain no-repeat !important;
}

body:is(.home, .front-page) .learn-press-courses .course-item .course-wrap-meta .meta-item-quiz::before {
    background: url("/wp-content/themes/hello-futuready/assets/img/futuready-quiz-midnight-purple.svg") center / contain no-repeat !important;
}

body:is(.home, .front-page) .learn-press-courses .course-item[data-id="488"] .course-wrap-meta .meta-item-lesson::before,
body:is(.home, .front-page) .learn-press-courses .course-item[data-id="484"] .course-wrap-meta .meta-item-lesson::before,
body:is(.home, .front-page) .learn-press-courses .course-item[data-id="486"] .course-wrap-meta .meta-item-lesson::before {
    background-image: url("/wp-content/themes/hello-futuready/assets/img/futuready-lesson-white.svg") !important;
}

body:is(.home, .front-page) .learn-press-courses .course-item[data-id="488"] .course-wrap-meta .meta-item-quiz::before,
body:is(.home, .front-page) .learn-press-courses .course-item[data-id="484"] .course-wrap-meta .meta-item-quiz::before,
body:is(.home, .front-page) .learn-press-courses .course-item[data-id="486"] .course-wrap-meta .meta-item-quiz::before {
    background-image: url("/wp-content/themes/hello-futuready/assets/img/futuready-quiz-white.svg") !important;
}

/* Keep archive metadata icons and labels vertically aligned. */
.learn-press-courses .course-wrap-meta .meta-item,
.lp-course-curriculum .course-section .course-item__link {
    align-items: center;
}

.learn-press-courses .course-wrap-meta .meta-item {
	gap: 0;
}

/* Space icons from their labels once; the icon margin stays at zero. */
.learn-press-courses .course-wrap-meta .meta-item-lesson,
.learn-press-courses .course-wrap-meta .meta-item-quiz {
    gap: 0.3em;
}

.learn-press-courses[data-layout="grid"] .course-wrap-meta .meta-item-quiz {
    display: flex;
    align-items: center;
}

/* Replace LearnPress's Font Awesome glyph while preserving its normal icon styling. */
.lp-course-curriculum .course-section .course-item-ico.lp_lesson::before,
.lp-course-curriculum .course-section .course-item-ico.lp_quiz::before {
    content: "" !important;
}
