/* Course page v2 (.fx) — shared design system for seo_v2 course pages.
 * Extracted from flagship fire course body. Scoped to .fx.
 * Legacy related-content hide is applied by the v2 template, not here.
 */
/* ============ Flagship course page v2 · healthsafetycourses.org ============
   All rules are scoped to .fx. Some use !important only where the site's
   responsive-seo.css / Tailwind preflight force their own values. */
.fx{--ink:#0f172a;--body:#334155;--muted:#64748b;--line:#e2e8f0;--card:#ffffff;--blue:#2563eb;--blue-d:#1d4ed8;--navy:#1e3a8a;--navy-d:#172554;--tint:#eff6ff;--tint2:#dbeafe;--green:#15803d;--green-t:#dcfce7;--red:#b91c1c;--red-t:#fee2e2;--amber:#b45309;--amber-t:#fef3c7;
  container-type:inline-size;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--body);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;text-align:left}
.fx *,.fx *::before,.fx *::after{box-sizing:border-box}
.fx a{min-height:0!important;min-width:0!important}
.fx p,.fx li{font-size:16px!important;line-height:1.65}
.fx .fx-h1{font-size:clamp(30px,5.2cqi,46px)!important;font-weight:800!important;line-height:1.1!important;letter-spacing:-.02em;color:#fff;margin:14px 0 14px}
.fx .fx-h2{font-size:clamp(22px,3.4cqi,27px)!important;font-weight:750!important;line-height:1.25!important;letter-spacing:-.01em;color:var(--ink);margin:4px 0 14px}
.fx .fx-h3{font-size:17px!important;font-weight:700!important;line-height:1.35!important;color:var(--ink);margin:0 0 4px}
.fx .fx-kicker{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--blue)}
.fx p{margin:0 0 12px}
.fx strong{color:var(--ink);font-weight:650}

/* ---------- HERO ---------- */
.fx-hero{position:relative;overflow:hidden;border-radius:18px;padding:34px 36px 30px!important;color:#dbeafe;
  background:radial-gradient(1200px 400px at 110% -10%,rgba(96,165,250,.35),transparent 60%),linear-gradient(135deg,var(--navy-d) 0%,var(--navy) 55%,#1d4ed8 100%)!important;background-color:var(--navy-d)!important}
.fx-hero::after{content:"";position:absolute;right:-80px;bottom:-120px;width:320px;height:320px;border-radius:50%;border:48px solid rgba(255,255,255,.05)}
.fx-crumbs{font-size:13px;color:#bfdbfe;position:relative;z-index:1}
.fx-crumbs a{color:#bfdbfe;text-decoration:none}
.fx-crumbs a:hover{color:#fff;text-decoration:underline}
.fx-crumbs span{opacity:.6;margin:0 6px}
.fx-chip{display:inline-flex;align-items:center;gap:6px;margin-top:18px;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#e0ecff;font-size:13px;font-weight:600;position:relative;z-index:1}
.fx-hero-in{position:relative;z-index:1;max-width:720px}
.fx-lede{font-size:18px;line-height:1.6;color:#dbeafe;margin:0 0 18px}
.fx-lede b{color:#fff;font-weight:650}
.fx-hl{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:8px}
.fx-hl li{position:relative;padding-left:30px;color:#eaf2ff}
.fx-hl li::before{content:"";position:absolute;left:0;top:3px;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23ffffff' fill-opacity='.16'/%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.fx-facts{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.14);border-radius:12px;overflow:hidden}
.fx-fact{background:rgba(15,23,42,.28);padding:12px 14px;display:flex;gap:10px;align-items:flex-start}
.fx-fact svg{flex:none;width:20px;height:20px;margin-top:2px;stroke:#93c5fd}
.fx-fact small{display:block;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#93c5fd}
.fx-fact span{display:block;color:#fff;font-weight:600;font-size:15px;line-height:1.35}
@container (min-width:720px){.fx-facts{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ---------- LAYOUT ---------- */
.fx-layout{display:grid;gap:22px;margin-top:22px;grid-template-areas:"aside" "main"}
.fx-main{grid-area:main;min-width:0}
.fx-aside{grid-area:aside;min-width:0}
@container (min-width:860px){
  .fx-layout{grid-template-columns:minmax(0,1fr) 310px;grid-template-areas:"main aside";align-items:start}
  .fx-aside{position:sticky;top:20px}
}

/* ---------- ENROL CARD ---------- */
.fx-buy{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 10px 30px -12px rgba(30,58,138,.25)}
.fx-price{margin-bottom:6px}
.fx-price b{font-size:36px;font-weight:800;color:var(--ink);letter-spacing:-.02em;line-height:1}
.fx-price em{display:block;font-style:normal;color:var(--muted);font-size:14px;margin-top:6px}
.fx-buy .fx-sub{font-size:13px;color:var(--muted);margin-bottom:14px}
.fx-btn{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px!important;padding:12px 18px;border-radius:10px;background:var(--blue);color:#fff!important;font-weight:700;font-size:16px;text-decoration:none!important;transition:background .15s,transform .15s;box-shadow:0 6px 16px -6px rgba(37,99,235,.55)}
.fx-btn:hover{background:var(--blue-d);transform:translateY(-1px)}
.fx-btn svg{width:18px;height:18px}
.fx-list{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:9px}
.fx-list li{position:relative;padding-left:28px;font-size:15px!important;line-height:1.5}
.fx-list li::before,.fx-ticks li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23dcfce7'/%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.6' fill='none' stroke='%2315803d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.fx-buy hr{border:0;border-top:1px solid var(--line);margin:18px 0 14px}
.fx-guar{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--body);line-height:1.45}
.fx-guar svg{flex:none;width:20px;height:20px;stroke:var(--green)}
.fx-team{display:block;margin-top:12px;font-size:14px;color:var(--blue);font-weight:600;text-decoration:none}
.fx-team:hover{text-decoration:underline}
.fx-rev{margin-top:14px;font-size:12.5px;color:var(--muted)}

/* ---------- SECTIONS ---------- */
.fx-sec{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:28px;margin-bottom:18px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.fx-sec > .fx-intro{color:var(--body);margin-bottom:18px}
@container (max-width:520px){.fx-sec{padding:22px 18px}.fx-hero{padding:24px 18px 20px}.fx-lede{font-size:17px}.fx-chip{font-size:12px}.fx-fact{padding:11px 12px}.fx-fact svg{display:none}.fx-fact span{font-size:14px}}
.fx-ticks{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.fx-ticks li{position:relative;padding-left:32px}
.fx-2col{display:grid;gap:14px 28px}
@container (min-width:560px){.fx-2col{grid-template-columns:1fr 1fr}}

.fx-callout{border-radius:12px;background:var(--tint);border:1px solid var(--tint2);padding:18px 20px;margin:16px 0}
.fx-callout .fx-h3{color:var(--navy);display:flex;align-items:center;gap:8px;margin-bottom:10px}
.fx-callout .fx-h3 svg{width:20px;height:20px;stroke:var(--blue)}
.fx-callout ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.fx-callout li{position:relative;padding-left:18px}
.fx-callout li::before{content:"";position:absolute;left:2px;top:10px;width:7px;height:7px;border-radius:50%;background:var(--blue)}
.fx-foot{font-size:14px!important;color:var(--muted)}

/* comparison */
.fx-tw{overflow-x:auto;border:1px solid var(--line);border-radius:12px;-webkit-overflow-scrolling:touch}
.fx-table{width:100%;min-width:600px;border-collapse:separate;border-spacing:0;font-size:14.5px;line-height:1.5}
.fx-table th,.fx-table td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.fx-table tr:last-child th,.fx-table tr:last-child td{border-bottom:0}
.fx-table thead th{background:#f8fafc;color:var(--ink);font-weight:700;font-size:14px}
.fx-table tbody th{color:var(--ink);font-weight:650;width:118px;background:#fcfdff}
.fx-table .fx-us{background:var(--tint);color:var(--ink)}
.fx-table thead .fx-us{background:var(--blue);color:#fff}
.fx-note{display:flex;gap:12px;align-items:flex-start;margin-top:16px;padding:16px 18px;border-radius:12px;background:var(--amber-t);border:1px solid #fde68a;color:#78350f;font-size:15px;line-height:1.55}
.fx-note svg{flex:none;width:22px;height:22px;stroke:var(--amber);margin-top:1px}
.fx-note strong{color:#78350f}

/* steps */
.fx-steps{list-style:none;padding:0;margin:0;counter-reset:st}
.fx-steps li{counter-increment:st;position:relative;padding:0 0 22px 56px}
.fx-steps li:last-child{padding-bottom:0}
.fx-steps li::before{content:counter(st);position:absolute;left:0;top:0;width:38px;height:38px;border-radius:50%;background:var(--tint);border:2px solid var(--blue);color:var(--blue);font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center}
.fx-steps li::after{content:"";position:absolute;left:18px;top:42px;bottom:4px;width:2px;background:var(--tint2)}
.fx-steps li:last-child::after{display:none}
.fx-steps p{margin:0;color:var(--body)}

/* worked example */
.fx-find{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-top:14px}
.fx-find-h{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:14px 18px;background:#f8fafc;border-bottom:1px solid var(--line)}
.fx-find-h .fx-h3{margin:0}
.fx-badge{flex:none;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;white-space:nowrap}
.fx-badge.hi{background:var(--red-t);color:var(--red)}
.fx-badge.md{background:var(--amber-t);color:var(--amber)}
.fx-find dl{margin:0;padding:6px 18px 14px;display:grid;gap:0}
.fx-find dl div{display:grid;gap:2px 16px;padding:10px 0;border-bottom:1px dashed var(--line)}
.fx-find dl div:last-child{border-bottom:0}
@container (min-width:560px){.fx-find dl div{grid-template-columns:140px 1fr}}
.fx-find dt{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-top:2px}
.fx-find dd{margin:0;color:var(--body);font-size:15px}

/* accordions */
.fx-acc{border:1px solid var(--line);border-radius:12px;background:#fff;margin:0 0 10px;transition:border-color .15s,box-shadow .15s}
.fx-acc[open]{border-color:#bfdbfe;box-shadow:0 4px 14px -8px rgba(37,99,235,.35)}
.fx-acc summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:15px 18px;font-weight:650;color:var(--ink);font-size:16px;line-height:1.4}
.fx-acc summary::-webkit-details-marker{display:none}
.fx-acc summary::after{content:"";flex:none;margin-left:auto;width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .2s}
.fx-acc[open] summary::after{transform:rotate(180deg)}
.fx-acc .fx-mod{flex:none;font-size:12px;font-weight:700;color:var(--blue);background:var(--tint);border-radius:6px;padding:3px 8px}
.fx-acc > div{padding:0 18px 16px;color:var(--body)}
.fx-acc > div p{margin:0}

/* audience */
.fx-aud{border-radius:12px;padding:18px 20px;border:1px solid var(--line)}
.fx-aud.yes{background:#f0fdf4;border-color:#bbf7d0}
.fx-aud.no{background:#fef2f2;border-color:#fecaca}
.fx-aud .fx-h3{margin-bottom:10px}
.fx-aud ul{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.fx-aud li{position:relative;padding-left:28px;font-size:15px!important;line-height:1.5}
.fx-aud.yes li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23bbf7d0'/%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.6' fill='none' stroke='%2315803d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.fx-aud.no li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23fecaca'/%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%23b91c1c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}

/* certificate */
.fx-cert{display:grid;gap:22px;align-items:center}
@container (min-width:620px){.fx-cert{grid-template-columns:1.1fr 1fr}}
.fx-cert img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid var(--line);box-shadow:0 12px 28px -14px rgba(15,23,42,.35)}

/* related */
.fx-rel{display:grid;gap:10px}
@container (min-width:620px){.fx-rel{grid-template-columns:repeat(3,1fr)}}
.fx-rel a{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink);font-weight:650;font-size:15px;line-height:1.4;transition:border-color .15s,box-shadow .15s,transform .15s;background:#fff}
.fx-rel a:hover{border-color:#93c5fd;box-shadow:0 6px 16px -10px rgba(37,99,235,.5);transform:translateY(-1px)}
.fx-rel a span{font-size:13px;font-weight:600;color:var(--blue)}

/* final CTA */
.fx-cta{border-radius:18px;padding:34px 30px;text-align:center;color:#dbeafe;background:linear-gradient(135deg,var(--navy-d),var(--navy) 60%,#1d4ed8)}
.fx-cta .fx-h2{color:#fff;margin-bottom:8px}
.fx-cta p{color:#dbeafe;margin:0 0 20px}
.fx-cta .fx-btn{display:inline-flex!important;width:auto;min-width:240px;background:#fff;color:var(--navy)!important;box-shadow:none}
.fx-cta .fx-btn:hover{background:var(--tint)}
