/* Free self-paced courses (shared). Load after /site.css. Rendered by /free-course.js. */
.fc-hero .hero-copy{display:flex;flex-direction:column;gap:16px}
.fc-meta{display:flex;flex-wrap:wrap;gap:8px}
.fc-meta .pill{background:var(--cream)}
.fc-hero-art{display:grid;place-items:center}
.fc-paper{position:relative;width:min(340px,100%);aspect-ratio:8.5/11;background:var(--cream);border:var(--line);border-radius:4px;padding:26px 24px;box-shadow:none;transform:rotate(-3deg);display:flex;flex-direction:column;gap:9px}
.fc-paper i{display:block;height:9px;border-radius:4px;background:#d9d6c8}
.fc-paper i.n{height:16px;width:60%;background:var(--ink)}
.fc-paper i.h{height:8px;width:34%;background:var(--teal);margin-top:10px}
.fc-paper i.s{width:82%}.fc-paper i.t{width:66%}
.fc-paper .fc-stamp{position:absolute;right:-26px;bottom:34px;transform:rotate(9deg);background:var(--orange);border:var(--line);border-radius:4px;padding:12px 18px;font:800 15px/1.1 var(--display);text-align:center}

.fc-bar{position:sticky;top:0;z-index:5;background:var(--cream);border-block:var(--line);margin-top:32px}
.fc-bar-in{display:flex;align-items:center;gap:18px;padding-block:12px;flex-wrap:wrap}
.fc-track{flex:1;min-width:180px;height:16px;border:1px solid rgba(164,122,42,.45);border-radius:4px;background:#fff;overflow:hidden}
.fc-track b{display:block;height:100%;width:0;background:var(--teal);transition:width .4s}
.fc-bar small{font-weight:700;font-size:15px}
.fc-bar .btn{padding:10px 16px;font-size:15px}

.fc-units{display:flex;flex-direction:column;gap:18px;padding-block:40px}
.fc-unit{border:var(--line);border-radius:4px;background:#fff;overflow:hidden;padding:0}
.fc-unit[open]{background:#fff}
.fc-unit>summary::after{content:none}
.fc-unit p{margin:0 0 10px}
.fc-unit>summary{list-style:none;min-height:0;justify-content:initial;cursor:var(--cur-open,pointer);display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:20px 24px}
.fc-unit>summary::-webkit-details-marker{display:none}
.fc-num{width:52px;height:52px;border:var(--line);border-radius:50%;display:grid;place-items:center;font:800 22px/1 var(--display);background:var(--sun)}
.fc-unit.done .fc-num{background:var(--teal);color:var(--cream)}
.fc-unit.done .fc-num::after{content:"\2713";font-size:22px}
.fc-unit.done .fc-num span{display:none}
.fc-unit h2{font:800 clamp(22px,2.6vw,30px)/1.05 var(--display);letter-spacing:-.03em;margin:0}
.fc-unit summary p{margin:4px 0 0!important;color:var(--muted);font-size:15px}
.fc-chev{font-size:26px;transition:transform .2s}
.fc-unit[open] .fc-chev{transform:rotate(180deg)}
.fc-body{padding:4px clamp(18px,4vw,48px) 36px;display:flex;flex-direction:column;gap:22px;border-top:2px dashed #cfcab8}
.fc-body h3{font:800 22px/1.1 var(--display);letter-spacing:-.02em;margin:10px 0 0}
.fc-body p,.fc-body li{max-width:72ch}
.fc-body ul,.fc-body ol{margin:0;padding-left:22px}
.fc-hook{font-size:20px;margin-top:20px}
.fc-goals{background:var(--sun);border:1px solid rgba(164,122,42,.45);border-radius:4px;padding:16px 20px}
.fc-goals b{display:block;margin-bottom:6px}
.fc-ex{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:14px}
.fc-ex div{border:1px solid rgba(164,122,42,.45);border-radius:4px;padding:16px 18px;background:var(--mint)}
.fc-ex div:nth-child(2){background:var(--peach)}
.fc-ex span{display:inline-block;font:700 12px/1 var(--body);letter-spacing:.1em;text-transform:uppercase;margin-bottom:6px}
.fc-ba{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:stretch}
.fc-ba>div{border:1px solid rgba(164,122,42,.45);border-radius:4px;padding:14px 16px}
.fc-ba .b{background:#f4f1e6}
.fc-ba .b s{text-decoration-color:rgba(242,107,58,.7);text-decoration-thickness:2px}
.fc-ba .a{background:#F1E7CC}
.fc-ba .arr{align-self:center;font:800 26px/1 var(--display)}
.fc-ba em{grid-column:1/-1;font-style:normal;color:var(--muted);font-size:15px;margin-top:-4px}
.fc-ba label{display:block;font:700 12px/1 var(--body);letter-spacing:.1em;text-transform:uppercase;margin-bottom:6px;text-decoration:none}
@media (max-width:700px){.fc-ba{grid-template-columns:1fr}.fc-ba .arr{transform:rotate(90deg);justify-self:center}}
.fc-task{border:var(--line);border-radius:4px;padding:20px 22px;background:var(--cream)}
.fc-task h3{margin:0 0 8px}
.fc-files{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.fc-files a{display:inline-flex;gap:6px;align-items:center;border:1px solid rgba(164,122,42,.45);border-radius:4px;padding:7px 13px;font-weight:700;font-size:14px;text-decoration:none;background:#fff}
.fc-files a:hover{background:var(--sun);color:var(--ink)}
.fc-check{list-style:none;padding:0!important;display:flex;flex-direction:column;gap:8px}
.fc-check label{display:flex;gap:12px;align-items:flex-start;cursor:var(--cur-open,pointer)}
.fc-check input{width:22px;height:22px;margin:2px 0 0;accent-color:var(--teal);flex:none}
.fc-quiz{display:flex;flex-direction:column;gap:18px}
.fc-q p{font-weight:700;margin:0 0 8px}
.fc-q .opts{display:grid;gap:8px}
.fc-q button{text-align:left;font:500 16px/1.35 var(--body);padding:10px 14px;border:1px solid rgba(164,122,42,.45);border-radius:4px;background:#fff;cursor:var(--cur-open,pointer);color:var(--ink)}
.fc-q button:hover{background:var(--sun)}
.fc-q button.right{background:#cdeee6;border-color:var(--teal-d)}
.fc-q button.wrong{background:#ffd9cb}
.fc-q .why{margin:8px 0 0;font-size:15px;color:var(--muted)}
.fc-src{font-size:14px}
.fc-src li{margin-bottom:4px;word-break:break-word}
.fc-done{align-self:flex-start}
.fc-dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:12px}
.fc-dl div{border:1px solid rgba(164,122,42,.45);border-radius:4px;padding:14px 16px;background:#fff;display:flex;flex-direction:column;gap:8px}
.fc-dl .fc-files{margin:0}
.fc-finish{border:var(--line);border-radius:4px;background:var(--teal);color:var(--cream);padding:clamp(26px,4vw,44px);display:none}
.fc-finish.show{display:block}
.fc-finish a{color:var(--sun)}
.fc-note{font-size:14px;color:var(--muted)}
@media print{.site-head,.fc-bar,.foot,.final,#news{display:none!important}.fc-unit{break-inside:avoid-page}}
/* Longer lessons (Financial Literacy): sub-headings, tables, key ideas, tap-to-check practice */
.fc-body h4{font:800 17px/1.2 var(--display);margin:14px 0 -4px}
.fc-open{background:#fff;border-left:5px solid var(--orange);padding:10px 14px;border-radius:0 4px 4px 0}
.fc-table{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:6px 0 12px}
.fc-table table{border-collapse:collapse;min-width:100%;font-size:15px}
.fc-table th,.fc-table td{border:1px solid rgba(164,122,42,.45);padding:7px 10px;text-align:left;vertical-align:top}
.fc-table th{background:var(--sun)}
.fc-key{border:1px solid rgba(164,122,42,.45);border-radius:4px;padding:14px 18px;background:var(--sun)}
.fc-key ul{margin:6px 0 0}
.fc-practice{border:1px solid rgba(164,122,42,.45);border-radius:4px;padding:10px 14px;margin-top:8px;background:#fff}
.fc-practice summary{cursor:var(--cur-open,pointer);font-weight:700}
.fc-practice p{margin:8px 0 0}
.fc-cap{border:1px solid rgba(164,122,42,.45);border-radius:4px;padding:clamp(18px,3vw,34px);background:var(--mint)}
.fc-cap h3{font:800 22px/1.1 var(--display);margin:18px 0 6px}
/* Start Here: Wealth Flywheel (financial-literacy) */
.fc-fly{margin:18px auto 14px;max-width:760px}
.fc-fly img{display:block;width:100%;height:auto;border:1px solid rgba(164,122,42,.45);border-radius:4px;background:#fbf8f1}
.fc-start-read{max-width:860px;margin:0 auto}
.fc-start-body{padding:4px 2px 8px}
.fc-start-body h3{margin:22px 0 6px}
.fc-start-body ol li,.fc-start-body ul li{margin:4px 0}
.fc-start-read{border:1px solid rgba(164,122,42,.45);border-radius:4px;padding:12px 18px;background:#fff;min-width:0}
.fc-start-read>summary{cursor:pointer;font-weight:800;font-size:18px;padding:4px 0}
.fc-start-body{min-width:0}
.fc-start-body a{overflow-wrap:anywhere}
.fc-start-body td,.fc-start-body th{overflow-wrap:normal;word-break:normal}
.fc-start-body .fc-ex{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.fc-start-read[open]{background:#fff}
.fc-start-read summary{display:block}
.fc-start-read summary::after{float:right;margin-left:10px}
@media (max-width:560px){.fc-paper .fc-stamp{right:-6px}} /* phones: the paper is full width, so the stamp no longer hangs off the card edge */
