/* CaFEC Training Enhancements 1.0.0 - visually aligned with navy, blue, green and gold brand. */
.cafec-we-course-detail,.cafec-we-panel{--we-navy:#092b4c;--we-blue:#07579a;--we-green:#00a859;--we-gold:#fdbd10;--we-line:#dce6ee;box-sizing:border-box;max-width:1080px;margin:30px auto 45px;padding:clamp(20px,3vw,40px);background:#fff;border:1px solid var(--we-line);border-radius:18px;box-shadow:0 12px 40px rgba(9,43,76,.06);color:#172c3e}
.cafec-we-course-detail *,.cafec-we-panel *{box-sizing:border-box}
.cafec-we-course-detail h2,.cafec-we-panel h2{margin:.15em 0 23px;font-size:clamp(1.45rem,2.8vw,2.25rem);line-height:1.2;color:var(--we-navy)}
.cafec-we-course-detail h3,.cafec-we-panel h3{margin:20px 0 10px;font-size:1.18rem;color:var(--we-navy)}
.cafec-we-course-kicker{display:inline-flex;font-size:.74rem;text-transform:uppercase;letter-spacing:.13em;font-weight:850;color:var(--we-blue);border-bottom:3px solid var(--we-green);padding:0 0 6px;margin-bottom:12px}
.cafec-we-course-facts{margin:0 0 22px;padding:12px 18px;border-radius:12px;background:#f4f8fb;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 27px}
.cafec-we-course-facts>div{display:grid;grid-template-columns:125px 1fr;gap:13px;padding:12px 0;border-bottom:1px solid #e0eaf0;min-width:0}
.cafec-we-course-facts dt{font-size:.8rem;font-weight:750;color:#526b7e}
.cafec-we-course-facts dd{min-width:0;font-size:.9rem;margin:0;font-weight:650;overflow-wrap:anywhere}
.cafec-we-info-section{padding:9px 0 14px;border-bottom:1px solid #edf1f5}
.cafec-we-info-section>div{line-height:1.65;color:#344b5c;overflow-wrap:anywhere}
.cafec-we-course-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:23px}
.cafec-we-button,.cafec-we-panel .cafec-we-button{border:1px solid var(--we-blue);display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;background:var(--we-blue);color:#fff!important;text-decoration:none;border-radius:9px;font-weight:780;font-size:.9rem;cursor:pointer}
.cafec-we-button:hover,.cafec-we-button:focus-visible{background:var(--we-navy);border-color:var(--we-navy);color:#fff;text-decoration:none}
.cafec-we-secondary{background:#fff!important;color:var(--we-blue)!important}
.cafec-we-secondary:hover{background:#edf5fb!important;color:var(--we-navy)!important}
.cafec-we-pill{padding:9px 13px;border-radius:9px;background:#f4f8fb;color:#284960;font-weight:700;font-size:.88rem}
.cafec-we-small{font-size:.79rem;color:#526778;line-height:1.5;margin-top:15px}
.cafec-we-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}
.cafec-we-form label{display:grid;align-content:start;gap:7px;font-weight:730;color:var(--we-navy);font-size:.9rem}
.cafec-we-form input:not([type=file]),.cafec-we-form select,.cafec-we-form textarea{display:block;width:100%;padding:12px 13px;font:inherit;background:#fff;border:1px solid #b9cbd9;border-radius:9px;color:#172c3e;line-height:1.45}
.cafec-we-form input[type=file]{display:block;max-width:100%;font-weight:400;font-size:.87rem}
.cafec-we-form input:focus-visible,.cafec-we-form select:focus-visible,.cafec-we-form textarea:focus-visible{outline:3px solid rgba(7,87,154,.18);outline-offset:2px}
.cafec-we-form .cafec-we-wide{grid-column:1/-1}
.cafec-we-note{padding:16px;background:#eff8f3;border-left:4px solid var(--we-green);border-radius:9px}
.cafec-we-note a{font-weight:760}
.cafec-we-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:18px 0}
.cafec-we-library-card{padding:19px;border:1px solid var(--we-line);border-radius:12px;background:#f9fbfd;min-width:0}
.cafec-we-library-card>span{display:inline-block;letter-spacing:.09em;font-size:.67rem;font-weight:750;color:#09734a}
.cafec-we-library-card h3{line-height:1.3;margin:7px 0}
.cafec-we-reader{border:1px solid var(--we-line);border-radius:12px;overflow:hidden;background:#edf3f8}
.cafec-we-reader-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px;background:var(--we-navy);color:#fff}
.cafec-we-reader-controls button{font:inherit;font-size:.82rem;min-height:40px;border:1px solid rgba(255,255,255,.3);border-radius:6px;background:rgba(255,255,255,.11);color:#fff;padding:8px 12px;cursor:pointer}
.cafec-we-reader-controls button:hover,.cafec-we-reader-controls button:focus-visible{background:#fff;color:var(--we-navy)}
.cafec-we-reader-controls [data-cafec-page],.cafec-we-reader-controls [data-cafec-zoom]{font-size:.82rem;font-weight:720;padding:7px}
.cafec-we-pdf-frame{display:block;width:100%;height:min(79vh,1050px);min-height:480px;border:0;background:#eee}
.cafec-we-reader.is-fullscreen{background:#fff;display:flex;flex-direction:column}
.cafec-we-reader.is-fullscreen .cafec-we-pdf-frame{flex:1;height:auto;min-height:0}
@media(max-width:760px){.cafec-we-course-facts{grid-template-columns:1fr}.cafec-we-form,.cafec-we-library-grid{grid-template-columns:1fr}.cafec-we-course-detail,.cafec-we-panel{border-radius:12px;padding:18px;margin:20px 0}.cafec-we-course-facts>div{grid-template-columns:110px minmax(0,1fr)}.cafec-we-reader-controls{gap:4px}.cafec-we-reader-controls button{font-size:.75rem;padding:6px 8px}.cafec-we-pdf-frame{height:70vh;min-height:380px}}
@media(prefers-reduced-motion:no-preference){.cafec-we-button{transition:background-color .16s ease,box-shadow .16s ease}.cafec-we-library-card{transition:box-shadow .18s ease}.cafec-we-library-card:hover{box-shadow:0 9px 30px rgba(9,43,76,.09)}}
