/* localmedic shared look (assets/lm-ui.css), loaded on every page by inc/lm-ui.php.
   One set of parts for every template: colours, type, buttons, links, focus, chips,
   icon tiles, cards, bands, panels, folds, lists, shapes and the page hero.
   Templates use these classes and keep only their own layout; don't add an area's own
   copy of a button, panel or card. Kal's look (27 Nov 2026): warm cream and pastel
   grounds, flat brand shapes, solid icon tiles, navy kept to the site's header and footer.

   Rules that hold everywhere:
   - Buttons are solid yellow (.lm-btn) or white with a dark border (.lm-btn--secondary).
     Every button hovers and focuses the same way: dark navy fill, white text. On a dark
     ground (.lm-on-dark: magenta or navy panels) it hovers white with navy text instead,
     and on a yellow ground (.lm-on-yellow) the button itself is navy, hovering white.
   - Hover never fades or dims, and nothing moves.
   - Focus is a 3px outline in dark navy (white on dark grounds), 2px off the element.
   - Text on a pastel is that colour's dark shade (4.5:1 or more). White text sits only on
     magenta, forest green, navy or dark navy; on yellow or bright green use dark navy. */

/* ---------- Tokens ---------- */
:root{
  --lm-heading:#001C41; --lm-navy:#00377D; --lm-yellow:#FFBE0B; --lm-magenta:#BE1D75;
  --lm-green:#046244; --lm-forest:#046244; --lm-green-bright:#00A650; --lm-orange:#F26B21;
  --lm-ink:#0C0C0C; --lm-text-soft:#2B2F36; --lm-muted:#4A4F5A; --lm-line:#E6E1D6;
  --lm-cream:#FFF7E8; --lm-butter:#FFF1C2; --lm-blush:#FCE4EF; --lm-mint:#DDF3E5; --lm-peach:#FFE6D5; --lm-sky:#E3F0FC;
  --lm-on-butter:#5C4200; --lm-on-blush:#7A0F4B; --lm-on-mint:#03432E; --lm-on-peach:#7A3300; --lm-on-sky:#00377D;
  --lm-yellow-soft:#FFD45C; --lm-yellow-pale:#FFE7A8; --lm-magenta-soft:#D9468F; --lm-pink-pale:#F9D3E5;
  --lm-font-head:"DM Sans",Arial,sans-serif; --lm-font-body:"Nunito Sans","Helvetica Neue",Arial,sans-serif;
  --lm-r-sm:12px; --lm-r:20px; --lm-r-lg:28px; --lm-r-pill:999px;
  --lm-wrap:1200px; --lm-gutter:20px;
}

/* ---------- Layout helpers ---------- */
.lm-wrap{max-width:var(--lm-wrap); margin:0 auto; padding:0 var(--lm-gutter); position:relative; box-sizing:border-box;}
.lm-sr{position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}
.lm-muted{color:var(--lm-muted);}
.lm-i{width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:none; display:block;}
.lm-h2{font-family:var(--lm-font-head); color:var(--lm-heading); font-size:clamp(28px,24px + 1vw,36px); line-height:1.15; margin:0 0 20px!important;}
.lm-list-reset{list-style:none!important; margin:0!important; padding:0!important;}
.lm-list-reset > li{margin:0!important;}
.lm-list-reset > li::before{content:none!important;}

/* ---------- Buttons ----------
   The old names (lm-btn-yellow, lm-btn-outline, lm-faq-btn, lm-post-button, lm-ask__button)
   are gone from the templates; WooCommerce's own buttons join in by their classes. */
a.lm-btn,a.lm-btn:link,a.lm-btn:visited,button.lm-btn,input.lm-btn,
.lm-book__form .single_add_to_cart_button,#place_order,.woocommerce a.button.checkout-button{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; box-sizing:border-box;
  min-height:48px; padding:11px 24px; margin:0; border:2px solid var(--lm-yellow)!important; border-radius:var(--lm-r-pill)!important;
  background:var(--lm-yellow)!important; color:var(--lm-ink)!important; -webkit-text-fill-color:var(--lm-ink)!important;
  font-family:var(--lm-font-body); font-weight:800; font-size:17px!important; line-height:1.4; text-align:center; text-decoration:none!important;
  text-shadow:none!important; box-shadow:none!important; transform:none!important; transition:none!important; opacity:1!important; filter:none!important;
  cursor:pointer; white-space:normal;
}
a.lm-btn--secondary,a.lm-btn--secondary:link,a.lm-btn--secondary:visited,button.lm-btn--secondary{
  background:#fff!important; border-color:var(--lm-ink)!important;
}
a.lm-btn:hover,a.lm-btn:focus-visible,button.lm-btn:hover,button.lm-btn:focus-visible,input.lm-btn:hover,input.lm-btn:focus-visible,
.lm-book__form .single_add_to_cart_button:hover,.lm-book__form .single_add_to_cart_button:focus-visible,
#place_order:hover,#place_order:focus-visible,.woocommerce a.button.checkout-button:hover,.woocommerce a.button.checkout-button:focus-visible{
  background:var(--lm-heading)!important; border-color:var(--lm-heading)!important; color:#fff!important; -webkit-text-fill-color:#fff!important;
}
.lm-btn--block{display:flex!important; width:100%;}
.lm-btn--sm{min-height:44px!important; padding:8px 18px!important; font-size:15px!important;}
.lm-btn .lm-i{width:20px; height:20px;}
.lm-btns{display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:0;}

/* On a dark ground: hover white. On yellow: the button is navy, hovering white. */
.lm-on-dark a.lm-btn:hover,.lm-on-dark a.lm-btn:focus-visible,.lm-on-dark button.lm-btn:hover,.lm-on-dark button.lm-btn:focus-visible,
.lm-on-yellow a.lm-btn:hover,.lm-on-yellow a.lm-btn:focus-visible{
  background:#fff!important; border-color:#fff!important; color:var(--lm-heading)!important; -webkit-text-fill-color:var(--lm-heading)!important;
}
.lm-on-yellow a.lm-btn,.lm-on-yellow a.lm-btn:link,.lm-on-yellow a.lm-btn:visited{
  background:var(--lm-heading)!important; border-color:var(--lm-heading)!important; color:#fff!important; -webkit-text-fill-color:#fff!important;
}

/* ---------- Text links ---------- */
a.lm-link,a.lm-link:link,a.lm-link:visited{
  color:var(--lm-ink)!important; -webkit-text-fill-color:currentColor!important; background:none!important; font-weight:700;
  text-decoration:underline!important; text-decoration-thickness:1px!important; text-underline-offset:3px!important; transition:none!important;
}
a.lm-link:hover,a.lm-link:focus-visible{color:var(--lm-heading)!important; text-decoration-thickness:3px!important;}
.lm-on-dark a.lm-link,.lm-on-dark a.lm-link:visited,.lm-on-dark p a{color:#fff!important; -webkit-text-fill-color:#fff!important;}
.lm-on-dark a.lm-link:hover,.lm-on-dark a.lm-link:focus-visible,.lm-on-dark p a:hover{color:#fff!important; text-decoration-thickness:3px!important;}

/* ---------- Focus ---------- */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--lm-heading)!important; outline-offset:2px!important;}
.lm-on-dark :where(a,button,summary):focus-visible,.x-masthead :where(a,button):focus-visible,.x-colophon :where(a,button):focus-visible{outline-color:#fff!important;}

/* ---------- Colour tiles: solid squares or circles behind an icon or a number ---------- */
.lm-tile{display:inline-flex; align-items:center; justify-content:center; flex:none; width:40px; height:40px; border-radius:12px;}
.lm-tile--sm{width:28px; height:28px; border-radius:50%;} .lm-tile--sm .lm-i{width:16px; height:16px;}
.lm-tile--md{width:38px; height:38px;} .lm-tile--md .lm-i{width:20px; height:20px;}
.lm-tile--lg{width:52px; height:52px; border-radius:16px;} .lm-tile--lg .lm-i{width:26px; height:26px;}
.lm-tile--round{border-radius:50%;}
.lm-c--y,.lm-c--safety{background:var(--lm-yellow); color:var(--lm-heading);}
.lm-c--m,.lm-c--clinical{background:var(--lm-magenta); color:#fff;}
.lm-c--g{background:var(--lm-green-bright); color:var(--lm-heading);}
.lm-c--f,.lm-c--workplace{background:var(--lm-forest); color:#fff;}
.lm-c--n{background:var(--lm-navy); color:#fff;}
.lm-c--o{background:var(--lm-orange); color:var(--lm-heading);}
.lm-c--prehospital,.lm-c--education{background:linear-gradient(135deg,var(--lm-navy),var(--lm-magenta)); color:#fff;}

/* ---------- Chips ---------- */
.lm-chips{list-style:none!important; display:flex; flex-wrap:wrap; gap:10px; margin:0!important; padding:0!important;}
.lm-chips > li{margin:0!important;} .lm-chips > li::before{content:none!important;}
.lm-chip{display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--lm-line); border-radius:var(--lm-r-pill); padding:5px 14px; font-size:15px; font-weight:600; line-height:1.4; color:var(--lm-ink);}
.lm-chip:has(> .lm-tile){padding-left:5px;}
/* Pro's global CSS has its own .lm-chip (a 44px white-text icon square, used in Cornerstone
   content): our chips in lists and the course badge win over it. */
.lm-chips > .lm-chip, .lm-chip.lm-tc-area{width:auto; height:auto; justify-content:flex-start; border-radius:var(--lm-r-pill); color:var(--lm-ink);}
.lm-tag{display:inline-flex; align-self:flex-start; border-radius:var(--lm-r-pill); padding:3px 12px; font-size:13px; font-weight:800; line-height:1.4;}
.lm-tag--butter{background:var(--lm-butter); color:var(--lm-on-butter);} .lm-tag--blush{background:var(--lm-blush); color:var(--lm-on-blush);}
.lm-tag--mint{background:var(--lm-mint); color:var(--lm-on-mint);} .lm-tag--peach{background:var(--lm-peach); color:var(--lm-on-peach);}
.lm-tag--sky{background:var(--lm-sky); color:var(--lm-on-sky);}

/* ---------- Cards ---------- */
.lm-card{background:#fff; border:2px solid var(--lm-line); border-radius:var(--lm-r); padding:22px; box-sizing:border-box; display:flex; flex-direction:column; gap:10px;}
.lm-card--flat{border-color:transparent;}
.lm-card--cream{background:var(--lm-cream); border-color:transparent;}
.lm-card--butter{background:var(--lm-butter); border-color:transparent; --lm-on:var(--lm-on-butter);}
.lm-card--blush{background:var(--lm-blush); border-color:transparent; --lm-on:var(--lm-on-blush);}
.lm-card--mint{background:var(--lm-mint); border-color:transparent; --lm-on:var(--lm-on-mint);}
.lm-card--peach{background:var(--lm-peach); border-color:transparent; --lm-on:var(--lm-on-peach);}
.lm-card--sky{background:var(--lm-sky); border-color:transparent; --lm-on:var(--lm-on-sky);}
.lm-card__label{display:flex; align-items:center; gap:10px; margin:0; font-weight:800; font-size:15px; line-height:1.3; color:var(--lm-on,var(--lm-heading));}
.lm-card__title{font-family:var(--lm-font-head); font-size:20px; line-height:1.25; color:var(--lm-heading); margin:0!important;}
.lm-card p{margin:0;}
.lm-cards{display:grid; gap:18px; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));}

/* ---------- Bands (full-width grounds) and decorative shapes ---------- */
.lm-band{position:relative; overflow:hidden; padding:64px 0 72px;}
.lm-band--cream{background:var(--lm-cream);}
.lm-band--yellow{background:var(--lm-yellow);}
.lm-band--blush{background:var(--lm-blush);}
.lm-band > .lm-wrap{z-index:1;}
.lm-shape{position:absolute; pointer-events:none; z-index:0; width:var(--w,120px); height:var(--h,var(--w,120px)); top:var(--t,auto); left:var(--l,auto); right:var(--r,auto); bottom:var(--b,auto); background:var(--bg,var(--lm-yellow-pale));}
.lm-shape--circle{border-radius:50%;}
.lm-shape--quarter{border-top-right-radius:100%;}
.lm-shape--quarter-tl{border-top-left-radius:100%;}
.lm-shape--triangle{clip-path:polygon(0 100%,100% 100%,50% 0);}
.lm-shape--diamond{border-radius:18px; transform:rotate(45deg);}
.lm-shape--tile{border-radius:20px; transform:rotate(var(--rot,18deg));}
.lm-shape--ring{border-radius:50%; background:none!important; border:8px solid var(--bg,var(--lm-magenta)); box-sizing:border-box;}

/* ---------- The "ask us" panel (magenta), used at the end of pages ---------- */
.lm-ask{background:var(--lm-magenta)!important; color:#fff!important; border-radius:var(--lm-r-lg)!important; padding:36px 40px!important; display:flex!important; flex-wrap:wrap; gap:20px 24px; align-items:center; justify-content:space-between; position:relative; overflow:hidden; box-sizing:border-box;}
.lm-ask > *{position:relative; z-index:1;}
.lm-ask > .lm-shape{position:absolute; z-index:0;}
.lm-ask h2,.lm-ask h3,.lm-ask .lm-ask__title{font-family:var(--lm-font-head); color:#fff!important; font-size:clamp(24px,21px + 1vw,30px)!important; line-height:1.2; margin:0 0 6px!important;}
.lm-ask p{color:#fff!important; margin:0;}
.lm-ask__text{flex:1 1 420px;}
@media (max-width:900px){.lm-ask{padding:28px!important;}}

/* ---------- Notes, ticks, numbered steps, folds ---------- */
.lm-note{background:#fff; border:2px dashed #F2C14E; border-radius:18px; padding:18px 20px; display:flex; gap:14px;}
.lm-note b{font-weight:700;}
.lm-ticks{list-style:none!important; padding:0!important; margin:0!important; display:flex; flex-direction:column; gap:8px;}
.lm-ticks li{position:relative; padding-left:32px!important; margin:0!important;}
.lm-ticks li::before{content:""!important; position:absolute; left:0; top:2px; width:22px; height:22px; border-radius:50%; background:var(--lm-mint)!important;}
.lm-ticks li::after{content:""; position:absolute; left:8px; top:6px; width:6px; height:11px; border-right:2px solid var(--lm-forest); border-bottom:2px solid var(--lm-forest); transform:rotate(45deg);}
.lm-steps{list-style:none!important; margin:0!important; padding:0!important; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:14px;}
.lm-steps > li{margin:0!important; background:#fff; border:2px solid var(--lm-line); border-radius:var(--lm-r); padding:20px; display:flex; gap:14px;}
.lm-band .lm-steps > li{border-color:transparent;}
.lm-steps > li::before{content:none!important;}
.lm-steps > li > .lm-tile{border-radius:50%; font-weight:800; font-family:var(--lm-font-head);}
.lm-steps h3{font-family:inherit!important; font-size:17px; font-weight:700; color:var(--lm-ink)!important; line-height:1.35; margin:0 0 2px!important;}
.lm-steps p{color:var(--lm-muted); font-size:16px; margin:0;}
.lm-folds{display:flex; flex-direction:column; gap:10px;}
.lm-fold{background:#fff; border:2px solid var(--lm-line); border-radius:18px; padding:0 20px;}
.lm-band .lm-fold{border-color:transparent;}
.lm-fold > summary{list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; min-height:44px;}
.lm-fold > summary::-webkit-details-marker{display:none;}
.lm-fold > summary h3,.lm-fold > summary .lm-fold__title{font-family:var(--lm-font-head); font-size:19px; color:var(--lm-heading); margin:0!important;}
.lm-fold > summary::after{content:"+"; width:32px; height:32px; border-radius:50%; background:var(--lm-yellow); color:var(--lm-heading); display:inline-flex; align-items:center; justify-content:center; font-size:22px; font-weight:700; flex:none;}
.lm-fold[open] > summary::after{content:"\2212";}
.lm-fold__body{padding-bottom:20px; display:flex; flex-direction:column; gap:12px;}

/* ---------- Photo in an arch, with shapes and badges (course and news heroes) ---------- */
.lm-art{position:relative; aspect-ratio:1/1; max-width:520px; width:100%; justify-self:end;}
.lm-art__photo{position:absolute; inset:8% 6% 6% 10%; border-radius:200px 200px 28px 200px; overflow:hidden; z-index:2; background:var(--lm-butter);}
.lm-art__photo img{width:100%; height:100%; object-fit:cover; object-position:52% 40%; display:block;}
.lm-art .lm-shape{z-index:1;}
.lm-badge{position:absolute; z-index:4; background:#fff; border:1px solid var(--lm-line); border-radius:16px; padding:10px 14px; display:flex; gap:10px; align-items:center; font-size:14px; line-height:1.3; font-weight:700;}
.lm-badge small{display:block; font-weight:400; font-size:13px; color:var(--lm-muted);}
@media (max-width:900px){.lm-art{justify-self:center; max-width:380px;}}

/* ---------- Logos, and the pattern strip ---------- */
.lm-logos{background:var(--lm-cream); border-radius:var(--lm-r-lg); overflow:hidden;}
.lm-logos ul{list-style:none!important; margin:0!important; padding:24px!important; display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:16px;}
.lm-logos li{margin:0!important; background:#fff; border-radius:18px; height:104px; display:flex; align-items:center; justify-content:center; padding:14px 18px; box-sizing:border-box;}
.lm-logos li::before{content:none!important;}
.lm-logos a{display:flex; align-items:center; justify-content:center; width:100%; height:100%;}
.lm-logos img{max-width:100%; max-height:72px; width:auto; height:auto; object-fit:contain;}
.lm-pattern{height:40px; background:url("lm-pattern.svg") left center/auto 100% repeat-x;}
@media (max-width:420px){.lm-logos ul{padding:16px!important; gap:12px;} .lm-logos li{height:84px; padding:10px 12px;}}

/* ---------- Breadcrumb ---------- */
.lm-crumbs ol{list-style:none!important; margin:0!important; padding:0!important; display:flex; flex-wrap:wrap; gap:4px 0; font-size:14px; color:var(--lm-muted);}
.lm-crumbs li{margin:0!important; display:inline;}
.lm-crumbs li::before{content:none!important;}
.lm-crumbs li + li::before{content:"\203A"!important; margin:0 8px; color:var(--lm-muted);}
.lm-crumbs a,.lm-crumbs a:visited{color:var(--lm-muted)!important; text-decoration:underline!important; text-underline-offset:3px; background:none!important;}
.lm-crumbs a:hover{color:var(--lm-heading)!important;}
/* Hero icon tiles, one set per area (generated by a script: tiles are 120px SVGs). */
:root{--lm-hero-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(-6 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%23FFBE0B'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23001C41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2M12 11v6M9 14h6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(0 60 60)'%3E%3Ccircle cx='60' cy='60' r='60' fill='%23BE1D75'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(8 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%2300A650'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100h100L50 0z' fill='%2300377D'/%3E%3C/svg%3E");}
body.lm-area-workplace{--lm-hero-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(-6 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%2300A650'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(0 60 60)'%3E%3Ccircle cx='60' cy='60' r='60' fill='%23FFBE0B'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23001C41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2M12 11v6M9 14h6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(8 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%23BE1D75'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100h100L50 0z' fill='%2300377D'/%3E%3C/svg%3E");}
body.lm-area-clinical{--lm-hero-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(-6 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%23BE1D75'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.8 2.3A.3.3 0 1 0 5 2H4a2 2 0 0 0-2 2v5a6 6 0 0 0 6 6 6 6 0 0 0 6-6V4a2 2 0 0 0-2-2h-1a.2.2 0 1 0 .3.3'/%3E%3Cpath d='M8 15v1a6 6 0 0 0 6 6 6 6 0 0 0 6-6v-4'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(0 60 60)'%3E%3Ccircle cx='60' cy='60' r='60' fill='%23FFBE0B'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23001C41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(8 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%23046244'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100h100L50 0z' fill='%2300377D'/%3E%3C/svg%3E");}
body.lm-area-safety{--lm-hero-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(-6 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%23FFBE0B'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23001C41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.3 6.2 4.5 20h15L14.7 6.2'/%3E%3Cpath d='M8 10h8M6.5 15h11M3 20h18'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(0 60 60)'%3E%3Ccircle cx='60' cy='60' r='60' fill='%23046244'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5'/%3E%3Cpath d='M14 6a6 6 0 0 1 6 6v3'/%3E%3Cpath d='M4 15v-3a6 6 0 0 1 6-6'/%3E%3Crect x='2' y='15' width='20' height='4' rx='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(8 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%23BE1D75'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2M9 14l2 2 4-4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100h100L50 0z' fill='%2300377D'/%3E%3C/svg%3E");}
body.lm-area-prehospital{--lm-hero-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%2300377D'/%3E%3Cstop offset='1' stop-color='%23BE1D75'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='rotate(-6 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='url(%23g)'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 10H6M8 8v4M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(0 60 60)'%3E%3Ccircle cx='60' cy='60' r='60' fill='%23FFBE0B'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23001C41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(8 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%2300A650'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100h100L50 0z' fill='%23BE1D75'/%3E%3C/svg%3E");}
body.lm-area-education{--lm-hero-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(-6 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%2300377D'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5Z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(0 60 60)'%3E%3Ccircle cx='60' cy='60' r='60' fill='%23FFBE0B'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23001C41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(8 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%23BE1D75'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100h100L50 0z' fill='%2300A650'/%3E%3C/svg%3E");}
body.lm-area-news{--lm-hero-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(-6 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%23BE1D75'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2M18 14h-8M15 18h-5M10 6h8v4h-8V6Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(0 60 60)'%3E%3Ccircle cx='60' cy='60' r='60' fill='%23FFBE0B'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23001C41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(8 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%2300A650'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100h100L50 0z' fill='%2300377D'/%3E%3C/svg%3E");}
body.lm-area-help{--lm-hero-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(-6 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%23FFBE0B'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23001C41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3M12 17h.01'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(0 60 60)'%3E%3Ccircle cx='60' cy='60' r='60' fill='%23BE1D75'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(8 60 60)'%3E%3Crect width='120' height='120' rx='26' fill='%2300A650'/%3E%3Cg transform='translate(36 36) scale(2)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100h100L50 0z' fill='%2300377D'/%3E%3C/svg%3E");}
/* the shapes behind every hero: a soft circle top left, a pink diamond at the foot */
:root{--lm-hero-bg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='50' fill='%23FFE7A8'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='15' y='15' width='70' height='70' rx='12' transform='rotate(45 50 50)' fill='%23F9D3E5'/%3E%3C/svg%3E");}

/* ---------- The page hero (inc/lm-hero.php, drawn under the Pro header) ----------
   Cream, a soft circle and a pink diamond behind, and on wide screens a cluster of icon
   tiles that changes with the page's area (body.lm-area-*). The Pro header's old light
   blue hero bar (the one holding an H1) is hidden wherever this hero shows. */
body.lm-has-hero .x-masthead .x-bar:has(h1){display:none!important;}
/* Page hero "Show, in place of the page's first section": the Cornerstone top it replaces. */
/* Cornerstone pages: no 1200px page box around the sections (inc/lm-ui.php, lm-cs-page). */
body.lm-cs-page .x-site > .x-container.max.width{max-width:none;width:100%;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;}
body.lm-hero-replaces .x-the-content > .cs-content > .x-section:first-child,
body.lm-hero-replaces .entry-content > .cs-content > .x-section:first-child{display:none;}
/* A download's page (Download Manager, wpdmpro) repeats its title under the hero. */
body.single-wpdmpro.lm-has-hero .w3eden h1.mt-0{display:none;}
.lm-hero{position:relative; overflow:hidden; background:var(--lm-cream); padding:36px 0 56px;}
.lm-hero::before{content:""; position:absolute; inset:0; pointer-events:none; background:var(--lm-hero-bg); background-repeat:no-repeat; background-size:220px 220px,140px 140px; background-position:-90px -90px,58% calc(100% + 64px);}
.lm-hero__grid{display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:48px; align-items:center;}
.lm-hero__text{display:flex; flex-direction:column; gap:16px; min-width:0;}
.lm-hero__title{font-family:var(--lm-font-head)!important; color:var(--lm-heading)!important; font-size:clamp(36px,28px + 2.4vw,56px)!important; line-height:1.06!important; letter-spacing:-.01em; margin:0!important; max-width:22ch; text-wrap:balance;}
.lm-hero__lead{font-size:20px; line-height:1.5; color:var(--lm-text-soft); margin:0!important; max-width:52ch;}
.lm-hero__text .lm-btns{margin-top:6px;}
.lm-hero__art{width:300px; height:240px; justify-self:end; background:var(--lm-hero-art); background-repeat:no-repeat; background-size:120px 120px,96px 96px,104px 104px,46px 46px; background-position:30px 10px,194px 40px,110px 136px,0 164px;}
@media (max-width:900px){
  .lm-hero{padding:28px 0 40px;}
  .lm-hero__grid{grid-template-columns:1fr;}
  .lm-hero__art{display:none;}
  .lm-hero__lead{font-size:18px;}
}

/* ---------- "Let's talk about what you need": the yellow band at the foot of pages ----------
   A Cornerstone section in the Single Layout; give it the class lm-talk in Cornerstone.
   Until then it's found by its element id (e2015-e27). Its buttons are navy on yellow. */
.x-section.lm-talk,.x-section.e2015-e27{position:relative; overflow:hidden; background:var(--lm-yellow)!important;}
.x-section.lm-talk::before,.x-section.e2015-e27::before{content:""; position:absolute; width:240px; height:240px; border-radius:50%; background:var(--lm-yellow-soft); right:-70px; top:-110px; pointer-events:none;}
.x-section.lm-talk::after,.x-section.e2015-e27::after{content:""; position:absolute; width:130px; height:130px; background:var(--lm-magenta); left:-46px; bottom:-46px; border-top-right-radius:100%; pointer-events:none;}
.x-section.lm-talk > *,.x-section.e2015-e27 > *{position:relative; z-index:1;}
.lm-talk .x-text-content-text-primary,.e2015-e27 .x-text-content-text-primary{color:var(--lm-heading)!important; font-family:var(--lm-font-head)!important;}
.lm-talk .x-text-content-text-subheadline,.e2015-e27 .x-text-content-text-subheadline{color:var(--lm-ink)!important;}
.lm-talk a.x-anchor-button,.e2015-e27 a.x-anchor-button{
  background:var(--lm-heading)!important; border:2px solid var(--lm-heading)!important; border-radius:var(--lm-r-pill)!important;
  box-shadow:none!important; text-shadow:none!important; transition:none!important; transform:none!important; min-height:48px;
}
.lm-talk a.x-anchor-button *,.e2015-e27 a.x-anchor-button *{color:#fff!important; -webkit-text-fill-color:#fff!important; transition:none!important;}
.lm-talk a.x-anchor-button:hover,.lm-talk a.x-anchor-button:focus-visible,.e2015-e27 a.x-anchor-button:hover,.e2015-e27 a.x-anchor-button:focus-visible{background:#fff!important; border-color:#fff!important;}
.lm-talk a.x-anchor-button:hover *,.lm-talk a.x-anchor-button:focus-visible *,.e2015-e27 a.x-anchor-button:hover *,.e2015-e27 a.x-anchor-button:focus-visible *{color:var(--lm-heading)!important; -webkit-text-fill-color:var(--lm-heading)!important;}

@media (prefers-reduced-motion:reduce){.lm-hero *,.lm-band *{transition:none!important;}}
