/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ============================================================
   CTU - base.css
   Design system for Caregiver Training University
   ============================================================ */

/* ---- Design Tokens ------------------------------------------------ */

:root {
    /* Brand */
    --c-teal:           #025E73;
    --c-teal-dark:      #014d5e;
    --c-teal-mid:       #1a7a91;
    --c-teal-light:     #e6f3f6;
    --c-crimson:        #A6144B;
    --c-crimson-hover:  #be1a57;
    --c-beige:          #DED8A0;
    --c-beige-dark:     #c8c274;
    --c-pink:           #B73274;
    --c-pink-light:     #E7CECE;

    /* Semantic */
    --c-error:          #c0392b;
    --c-error-bg:       #fde8e8;
    --c-error-border:   #f5c6cb;
    --c-success:        #27ae60;
    --c-success-bg:     #eafaf1;
    --c-success-border: #a9dfbf;

    /* Text */
    --c-text:           #333333;
    --c-text-muted:     #666666;
    --c-text-faint:     #999999;

    /* Surfaces */
    --c-surface:        #ffffff;
    --c-surface-alt:    #f8f9fa;
    --c-surface-warm:   #f5f3e2;
    --c-border:         #d0d0d0;
    --c-border-accent:  #c4c781;

    /* Typography */
    --f-sans:   'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --f-serif:  'Lora', Georgia, 'Times New Roman', serif;

    /* Spacing scale */
    --sp-1:  4px;
    --sp-2:  8px;
    --sp-3:  12px;
    --sp-4:  16px;
    --sp-5:  20px;
    --sp-6:  24px;
    --sp-8:  32px;
    --sp-10: 40px;
    --sp-12: 48px;

    /* Borders */
    --r-sm:   4px;
    --r-md:   6px;
    --r-lg:   10px;
    --r-pill: 9999px;

    /* Shadows */
    --sh-xs: 0 1px 2px rgba(0,0,0,.06);
    --sh-sm: 0 1px 4px rgba(0,0,0,.10);
    --sh-md: 0 2px 8px rgba(0,0,0,.13);
    --sh-lg: 0 4px 20px rgba(0,0,0,.17);

    /* Transitions */
    --tx:     150ms ease;
    --tx-sl:  240ms ease;

    /* Bootstrap navbar toggler override */
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ---- Base --------------------------------------------------------- */

body {
    font-size: 15px;
    font-family: var(--f-sans);
    color: var(--c-text-muted);
    line-height: 1.5;
    background: var(--c-surface);
    margin: 0;
}

img { max-width: 100%; height: auto; }


/* ---- Typography --------------------------------------------------- */

h2 {
    font-size: 22px;
    color: #000;
    font-family: var(--f-serif);
    margin: var(--sp-3) 0;
    line-height: 1.25;
}

h3 {
    font-size: 18px;
    color: var(--c-teal);
    font-family: var(--f-serif);
    line-height: 1.25;
    margin: var(--sp-3) 0;
}

h4 {
    color: var(--c-pink);
    font-size: 18px;
    font-family: var(--f-serif);
    font-weight: bold;
}

h1.green, h2.green, h3.green {
    color: var(--c-teal);
}

.pink { color: var(--c-pink); }

.header {
    border-bottom: 2px solid var(--c-beige);
    padding-bottom: var(--sp-4);
    margin-bottom: var(--sp-4);
    font-size: 150%;
    font-family: var(--f-sans);
}

.header + h3 {
    font-family: var(--f-sans);
}

div.note {
    color: var(--c-text-faint);
    font-size: 80%;
}

p {
    margin-bottom: 1em;
    line-height: 1.55em;
}

p.large {
    font-family: var(--f-serif);
    font-size: 120%;
}

p.extra-large {
    font-size: 34px;
    line-height: 1.2;
}

small { font-size: 85%; }
em    { font-style: italic; }
strong { font-weight: bold; }

a {
    color: var(--c-teal);
    text-decoration: none;
    transition: color var(--tx);
}

a:hover {
    color: var(--c-teal-mid);
}


/* ---- Lists -------------------------------------------------------- */

ul {
    padding: 0;
    margin: 1em 0;
}

ul li {
    background: url(/images/black-bullet.png) 0 50% no-repeat;
    padding-left: 20px;
    list-style-type: none;
    margin: 4px 0;
}

ol {
    padding-left: 1em;
}

ol li {
    list-style: decimal;
    padding-bottom: 0.5em;
}


/* ---- Buttons ------------------------------------------------------ */

a.button,
button,
input[type="submit"] {
    background: var(--c-crimson);
    border-radius: var(--r-md);
    border: none;
    color: white;
    text-align: center;
    padding: 0 28px;
    text-decoration: none;
    font-size: 19px;
    line-height: 36px;
    height: 36px;
    display: inline-block;
    margin: 2px 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--tx), box-shadow var(--tx), opacity var(--tx);
}

a.button:hover,
button:hover:not(:disabled),
input[type="submit"]:hover:not(:disabled) {
    background-color: var(--c-crimson-hover);
    color: white;
    text-decoration: none;
    box-shadow: var(--sh-sm);
}

a.button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible {
    outline: 3px solid var(--c-crimson);
    outline-offset: 2px;
}

button:disabled,
input[type="submit"]:disabled {
    opacity: 0.45;
    color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

a.button.sm {
    padding: 5px 16px;
    line-height: normal;
    font-size: 14px;
    height: auto;
    color: white;
    border-radius: var(--r-sm);
}

.button.gray,
.button.white {
    background: var(--c-surface);
    color: var(--c-teal);
    border: 1px solid var(--c-teal);
}

.button.gray,
.button.gray:hover {
    background-color: #eeeeee;
    color: var(--c-teal);
}

.button.white:hover {
    background: #f5f5f5;
    color: var(--c-teal);
    text-decoration: none;
}

.button.prev {
    background-image: url('/images/arrow-left.png');
    background-position: 10% 50%;
    background-repeat: no-repeat;
    text-align: left;
    padding-left: 30px;
    padding-right: 20px;
}

.button.next {
    background-image: url('/images/arrow-right.png');
    background-position: 90% 50%;
    background-repeat: no-repeat;
    text-align: right;
    padding-left: 20px;
    padding-right: 30px;
    margin-left: 20px;
}

.button.next:not([disabled]) {
    cursor: pointer;
}

a.button + a.button {
    margin-right: 5px;
}

button.green,
a.button.green {
    background-color: var(--c-teal);
    border-radius: var(--r-sm);
    text-transform: uppercase;
    padding: 6px 12px;
    height: auto;
    transition: background var(--tx);
}

button.green:hover,
a.button.green:hover {
    background-color: var(--c-teal-dark);
}

.button.green.arrow {
    padding-right: 40px;
    background-image: url(/images/green-button-arrow.png);
    background-position: 95% 50%;
    background-repeat: no-repeat;
}

h1.green button.green {
    float: right;
    margin-left: 20px;
    margin-top: 1em;
}

/* White button inside green-box */
.green-box button,
button.white {
    color: var(--c-teal);
    background: var(--c-surface);
    border-radius: var(--r-sm);
    padding: 5px 20px;
    height: auto;
    white-space: nowrap;
    border: 1px solid var(--c-teal);
    text-transform: uppercase;
    font-size: 14px;
    line-height: normal;
    transition: background var(--tx);
}

.green-box button:hover,
button.white:hover {
    background: var(--c-teal-light);
}


/* ---- Forms -------------------------------------------------------- */

input[type="text"],
input[type="password"],
input[type="email"],
select {
    padding: 6px 10px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    font-size: 15px;
    font-family: var(--f-sans);
    color: var(--c-text);
    background: var(--c-surface);
    transition: border-color var(--tx), box-shadow var(--tx);
    line-height: 1.4;
}

textarea {
    padding: 8px 10px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    font-size: 15px;
    font-family: var(--f-sans);
    color: var(--c-text);
    transition: border-color var(--tx), box-shadow var(--tx);
    line-height: 1.5;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--c-teal);
    box-shadow: 0 0 0 3px rgba(2, 94, 115, 0.15);
}

input[type="text"] + input[type="submit"] {
    font-size: 15px;
    height: auto;
    padding: 0 12px;
    line-height: 30px;
}

input[type="submit"].button {
    padding: 0 16px;
    line-height: 36px;
}

td.label {
    width: auto;
    text-align: right;
}


/* ---- Links -------------------------------------------------------- */

a.new-window {
    padding-right: 22px;
    background: url(/images/target-link.png) no-repeat right;
}

a.down-link {
    padding-right: 15px;
    background: url(/images/arrow-down.png) 100% 50% no-repeat;
    margin-left: 10px;
}


/* ---- Navigation --------------------------------------------------- */

nav {
    padding: 4px 0;
    border: none;
    background: var(--c-teal);
}

nav .unit.whole {
    padding-top: 0;
    padding-bottom: 0;
}

nav.navbar a:last-child {
    border-right: none;
    margin-right: 0;
}

.navbar .nav-link {
    color: white !important;
    font-size: 14px;
    padding: 7px 13px !important;
    border-radius: var(--r-sm);
    transition: background var(--tx);
}
ul.navbar-nav {
    align-items: center;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link:active {
    color: white !important;
    background: rgba(255, 255, 255, 0.13);
    text-decoration: none !important;
}

.nav-item {
    background: none;
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    border-radius: var(--r-md);
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: var(--sh-md);
    padding: var(--sp-2) 0;
}

.dropdown-menu li {
    background: none;
    padding-left: 0;
}

.dropdown-menu .dropdown-item {
    padding: 8px 20px;
    white-space: nowrap;
    color: var(--c-text);
    display: block;
    margin: 0;
    font-size: 14px;
    transition: background var(--tx), color var(--tx);
}

.dropdown-menu .dropdown-item:hover {
    background: var(--c-teal-light);
    color: var(--c-teal);
    text-decoration: none;
}


/* ---- Header ------------------------------------------------------- */

header {
    border-bottom: 2px solid rgba(2, 94, 115, 0.12);
}


/* ---- Main --------------------------------------------------------- */

#main {
    padding: var(--sp-6) 0 var(--sp-12) 0;
}


/* ---- Footer ------------------------------------------------------- */

footer {
    background: var(--c-teal-dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    margin-top: var(--sp-10);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--sp-10);
}

.footer-top {
    display: flex;
    gap: var(--sp-10);
    padding: var(--sp-8) 0;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-brand {
    flex: 1.5;
    min-width: 220px;
}

.footer-heading {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-nav a {
    font-size: 14px;
    line-height: 1.3;
}

.footer-social {
    margin-bottom: var(--sp-5);
}

.footer-social .social-icons-new:first-child {
    margin-left: 0;
}

footer address {
    font-style: normal;
    line-height: 1.9;
    color: rgba(255,255,255,0.7);
}

footer address strong {
    color: rgba(255,255,255,0.95);
    display: block;
    margin-bottom: 2px;
}

.footer-newsletter-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-teal-mid);
    margin: 0 0 var(--sp-2);
}

.footer-col > strong {
    color: rgba(255,255,255,0.95);
    font-size: 14px;
}

.footer-newsletter {
    gap: var(--sp-2);
    margin-top: var(--sp-3);
}

.footer-newsletter input {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    border-radius: var(--r-sm);
    padding: 8px 12px;
    font-size: 13px;
    transition: border-color var(--tx), background var(--tx);
}

.footer-newsletter input::placeholder {
    color: rgba(255,255,255,0.45);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.15);
}

.footer-newsletter button {
    background: var(--c-crimson);
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--tx);
}

.footer-newsletter button:hover {
    background: var(--c-crimson-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: var(--sp-4) 0;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}

footer a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color var(--tx);
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

footer a.button {
    color: white;
    background: var(--c-crimson);
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: var(--r-md);
    padding: 9px 22px;
    font-size: 14px;
    height: auto;
    line-height: normal;
    display: inline-block;
    white-space: nowrap;
    transition: background var(--tx);
}

footer a.button:hover {
    background-color: var(--c-crimson-hover);
    text-decoration: none;
}

footer hr {
    border: 0;
    margin: var(--sp-4) 0;
    background: rgba(255,255,255,0.12);
    height: 1px;
}


/* ---- HR ----------------------------------------------------------- */

:not(footer) hr {
    border: none;
    height: 3px;
    background: var(--c-crimson);
    margin: 2.5rem 0;
    border-radius: var(--r-pill);
}


/* ---- Social Icons ------------------------------------------------- */

a.social-icons {
    margin-left: 10px;
    display: inline-block;
    width: 39px;
    height: 39px;
    line-height: 39px;
    vertical-align: top;
    background-image: url(/images/social-icons.png);
}

a.social-icons-new {
    margin-left: 10px;
    display: inline-block;
    width: 39px;
    height: 39px;
    line-height: 39px;
    vertical-align: top;
    background-image: url(/images/social-icons-new.png);
    border-radius: var(--r-sm);
    transition: opacity var(--tx);
}

a.social-icons-new:hover {
    opacity: 0.8;
}


/* ---- Tables ------------------------------------------------------- */

th {
    text-align: left;
    font-weight: 600;
    padding: 10px 12px;
    font-size: 20px;
    color: var(--c-teal);
    border-bottom: 2px solid var(--c-beige);
    padding-bottom: 10px;
    font-family: var(--f-sans);
    line-height: 1.2;
}

td {
    padding: 8px 12px;
    vertical-align: middle;
}

.table-striped tr:nth-child(2n+1) td {
    background: var(--c-surface-alt);
}

#course-content table[border="1"] td {
    border: 1px solid #aaa;
}


/* ---- Content Boxes ------------------------------------------------ */

.blue-box,
.beige-box {
    margin: var(--sp-8) 0;
    padding: var(--sp-8) var(--sp-10);
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: var(--sp-8);
    flex-wrap: wrap;
}

.blue-box > p,
.beige-box > p {
    flex: 1;
    min-width: 200px;
    margin: 0;
}

.blue-box > div,
.beige-box > div {
    flex-shrink: 0;
    text-align: center;
}

/* Blue box - primary CTA, dark gradient */
.blue-box {
    background: linear-gradient(120deg, var(--c-teal-dark) 0%, var(--c-teal) 100%);
    color: white;
}

.blue-box h2,
.blue-box h3 {
    color: rgba(255,255,255,0.9);
    margin: var(--sp-2) 0 0;
}

/* Beige box - secondary CTA, warm tinted strip */
.beige-box {
    background: var(--c-surface-warm);
    color: var(--c-teal-dark);
    border-top: 3px solid var(--c-beige-dark);
    border-bottom: 3px solid var(--c-beige-dark);
}

.green-box {
    color: white;
    background: rgba(2, 94, 115, 0.88);
    padding: var(--sp-3);
    border: 1px solid rgba(255,255,255,0.3);
}

.green-box.noBorder {
    border: none;
    padding: var(--sp-5);
    margin-bottom: var(--sp-5);
}

.green-box.noBorder h2 {
    font-family: var(--f-serif);
    font-size: 200%;
    margin: 0;
    padding: 0;
}

.green-box h2 {
    color: white;
    padding: var(--sp-5) 0;
}

.green-box + .green-box {
    border-left: none;
}


/* ---- Quote Boxes -------------------------------------------------- */

.white-quote {
    background-image: url(/images/white-open-quote.png), url(/images/white-close-quote.png);
    background-position: 8px 8px, 98% 96%;
    background-repeat: no-repeat;
    border-radius: 10px 20px;
    padding: var(--sp-3) var(--sp-10);
    color: #fff;
    font-size: 18px;
    text-align: center;
    line-height: 1.45;
    font-style: italic;
    font-family: var(--f-serif);
    margin: var(--sp-5) 0;
    position: relative;
}

.white-quote-author {
    font-family: var(--f-sans);
    padding-bottom: var(--sp-5);
}

.gray-quote {
    background: #2c2c2c;
    color: white;
    margin-bottom: 2em;
    border-radius: var(--r-md);
    padding: var(--sp-4) var(--sp-5);
}

.gray-quote h2 {
    color: #fff;
    font-family: var(--f-serif);
    font-size: 140%;
    margin: 1em 0 !important;
}

.gray li {
    background: url(/images/black-bullet.png) 0 50% no-repeat;
}

.gray h2 {
    color: #000;
    font-family: var(--f-serif);
}

.gray strong {
    font-family: var(--f-serif);
    font-size: 140%;
    line-height: 140%;
}


/* ---- Decorative --------------------------------------------------- */

.heart-line {
    margin: 1.25em 0;
    position: relative;
    background: url(/images/heart-line.png) 50% 50% no-repeat;
    height: 21px;
}

.heart-line:before {
    border-top: 1px solid var(--c-pink-light);
    content: "";
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
}

.white-dot {
    background: #fff;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: var(--r-pill);
    vertical-align: baseline;
    margin: 0 8px;
}


/* ---- Section Hierarchy -------------------------------------------- */

h1.green {
    margin: 1em 0;
    color: var(--c-teal);
    font-family: var(--f-serif);
    font-size: 30px;
    line-height: 1.25;
    text-align: center;
}

#number-box {
    background: #ccc;
    font-size: 150%;
    color: #000;
    font-family: var(--f-serif);
}

.circle-number {
    color: var(--c-teal);
    font-size: 28px;
    border: 2px solid var(--c-teal);
    background: var(--c-surface);
    border-radius: var(--r-pill);
    width: 60px;
    height: 60px;
    margin: var(--sp-3) auto;
    line-height: 56px;
    text-align: center;
}

.circle-number + p {
    line-height: 1.3;
    font-size: 85%;
}


/* ---- Section List ------------------------------------------------- */

#section-list {
    margin-top: 0;
    border: 1px solid var(--c-border-accent);
    border-radius: var(--r-md);
}

#section-list li {
    padding-left: 4px;
    margin: 0;
    position: relative;
    background: #f7f8f0;
    height: 40px;
    line-height: 40px;
    border-top: 1px solid #dcdeb5;
    transition: background var(--tx);
}

#section-list li:first-child {
    border-top: none;
}

#section-list li:hover {
    background: #eceddd;
}

#section-list li.current {
    background: #e9ead5;
    border-left: 3px solid var(--c-teal);
}

#section-list li a {
    text-decoration: none;
    font-family: Georgia;
    font-size: 14px;
    display: block;
    margin-right: 5px;
    padding-left: 20px;
    padding-right: 20px;
    color: var(--c-text);
    line-height: 40px;
}

#section-list li a:hover {
    text-decoration: none;
    color: var(--c-teal);
}

#section-list li.current a {
    background: url(/images/arrow-right.png) 100% 50% no-repeat;
    color: var(--c-teal-dark);
    font-weight: 600;
}

#section-list li.passed a {
    background: url(/images/quiz-passed.png) 100% 50% no-repeat;
    color: var(--c-text-muted);
}

#section-list li.failed a {
    background: url(/images/quiz-failed.png) 100% 50% no-repeat;
    color: var(--c-text-muted);
}

#section-list li.pending a {
    /* intentionally empty */
}

#section-list li.completed:not(.current) a {
    background: url(/images/check.png) 0 40% no-repeat;
    text-decoration: line-through;
    color: var(--c-text-faint);
}

.section-overview {
    line-height: 1.45;
    position: absolute;
    width: 300px;
    padding: var(--sp-4);
    background: var(--c-surface);
    border: 1px solid var(--c-teal);
    box-shadow: var(--sh-lg);
    border-radius: var(--r-md);
    top: 50%;
    left: 80%;
    z-index: 2;
    display: none;
    font-size: 13px;
}

.section-overview > strong:first-child {
    display: block;
    margin-bottom: var(--sp-2);
    color: var(--c-teal);
}

#section-list li:hover .section-overview {
    display: block;
}


/* ---- Course Content ----------------------------------------------- */

#course-content p {
    line-height: 1.8em;
}

#course-content ol {
    list-style: none;
    counter-reset: li;
    margin: 1em 0;
}

#course-content ol li {
    counter-increment: li;
    list-style: none;
    position: relative;
    padding-left: 3em;
    margin: 6px 0;
}

#course-content ol li::before {
    content: counter(li);
    position: absolute;
    left: 0;
    top: 0.05em;
    width: 2em;
    height: 2em;
    background: var(--c-crimson);
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: var(--r-pill);
    font-size: 0.9em;
}

[dir="rtl"] #course-content ol li::before {
    margin-left: 0.5em;
}

#course-content ul li {
    line-height: 2;
    background-position-y: 0.6em;
}


/* ---- Audio Player ------------------------------------------------- */

.ctu-audio-player {
    background: var(--c-surface-warm);
    border: 1px solid var(--c-border-accent);
    border-radius: var(--r-md);
    padding: var(--sp-3);
}

.ctu-audio-controls {
    display: flex;
    align-items: end;
    gap: var(--sp-3);
}

.ctu-audio-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background var(--tx), transform var(--tx);
}

.ctu-audio-btn:hover:not(:disabled) {
    transform: scale(1.08);
}

.ctu-audio-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.ctu-audio-btn svg { display: block; }

@keyframes ctu-spin {
    to { transform: rotate(360deg); }
}

.ctu-audio-btn.is-loading svg {
    animation: ctu-spin 0.8s linear infinite;
}

.ctu-audio-right {
    flex: 1;
    min-width: 0;
}

.ctu-audio-bar {
    position: relative;
    height: 6px;
    background: var(--c-border);
    border-radius: var(--r-pill);
    cursor: pointer;
    margin-bottom: var(--sp-1);
}

.ctu-audio-buffered {
    position: absolute;
    inset: 0;
    width: 0%;
    background: var(--c-teal-light);
    border-radius: var(--r-pill);
    pointer-events: none;
}

.ctu-audio-played {
    position: absolute;
    inset: 0;
    width: 0%;
    background: var(--c-pink);
    border-radius: var(--r-pill);
    pointer-events: none;
}

.ctu-audio-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c-teal);
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    transition: transform var(--tx);
}

.ctu-audio-bar:hover .ctu-audio-thumb {
    transform: translate(-50%, -50%) scale(1);
}

.ctu-audio-time {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--c-text-faint);
    font-family: var(--f-sans);
    font-variant-numeric: tabular-nums;
}


/* ---- Section / Review --------------------------------------------- */

.section {
    background: #f5f6ec;
    border: 1px solid #dcdeb5;
    border-radius: var(--r-sm);
    padding: var(--sp-3);
}

.review-question {
    width: 33%;
    display: inline-block;
    margin: 10px 0;
    font-size: 20px;
    color: #78792C;
}


/* ---- Tip Sheet ---------------------------------------------------- */

.tip-sheet {
    border: 1px solid #ffd83a;
    border-radius: var(--r-md);
    padding: var(--sp-4) var(--sp-4) var(--sp-4) 60px;
    background: url(/images/tip-light.png) 12px 12px no-repeat #ffffde;
}


/* ---- Validation --------------------------------------------------- */

.validation-summary-errors {
    border: 1px solid var(--c-error-border);
    padding: var(--sp-4);
    color: var(--c-error);
    border-radius: var(--r-md);
    background: var(--c-error-bg);
    margin: var(--sp-4) 0;
    font-size: 14px;
    text-align: left;
}


/* ---- Alerts ------------------------------------------------------- */

.alert-error {
    display: block;
    padding: var(--sp-3) var(--sp-4);
    color: #8f1313;
    border: 1px solid #e9a4a4;
    background: #fde8e8;
    border-radius: var(--r-md);
    margin: var(--sp-3) 0;
}

.alert-success {
    display: block;
    padding: var(--sp-3) var(--sp-4);
    color: #136620;
    border: 1px solid var(--c-success-border);
    background: var(--c-success-bg);
    border-radius: var(--r-md);
    margin: var(--sp-3) 0;
}


/* ---- Quiz Status -------------------------------------------------- */

.quiz-status {
    background: #f5f6ec;
    border: 1px solid #dcdeb5;
    border-radius: var(--r-md);
    padding: var(--sp-4);
    font-family: var(--f-sans);
    font-size: 13px;
    color: var(--c-text-muted);
}

.quiz-status h2 {
    font-family: var(--f-sans);
    color: var(--c-text-muted);
    font-size: 20px;
    margin: 0 0 var(--sp-5) 0;
}


/* ---- Settings / Profile ------------------------------------------- */

.settings-link img {
    height: 32px;
    border-radius: var(--r-pill);
    vertical-align: middle;
    margin-right: 6px;
}

.settings-link img.generic {
    border-radius: 0;
}


/* ---- Misc --------------------------------------------------------- */

#main-search {
    width: 50%;
    background: #fff url(/images/search.png) 4px 50% no-repeat;
}

iframe {
    max-width: 100%;
}


/* ---- Audio Library sidebar link ----------------------------------- */

.ctu-audio-all-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    margin-top: var(--sp-3);
    font-size: 13px;
    font-weight: 500;
    color: var(--c-teal);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
}

.ctu-audio-all-link:hover {
    color: var(--c-teal-dark);
    text-decoration: underline;
}

.ctu-audio-all-link svg {
    flex-shrink: 0;
}


/* ---- Audio Library page ------------------------------------------- */

.ctu-library {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--sp-6) var(--sp-4);
}

.ctu-library-header {
    margin-bottom: var(--sp-8);
}

.ctu-library-back {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--c-teal);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: var(--sp-5);
    background: none;
    border: none;
    padding: 0;
    transition: color var(--tx);
}

.ctu-library-back:hover {
    color: var(--c-teal-dark);
    text-decoration: underline;
}

.ctu-library-back svg {
    flex-shrink: 0;
}

.ctu-library-course {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-text);
    margin: 0 0 var(--sp-1) 0;
    line-height: 1.2;
}

.ctu-library-subtitle {
    font-size: 14px;
    color: var(--c-text-muted);
    margin: 0;
}

.ctu-library-sections {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.ctu-library-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-5) var(--sp-6);
    box-shadow: var(--sh-sm);
    transition: box-shadow var(--tx-sl);
}

.ctu-library-card:not(.ctu-library-card--locked):hover {
    box-shadow: var(--sh-md);
}

.ctu-library-card--locked {
    background: var(--c-surface-alt);
}

.ctu-library-card-meta {
    margin-bottom: var(--sp-4);
}

.ctu-library-card--locked .ctu-library-card-meta {
    margin-bottom: var(--sp-2);
}

.ctu-library-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-teal);
    margin-bottom: var(--sp-1);
}

.ctu-library-card--locked .ctu-library-card-label {
    color: var(--c-text-faint);
}

.ctu-library-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.3;
}

.ctu-library-card--locked .ctu-library-card-title {
    color: var(--c-text-muted);
}

.ctu-library-locked {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    color: var(--c-text-muted);
    font-size: 14px;
}

.ctu-library-locked svg {
    flex-shrink: 0;
    color: var(--c-text-faint);
}

.ctu-library-empty {
    text-align: center;
    color: var(--c-text-muted);
    padding: var(--sp-12) var(--sp-6);
}

@media (max-width: 480px) {
    .ctu-library {
        padding: var(--sp-4) var(--sp-3);
    }
    .ctu-library-card {
        padding: var(--sp-4);
    }
}


/* ---- Button Variants ---------------------------------------------- */

/* Full-width block button */
a.button.btn-block,
button.btn-block,
input[type="submit"].btn-block {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* ---- Exam Results page -------------------------------------------- */

/* Hero banner */
.results-hero {
    border-radius: var(--r-lg);
    padding: var(--sp-8) var(--sp-8);
    margin-bottom: var(--sp-6);
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0);    }
}
.results-hero--pass { border-top: 4px solid #2e9e6b; }
.results-hero--fail { border-top: 4px solid var(--c-crimson); }

.results-hero-inner {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    flex-wrap: wrap;
}

/* Score ring */
.results-score-ring-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    flex-shrink: 0;
}
.results-score-ring { width: 130px; height: 130px; transform: rotate(-90deg); }
.results-ring-track {
    fill: none;
    stroke: var(--c-surface-alt);
    stroke-width: 8;
}
.results-ring-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}
.results-score-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--c-text);
    line-height: 1;
}
.results-score-sym { font-size: 1rem; font-weight: 600; color: var(--c-text-muted); margin-left: 1px; }

/* Outcome badge */
.results-outcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    margin-bottom: var(--sp-2);
}
.results-outcome-badge--pass { background: #d1fae5; color: #065f46; }
.results-outcome-badge--fail { background: #fee2e2; color: #991b1b; }

.results-heading { margin: 0 0 var(--sp-2); font-size: 1.8rem; }
.results-sub { margin: 0 0 var(--sp-4); color: var(--c-text-muted); font-size: 1rem; }

/* Action buttons */
.results-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    align-items: center;
}
.results-btn-primary {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--c-teal); color: white; border: 2px solid var(--c-teal);
}
.results-btn-primary:hover { background: var(--c-teal-dark); border-color: var(--c-teal-dark); }
.results-btn-secondary {
    display: inline-flex; align-items: center; gap: 7px;
    background: transparent; color: var(--c-teal); border: 2px solid var(--c-teal);
}
.results-btn-secondary:hover { background: var(--c-teal-light); }
.results-btn-ghost {
    display: inline-flex; align-items: center; gap: 7px;
    background: transparent; color: var(--c-text-muted); border: 2px solid var(--c-border);
}
.results-btn-ghost:hover { border-color: var(--c-teal); color: var(--c-teal); }

/* CMS content block */
.results-cms-content {
    background: var(--c-surface-alt);
    border-radius: var(--r-lg);
    padding: var(--sp-5) var(--sp-6);
    margin-bottom: var(--sp-6);
    border: 1px solid var(--c-border);
}

/* Missed questions review */
.results-review { margin-top: var(--sp-2); }
.results-review-heading {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 1.2rem;
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid var(--c-border);
}
.results-review-count {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    background: #fee2e2;
    color: #991b1b;
    padding: 3px 10px;
    border-radius: var(--r-pill);
}

.results-section-group { margin-bottom: var(--sp-5); }
.results-section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-text-muted);
    margin-bottom: var(--sp-3);
}

.results-missed-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-left: 4px solid var(--c-crimson);
    border-radius: var(--r-md);
    padding: var(--sp-4) var(--sp-5);
    margin-bottom: var(--sp-3);
    animation: fadeInUp 0.4s ease;
}
.results-missed-q {
    display: flex;
    gap: var(--sp-3);
    align-items: flex-start;
    margin-bottom: var(--sp-3);
    font-weight: 600;
    line-height: 1.5;
}
.results-missed-q p { margin: 0; }
.results-q-num {
    flex-shrink: 0;
    background: var(--c-crimson);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    margin-top: 3px;
}

.results-answers { display: flex; flex-direction: column; gap: var(--sp-2); }
.results-answer {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--r-md);
    font-size: 14px;
    line-height: 1.45;
}
.results-answer--wrong   { background: #fee2e2; }
.results-answer--correct { background: #d1fae5; }
.results-answer-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    padding: 2px 8px;
    border-radius: var(--r-pill);
}
.results-answer-badge--wrong   { background: #f87171; color: white; }
.results-answer-badge--correct { background: #2e9e6b; color: white; }
.results-answer-text { color: var(--c-text); }


/* ---- Question Partial --------------------------------------------- */

.question {
    margin-bottom: 2em;
}

.question p {
    margin: 0;
}

.question table {
    margin-top: var(--sp-3);
}

.question table td {
    padding: 4px 8px;
    vertical-align: middle;
}

.response-letter {
    color: var(--c-text-faint);
}


/* ---- Page Card (auth/utility forms) ------------------------------- */

.page-card {
    border: 2px solid var(--c-teal);
    border-radius: var(--r-lg);
    padding: var(--sp-6) var(--sp-8);
    background: var(--c-surface);
}

@media (max-width: 568px) {
    .page-card {
        padding: var(--sp-4) var(--sp-4);
    }
}


/* ---- Form Groups -------------------------------------------------- */

.form-group {
    margin-bottom: var(--sp-4);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--sp-1);
    color: var(--c-text);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
}

.form-narrow {
    max-width: 380px;
}


/* ---- Page Title --------------------------------------------------- */

.page-title {
    color: var(--c-teal);
    font-family: var(--f-serif);
    font-size: 26px;
    line-height: 1.25;
    margin: var(--sp-4) 0 var(--sp-5);
}


/* ---- Status / Error Pages ----------------------------------------- */

.status-card {
    max-width: 580px;
    margin: 3rem auto;
    padding: var(--sp-8) var(--sp-10);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    background: var(--c-surface);
    text-align: center;
    box-shadow: var(--sh-sm);
}

.status-card h2 {
    color: var(--c-teal);
    margin-top: 0;
}

.status-card.error {
    border-color: var(--c-error-border);
    background: var(--c-error-bg);
}

.status-card.error h2 {
    color: var(--c-error);
}

@media (max-width: 568px) {
    .status-card {
        padding: var(--sp-5) var(--sp-4);
        margin: 1.5rem auto;
    }
}


/* ---- Certificate Cards -------------------------------------------- */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--sp-5);
    padding: var(--sp-4) 0;
}

.cert-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-top: 4px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    line-height: 1.45;
    transition: box-shadow var(--tx), border-color var(--tx);
}

.cert-card:hover {
    box-shadow: var(--sh-md);
}

/* Status-specific accent colors */
.cert-card--passed  { border-top-color: #2e9e6b; color: #2e9e6b; }
.cert-card--expired { border-top-color: #d97706; color: #d97706; }
.cert-card--failed  { border-top-color: var(--c-crimson); color: var(--c-crimson); }
.cert-card--begin   { border-top-color: var(--c-teal); color: var(--c-teal); }

.cert-card--passed:hover  { border-color: #2e9e6b; }
.cert-card--expired:hover { border-color: #d97706; }
.cert-card--failed:hover  { border-color: var(--c-crimson); }
.cert-card--begin:hover   { border-color: var(--c-teal); }

/* Status icon */
.cert-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    padding-bottom: var(--sp-2);
}

.cert-icon {
    width: 56px;
    height: 56px;
}

.cert-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: currentColor;
    border-radius: var(--r-pill);
    padding: 2px 10px;
    color: white;
    opacity: 0.85;
}

/* Badge text is always white regardless of parent color */
.cert-card--passed  .cert-badge,
.cert-card--expired .cert-badge,
.cert-card--failed  .cert-badge,
.cert-card--begin   .cert-badge { color: #fff; }

.cert-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.35;
}

.cert-date {
    font-size: 13px;
    color: var(--c-text-muted);
    min-height: 1.5em;
}

.cert-status-locked {
    font-style: italic;
    color: var(--c-text-faint);
}

.cert-status-expired {
    color: #d97706;
    font-weight: 600;
}

/* Cert buttons - icon + text layout */
.cert-button { margin-top: var(--sp-2); }

.cert-button .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.cert-btn--download { background: #2e9e6b; border-color: #2e9e6b; }
.cert-btn--download:hover { background: #237a54; border-color: #237a54; }

.cert-btn--renew { background: #d97706; border-color: #d97706; }
.cert-btn--renew:hover { background: #b45d04; border-color: #b45d04; }

.cert-btn--retake { background: var(--c-crimson); border-color: var(--c-crimson); }
.cert-btn--retake:hover { background: #a01f2d; border-color: #a01f2d; }

.cert-btn--begin { background: var(--c-teal); border-color: var(--c-teal); }
.cert-btn--begin:hover { background: var(--c-teal-dark); border-color: var(--c-teal-dark); }


/* ---- Exam page ---------------------------------------------------- */

/* Question slide animations */
@keyframes examSlideIn {
    from { opacity: 0; transform: translateX(36px); }
    to   { opacity: 1; transform: translateX(0);    }
}
@keyframes examSlideOut {
    from { opacity: 1; transform: translateX(0);     }
    to   { opacity: 0; transform: translateX(-36px); }
}

.question { display: none; }

.question--entering {
    display: block;
    animation: examSlideIn 0.35s cubic-bezier(.25,.46,.45,.94) forwards;
}
.question--leaving {
    display: block;
    animation: examSlideOut 0.2s ease forwards;
}

/* Question text */
.exam-question-text {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.55;
    color: var(--c-text);
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--c-border);
}

/* Answer option cards */
.exam-options { display: flex; flex-direction: column; gap: var(--sp-2); }

.exam-option {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    border: 2px solid var(--c-border);
    border-radius: var(--r-md);
    cursor: pointer;
    background: var(--c-surface);
    transition: border-color var(--tx), background var(--tx), box-shadow var(--tx);
    line-height: 1.5;
}
.exam-option:hover {
    border-color: var(--c-teal);
    background: var(--c-teal-light);
}
.exam-option input[type="radio"] { display: none; }

.exam-option-letter {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--c-surface-alt);
    border: 2px solid var(--c-border);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 12px; color: var(--c-text-muted);
    transition: background var(--tx), border-color var(--tx), color var(--tx);
    user-select: none;
}
.exam-option-text { flex: 1; font-size: 0.97rem; color: var(--c-text); }

/* Selected state - toggled via JS class */
.exam-option--selected {
    border-color: var(--c-teal);
    background: var(--c-teal-light);
    box-shadow: 0 0 0 3px rgba(2, 94, 115, 0.12);
}
.exam-option--selected .exam-option-letter {
    background: var(--c-teal);
    border-color: var(--c-teal);
    color: #fff;
}

/* Exam nav button */
.exam-nav {
    display: flex;
    align-items: center;
    margin-top: var(--sp-5);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--c-border);
}
.exam-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-teal);
    color: white;
    border: 2px solid var(--c-teal);
    padding: var(--sp-3) var(--sp-6);
    font-weight: 600;
    transition: background var(--tx), border-color var(--tx), opacity var(--tx), transform var(--tx);
}
.exam-next-btn:hover:not(:disabled) { background: var(--c-teal-dark); border-color: var(--c-teal-dark); transform: translateX(2px); }
.exam-next-btn:disabled { background: var(--c-surface-alt); color: var(--c-text-faint); border-color: var(--c-border); cursor: not-allowed; }

/* Sidebar */
.exam-sidebar { padding: var(--sp-4); }
.exam-stat-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-text-muted); margin-bottom: 2px; }
.exam-stat-value { font-size: 1.6rem; font-weight: 700; color: var(--c-text); }
.exam-stat-of { font-size: 1rem; font-weight: 400; color: var(--c-text-muted); margin-left: 4px; }

/* Score bar */
.exam-score-track {
    position: relative;
    height: 10px;
    background: var(--c-surface-alt);
    border-radius: var(--r-pill);
    overflow: visible;
    margin: var(--sp-2) 0 var(--sp-1);
}
.exam-score-fill {
    height: 100%;
    border-radius: var(--r-pill);
    background: var(--c-text-faint);
    transition: width 0.5s cubic-bezier(.25,.46,.45,.94), background 0.4s;
}
.exam-score-fill--pass { background: #2e9e6b; }
.exam-score-fill--fail { background: var(--c-crimson); }
.exam-score-required-line {
    position: absolute;
    top: -4px; bottom: -4px;
    width: 2px;
    background: var(--c-teal);
    border-radius: 2px;
    transform: translateX(-50%);
}
.exam-score-required-line::after {
    content: '';
    position: absolute;
    top: -3px; left: 50%;
    transform: translateX(-50%);
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--c-teal);
}
.exam-score-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-muted);
    margin-bottom: var(--sp-2);
}
.exam-pass-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    margin-bottom: var(--sp-2);
}
.badge-pass { background: #d1fae5; color: #065f46; }
.badge-fail { background: #fee2e2; color: #991b1b; }

.exam-threshold-note {
    font-size: 12px;
    color: var(--c-text-faint);
    margin-top: var(--sp-3);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--c-border);
}

/* Done overlay */
#done-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInOverlay 0.4s ease;
}
@keyframes fadeInOverlay {
    from { opacity: 0; } to { opacity: 1; }
}
.exam-done-card {
    background: white;
    border-radius: var(--r-xl, 16px);
    padding: var(--sp-8) var(--sp-10);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    max-width: 360px;
    animation: doneCardIn 0.45s cubic-bezier(.34,1.56,.64,1);
}
@keyframes doneCardIn {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to   { opacity: 1; transform: scale(1)   translateY(0);    }
}
.exam-done-icon { margin-bottom: var(--sp-3); }
.exam-done-card h2 { margin: 0 0 var(--sp-2); }
.exam-done-card p  { color: var(--c-text-muted); margin: 0 0 var(--sp-4); }

/* Spinner */
.exam-spinner {
    width: 32px; height: 32px;
    border: 3px solid var(--c-border);
    border-top-color: var(--c-teal);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ---- Video Player ------------------------------------------------- */

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: var(--r-md);
    overflow: hidden;
    background: #000;
}

.video-container .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.video-link {
    display: flex;
    align-items: flex-start;
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--r-sm);
    text-decoration: none;
    color: var(--c-text);
    gap: var(--sp-3);
    transition: background var(--tx);
    border: 1px solid transparent;
}

.video-link img {
    width: 90px;
    flex-shrink: 0;
    border-radius: var(--r-sm);
    object-fit: cover;
}

.video-link span {
    font-size: 13px;
    line-height: 1.4;
    padding-top: 2px;
}

.video-link:hover {
    background: #fde9f3;
    text-decoration: none;
    color: var(--c-text);
}

.video-link.current {
    border-color: var(--c-teal);
    background: var(--c-teal-light);
}

.video-link.current span {
    color: var(--c-teal);
    font-weight: 600;
}


/* ---- Renew Card --------------------------------------------------- */

.renew-card {
    max-width: 580px;
    margin: 2rem auto;
    border: 2px solid var(--c-crimson);
    border-radius: var(--r-lg);
    padding: var(--sp-8);
    background: var(--c-surface);
    text-align: center;
    box-shadow: var(--sh-sm);
}

.renew-card h2 {
    margin-top: 0;
    color: var(--c-teal);
}

.renew-course-name {
    font-size: 16px;
    font-weight: bold;
    margin: var(--sp-4) 0 var(--sp-2);
    color: var(--c-text);
}

.renew-controls {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    margin: var(--sp-5) 0;
    align-items: flex-end;
    justify-content: center;
}

.renew-controls label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--sp-1);
    font-size: 13px;
    color: var(--c-text);
}

.no-renewal-msg {
    color: var(--c-error);
    font-style: italic;
    padding: var(--sp-4);
    background: var(--c-error-bg);
    border-radius: var(--r-md);
    border: 1px solid var(--c-error-border);
}


/* ---- Section Blocks ----------------------------------------------- */

.section-block {
    padding: var(--sp-8) 0;
}

.login-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-teal);
    border-left: 3px solid var(--c-crimson);
    padding-left: var(--sp-3);
    margin: var(--sp-4) 0;
}


/* ---- Hero Banner (Home page) -------------------------------------- */

.hero-banner {
    background-size: cover;
    background-position: 50% 50%;
    padding: var(--sp-8) var(--sp-10);
    text-align: center;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
    max-width: 760px;
    margin: 0 auto;
}

.hero-card {
    display: flex;
    flex-direction: column;
}

.hero-card .card-body {
    flex: 1;
}

@media (max-width: 768px) {
    .hero-banner {
        padding: var(--sp-6) var(--sp-5);
    }
    .hero-cards {
        grid-template-columns: 1fr;
        max-width: 380px;
    }
}


/* ---- Glossary ----------------------------------------------------- */

.glossary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1) var(--sp-2);
    margin-bottom: var(--sp-6);
    padding: var(--sp-3) var(--sp-4);
    background: var(--c-surface-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
}

.glossary-nav a {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 14px;
    color: var(--c-teal);
    transition: background var(--tx);
}

.glossary-nav a:hover {
    background: var(--c-teal-light);
    text-decoration: none;
}

.glossary-section-heading {
    font-size: 22px;
    color: var(--c-teal);
    font-family: var(--f-serif);
    border-bottom: 2px solid var(--c-beige);
    padding-bottom: var(--sp-2);
    margin: var(--sp-6) 0 var(--sp-3);
}

.glossary-term {
    font-size: 16px;
    color: var(--c-teal-dark);
    font-family: var(--f-serif);
    font-weight: normal;
    margin: var(--sp-3) 0 var(--sp-1);
}

.glossary-term + p {
    margin-left: var(--sp-4);
    color: var(--c-text);
}


/* ---- Book / Media List -------------------------------------------- */

.book-item {
    display: flex;
    gap: var(--sp-5);
    padding: var(--sp-5) 0;
    border-bottom: 1px solid var(--c-border);
    align-items: flex-start;
}

.book-item:last-of-type {
    border-bottom: none;
}

.book-item img {
    width: 100px;
    flex-shrink: 0;
    border-radius: var(--r-sm);
    box-shadow: var(--sh-sm);
}

@media (max-width: 568px) {
    .book-item {
        flex-direction: column;
    }

    .book-item img {
        width: 80px;
    }
}


/* ---- Exam / Quiz page-level fixes --------------------------------- */

/* Hide questions by default on exam/quiz - JS reveals them one at a time */
.exam-view .question {
    display: none;
}


/* ---- Digital Clock Widget ----------------------------------------- */

.clock-widget {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--sp-2);
    padding: var(--sp-4) 0 var(--sp-3);
    clear: both;
}

.clock-label {
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--c-text-faint);
    display: flex;
    align-items: center;
    gap: 5px;
}

.clock-display {
    background: #0d1f26;
    border: 1px solid rgba(2, 94, 115, 0.45);
    border-radius: var(--r-md);
    padding: 10px 18px;
    box-shadow: 0 0 18px rgba(2, 94, 115, 0.25), inset 0 1px 0 rgba(255,255,255,0.04);
    font-family: 'Courier New', Courier, monospace;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0.08em;
    color: #5df5e8;
    text-shadow: 0 0 8px rgba(93, 245, 232, 0.65), 0 0 20px rgba(93, 245, 232, 0.25);
    line-height: 1;
    white-space: nowrap;
}

/* Compact variant used in exam sidebar */
.clock-display-sm {
    font-size: 20px;
    padding: 6px 12px;
    margin: var(--sp-2) 0 var(--sp-4);
    letter-spacing: 0.06em;
}

.clock-colon {
    display: inline-block;
    animation: clock-blink 1s step-end infinite;
}

@keyframes clock-blink {
    0%, 100% { opacity: 1;    }
    50%       { opacity: 0.15; }
}


/* ---- "I have read this section" confirmation widget --------------- */

.read-confirm {
    display: flex;
    justify-content: center;
    margin: var(--sp-6) 0 var(--sp-2);
}

/* Hide the native checkbox - label click still toggles it */
#check-read {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.read-confirm-label {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    cursor: pointer;
    padding: var(--sp-4) var(--sp-6);
    border: 2px dashed var(--c-border);
    border-radius: var(--r-lg);
    background: var(--c-surface-alt);
    color: var(--c-text-muted);
    font-size: 15px;
    transition: background var(--tx-sl), border-color var(--tx-sl), color var(--tx-sl);
    user-select: none;
}

.read-confirm-label:hover {
    border-color: var(--c-teal);
    color: var(--c-teal-dark);
    background: var(--c-teal-light);
}

/* Custom checkbox box */
.read-confirm-box {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 2px solid var(--c-border);
    border-radius: var(--r-sm);
    background: var(--c-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--tx-sl), border-color var(--tx-sl), transform var(--tx);
}

/* Checkmark SVG inside the box */
.read-confirm-check {
    width: 14px;
    height: 12px;
    fill: none;
    stroke: white;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity var(--tx), transform var(--tx);
}

/* ── Checked state ── */

#check-read:checked + .read-confirm-label {
    border-style: solid;
    border-color: var(--c-teal);
    background: var(--c-teal-light);
    color: var(--c-teal-dark);
    font-weight: 600;
}

#check-read:checked + .read-confirm-label .read-confirm-box {
    background: var(--c-teal);
    border-color: var(--c-teal);
    transform: scale(1.08);
}

#check-read:checked + .read-confirm-label .read-confirm-check {
    opacity: 1;
    transform: scale(1);
}


/* ---- Course navigation bar ---------------------------------------- */

.course-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-5) 0 var(--sp-2);
    border-top: 1px solid var(--c-border);
    margin-top: var(--sp-4);
}

.course-nav-prev,
.course-nav-next,
.course-nav-exam {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 10px 22px;
    border-radius: var(--r-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--tx), color var(--tx), border-color var(--tx), box-shadow var(--tx);
    line-height: normal;
    height: auto;
}

/* Previous - outlined, low visual weight */
.course-nav-prev {
    background: transparent;
    color: var(--c-teal);
    border: 2px solid var(--c-teal);
}

.course-nav-prev:hover {
    background: var(--c-teal-light);
    color: var(--c-teal-dark);
    border-color: var(--c-teal-dark);
    text-decoration: none;
}

/* Next - filled teal, locked until checkbox */
.course-nav-next {
    background: var(--c-teal);
    color: white;
    border: 2px solid var(--c-teal);
}

.course-nav-next:hover:not(:disabled) {
    background: var(--c-teal-dark);
    border-color: var(--c-teal-dark);
    color: white;
    box-shadow: var(--sh-sm);
}

.course-nav-next:disabled {
    background: var(--c-surface-alt);
    color: var(--c-text-faint);
    border: 2px solid var(--c-border);
    cursor: not-allowed;
    box-shadow: none;
}

.course-nav-next svg,
.course-nav-prev svg,
.course-nav-exam svg {
    flex-shrink: 0;
    transition: transform var(--tx);
}

.course-nav-next:not(:disabled):hover svg,
.course-nav-exam:hover svg {
    transform: translateX(3px);
}

.course-nav-prev:hover svg {
    transform: translateX(-3px);
}

/* Exam / Complete - crimson CTA, highest priority */
.course-nav-exam {
    background: var(--c-crimson);
    color: white;
    border: 2px solid var(--c-crimson);
}

.course-nav-exam:hover {
    background: var(--c-crimson-hover);
    border-color: var(--c-crimson-hover);
    color: white;
    box-shadow: var(--sh-sm);
    text-decoration: none;
}


/* ---- Photo / Upload page ------------------------------------------ */

/* Drop zone */
.photo-drop-zone {
    position: relative;
    max-width: 420px;
    border: 2px dashed var(--c-border);
    border-radius: var(--r-lg);
    background: var(--c-surface-alt);
    padding: var(--sp-8) var(--sp-6);
    text-align: center;
    cursor: pointer;
    transition: border-color var(--tx), background var(--tx);
}
.photo-drop-zone:hover,
.photo-drop-zone--over {
    border-color: var(--c-teal);
    background: var(--c-teal-light);
}
.photo-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    font-size: 0;
}
.photo-drop-icon {
    color: var(--c-teal);
    margin-bottom: var(--sp-3);
    opacity: 0.75;
}
.photo-drop-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--c-text);
    margin: 0 0 var(--sp-1);
}
.photo-drop-sub {
    color: var(--c-text-muted);
    font-size: 14px;
    margin: 0 0 var(--sp-2);
}
.photo-drop-hint-sm {
    font-size: 12px;
    color: var(--c-text-faint);
    margin: 0;
}

/* Camera / selfie button row */
.photo-camera-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    max-width: 420px;
    margin-top: var(--sp-4);
}
.photo-or {
    color: var(--c-text-faint);
    font-size: 13px;
}
.photo-selfie-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--c-teal);
    border: 2px solid var(--c-teal);
    cursor: pointer;
    padding: 5px 10px;
}
.photo-selfie-btn:hover {
    background: var(--c-teal-light);
}

/* Crop / canvas editor */
.photo-crop-panel {
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.photo-crop-hint {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.5;
    margin: 0 0 var(--sp-3);
    align-self: flex-start;
}
.photo-canvas-wrap {
    width: 100%;
    max-width: 300px;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.22);
}
.photo-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: auto;
    cursor: grab;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}
.photo-canvas-wrap canvas.dragging { cursor: grabbing; }
.photo-zoom-controls {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin: var(--sp-4) 0 var(--sp-2);
}
.photo-zoom-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: var(--r-md);
    border: 2px solid var(--c-border);
    background: white;
    cursor: pointer;
    color: var(--c-text);
    font-size: 15px;
    font-family: var(--f-sans);
    font-weight: 500;
    transition: border-color var(--tx), background var(--tx), color var(--tx);
    touch-action: none;
    user-select: none;
}
.photo-zoom-btn:hover {
    border-color: var(--c-teal);
    color: var(--c-teal);
    background: var(--c-teal-light);
}
.photo-zoom-btn:active { opacity: 0.75; }
.photo-crop-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-top: var(--sp-4);
    flex-wrap: wrap;
    justify-content: center;
}
.photo-btn-back {
    background: transparent;
    color: var(--c-teal);
    border: 2px solid var(--c-teal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.photo-btn-back:hover { background: var(--c-teal-light); }
.photo-btn-save {
    background: var(--c-teal);
    color: white;
    border: 2px solid var(--c-teal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.photo-btn-save:hover { background: var(--c-teal-dark); border-color: var(--c-teal-dark); }

.wallet-sample-wrap {
    position: relative;
    display: inline-block;
    margin: var(--sp-4) 0;
}

.wallet-sample-wrap .wallet-photo {
    position: absolute;
    margin-left: 41px;
    margin-top: 58px;
    width: 80px;
    height: 80px;
    object-fit: cover;
}


/* ---- Responsive --------------------------------------------------- */

@media only screen and (max-width: 460px) {
    .responsive-table td {
        display: block;
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .fullwidth-mobile {
        width: 100%;
    }

    p.extra-large {
        font-size: 22px;
    }

    .blue-box,
    .beige-box {
        padding: var(--sp-6) var(--sp-5);
        gap: var(--sp-5);
    }
}


/* ---- Header bar --------------------------------------------------- */

.header-bar { padding: 12px 0 8px; }

#main-logo img { max-height: 52px; }

.header-phone {
    margin: 0;
    font-size: 15px;
    font-weight: normal;
    color: var(--c-teal);
    font-family: var(--f-sans);
}

.nav-avatar { width: 30px; height: 30px; }


/* ---- Newsletter signup row ---------------------------------------- */

.signup-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.signup-row input { min-width: 260px; }


/* ---- My Courses table --------------------------------------------- */

#course-table {
    width: 100%;
    border-collapse: collapse;
}

#course-table th {
    text-align: left;
    padding: 14px;
    border-bottom: 2px solid var(--c-teal);
    white-space: nowrap;
    font-size: 15px;
    background: var(--c-teal-light);
}

#course-table th.status-col { text-align: center; }

#course-table td {
    padding: 10px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #eeeedd;
}

#course-table tr:last-child td { border-bottom: none; }

#course-table tr:not(.divider-row):hover td {
    background-color: rgba(2, 94, 115, 0.04);
}

#course-table .divider-row td div { margin: 10px 0; }
#course-table .divider-row h2 { font-weight: bold; }

.row-expired td { background-color: #fff5f5 !important; color: var(--c-error); font-weight: 700; }
.row-expired a  { color: var(--c-error); font-weight: 700; }
.status-completed { color: var(--c-success); font-weight: 600; }
.warn-icon { color: var(--c-error); margin-right: 4px; }
.course-meta { font-size: 80%; opacity: 0.7; margin-top: 2px; }

@media (max-width: 700px) {
    #course-table th,
    #course-table td { padding: 8px 10px; font-size: 13px; }
}


/* ---- Toolkit / content sections ----------------------------------- */

.toolkit-teaser { height: 8rem; }

.responsive-iframe {
    aspect-ratio: 560 / 315;
    width: 100%;
    height: auto;
}

.pac-img { height: 200px; object-fit: cover; }

.mb-section { margin-bottom: 3em; }


/* ---- Continue-links widget (course section navigation) ------------ */

.continue-links .videos-watched    { display: none; }
.continue-links .must-watch-video  { display: block; text-align: right; }
.continue-links.done .videos-watched   { display: block; }
.continue-links.done .must-watch-video { display: none; }

.video-watched-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.35rem 0 1rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 0.82rem;
    font-weight: 600;
}

.section-footer { margin: 2em 0; }

/* ---- Login page --------------------------------------------------- */

.login-form-wrap {
    max-width: 320px;
    margin: 1.5rem auto;
    text-align: left;
}

.login-forgot-row {
    text-align: right;
    margin-bottom: 1.25rem;
}

.login-forgot-row a { font-size: 13px; }

.or-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 320px;
    margin: 1.25rem auto;
}

.or-divider-line {
    flex: 1;
    height: 1px;
    background: var(--c-border);
}

.or-divider-text {
    color: var(--c-text-faint);
    font-size: 13px;
}

.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: var(--r-sm);
    color: #3c4043;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    box-sizing: border-box;
    width: 100%;
    transition: background var(--tx), box-shadow var(--tx);
    height: auto;
    line-height: normal;
}

.google-signin-btn:hover {
    background: #f8f9fa;
    box-shadow: var(--sh-xs);
    color: #3c4043;
    text-decoration: none;
}

.google-signin-wrap {
    max-width: 320px;
    margin: 0 auto 1.5rem;
}

.login-help-text {
    margin: 1.5rem 0;
    color: var(--c-text-muted);
    font-size: 14px;
}

.login-iframe {
    width: 100%;
    aspect-ratio: 640 / 480;
    max-width: 640px;
}

.quiz-results-panel {
    padding: 40px 0;
}


/* Disabled section-list item (mirrors link padding so text aligns) */
.section-list-disabled {
    display: block;
    padding-left: 20px;
    color: var(--c-text-faint);
    line-height: 40px;
    font-family: Georgia;
    font-size: 14px;
}


/* ============================================================
   LOGIN PAGE REDESIGN
   ============================================================ */

.login-page-wrap {
    display: grid;
    grid-template-columns: 5fr 6fr;
    min-height: 580px;
}

/* ---- Brand panel (left) ----------------------------------- */

.login-brand-panel {
    background: linear-gradient(150deg, var(--c-teal) 0%, #01303d 100%);
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-brand-panel::before {
    content: '';
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(255,255,255,0.055);
    top: -150px;
    right: -150px;
    pointer-events: none;
}

.login-brand-panel::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(166,20,75,0.12);
    bottom: -80px;
    left: -70px;
    pointer-events: none;
}

.login-brand-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-beige);
    margin: 0 0 var(--sp-4);
    position: relative;
    z-index: 1;
}

.login-brand-tagline {
    font-family: var(--f-serif);
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 var(--sp-5);
    position: relative;
    z-index: 1;
}

.login-brand-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.68);
    line-height: 1.75;
    margin: 0 0 var(--sp-8);
    position: relative;
    z-index: 1;
    max-width: 340px;
}

.login-brand-stats {
    display: flex;
    gap: var(--sp-6);
    margin-bottom: var(--sp-8);
    position: relative;
    z-index: 1;
}

.login-stat { display: flex; flex-direction: column; }

.login-stat-num {
    font-family: var(--f-serif);
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.login-stat-sep {
    width: 1px;
    background: rgba(255,255,255,0.18);
    align-self: stretch;
}

.login-stat-label {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.login-brand-quote {
    background: rgba(255,255,255,0.07);
    border-left: 3px solid var(--c-beige);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: var(--sp-4) var(--sp-5);
    margin: 0;
    position: relative;
    z-index: 1;
}

.login-brand-quote p {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 14px;
    color: rgba(255,255,255,0.80);
    line-height: 1.7;
    margin: 0 0 var(--sp-2);
}

.login-brand-quote cite {
    font-size: 12px;
    color: rgba(255,255,255,0.42);
    font-style: normal;
    letter-spacing: 0.03em;
}

/* ---- Form panel (right) ----------------------------------- */

.login-form-panel {
    padding: 56px 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.login-form-inner {
    width: 100%;
    max-width: 400px;
    text-align:center;
}

.login-logo {
    max-height: 48px;
    margin-bottom: var(--sp-6);
    
}

.login-panel-heading {
    font-family: var(--f-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-teal-dark);
    margin: 0 0 var(--sp-2);
}

.login-panel-sub {
    font-size: 14px;
    color: var(--c-text-muted);
    margin: 0 0 var(--sp-6);
}

/* Company callout */
.login-company-callout {
    margin-top: var(--sp-6);
    background: var(--c-surface-warm);
    border: 1px solid var(--c-border-accent);
    border-radius: var(--r-md);
    padding: var(--sp-4) var(--sp-5);
}

.login-company-callout h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-teal);
    margin: 0 0 4px;
}

.login-company-callout p {
    font-size: 13px;
    color: var(--c-text-muted);
    margin: 0 0 var(--sp-3);
}

.login-callout-actions {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
    justify-content: center;
}

/* Help videos section */
.login-help-section {
    background: var(--c-surface-alt);
    border-top: 1px solid var(--c-border);
    padding: var(--sp-8) var(--sp-8);
}

.login-help-inner {
    max-width: 840px;
    margin: 0 auto;
}

.login-help-inner h3 {
    font-family: var(--f-serif);
    font-size: 20px;
    color: var(--c-teal);
    margin: 0 0 var(--sp-2);
}

.login-help-inner > p {
    font-size: 14px;
    color: var(--c-text-muted);
    margin: 0 0 var(--sp-5);
}

/* Login section-block: tighter info sections below fold */
.login-info-section {
    padding: var(--sp-10) var(--sp-8) var(--sp-10);
}

.login-info-section .info-heading {
    font-family: var(--f-serif);
    font-size: 24px;
    color: var(--c-teal-dark);
    margin: 0 0 var(--sp-3);
}

.login-info-section p { font-size: 15px; line-height: 1.7; }

.login-info-section ul li { font-size: 15px; line-height: 1.8; }

.login-info-img {
    max-height: 280px;
    border-radius: var(--r-lg);
    object-fit: cover;
}

/* ---- Login page responsive -------------------------------- */

@media (max-width: 900px) {
    .login-page-wrap {
        grid-template-columns: 1fr;
    }
    .login-brand-panel {
        padding: 40px 28px;
        min-height: auto;
    }
    .login-brand-tagline { font-size: 28px; }
    .login-brand-sub { margin-bottom: var(--sp-5); }
    .login-brand-quote { display: none; }
    .login-brand-stats { gap: var(--sp-5); margin-bottom: var(--sp-5); }
    .login-stat-num { font-size: 24px; }
    .login-form-panel {
        padding: 40px 28px;
        justify-content: flex-start;
    }
    .login-form-inner { max-width: 100%; }
    .login-help-section { padding: var(--sp-6) var(--sp-5); }
    .login-info-section { padding: var(--sp-8) var(--sp-5); }
}


/* ============================================================
   INDEX PAGE REDESIGN
   ============================================================ */

/* ---- Modern hero ------------------------------------------ */

.hero-modern {
    background-size: cover;
    background-position: 50% 35%;
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: flex-end;
}

.hero-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(1, 25, 32, 0.90) 0%,
        rgba(2, 94, 115, 0.60) 55%,
        rgba(1, 25, 32, 0.50) 100%
    );
    z-index: 0;
}

.hero-modern-inner {
    position: relative;
    z-index: 1;
    padding: var(--sp-10) var(--sp-8) var(--sp-10);
    width: 100%;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-beige);
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid rgba(222,216,160,0.35);
}

.hero-headline {
    font-family: var(--f-serif);
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    margin: 0 0 var(--sp-4);
    max-width: 600px;
}

.hero-subline {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    margin: 0 0 var(--sp-8);
    max-width: 460px;
    line-height: 1.65;
}

.hero-action-cards {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    max-width: 860px;
}

.hero-action-card {
    flex: 1;
    min-width: 220px;
    background: rgba(255,255,255,0.09);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--r-lg);
    padding: var(--sp-5) var(--sp-5);
    transition: background var(--tx-sl), transform var(--tx-sl), border-color var(--tx-sl);
}

.hero-action-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.30);
}

.hero-card-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-beige);
    margin: 0 0 var(--sp-3);
    display: block;
}

.hero-action-card h2 {
    font-family: var(--f-serif);
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 var(--sp-3);
    line-height: 1.3;
}

.hero-action-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin: 0 0 var(--sp-4);
}

.hero-card-btn {
    display: inline-block;
    background: rgba(255,255,255,0.90);
    color: var(--c-teal-dark) !important;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: var(--r-pill);
    text-decoration: none;
    transition: background var(--tx);
    white-space: nowrap;
}

.hero-card-btn:hover {
    background: #fff;
    text-decoration: none;
    color: var(--c-teal-dark) !important;
}

@media (max-width: 760px) {
    .hero-modern { min-height: 420px; align-items: flex-start; }
    .hero-modern-inner { padding: var(--sp-8) var(--sp-5); }
    .hero-headline { font-size: 34px; }
    .hero-subline { font-size: 15px; margin-bottom: var(--sp-6); }
    .hero-action-cards { gap: var(--sp-3); }
    .hero-action-card { min-width: 0; flex: 0 0 100%; }
}


/* ---- Steps section ---------------------------------------- */

.steps-band {
    background: var(--c-surface-alt);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    padding: var(--sp-10) var(--sp-8);
}

.steps-band-heading {
    font-family: var(--f-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-teal-dark);
    text-align: center;
    margin: 0 0 var(--sp-8);
}

.steps-band-sub {
    text-align: center;
    font-size: 15px;
    color: var(--c-text-muted);
    margin: -var(--sp-5) 0 var(--sp-8);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--c-teal-light), var(--c-teal), var(--c-teal-light));
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 var(--sp-3);
}

.step-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-teal);
    color: #fff;
    font-family: var(--f-serif);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-4);
    box-shadow: 0 4px 18px rgba(2,94,115,0.28);
    border: 3px solid var(--c-surface-alt);
}

.step-item p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--c-text);
    margin: 0;
}

.steps-cta-row {
    text-align: center;
    margin-top: var(--sp-8);
}

.steps-cert-img {
    max-height: 220px;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    object-fit: cover;
}

@media (max-width: 620px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-4); }
    .steps-grid::before { display: none; }
    .steps-band { padding: var(--sp-8) var(--sp-5); }
    .steps-band-heading { font-size: 22px; }
}


/* ---- Course CTA strip ------------------------------------- */

.course-cta-strip {
    padding: var(--sp-6) var(--sp-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    flex-wrap: wrap;
    border-bottom: 1px solid var(--c-border);
}

.course-cta-strip p {
    font-family: var(--f-serif);
    font-size: 18px;
    color: var(--c-teal-dark);
    line-height: 1.5;
    margin: 0;
    flex: 1;
    min-width: 240px;
}

@media (max-width: 580px) {
    .course-cta-strip { padding: var(--sp-5) var(--sp-5); flex-direction: column; align-items: flex-start; }
}


/* ---- Testimonial pull-quote ------------------------------- */

.pullquote-band {
    background: var(--c-teal-dark);
    padding: var(--sp-10) var(--sp-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pullquote-band::before {
    content: '\201C';
    font-family: var(--f-serif);
    font-size: 240px;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: -60px;
    left: 24px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.pullquote-band blockquote {
    max-width: 660px;
    margin: 0 auto;
    font-family: var(--f-serif);
    font-size: 22px;
    font-style: italic;
    color: rgba(255,255,255,0.90);
    line-height: 1.65;
    padding: 0;
    border: none;
    position: relative;
    z-index: 1;
}

.pullquote-band cite {
    display: block;
    margin-top: var(--sp-5);
    font-size: 13px;
    font-style: normal;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 580px) {
    .pullquote-band blockquote { font-size: 18px; }
    .pullquote-band { padding: var(--sp-8) var(--sp-5); }
}


/* ---- Feature cards ---------------------------------------- */

.feature-cards-wrap {
    padding: var(--sp-10) var(--sp-6);
}

.feature-card-item {
    text-align: center;
    padding: var(--sp-6) var(--sp-5);
    border-radius: var(--r-lg);
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    height: 100%;
    transition: box-shadow var(--tx-sl), transform var(--tx-sl), border-color var(--tx-sl);
}

.feature-card-item:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
    border-color: rgba(2,94,115,0.25);
}

.feature-card-item img {
    max-height: 88px;
    margin-bottom: var(--sp-4);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.feature-card-item h2 {
    font-family: var(--f-serif);
    font-size: 18px;
    color: var(--c-teal);
    margin: 0 0 var(--sp-3);
}

.feature-card-item p { font-size: 14px; line-height: 1.65; }


/* ---- Course band (bg image + overlay) --------------------- */

.course-content-band {
    position: relative;
    background-size: cover;
    background-position: right center;
    padding: var(--sp-10) var(--sp-8);
    overflow: hidden;
}

.course-content-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(1,25,32,0.95) 0%,
        rgba(2,94,115,0.82) 50%,
        transparent 100%
    );
    z-index: 0;
}

.course-content-inner {
    max-width: 620px;
    position: relative;
    z-index: 1;
}

.course-content-inner h2 {
    font-family: var(--f-serif);
    font-size: 24px;
    color: #fff;
    margin: 0 0 var(--sp-4);
}

.course-content-inner p,
.course-content-inner li {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.85;
}

.course-content-inner ul li {
    background-image: none;
    padding-left: 0;
    list-style: none;
}

.course-content-inner ul li::before {
    content: '·';
    color: var(--c-beige);
    margin-right: 6px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .course-content-band { padding: var(--sp-8) var(--sp-5); }
    .course-content-band::before { background: rgba(1,25,32,0.92); }
}


/* ---- Career callout & PAC sections ------------------------ */

.teal-strip {
    background: var(--c-teal);
    padding: var(--sp-10) var(--sp-8);
    text-align: center;
    color: #fff;
}

.teal-strip h2 {
    font-family: var(--f-serif);
    font-size: 26px;
    color: #fff;
    margin: 0 0 var(--sp-3);
}

.teal-strip p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    max-width: 540px;
    margin: 0 auto var(--sp-6);
    line-height: 1.7;
}

.pac-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
    max-width: 680px;
    margin: var(--sp-6) auto 0;
}

.pac-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    text-align: left;
}

.pac-card h3 {
    font-family: var(--f-serif);
    font-size: 16px;
    color: #fff;
    margin: 0 0 var(--sp-3);
    font-weight: 600;
}

.pac-card ul { margin: 0 0 var(--sp-4); padding: 0; }

.pac-card ul li {
    background: none;
    padding-left: 0;
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    line-height: 1.8;
    position: relative;
    padding-left: 14px;
}

.pac-card ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--c-beige);
    font-weight: bold;
}

.pac-card-price {
    font-family: var(--f-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-beige);
    margin: 0 0 var(--sp-4);
}

@media (max-width: 580px) {
    .pac-grid { grid-template-columns: 1fr; }
    .teal-strip { padding: var(--sp-8) var(--sp-5); }
}


/* ---- Dark career jobs band -------------------------------- */

.jobs-band {
    background: #0f1e22;
    padding: var(--sp-10) var(--sp-8);
    text-align: center;
}

.jobs-band h2 {
    font-family: var(--f-serif);
    font-size: 26px;
    color: #fff;
    margin: 0 0 var(--sp-3);
}

.jobs-band p {
    color: rgba(255,255,255,0.60);
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto var(--sp-6);
    line-height: 1.7;
}

@media (max-width: 580px) {
    .jobs-band { padding: var(--sp-8) var(--sp-5); }
}


/* ---- Job functions panel ---------------------------------- */

.job-functions-wrap {
    padding: var(--sp-10) var(--sp-8);
}

.job-functions-wrap h2 {
    font-family: var(--f-serif);
    font-size: 22px;
    color: var(--c-teal-dark);
    margin: 0 0 var(--sp-4);
}

.job-functions-wrap ul li {
    font-size: 14px;
    line-height: 1.9;
}

@media (max-width: 580px) {
    .job-functions-wrap { padding: var(--sp-8) var(--sp-5); }
}


/* ---- Newsletter band -------------------------------------- */

.newsletter-band {
    background: var(--c-surface-warm);
    border-top: 3px solid var(--c-beige-dark);
    border-bottom: 3px solid var(--c-beige-dark);
    padding: var(--sp-10) var(--sp-8);
    text-align: center;
}

.newsletter-band h2 {
    font-family: var(--f-serif);
    font-size: 24px;
    color: var(--c-teal-dark);
    margin: 0 0 var(--sp-3);
}

.newsletter-band p {
    color: var(--c-text-muted);
    font-size: 15px;
    margin: 0 0 var(--sp-5);
}

@media (max-width: 580px) {
    .newsletter-band { padding: var(--sp-8) var(--sp-5); }
}


/* ---- Newsletter page -------------------------------------- */

.nl-hero {
    position: relative;
    min-height: 440px;
    background: url('/images/newsletter-photo.jpg') right center / cover no-repeat;
    display: flex;
    align-items: center;
}

.nl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(1, 25, 32, 0.90) 0%,
        rgba(1, 25, 32, 0.72) 45%,
        rgba(1, 25, 32, 0.12) 80%,
        transparent 100%
    );
}

.nl-hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    padding: var(--sp-12) var(--sp-8);
}

.nl-hero-content h1 {
    font-family: var(--f-serif);
    font-size: 2.6rem;
    color: #fff;
    margin: 0 0 var(--sp-4);
    line-height: 1.2;
}

.nl-hero-content > p {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1.1rem;
    margin: 0;
}

.nl-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--sp-10);
    max-width: 1080px;
    margin: 0 auto;
    padding: var(--sp-10) var(--sp-8);
    align-items: start;
}

.nl-benefits h2 {
    font-family: var(--f-serif);
    font-size: 1.5rem;
    color: var(--c-teal-dark);
    margin: 0 0 var(--sp-4);
}

.nl-benefits > p {
    color: var(--c-text-muted);
    margin: 0 0 var(--sp-5);
}

.nl-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.nl-benefits li {
    display: flex;
    gap: var(--sp-3);
    color: var(--c-text);
    line-height: 1.5;
    background: none;
    padding: 0;
}

.nl-benefits li::before {
    content: '✓';
    color: var(--c-teal);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.nl-form-card {
    background: var(--c-surface-warm);
    border: 1px solid var(--c-beige-dark);
    border-radius: var(--r-lg);
    padding: var(--sp-8) var(--sp-6);
    position: sticky;
    top: var(--sp-6);
}

.nl-form-card h3 {
    font-family: var(--f-serif);
    font-size: 1.25rem;
    color: var(--c-teal-dark);
    margin: 0 0 var(--sp-5);
}

.nl-form-card input[type="email"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: var(--sp-3) var(--sp-4);
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    font-size: 0.95rem;
    margin-bottom: var(--sp-3);
}

.nl-form-card button {
    width: 100%;
}

.nl-fine-print {
    font-size: 0.8rem;
    color: var(--c-text-faint);
    margin: var(--sp-3) 0 0;
    text-align: center;
}

.nl-signed-up {
    text-align: center;
    padding: var(--sp-4) 0;
    color: var(--c-success);
    font-weight: 600;
}

@media (max-width: 700px) {
    .nl-hero { min-height: 300px; }
    .nl-hero-content { padding: var(--sp-8) var(--sp-5); }
    .nl-hero-content h1 { font-size: 1.75rem; }
    .nl-layout { grid-template-columns: 1fr; padding: var(--sp-8) var(--sp-5); }
    .nl-form-card { position: static; }
}


/* ---- Map / locator section -------------------------------- */

.locator-section {
    padding: var(--sp-10) var(--sp-6);
}

.locator-section h2 {
    font-family: var(--f-serif);
    font-size: 22px;
    color: var(--c-teal-dark);
    margin: 0 0 var(--sp-3);
}

.locator-section p {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.7;
}


/* ---- Page entry animation --------------------------------- */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.anim-fade-up {
    opacity: 0;
    animation: fadeUp 0.55s ease forwards;
}
.anim-delay-1 { animation-delay: 0.10s; }
.anim-delay-2 { animation-delay: 0.22s; }
.anim-delay-3 { animation-delay: 0.34s; }


/* ---- PAC membership card page ----------------------------- */

.pac-page {
    margin: 0 auto;
    padding: var(--sp-10) var(--sp-6);
    text-align: center;
}

.pac-header h1 {
    font-size: 1.35rem;
    font-weight: bold;
    color: var(--c-text);
    margin: 0 0 var(--sp-5);
}

.pac-header p {
    color: var(--c-text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto var(--sp-8);
    line-height: 1.6;
}

.pac-card-wrap {
    display:flex;
    justify-content:center;
}

.pac-card-wrap img {
    display: block;
    max-width: 800px;
    width: 100%;
}

.pac-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-bottom: var(--sp-8);
}

.pac-join {
    margin-top: var(--sp-10);
    padding: var(--sp-6);
    background: linear-gradient(135deg, #7a0c32 0%, var(--c-crimson) 55%, var(--c-pink) 100%);
    border-radius: var(--r-lg);
    box-shadow: 0 6px 24px rgba(166, 20, 75, 0.35);
}

.pac-join h2 {
    font-family: var(--f-serif);
    font-size: 1.75rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 var(--sp-6);
    line-height: 1.25;
}

.pac-join a.button {
    background: #ffffff;
    color: var(--c-crimson);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    height: 48px;
    line-height: 48px;
    padding: 0 var(--sp-10);
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.pac-join a.button:hover {
    background: var(--c-pink-light);
    color: var(--c-crimson);
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}

a.button.gray,
button.gray {
    background: #555555;
}

a.button.gray:hover,
button.gray:hover:not(:disabled) {
    background: #444444;
    color: white;
}

@media print {
    .no-print { display: none !important; }
    .pac-card-wrap { border: none; padding: 0; background: none; }
    .pac-card-wrap img { max-width: 100%; }
}

@media (max-width: 480px) {
    .pac-card-wrap img { max-width: 100%; }
    .pac-actions { flex-direction: column; align-items: center; }
}


/* ---- Promo cards (Courses page) --------------------------- */

.promo-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
    padding: var(--sp-8) var(--sp-6);
    max-width: 1200px;
    margin: 0 auto;
}

.promo-card {
    background: #fff5f5;
    border: 1px solid var(--c-pink-light);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-3);
}

.promo-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text);
    margin: 0;
    line-height: 1.3;
}

.promo-card p {
    font-size: 0.875rem;
    color: var(--c-text-muted);
    margin: 0;
    flex: 1;
}

.promo-card img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
}

.promo-card a.button {
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}

@media (max-width: 768px) {
    .promo-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 440px) {
    .promo-cards { grid-template-columns: 1fr; }
}
.anim-delay-4 { animation-delay: 0.46s; }

