/* Healthcare Safety Quality Institute — hospital wayfinding-sign palette */
:root {
  --ink: #10302b; --green: #0a6b50; --green-dark: #07513c; --mint: #e4f0ea; --paper: #fafbf8;
  --white: #fff; --line: #d3ddd6; --muted: #56706a; --amber: #b87900; --amber-bg: #fff4d6; --red: #b3261e; --red-bg: #fde9e7;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif; --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--paper); overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5.2vw, 3.1rem); font-weight: 700; font-stretch: 90%; }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.8rem); font-weight: 650; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.125rem; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 1rem; }
.section { padding: 2.5rem 0; }

/* Header */
.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
.brand { display: flex; align-items: center; gap: .625rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 650; line-height: 1.15; font-size: 1rem; }
.brand .plate { font-size: .95rem; }
.nav { display: flex; align-items: center; gap: 1.125rem; flex-wrap: wrap; font-size: 1rem; }
.nav a { color: var(--ink); text-decoration: none; padding: .25rem 0; }
.nav a:hover, .nav a.on { color: var(--green); box-shadow: 0 2px 0 var(--green); }
.nav form { margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; }

/* The sign plate: course codes are shown like hospital door signs */
.plate { display: inline-flex; align-items: center; justify-content: center; min-width: 3.4em; padding: .3em .55em; background: var(--green); color: var(--white); font-family: var(--display); font-weight: 700; font-stretch: 85%; letter-spacing: .04em; border-radius: 3px; line-height: 1; }
.plate.big { font-size: 1.6rem; padding: .45em .6em; }

/* Buttons */
.btn { display: inline-block; padding: .7rem 1.25rem; border-radius: 4px; border: 2px solid var(--green); background: var(--green); color: var(--white); font: 600 1rem var(--body); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--mint); color: var(--green-dark); }
.btn.danger { background: transparent; border-color: var(--red); color: var(--red); }
.btn.sm { padding: .35rem .7rem; font-size: .9rem; border-width: 1px; }
.btn.block { display: block; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; gap: .625rem; flex-wrap: wrap; align-items: center; }

/* Hero + directory sign */
.hero { background: var(--ink); color: var(--white); padding: 2.75rem 0 3rem; }
.hero p { color: #c9dcd4; max-width: 34em; font-size: 1.15rem; }
.hero-grid { display: grid; gap: 2rem; }
.sign { background: var(--green); border-radius: 6px; padding: .5rem; box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px #3d5f58; }
.sign a { display: grid; grid-template-columns: 4.2rem 1fr auto; gap: .75rem; align-items: center; padding: .7rem .625rem; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.28); }
.sign a:last-child { border-bottom: 0; }
.sign a:hover { background: var(--green-dark); }
.sign .code { font: 700 1.25rem var(--display); font-stretch: 85%; letter-spacing: .04em; }
.sign .name { font: 600 1.05rem/1.25 var(--display); }
.sign .fee { font-size: .95rem; white-space: nowrap; opacity: .92; }

/* Panels, lists, tables */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1.25rem; }
.panel.tint { background: var(--mint); border-color: #c4dccf; }
.grid2 { display: grid; gap: 1.25rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; padding-left: 3rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 2px solid var(--green); color: var(--green); font: 700 1rem/1.9rem var(--display); text-align: center; }
.steps strong { display: block; font-family: var(--display); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 1rem; margin: 0; }
.facts dt { font-size: .875rem; color: var(--muted); }
.facts dd { margin: 0; font: 650 1.125rem var(--display); }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { padding: .6rem .625rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { font: 600 .875rem var(--body); color: var(--muted); white-space: nowrap; }
table.data td.num, table.data th.num { text-align: right; white-space: nowrap; }

/* Status tags */
.tag { display: inline-block; padding: .1rem .5rem; border-radius: 3px; font-size: .85rem; font-weight: 600; background: var(--mint); color: var(--green-dark); white-space: nowrap; }
.tag.warn { background: var(--amber-bg); color: #7a5200; }
.tag.bad { background: var(--red-bg); color: var(--red); }
.tag.off { background: #eceeed; color: var(--muted); }
.flash { padding: .75rem 1rem; border-radius: 4px; margin: 1rem 0; border-left: 5px solid var(--green); background: var(--mint); }
.flash.err { border-color: var(--red); background: var(--red-bg); }
.flash ul { margin: 0; padding-left: 1.1rem; }

/* Forms */
label { display: block; font-weight: 600; margin-bottom: .25rem; }
.field { margin-bottom: 1rem; }
.field .hint { font-size: .875rem; color: var(--muted); margin-top: .2rem; }
.field .error { font-size: .9rem; color: var(--red); margin-top: .2rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=date], input[type=tel], input[type=file], select, textarea {
  width: 100%; padding: .6rem .7rem; border: 1px solid #9fb3aa; border-radius: 4px; font: inherit; background: var(--white); color: var(--ink); }
textarea { min-height: 7rem; resize: vertical; }
textarea.tall { min-height: 22rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92rem; }
.row { display: grid; gap: 0 1rem; }
.check { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
.check input { margin-top: .35rem; width: 1.1rem; height: 1.1rem; flex: none; }
.filters { display: grid; gap: .625rem; grid-template-columns: repeat(2, 1fr); align-items: end; margin-bottom: 1rem; }
.filters label { font-size: .875rem; }

/* Progress */
.bar { height: 10px; background: #dbe5df; border-radius: 5px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--green); }
.module { border: 1px solid var(--line); border-radius: 6px; background: var(--white); margin-bottom: 1rem; }
.module > header { padding: .875rem 1rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; align-items: baseline; }
.module > header h3 { margin: 0; }
.module ol { list-style: none; margin: 0; padding: 0; }
.module ol li { display: flex; gap: .625rem; padding: .6rem 1rem; border-bottom: 1px solid #e8eeea; align-items: baseline; }
.module ol li:last-child { border-bottom: 0; }
.module ol li a { flex: 1; text-decoration: none; }
.module ol li a:hover { text-decoration: underline; }
.tick { flex: none; width: 1.15rem; height: 1.15rem; border: 2px solid #9fb3aa; border-radius: 50%; transform: translateY(3px); }
.tick.done { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 3px var(--white); }
.module footer { padding: .75rem 1rem; background: #f3f7f4; border-top: 1px solid var(--line); display: flex; gap: .625rem; flex-wrap: wrap; align-items: center; justify-content: space-between; border-radius: 0 0 6px 6px; }
.module footer form { margin: 0; }

/* Lesson reading */
.prose { max-width: 42rem; font-size: 1.125rem; line-height: 1.7; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .45rem .6rem; text-align: left; vertical-align: top; }
.prose th { background: var(--mint); }
.prose blockquote { margin: 1.25rem 0; padding: .75rem 1rem; border-left: 5px solid var(--amber); background: var(--amber-bg); }
.prose blockquote p:last-child { margin: 0; }
.video { position: relative; padding-top: 56.25%; margin-bottom: 1.5rem; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pager { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.pager form { margin: 0; }

/* Tests */
.q { border: 1px solid var(--line); border-radius: 6px; background: var(--white); padding: 1rem; margin-bottom: 1rem; }
.q legend, .q .qt { font-weight: 600; padding: 0; margin-bottom: .625rem; }
fieldset.q { min-width: 0; }
.q label.opt { display: flex; gap: .625rem; align-items: flex-start; font-weight: 400; padding: .55rem .625rem; border: 1px solid var(--line); border-radius: 4px; margin-bottom: .4rem; cursor: pointer; }
.q label.opt:has(input:checked) { border-color: var(--green); background: var(--mint); }
.q label.opt input { margin-top: .35rem; flex: none; }
.q .opt.right-ans { border-color: var(--green); background: var(--mint); text-align: left; }
.q .opt.wrong-ans { border-color: var(--red); background: var(--red-bg); }
.q .why { margin: .625rem 0 0; font-size: .97rem; color: var(--muted); }
.timer { position: sticky; top: 0; z-index: 5; background: var(--ink); color: var(--white); padding: .5rem 1rem; display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; margin: 0 -1.125rem 1rem; }
.timer.low { background: var(--red); }
.score { font: 700 3rem/1 var(--display); }

/* Verification result */
.verdict { border: 2px solid var(--green); border-radius: 6px; padding: 1.25rem; background: var(--white); }
.verdict.bad { border-color: var(--red); }
.verdict h2 { margin-bottom: .75rem; }

.foot { border-top: 1px solid var(--line); margin-top: 3rem; padding: 1.5rem 0 2.5rem; font-size: .95rem; color: var(--muted); }
.foot .wrap { display: flex; gap: 1rem 2rem; flex-wrap: wrap; justify-content: space-between; }

/* Admin */
.adminbar { background: var(--ink); }
.adminbar .wrap { display: flex; gap: 1.125rem; overflow-x: auto; white-space: nowrap; padding-top: .55rem; padding-bottom: .55rem; }
.adminbar a { color: #c9dcd4; text-decoration: none; font-size: .97rem; }
.adminbar a.on, .adminbar a:hover { color: var(--white); box-shadow: 0 2px 0 var(--white); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.stats div { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: .875rem 1rem; }
.stats dt { font-size: .875rem; color: var(--muted); }
.stats dd { margin: 0; font: 700 1.5rem var(--display); }
.pagination { display: flex; gap: .4rem; list-style: none; padding: 0; flex-wrap: wrap; margin: 1rem 0 0; }
.pagination a, .pagination span { display: block; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; background: var(--white); }
.pagination .active span { background: var(--green); color: var(--white); border-color: var(--green); }
details.box { border: 1px solid var(--line); border-radius: 6px; background: var(--white); padding: .75rem 1rem; }
details.box summary { cursor: pointer; font-weight: 600; }
details.box[open] summary { margin-bottom: 1rem; }

@media (min-width: 720px) {
  .hero { padding: 4rem 0; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 3rem; }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .grid2.wide-left { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .row.two { grid-template-columns: 1fr 1fr; }
  .row.three { grid-template-columns: 1fr 1fr 1fr; }
  .row.four { grid-template-columns: repeat(4, 1fr); }
  .steps.across { grid-template-columns: repeat(5, 1fr); }
  .steps.across li { padding: 2.75rem 0 0; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(5, 1fr); }
  .filters { grid-template-columns: repeat(6, 1fr); }
  .timer { margin: 0 0 1rem; border-radius: 4px; }
}
@media print { .top, .foot, .adminbar, .btn, .pager { display: none !important; } body { background: #fff; } }
.nav a.btn, .nav a.btn:hover { color: var(--white); box-shadow: none; padding: .35rem .7rem; }
fieldset.q legend { float: left; width: 100%; }
fieldset.q legend + * { clear: both; }
fieldset.q legend { float: left; width: 100%; }
fieldset.q legend + * { clear: both; }

/* Graphics */
.ico { width: 1.5em; height: 1.5em; flex: none; }
.hero { position: relative; overflow: hidden; background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 17v10M17 22h10' stroke='%23ffffff' stroke-opacity='.07' stroke-width='2'/%3E%3C/svg%3E"); }
.hero .wrap { position: relative; z-index: 1; }
.pulse { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60px; color: #2f9a78; opacity: .7; }
.cards { display: grid; gap: 1.125rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); }
.card:hover { border-color: var(--green); color: var(--ink); box-shadow: 0 6px 18px rgba(16, 48, 43, .12); }
.card-art { display: flex; align-items: center; justify-content: space-between; padding: 1.125rem 1.125rem; color: var(--white); background: var(--green); font: 700 1.5rem var(--display); font-stretch: 85%; letter-spacing: .04em; }
.card-art .ico { width: 3.25rem; height: 3.25rem; padding: .55rem; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.card:nth-child(4n+2) .card-art { background: #0b5c8a; }
.card:nth-child(4n+3) .card-art { background: #9a6400; }
.card:nth-child(4n+4) .card-art { background: var(--ink); }
.card-body { padding: 1rem 1.125rem 1.125rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35rem; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.card-foot strong { font: 700 1.25rem var(--display); color: var(--green-dark); white-space: nowrap; }
.band { background: var(--mint); padding: 2.5rem 0; }
main.full { max-width: none; padding: 0; }
main.full > .section, main.full > .flash { max-width: 1080px; margin-left: auto; margin-right: auto; padding-left: 1.125rem; padding-right: 1.125rem; }
.steps.pics li { padding-left: 4rem; min-height: 3.25rem; }
.steps.pics li::before { content: none; }
.steps.pics .ico { position: absolute; left: 0; top: 0; width: 3.25rem; height: 3.25rem; padding: .7rem; border-radius: 50%; background: var(--white); color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: .875rem; }
.tiles li { display: flex; gap: .75rem; align-items: center; }
.tiles .ico { width: 2.6rem; height: 2.6rem; padding: .5rem; border-radius: 8px; background: var(--mint); color: var(--green); }
.minicert { position: relative; margin-top: 1.25rem; background: var(--white); border: 3px solid var(--green); outline: 1px solid var(--ink); outline-offset: -8px; border-radius: 2px; padding: 1.5rem 1.5rem 1.25rem; max-width: 19rem; }
.minicert b, .minicert i { display: block; height: .5rem; border-radius: 2px; background: #cfdcd5; margin: 0 auto .55rem; width: 70%; }
.minicert b { height: .8rem; width: 55%; background: var(--ink); margin-bottom: .9rem; }
.minicert i.w { width: 85%; background: var(--green); height: .7rem; }
.minicert .ico { display: block; margin: .6rem auto 0; width: 2.4rem; height: 2.4rem; color: var(--amber); }
.course-art { display: flex; align-items: center; gap: .875rem; }
.course-art .ico { width: 4rem; height: 4rem; padding: .8rem; border-radius: 50%; background: var(--mint); color: var(--green); }
@media (min-width: 720px) {
  .steps.across.pics li { padding: 4.25rem 0 0; }
}
@media (max-width: 719px) { .hero .sign { display: none; } .hero { padding-bottom: 4.5rem; } }
.hero-photo { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px #3d5f58; display: block; }
.photos { display: grid; gap: 1.25rem; }
.photos figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photos figcaption { padding: .875rem 1.125rem 1.125rem; }
.photos figcaption strong { display: block; font: 650 1.125rem var(--display); }
@media (min-width: 720px) { .photos { grid-template-columns: 1fr 1fr; } }
.stars { color: #c98a00; letter-spacing: .08em; }
.stars .off { color: #d5dcd8; }
fieldset.rate { border: 0; padding: 0; margin: 0 0 1rem; display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
fieldset.rate legend { font-weight: 600; float: left; width: 100%; margin-bottom: .25rem; }
fieldset.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
fieldset.rate label { font-size: 1.9rem; line-height: 1; color: #d5dcd8; cursor: pointer; font-weight: 400; margin: 0; }
fieldset.rate input:checked ~ label, fieldset.rate label:hover, fieldset.rate label:hover ~ label { color: #c98a00; }
fieldset.rate input:focus-visible + label { outline: 3px solid var(--amber); }

/* Marketing home page */
.btn.light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.light:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.btn.outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn.outline-light:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.mk-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.price-note { margin-top: 1.25rem; font-size: 1rem !important; color: #9fd3bf !important; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin-bottom: 1.5rem; }
.facts-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-strip .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.facts-strip div { display: flex; flex-direction: column; }
.facts-strip strong { font: 700 1.9rem/1.1 var(--display); color: var(--green); }
.facts-strip span { font-size: .95rem; color: var(--muted); }
.card-meta { color: var(--ink); margin: .25rem 0 0; }
.card-cta { font-weight: 600; color: var(--green); }
.card-cta::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .4em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg) translateY(-1px); }
.card-foot .card-cta { font-size: .95rem; }
.personas { display: grid; gap: 1.25rem; }
.persona { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.125rem; align-items: center; padding: 1.125rem; border-radius: 10px; text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.persona:nth-child(1) { background: #e3eef8; }
.persona:nth-child(2) { background: #fde6e2; }
.persona:nth-child(3) { background: #fbefd9; }
.persona:nth-child(4) { background: #efe7f5; }
.persona:hover { border-color: var(--green); color: var(--ink); }
.persona img { width: 7.5rem; height: 7.5rem; object-fit: cover; border-radius: 50%; border: 4px solid var(--white); box-shadow: 0 4px 14px rgba(16,48,43,.15); }
.persona:nth-child(1) img { object-position: 70% 30%; }
.persona h3 { margin-bottom: .3rem; }
.persona p { margin: 0 0 .5rem; font-size: 1rem; }
.persona .card-cta { font-size: .95rem; }
.why-grid { display: grid; gap: 1.5rem; }
.why-grid .ico { width: 3rem; height: 3rem; padding: .6rem; border-radius: 10px; background: var(--mint); color: var(--green); margin-bottom: .6rem; }
.why-grid p { margin: 0; color: var(--muted); }
.band.alt { background: #eef3f0; }
.cert-preview { display: grid; gap: 2rem; align-items: center; }
.cert-preview img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 40px rgba(16,48,43,.18); transform: rotate(-1.5deg); background: #fff; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.ticks li { position: relative; padding-left: 1.75rem; margin-bottom: .5rem; }
.ticks li::before { content: ""; position: absolute; left: .25rem; top: .35rem; width: .45rem; height: .8rem; border-right: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(40deg); }
.reviews { display: grid; gap: 1.125rem; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 1.125rem; }
.review blockquote { margin: .5rem 0 .75rem; }
.review figcaption { font-size: .95rem; color: var(--muted); }
.faq { max-width: 52rem; }
.faq details.box { margin-bottom: .6rem; }
.faq details.box p { margin: 0; }
.cta-band { background: var(--green); color: var(--white); text-align: center; padding: 3rem 0; margin-top: 2rem; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d5efe5; }
main.full + .foot { margin-top: 0; }
.foot .wrap > div.small { max-width: 18rem; }
.course-hero-img { width: 100%; border-radius: 10px; margin-bottom: 1rem; }
@media (min-width: 720px) {
  .facts-strip .wrap { grid-template-columns: repeat(5, 1fr); }
  .personas { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .cert-preview { grid-template-columns: 1fr 1.15fr; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 719px) { .persona { grid-template-columns: 5.5rem 1fr; } .persona img { width: 5.5rem; height: 5.5rem; } }

/* Articles and resources */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--white); font-size: .95rem; }
.chip.on, .chip:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.post-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); }
.post-card:hover { border-color: var(--green); color: var(--ink); box-shadow: 0 6px 18px rgba(16,48,43,.1); }
.post-card img, .post-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post-ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--mint), #d6e9f5); color: var(--green); }
.post-ph .ico { width: 3rem; height: 3rem; }
.post-body { padding: 1rem 1.125rem 1.125rem; }
.post-body h2 { font-size: 1.2rem; margin: .5rem 0 .4rem; }
.post-cover { width: 100%; border-radius: 8px; margin: .5rem 0 1.5rem; }
.related { padding-left: 1.1rem; }
.related li { margin-bottom: .4rem; }
.res-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.res { display: grid; grid-template-columns: 4.25rem 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.res-type { display: grid; place-items: center; font: 700 .8rem var(--display); color: var(--white); background: var(--ink); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .06em; }
.res-pdf { background: #b3261e; } .res-word { background: #1f5fa8; } .res-excel { background: #1d7a46; } .res-powerpoint { background: #c35a12; } .res-zip { background: #5b4b8a; }
.res-body { padding: .875rem 1rem 1rem; }
.res-body h3 { margin-bottom: .3rem; }
.home-posts { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .home-posts { grid-template-columns: repeat(3, 1fr); } }
